Bug #25317 Segfault when closing script tab after editing a procedure
Submitted: 28 Dec 2006 16:53 Modified: 10 Jan 2007 15:17
Reporter: Erik Meitner Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S2 (Serious)
Version:1.2.8beta OS:Linux (GNU/Linux)
Assigned to: Vladimir Kolesnikov CPU Architecture:Any

[28 Dec 2006 16:53] Erik Meitner
Description:
After editing certain stored procedures, the application will segfault when the query is executed.
GDB backtrace will be attached.

This is a binary distribution: Generic x86 Linux TAR(bundled dependencies), version 5.0r8

How to repeat:
1. Run Mysql Query Browser.
2. Login to database.
3. Open an existing procedure for editing. The segfault does seem to be dependent on certain procedures. Not all will do it.
4. Make a change(even just a change in whitespace)
5. Click the "Execute Query" button
6. Segfault.
[28 Dec 2006 16:54] Erik Meitner
GDB Backtrace

Attachment: gdb.txt (text/plain), 30.27 KiB.

[28 Dec 2006 16:56] Erik Meitner
System is Ubuntu GNU/Linux, Edgy(6.10)
[28 Dec 2006 17:07] Erik Meitner
One procedure that triggers the segfault.

Attachment: procedure.txt (text/plain), 1.33 KiB.

[28 Dec 2006 17:08] Erik Meitner
How to repeat(corrected):
1. Run Mysql Query Browser.
2. Login to database.
3. Open an existing procedure for editing. The segfault does seem to be
dependent on certain procedures. Not all will do it.
4. Make a change(even just a change in whitespace)
5. Click the "Execute Query" button
6. Close the tab.
7. Segfault.
[29 Dec 2006 8:56] Sveta Smirnova
Thank you for the report.

Verified as described on Ubuntu.
[10 Jan 2007 15:17] Vladimir Kolesnikov
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release.

If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at

    http://dev.mysql.com/doc/en/installing-source.html