<div class="gmail_quote">On Sun, Jul 25, 2010 at 2:37 AM, Thomas Börkel <span dir="ltr">&lt;<a href="mailto:thomas@boerkel.de">thomas@boerkel.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">HI!<br>
<br>
On 25.07.2010 04:17, Kevin Kuphal wrote:<br>
<br>
</div><div class="im">&gt;     I cannot proof that the network problem is a MythTV problem (although it<br>
&gt;     is solved my restarting mythfrontend alone), but the ticket is about<br>
&gt;     mythfrontend&#39;s reacton to fatal errors when trying to read data from<br>
&gt;     settings. The reaction should not be to delete settings.<br>
&gt;<br>
&gt;<br>
&gt; I&#39;d like to see your frontend logs with &quot;-v database&quot; showing where the<br>
&gt; frontend is deleting all your settings<br>
<br>
</div>You can see the statements already in the last log:<br>
<div class="im"><a href="http://www.boerkel.de/mythfrontend.log" target="_blank">http://www.boerkel.de/mythfrontend.log</a><br>
<br>
</div>It did not delete ALL settings, but some settings.<br></blockquote><div><br></div><div>A quick perusal of the code shows me that those &quot;delete settings&quot; are part of the displayprofile configuration pages and normal for they way those settings are stored.</div>
<div><br></div><div><a href="http://svn.mythtv.org/trac/browser/tags/release-0-23-1/mythtv/programs/mythfrontend/globalsettings.cpp">http://svn.mythtv.org/trac/browser/tags/release-0-23-1/mythtv/programs/mythfrontend/globalsettings.cpp</a></div>
<div><br></div><div><a href="http://svn.mythtv.org/trac/browser/tags/release-0-23-1/mythtv/programs/mythfrontend/globalsettings.cpp"></a>(grep for DeleteDB)</div><div><br></div><div>and you&#39;ll see that it removes and saves settings and if you look up that code in libmythtv/videoprofilegroup.cpp you&#39;ll see that it indeed calls DELETE and INSERT statements and is doing nothing mailicious to your database and is not the source of your problem</div>
<div><br></div><div>The problem (at least according to your logs) is that mythfrontend, by virtual of the QT mysql library, has reported that your database is inaccessible and no longer has a connection to the database.  This either means 1) there is a problem in the mysql client library on your system) or 2) your mysql is crashing</div>
<div><br></div><div>I&#39;d check out both of those scenarios.</div><div><br></div><div>Kevin</div></div>