Bug #24825 Access violation in MySQLAdministrator.exe when trying to view DB schemata
Submitted: 5 Dec 2006 16:11 Modified: 7 Dec 2006 10:37
Reporter: [ name withheld ] Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Administrator Severity:S3 (Non-critical)
Version:mysql-gui-tools-5.0-r6-win32 OS:Windows (Windows XP SP2)
Assigned to: CPU Architecture:Any
Tags: access violation, crash, fetching schema, schemata, table structure

[5 Dec 2006 16:11] [ name withheld ]
Description:
Hi when testing MySQL Administrator, I get an access violation message box when I try to open one of my databases under Catalog.  The exact message is:
Access violation at address 004041F6 in module 'MySQLAdministrator.exe'. Read of address 010CO1F6.

Then I click ok, and no info is presented, if I retry to access I get another error with a retry, cancel buttons.  When canceling the applications closes it self.  When ask to debug, I get the following info from visual stuio's debugger:
Unhandled exception at 0x7c93a378 in MySQLAdministrator.exe: 0xC0000005: Access violation reading location 0x00000026.

The callstak is:
>	ntdll.dll!7c93a378() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]	
 	kernel32.dll!7c80b62e() 	
 	kernel32.dll!7c80b643() 	
 	ntdll.dll!7c92b298() 	
 	ntdll.dll!7c920732() 	
 	ntdll.dll!7c920732() 	
 	ntdll.dll!7c9206ab() 	
 	ntdll.dll!7c9206eb() 	
 	oleaut32.dll!770f15f8() 	
 	oleaut32.dll!770f1629() 	
 	msvcrt.dll!77bfc1db() 	
 	msvcrt.dll!77bef0d0() 	
 	ntdll.dll!7c9111a7() 	
 	ntdll.dll!7c928f65() 	
 	ntdll.dll!7c928dde() 	
 	ntdll.dll!7c91eac7() 	

And the break point:

7C93A378  mov         ecx,dword ptr [eax+20h] 

How to repeat:
It happens everytime I try to access the DB, the server is MySQL 5.02 on FreeBSD.
Contact me for submiting more details if necessary.
[5 Dec 2006 16:56] MySQL Verification Team
Thank you for the bug report. I was unable to repeat connecting with a
server 5.0.32 (latest source server) and running on Suse 10.0. It is
possible for you to test with a more recent server? 5.0.2 is pretty
older. Thanks in advance.
[5 Dec 2006 17:10] [ name withheld ]
Well, the problem shouldn't be connecting to the server, other DBs work correctly I can access the this particular one other tools or by sql.  If you let me know how what to test/debug I can give you more info...
[6 Dec 2006 2:11] MySQL Verification Team
Thank you for the feedback. Could you please verify if your case is the same
as http://bugs.mysql.com/bug.php?id=23534 (user with limited grants). Thanks
in advance.
[7 Dec 2006 9:26] [ name withheld ]
It seams to be the same, the user has limited access.
[7 Dec 2006 10:37] MySQL Verification Team
Thank you for the feedback. Duplicate of bug: http://bugs.mysql.com/bug.php?id=23534