Bug #25760 Error: Freeing unallocated data at line 92, '.\mf_tempdir.c'
Submitted: 22 Jan 2007 18:22 Modified: 10 Mar 2007 1:10
Reporter: Shane Bester (Platinum Quality Contributor) Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: General Severity:S3 (Non-critical)
Version:5.1.14 OS:Windows (w2k3)
Assigned to: Assigned Account CPU Architecture:Any

[22 Jan 2007 18:22] Shane Bester
Description:
when shutting down mysqld-debug.exe 5.1.14 on windows, the following error appears:

070122 20:13:50  InnoDB: Started; log sequence number 0 46409
070122 20:13:50 [Note] mysqld-debug: ready for connections.
Version: '5.1.14-beta-debug'  socket: ''  port: 3306  MySQL Community Server - Debug (GPL)
070122 20:14:09 [Note] mysqld-debug: Normal shutdown

070122 20:14:09 [Note] SCHEDULER: Purging queue. 0 events
mysqld-debug: missing DBUG_RETURN or DBUG_VOID_RETURN macro in function "?func"
070122 20:14:09  InnoDB: Starting shutdown...
070122 20:14:11  InnoDB: Shutdown completed; log sequence number 0 46409
Error: Freeing unallocated data at line 92, '.\mf_tempdir.c'
070122 20:14:11 [Note] mysqld-debug: Shutdown complete

Error in my_thread_global_end(): 1 threads didn't exit

How to repeat:
in 1 window:

mysqld-debug.exe --console --skip-grant-tables

in another window:

mysqladmin.exe shutdown

Suggested fix:
.
[22 Jan 2007 18:31] MySQL Verification Team
Thank you for the bug report.

Microsoft Windows XP [versão 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\build\5.1\bin>mysqld-nt --standalone --console
070122 16:29:32  InnoDB: Started; log sequence number 0 660866
070122 16:29:38 [Note] mysqld-nt: ready for connections.
Version: '5.1.15-beta-nt'  socket: ''  port: 3306  Source distribution
070122 16:29:38 [Note] SCHEDULER: Loaded 0 events
070122 16:30:02 [Note] mysqld-nt: Normal shutdown

070122 16:30:02 [Note] SCHEDULER: Purging queue. 0 events
070122 16:30:02  InnoDB: Starting shutdown...
070122 16:30:05  InnoDB: Shutdown completed; log sequence number 0 660866
070122 16:30:05 [Note] mysqld-nt: Shutdown complete

Error in my_thread_global_end(): 1 threads didn't exit

C:\build\5.1\bin>
[22 Jan 2007 19:20] MySQL Verification Team
Verified with latest source:
miguel@hegel:~/bk/mysql-5.1> bk changes | head
ChangeSet@1.2422, 2007-01-20 09:34:01-05:00, cmiller@zippy.cornsilk.net +1 -0
  Merge zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint-topush
  into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint-topush
  MERGE: 1.1810.2371.59

ChangeSet@1.1810.2371.59, 2007-01-19 13:20:52-05:00, iggy@recycle.(none) +1 -0
  Merge recycle.(none):/src/bug22807/my50-bug22807
  into  recycle.(none):/src/mysql-5.0-maint
  MERGE: 1.1810.2472.4

C:\build\5.1\bin>mysqld-debug --standalone --console --skip-grant-tables
070122 17:17:01  InnoDB: Started; log sequence number 0 660866
070122 17:17:08 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
070122 17:17:08 [Note] mysqld-debug: ready for connections.
Version: '5.1.15-beta-nt-debug'  socket: ''  port: 3306  Source distribution
070122 17:17:43 [Note] mysqld-debug: Normal shutdown

mysqld-debug: missing DBUG_RETURN or DBUG_VOID_RETURN macro in function "?func"
070122 17:17:43 [Note] SCHEDULER: Purging queue. 0 events
070122 17:17:43  InnoDB: Starting shutdown...
070122 17:17:45  InnoDB: Shutdown completed; log sequence number 0 660866
Error: Freeing unallocated data at line 91, '.\mf_tempdir.c'
070122 17:17:45 [Note] mysqld-debug: Shutdown complete

Error in my_thread_global_end(): 1 threads didn't exit