Bug #6602 "Access violation at address 00564ed7..." in status bar when using cursors
Submitted: 12 Nov 2004 23:35 Modified: 29 Nov 2004 17:43
Reporter: [ name withheld ] Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S2 (Serious)
Version:1.1.1 gamma OS:Windows (WinXP SP2)
Assigned to: Bugs System CPU Architecture:Any

[12 Nov 2004 23:35] [ name withheld ]
Description:
When using the "Sets the XXXX clause mouse cursor"
then clicking on any fields in the "Schemata" tab with that cursor
will cause the status bar to display
  Access violation at address 00564ED7 in Module "MySQLQueryBrowser.exe". Read of address 00000000.

Note1: I'm connecting to a MySQL 3.x server and have ignored the warning.

Note2: Windows SP2 is way more defensive about segement protection (unused segments, executable segments...)
So this read error might go unoticed on a non-SP2 Windows.

How to repeat:
Use the "Sets the XXXX clause mouse cursor"
then click on any fields in the "Schemata" tab with that cursor.
Look at the bottom status bar that displays the message.
[12 Nov 2004 23:37] [ name withheld ]
Image showing the status bar error message

Attachment: msqlquerybrowser access violation bug.20041112.jpg (image/jpeg, text), 55.78 KiB.

[15 Nov 2004 9:48] Michael G. Zinner
Thanks for reporting. We are working on a complete re-implementation of the query composing. The error you reported should be fixed in the next release.
[29 Nov 2004 17:43] Victor Vagin
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

Additional info:

ok,
crash happened when you tried to use 'set' cursor for 'select query', right?
I fixed it
but note, 'set' cursor works for 'update query' only..