[mythtv] Android 32-bit failure
Peter Bennett
pb.mythtv at gmail.com
Mon Feb 10 20:54:20 UTC 2020
Hi Mark
the gdb.sh script is having some problems. It complains that "target
remote :5039" in gdb.setup is invalid. However I can get it going by
manually typing in "target remote localhost:5039". It also objects if I
have "target remote localhost:5039" in gdb.setup.
After typing that in manually it is still not working correctly. It does
not have its line numbers, it seems to be reading the libs from android
instead of using the local ones we have provided in so32.
Anyway after typing that in manually I got to the place of the SIGBUS
error. It is in trying to connect to the database. Perhaps we need to go
back to mysql instead of mariadb:
Thread 11 "qtMainLoopThrea" received signal SIGBUS, Bus error.
[Switching to Thread 4746.4972]
0x8e103f0e in ma_send_connect_attr () from
target:/data/app/org.mythtv.mythfrontend-2/lib/arm/libmariadb.so
(gdb) bt
#0 0x8e103f0e in ma_send_connect_attr () from
target:/data/app/org.mythtv.mythfrontend-2/lib/arm/libmariadb.so
#1 0x8e113d24 in ?? () from
target:/data/app/org.mythtv.mythfrontend-2/lib/arm/libmariadb.so
#2 0x8e113f1e in ?? () from
target:/data/app/org.mythtv.mythfrontend-2/lib/arm/libmariadb.so
#3 0x8e11392a in run_plugin_auth () from
target:/data/app/org.mythtv.mythfrontend-2/lib/arm/libmariadb.so
#4 0x8e104cc8 in mthd_my_real_connect () from
target:/data/app/org.mythtv.mythfrontend-2/lib/arm/libmariadb.so
#5 0x870f5b96 in ?? ()
from
target:/data/app/org.mythtv.mythfrontend-2/lib/arm/libplugins_sqldrivers_qsqlmysql_armeabi-v7a.so
#6 0x8fdc20c0 in QSqlDatabase::open() ()
from
target:/data/app/org.mythtv.mythfrontend-2/lib/arm/libQt5Sql_armeabi-v7a.so
#7 0x8c53e79c in MSqlDatabase::OpenDatabase(bool) ()
from
target:/data/app/org.mythtv.mythfrontend-2/lib/arm/libmythbase-32.so
#8 0x8c541b48 in MDBManager::popConnection(bool) ()
from
target:/data/app/org.mythtv.mythfrontend-2/lib/arm/libmythbase-32.so
#9 0x8c546ae8 in MSqlQuery::testDBConnection() ()
from
target:/data/app/org.mythtv.mythfrontend-2/lib/arm/libmythbase-32.so
#10 0x8bc847fc in MythContextPrivate::TestDBconnection(bool) ()
from target:/data/app/org.mythtv.mythfrontend-2/lib/arm/libmyth-32.so
#11 0x8bc7f6f0 in MythContextPrivate::FindDatabase(bool, bool) ()
from target:/data/app/org.mythtv.mythfrontend-2/lib/arm/libmyth-32.so
#12 0x8bc7ed68 in MythContextPrivate::Init(bool, bool, bool, bool) ()
from target:/data/app/org.mythtv.mythfrontend-2/lib/arm/libmyth-32.so
#13 0x8bc8b200 in MythContext::Init(bool, bool, bool, bool) ()
from target:/data/app/org.mythtv.mythfrontend-2/lib/arm/libmyth-32.so
--Type <RET> for more, q to quit, c to continue without paging--
#14 0x8aa29010 in main () from
target:/data/app/org.mythtv.mythfrontend-2/lib/arm/libmythfrontend_armeabi-v7a.so
#15 0x8fd47e70 in ?? ()
from
target:/data/app/org.mythtv.mythfrontend-2/lib/arm/libplugins_platforms_qtforandroid_armeabi-v7a.so
#16 0xa980c316 in oatexec () from
target:/data/app/org.mythtv.mythfrontend-2/oat/arm/base.odex
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
More information about the mythtv-dev
mailing list