Bug #59565 Server crashed in Warning_info::~Warning_info
Submitted: 17 Jan 2011 19:14 Modified: 25 Feb 2011 8:40
Reporter: Luis Soares Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.5 OS:Any
Assigned to: Jon Olav Hauglid CPU Architecture:Any

[17 Jan 2011 19:14] Luis Soares
Description:
During re-verification of BUG#51282, it was discovered that sometimes
the server would crash (5.5.9-debug) when running BUG#51282 test case
with a number of threads equal to 12, 16. It would exhibit this call
stack:

	0177871E    mysqld.exe!_output_s_l()[output.c:1643]
	01766EE6    mysqld.exe!_vsnprintf_helper()[vsprintf.c:140]
	01767410    mysqld.exe!_vsnprintf_s_l()[vsprintf.c:288]
	01767680    mysqld.exe!_vsnprintf_s()[vsprintf.c:340]
	01746CDE    mysqld.exe!_VCrtDbgReportA()[dbgrptt.c:298]
	01766212    mysqld.exe!_CrtDbgReportV()[dbgrpt.c:241]
	017661DB    mysqld.exe!_CrtDbgReport()[dbgrpt.c:258]
	017502AB    mysqld.exe!_free_dbg_nolock()[dbgheap.c:1345]
	01750060    mysqld.exe!_free_dbg()[dbgheap.c:1265]
	0174D8A0    mysqld.exe!free()[dbgfree.c:49]
	014949A2    mysqld.exe!my_free()[my_malloc.c:128]
	014911BA    mysqld.exe!free_root()[my_alloc.c:365]
	012EC789    mysqld.exe!Warning_info::~Warning_info()[sql_error.cc:476]
	012187BF    mysqld.exe!THD::~THD()[sql_class.cc:1122]
	013B4F99    mysqld.exe!Delayed_insert::~Delayed_insert()[sql_insert.cc:1948]
	013B4DE6    mysqld.exe!Delayed_insert::`scalar deleting destructor'()
	013B0B74    mysqld.exe!handle_delayed_insert()[sql_insert.cc:2800]
	014916E8    mysqld.exe!pthread_start()[my_winthread.c:61]
	0174EAC3    mysqld.exe!_callthreadstartex()[threadex.c:314]
	0174EA64    mysqld.exe!_threadstartex()[threadex.c:297]
	769AD0E9    kernel32.dll!BaseThreadInitThunk()
	773819BB    ntdll.dll!RtlInitializeExceptionChain()
	7738198E    ntdll.dll!RtlInitializeExceptionChain()

Environment:

  - Dell Vostro 200
  - Windows Vista 32-bit
  - Intel Pentium Dual E2180 2.00 GHz
  - 4GB RAM

How to repeat:
See Santo Leto's comment on BUG#51282: [17 Jan 1:18] Santo Leto

Suggested fix:
.
[25 Feb 2011 8:40] Jon Olav Hauglid
Closing the bug as Can't repeat
Neither Santo Leto or myself are able to trigger the bugs with the current
version of 5.5, several different machines and architectures tried.