Bug #12014 Stack overflow when attempting to search long script
Submitted: 18 Jul 2005 18:12 Modified: 21 Sep 2005 10:28
Reporter: Andrew Timberlake-Newell Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S2 (Serious)
Version:1.1.13 OS:Windows (Windows)
Assigned to: Vladimir Kolesnikov CPU Architecture:Any

[18 Jul 2005 18:12] Andrew Timberlake-Newell
Description:
Opened an 84.8MB script of inserts, which had been generated by the Migration Toolkit.  Upon attempting to use the search for any text string, the message "Stack overflow" appeared in the status bar.  If attempting to search again...Query Browser terminates with no further warning.

How to repeat:
The same problem occurs on searching this large file, no matter what I search for.  It does not occur with a smaller file (9KB).
[18 Jul 2005 18:42] Andrew Timberlake-Newell
The problem only appears to occur before attempting to execute the script.  After executing the script, searches begin working without further problems until I close and re-load the script...at which point the problem returns.
[19 Jul 2005 10:01] Aleksey Kishkin
tested on winxp sp2, (attached script that generates 130M sql file)
[19 Jul 2005 10:02] Aleksey Kishkin
perl script that generates 1000000 line sql script (about 130M)

Attachment: crt.pl (application/octet-stream, text), 85 bytes.

[21 Sep 2005 10:28] 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 bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html