Bug #4366 Sporadic Read AV errors creating schema
Submitted: 2 Jul 2004 1:17 Modified: 17 Jul 2004 15:47
Reporter: David Taylor Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Administrator Severity:S2 (Serious)
Version:1.0.5 Beta OS:Windows (Windows 2000)
Assigned to: Michael G. Zinner CPU Architecture:Any

[2 Jul 2004 1:17] David Taylor
Description:
Sporadic exceptions observed when creating new Schemas.

Same sequence repeated several times produced errors inconsistently.
This was observed across multiple executions of the program.

How to repeat:
- Select "Catalog" icon
- Right Click -> Create new Schema  -> Schema Name: "dvt-test"
- Click on schema "test-bug"  -> "null pointer exception"

Suggested fix:

Coding Suggestion:  Past experience with Delphi coding suggests a variable initialization or cleanup problem. This is typical of local stack-based variables which assume unpredictable values. Explicitly nulling deallocated pointers/objects may show the problem more consistently.
[17 Jul 2004 15:47] MySQL Verification Team
I wasn't able to repeat with version 1.0.6.