Bug #21896 mysql_close causes crash
Submitted: 29 Aug 2006 9:05 Modified: 29 Sep 2006 11:15
Reporter: Sascha Presnac Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.0.21 OS:Windows (WinXP Pro)
Assigned to: CPU Architecture:Any

[29 Aug 2006 9:05] Sascha Presnac
Description:
I have a delphi project, calling the libmysql.dll
Opening and working (SELECT, UPDATE, ...) works fine, but when trying to execute mysql_close, the system crashes with a:
-------------------------
Project central.exe raised exception class EAccessViolation with
message 'Access violation at adress 1001A8E7 in module 'libmysql.dll'.
Read of address FEEEFEEE'. 
-------------------------
Also, i cannot just uncomment the mysql_close line, for my app goes freezed then.
Please help...

I also created a small project with just the mysql_real_connect and the mysql_close call, same effect.

How to repeat:
I can always repeat the error, example with a small test program.
[29 Aug 2006 11:15] Tonci Grgin
Hi Sascha.
There's not enough info provided for me to even start checking this.
Can you please provide following:
  - Small but complete Delphi project demonstrating this error
  - Translation unit, probably libmysql.pas or such, providing you access to libmysql.dll
  - All rellevant version information (MySQL server, Delphi...)
[29 Sep 2006 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".