<div class="gmail_quote">On Sat, Mar 26, 2011 at 12:18 PM, Kenni Lund <span dir="ltr">&lt;<a href="mailto:kenni@kelu.dk">kenni@kelu.dk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
2011/3/26 Matt W &lt;<a href="mailto:mwood23@gmail.com">mwood23@gmail.com</a>&gt;:<br>
<div class="im">&gt; On Sat, Mar 26, 2011 at 9:24 AM, Raymond Wagner &lt;<a href="mailto:raymond@wagnerrp.com">raymond@wagnerrp.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On 3/26/2011 11:51, Matt W wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Mar 26 04:24:07 mythtv2 kernel: [7676004.028267] mythfrontend[14965]:<br>
&gt;&gt; &gt; segfault at 0 ip 670070 sp 43965d78 error 6 in<br>
&gt;&gt; &gt; mythfrontend[400000+298000]<br>
&gt;&gt;<br>
&gt;&gt; In order to diagnose segmentation faults, we need a traceback.  Find the<br>
&gt;&gt; core dump file produced by the segfault, and use gdb to load it up and<br>
&gt;&gt; produce a traceback.<br>
&gt;<br>
&gt; Hi Raymond thanks for the note.  yeah I thought there would be a core file<br>
&gt; of some sort seeing as there was a segfault that made it to the messages<br>
&gt; file.  but...<br>
&gt;<br>
&gt; mythtv@mythtv2:~$ cd<br>
&gt; mythtv@mythtv2:~$ find . -name \*core\*<br>
&gt; mythtv@mythtv2:~$<br>
<br>
</div>Matt, start mythfrontend under gdb as described in<br>
<a href="http://www.mythtv.org/docs/mythtv-HOWTO-22.html#ss22.2" target="_blank">http://www.mythtv.org/docs/mythtv-HOWTO-22.html#ss22.2</a>. You can also<br>
find some more information on <a href="http://www.mythtv.org/wiki/Debugging" target="_blank">http://www.mythtv.org/wiki/Debugging</a>.<br>
<br>
If you&#39;re on Ubuntu/Mythbuntu or another distribution which provides<br>
*-dbg packages, it will be sufficient to install the MythTV *-dbg<br>
packages, create a gdbcommands file and run &quot;gdb mythfrontend.real -x<br>
gdbcommands&quot; (see full description in the first link). Once it<br>
crashes, you&#39;ll have the needed info in gdb.txt. Create a ticket on<br>
Trac as described in <a href="http://svn.mythtv.org/trac/wiki/TicketHowTo" target="_blank">http://svn.mythtv.org/trac/wiki/TicketHowTo</a> and<br>
attach gdb.txt to the ticket, together with relevant log files and<br>
info on what actions you performed before MythTV crashed.<br>
<br>
Best regards<br>
<font color="#888888">Kenni</font></blockquote><div><br>ok well i&#39;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:<br>
<br>Thread 1 (Thread 0x7f2ffdd25720 (LWP 21085)):<br>#0  0x00007f2ff3e017db in read () from /lib/libpthread.so.0<br>No symbol table info available.<br>#1  0x00007f2ff5a531f8 in vio_read () from /usr/lib/libmysqlclient_r.so.15<br>
No symbol table info available.<br>#2  0x00007f2ff5a53257 in vio_read_buff () from /usr/lib/libmysqlclient_r.so.15<br>No symbol table info available.<br>#3  0x00007f2ff5a543e9 in ?? () from /usr/lib/libmysqlclient_r.so.15<br>
No symbol table info available.<br>#4  0x00007f2ff5a5478d in my_net_read () from /usr/lib/libmysqlclient_r.so.15<br>No symbol table info available.<br>#5  0x00007f2ff5a4eea5 in cli_safe_read () from /usr/lib/libmysqlclient_r.so.15<br>
No symbol table info available.<br>#6  0x00007f2ff5a2559f in cli_read_prepare_result () from /usr/lib/libmysqlclient_r.so.15<br>No symbol table info available.<br>#7  0x00007f2ff5a2288d in mysql_stmt_prepare () from /usr/lib/libmysqlclient_r.so.15<br>
No symbol table info available.<br>#8  0x00007f2ff5e035ef in ?? () from /usr/local/qt46/lib/libQtSql.so.4<br>No symbol table info available.<br>#9  0x00007f2ff5dfb308 in QSqlResult::savePrepare () from /usr/local/qt46/lib/libQtSql.so.4<br>
No symbol table info available.<br>#10 0x00007f2ff5decf12 in QSqlQuery::prepare () from /usr/local/qt46/lib/libQtSql.so.4<br>No symbol table info available.<br>#11 0x00007f2ffb1d4bc6 in MSqlQuery::prepare (this=0x7fff05e588b0, query=@0x7fff05e58960) at mythdbcon.cpp:604<br>
        ok = false<br>#12 0x00007f2fecb6c63a in ?? () from /usr/local/mythtv/lib/mythtv/plugins/libmythweather.so<br>No symbol table info available.<br>#13 0x00007f2fecb93f3a in ?? () from /usr/local/mythtv/lib/mythtv/plugins/libmythweather.so<br>
No symbol table info available.<br>#14 0x00007f2ff41a1808 in QMetaObject::activate () from /usr/local/qt46/lib/libQtCore.so.4<br>No symbol table info available.<br>#15 0x00007f2ffb2e9ad6 in MythSystem::finished (this=0x7f2fd1611e30) at moc_mythsystem.cpp:96<br>
No locals.<br>#16 0x00007f2ffb2e9c38 in MythSystem::qt_metacall (this=0x7f2fd1611e30, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7f2fc9<br>dc3900) at moc_mythsystem.cpp:77<br><br><br>so I suppose I need to recompile Qt with debug info?  I&#39;ll get on that.  I hope I don&#39;t need debug symbols in mysql too (?!)<br>
<br> <br></div></div>