<font color='black' size='2' face='arial'>
<div style="font-family: helvetica,arial; font-size: 10pt; color: black;">

<div id="AOLMsgPart_2_1a74c10c-bb1d-4b24-8397-bf6fb9d514f9">

<font color="black" face="arial" size="2">

<div> <font size="2"><font face="Arial, Helvetica, sans-serif">I just got through uninstalling and reinstalling myth</font></font><font face="Arial, Helvetica, sans-serif">.</font><br>

</div>



<div> <br>
My frontend works again, and hopefully will continue to work.&nbsp; The new frontend also worked on my notebook, connecting to the master backend without an issue.<br>
<br>
Upon reinstall, there were 3 or 4 data tables that weren't recreated and I ended up going into a backup and grabbing the DDL query to recreate these tables.&nbsp; I'm assuming this was caused by my not dropping and creating the mythconverg database.&nbsp; If this is the only error I get from the reinstall, I'm happy.<br>
<br>
After some further digging I think I may have found the possible source of the problem - perhaps some others can confirm my theory to help avoid others having a similar issue.<br>
<br>
As I previously stated, the output from -v all produced nothing of substance that would illuminate the possible source of the seg fault.&nbsp; The seg fault would occur right after the sql query:<br>
<br>
DELETE FROM inuseprograms...<br>
<br>
However, after this reinstall I reran the myth frontend and noticed that there was an error being thrown about a missing plugin, mythvodka.&nbsp; So I decided to rerun the frontend with -v all and send the output to a log file.&nbsp; I then searched for the DELETE query just to see what was happening around this to get an idea of the operations that may have previously failed.&nbsp; Well, turns out that the log file contains two entries for the same DELETE query, and, lo and behold, the second query happens just before the check for plugins.<br>
<br>
I deleted the mythvodka.so file because, well, it never worked, and I don't need it.&nbsp; I reran the frontend in -v all mode and now get <br>
<br>
No libraries in plugins directory /usr/lib/mythtv/plugins<br>
<br>
for the plugin check.<br>
<br>
Could/would mythvodka have generated the QT3 error in dmesg, and could this have been the source of the frontend failure?<br>

</div>



<div style="clear: both;"></div>



<div> <br>

</div>



<div> <br>

</div>



<div style="font-family: helvetica,arial; font-size: 10pt; color: black;">-----Original Message-----<br>

From: emarkert@aim.com<br>

To: mythtv-users@mythtv.org<br>

Sent: Wed, Jan 6, 2010 7:09 pm<br>

Subject: Re: Frontend segmentation fault<br>

<br>








<div id="AOLMsgPart_2_c03db5c5-a346-4bfa-a3c5-8471a014ac1d">

<font color="black" face="arial" size="2">


<div> <font size="2"><font face="Arial, Helvetica, sans-serif">I think I found a possible cause for the seg fault.&nbsp; Looking at dmesg output I found the following entry - actually 20 of them<br>


<br>


[14630.066916] mythfrontend[29631]: segfault at 80 ip af6b0a04 sp bfbaa0e0 error 4 in libqt-mt.so.3.3.8[af12a000+6ef000]<br>


<br>


</font></font></div>





<div style="clear: both;"></div>





<div> <font size="2"><font face="Arial, Helvetica, sans-serif">It would appear that the frontend is using QT3 instead of QT4.&nbsp; I have both installed on my system.<br>


<br>


Is there a way to get the frontend to use the proper QT version?<br>


<br>


</font></font></div>





<div> <br>


</div>





<div style="font-family: helvetica,arial; font-size: 10pt; color: black;">-----Original Message-----<br>


From: <a href="mailto:emarkert@aim.com">emarkert@aim.com</a><br>


To: <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>


Sent: Wed, Jan 6, 2010 11:28 am<br>


Subject: Frontend segmentation fault<br>


<br>



<base href="about:blank">






<div id="AOLMsgPart_2_67982e5f-8987-4a75-88a2-9c1293e34baf">

<font color="black" face="arial" size="2">I'm running Mythtv on Debian based Simply Mepis 8.&nbsp; Myth has been running like a champ up until yesterday when I applied the latest upgrades that showed up in the Debian multimedia repository.<br>







<div style="font-family: helvetica,arial; font-size: 10pt; color: black;">



<div id="AOLMsgPart_2_f39c8cf8-2691-4275-bab2-0aa37637829c"><font color="black" face="arial" size="2"><font color="black"><font size="2"><font face="arial">
<br>




I applied the upgrades, ran the setup which updated the DB schema (MySQL 5) and then tried mythfrontend.&nbsp; Nothing but a segmentation fault.&nbsp; I tried a number of different fixes that I found online and could not get rid of this segmentation fault error.&nbsp; Finally, out of desperation, I simply did a complete removal and install of the entire myth system.&nbsp; This finally fixed the problem of the segmentation fault, and all seemed well.<br>




<br>




This morning, however, I encountered the same segmentation fault error with the frontend.&nbsp; Enabling -v all on the frontend doesn't produce appear to produce any useful information that points to the source of this error.<br>




<br>




The last msg produced is (I've replaced the hostname with &lt;hostname&gt;):<br>




<br>




2010-01-06 11:13:46.350 MSqlQuery::exec() "DELETE FROM inuseprograms WHERE hostname = &lt;hostname&gt; and recusage = 'player' ;"<br>




Segmentation fault<br>




<br>




After this problem cropped up again this morning, I noticed another round of fixes available from the Debian multimedia repo.&nbsp; I applied them, but the seg fault still occurs with the frontend, BTW, the backend appears to be functioning normally - in fact, it's been recording scheduled shows that I can watch from my PS3.<br>




<br>




I don't want to do a complete removal and install again because it is a bit of a pain getting things back to where I want, plus I usually end up losing my recorded shows and schedule.<br>




<br>




I have a PVR 150 installed.&nbsp; Here's the output from mythfrontend --version<br>




<br>




MythTV Version&nbsp;&nbsp; : Unknown<br>




MythTV Branch&nbsp;&nbsp;&nbsp; : branches/release-0-22-fixes<br>




Network Protocol : 50<br>




Library API&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 0.22.20091023-1<br>




QT Version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 4.4.3<br>




Options compiled in:<br>




&nbsp;linux release using_oss using_alsa using_pulse using_jack using_backend using_directfb using_dvb using_firewire using_frontend using_glx_proc_addr_arb using_hdhomerun using_hdpvr using_iptv using_ivtv using_joystick_menu using_libfftw3 using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw using_bindings_perl using_bindings_python using_opengl using_vdpau using_ffmpeg_threads using_libavc_5_3 using_live using_mheg<br>




<br>




</font></font></font></font>

</div>



 

</div>



</font>

</div>


 

</div>


</font>

</div>

 <!-- end of AOLMsgPart_2_c03db5c5-a346-4bfa-a3c5-8471a014ac1d -->

</div>

</font>

</div>
 <!-- end of AOLMsgPart_2_1a74c10c-bb1d-4b24-8397-bf6fb9d514f9 -->
</div>
</font>