[mythtv] mythfrontend crashing out from mythweather in recent builds

Matt W mwood23 at gmail.com
Mon Apr 4 17:49:55 UTC 2011


On Sat, Mar 26, 2011 at 12:18 PM, Kenni Lund <kenni at kelu.dk> wrote:

> 2011/3/26 Matt W <mwood23 at gmail.com>:
> > On Sat, Mar 26, 2011 at 9:24 AM, Raymond Wagner <raymond at wagnerrp.com>
> > wrote:
> >>
> >> On 3/26/2011 11:51, Matt W wrote:
> >> >
> >> > Mar 26 04:24:07 mythtv2 kernel: [7676004.028267] mythfrontend[14965]:
> >> > segfault at 0 ip 670070 sp 43965d78 error 6 in
> >> > mythfrontend[400000+298000]
> >>
> >> In order to diagnose segmentation faults, we need a traceback.  Find the
> >> core dump file produced by the segfault, and use gdb to load it up and
> >> produce a traceback.
> >
> > Hi Raymond thanks for the note.  yeah I thought there would be a core
> file
> > of some sort seeing as there was a segfault that made it to the messages
> > file.  but...
> >
> > mythtv at mythtv2:~$ cd
> > mythtv at mythtv2:~$ find . -name \*core\*
> > mythtv at mythtv2:~$
>
> Matt, start mythfrontend under gdb as described in
> http://www.mythtv.org/docs/mythtv-HOWTO-22.html#ss22.2. You can also
> find some more information on http://www.mythtv.org/wiki/Debugging.
>
> If you're on Ubuntu/Mythbuntu or another distribution which provides
> *-dbg packages, it will be sufficient to install the MythTV *-dbg
> packages, create a gdbcommands file and run "gdb mythfrontend.real -x
> gdbcommands" (see full description in the first link). Once it
> crashes, you'll have the needed info in gdb.txt. Create a ticket on
> Trac as described in http://svn.mythtv.org/trac/wiki/TicketHowTo and
> attach gdb.txt to the ticket, together with relevant log files and
> info on what actions you performed before MythTV crashed.
>
> Best regards
> Kenni


ok well i'm back from vaca and I have my new crash data.  problem is, I have
a home-rolled Qt installation and that has no debug data in it.  so in the
gdb.txt output log, I have a lot of:

Thread 1 (Thread 0x7f2ffdd25720 (LWP 21085)):
#0  0x00007f2ff3e017db in read () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00007f2ff5a531f8 in vio_read () from /usr/lib/libmysqlclient_r.so.15
No symbol table info available.
#2  0x00007f2ff5a53257 in vio_read_buff () from
/usr/lib/libmysqlclient_r.so.15
No symbol table info available.
#3  0x00007f2ff5a543e9 in ?? () from /usr/lib/libmysqlclient_r.so.15
No symbol table info available.
#4  0x00007f2ff5a5478d in my_net_read () from
/usr/lib/libmysqlclient_r.so.15
No symbol table info available.
#5  0x00007f2ff5a4eea5 in cli_safe_read () from
/usr/lib/libmysqlclient_r.so.15
No symbol table info available.
#6  0x00007f2ff5a2559f in cli_read_prepare_result () from
/usr/lib/libmysqlclient_r.so.15
No symbol table info available.
#7  0x00007f2ff5a2288d in mysql_stmt_prepare () from
/usr/lib/libmysqlclient_r.so.15
No symbol table info available.
#8  0x00007f2ff5e035ef in ?? () from /usr/local/qt46/lib/libQtSql.so.4
No symbol table info available.
#9  0x00007f2ff5dfb308 in QSqlResult::savePrepare () from
/usr/local/qt46/lib/libQtSql.so.4
No symbol table info available.
#10 0x00007f2ff5decf12 in QSqlQuery::prepare () from
/usr/local/qt46/lib/libQtSql.so.4
No symbol table info available.
#11 0x00007f2ffb1d4bc6 in MSqlQuery::prepare (this=0x7fff05e588b0,
query=@0x7fff05e58960) at mythdbcon.cpp:604
        ok = false
#12 0x00007f2fecb6c63a in ?? () from
/usr/local/mythtv/lib/mythtv/plugins/libmythweather.so
No symbol table info available.
#13 0x00007f2fecb93f3a in ?? () from
/usr/local/mythtv/lib/mythtv/plugins/libmythweather.so
No symbol table info available.
#14 0x00007f2ff41a1808 in QMetaObject::activate () from
/usr/local/qt46/lib/libQtCore.so.4
No symbol table info available.
#15 0x00007f2ffb2e9ad6 in MythSystem::finished (this=0x7f2fd1611e30) at
moc_mythsystem.cpp:96
No locals.
#16 0x00007f2ffb2e9c38 in MythSystem::qt_metacall (this=0x7f2fd1611e30,
_c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7f2fc9
dc3900) at moc_mythsystem.cpp:77


so I suppose I need to recompile Qt with debug info?  I'll get on that.  I
hope I don't need debug symbols in mysql too (?!)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-dev/attachments/20110404/45d5d954/attachment.html 


More information about the mythtv-dev mailing list