Bug #8111 mysqlbinlog crashes on Windows
Submitted: 24 Jan 2005 14:48 Modified: 28 Mar 2005 21:53
Reporter: Vasily Kishkin Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:4.1 OS:Windows (Window 2000)
Assigned to: Assigned Account CPU Architecture:Any

[24 Jan 2005 14:48] Vasily Kishkin
Description:
mysqlbinlog crashes on Windows when I try to start it with master-bin file.
I found that my_end() frees memory and threads before exit. But exit code tries to use threads again. If I remove my_end() from function main() all works without crash.

How to repeat:
run mysqlbinlog with attached files.

Suggested fix:
probably you need to move my_end() to another place in code.
[24 Jan 2005 15:04] Vasily Kishkin
master-bin.index

Attachment: master-bin.index (text/plain), 53 bytes.

[24 Jan 2005 15:04] Vasily Kishkin
master-bin.000001

Attachment: master-bin.000001 (application/octet-stream, text), 79 bytes.

[24 Jan 2005 23:34] Guilhem Bichot
Hi,
Please where is the place of code where threads are freed in my_end()?
[27 Jan 2005 8:06] Vasily Kishkin
void my_end(int infoflag)
{
...
...
#ifdef THREAD
  DBUG_POP();				/* Must be done before my_thread_end */
  my_thread_end();
  my_thread_global_end();
....
....
}
[28 Feb 2005 0: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".
[28 Feb 2005 21:53] Guilhem Bichot
Hi Wax,
Please see my email, when you have time:
Date: Thu, 27 Jan 2005 11:41:24 +0100
Subject: Re: #8111 [Fbk]: mysqlbinlog crashes on Windows
[28 Mar 2005 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".