<div class="gmail_quote">On Sun, Jul 25, 2010 at 2:37 AM, Thomas Börkel <span dir="ltr"><<a href="mailto:thomas@boerkel.de">thomas@boerkel.de</a>></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">> I cannot proof that the network problem is a MythTV problem (although it<br>
> is solved my restarting mythfrontend alone), but the ticket is about<br>
> mythfrontend's reacton to fatal errors when trying to read data from<br>
> settings. The reaction should not be to delete settings.<br>
><br>
><br>
> I'd like to see your frontend logs with "-v database" showing where the<br>
> 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 "delete settings" 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'll see that it removes and saves settings and if you look up that code in libmythtv/videoprofilegroup.cpp you'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'd check out both of those scenarios.</div><div><br></div><div>Kevin</div></div>