On 28 July 2011 09:23, warpme <span dir="ltr"><<a href="mailto:warpme@o2.pl">warpme@o2.pl</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Have You any hint about extended logging in MySQL/Qt for looking closely on problem ?<br></blockquote></div><br>If you remove the patch, you might be able to replicate the problem by manually killing the open connections on MySQL; using the mysql command line client, do a SHOW PROCESSLIST to see the open connections, and use "KILL <connection id>" to make the server drop the connection. This might confirm that a stale connection can cause the stack traces you are seeing.<br>
<br>If the problem is reconnections, then as you say, identifying the root cause could be worthwhile - especially if you think the connections are being dropped prematurely (ie, before MySQL hits its timeout for inactivity). You could try turning on the MySQL General Query Log - if I remember correctly, that logs connections and disconnections.<br>
<br>David<br>