Bug #24135 Query Browser crashes on syntax display
Submitted: 9 Nov 2006 10:29 Modified: 17 Sep 2007 12:08
Reporter: Mark Johnson (Basic Quality Contributor) Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:5.0r10 OS:Linux (Linux 2.6.15/Slackware 10.2)
Assigned to: Vladimir Kolesnikov CPU Architecture:Any
Tags: qc, regression

[9 Nov 2006 10:29] Mark Johnson
Description:
When I double-click on an item in the Syntax Browser, there is a pause and then Query Browser closes.

Here are two sample outputs:
*** glibc detected *** free(): invalid pointer: 0x09b4d708 ***
/usr/bin/mysql-query-browser: line 103: 28637 Aborted                 $PRG-bin $args

*** glibc detected *** free(): invalid pointer: 0x09b18a38 ***
/usr/bin/mysql-query-browser: line 103: 28648 Aborted                 $PRG-bin $args

How to repeat:
Double-click on an item in the syntax browser.  I used "SELECT".
[9 Nov 2006 10:30] Mark Johnson
backtrace of the stack when crashed.

Attachment: bt.txt (text/plain), 9.08 KiB.

[9 Nov 2006 14:18] MySQL Verification Team
Thank you for the bug report.
[4 Dec 2006 10:15] Vladimir Kolesnikov
Hi Mark,

can you specify the version of gtk2, glib2 and gtkhtml2 that are installed on your system?

Thanks,
Vlad
[5 Dec 2006 20:09] Mark Johnson
Version numbers are as follows:
glib2 2.12.3
gtk 2.8.20
gtkhtml 3.8.2

Dates I compiled/installed these packages:
glib2: 17 Sept 2006
gtk: 18 Sept 2006
gtkhtml: 8 Nov 2006

I believe that these were compiled in the correct order. Certainly, their respective configure scripts ran successfully.

On 2 Dec, I updated the Gui Tools to version 5.0r6 (I've updated the version on this bug accordingly).  This morning, I updated glib2 to 2.12.4.  MySql Query Browser continues to crash.
[18 Dec 2006 20:21] MySQL Verification Team
Thank you for the feedback. Could you please try with the release version
1.2.8-beta. I was unable to repeat anymore. Thanks in advance.
[20 Dec 2006 16:38] Mark Johnson
I am blocked from trying this with 1.2.8beta (in gui tools 5.0r8) by bug 25186.

Since a specific version of the connector/J is required to compile gui common, and this is not the version included in the package, I need instructions as to how to download the correct version of the jar file.
[20 Dec 2006 18:42] Mark Johnson
The Java parts that were blocking me were only for WorkBench.  I was able to compile just Administrator and Query Browser for 5.0r8.

$ mysql-query-browser
*** glibc detected *** free(): invalid pointer: 0x09b594c8 ***
/usr/bin/mysql-query-browser: line 103: 25262 Aborted                 $PRG-bin $args

The help now appears, which is an improvement.  However, when I try to move the scrollbar, it crashes.
[3 Mar 2007 9:25] Mark Johnson
I have just installed 5.0r10.  Now, Query Browser is back to crashing when I simply double-click on an item for syntax display.
[17 Sep 2007 12:08] MySQL Verification Team
I can't repeat with latest released version.