5.1-BK Linux ------------- (gdb) bt #0 free_root (root=0x95c8350, MyFlags=1) at my_alloc.c:345 #1 0x081af4b2 in dispatch_command (command=COM_QUERY, thd=0x95c0cf0, packet=Variable "packet" is not available.) at sql_parse.cc:2196 #2 0x081af688 in do_command (thd=0x95c0cf0) at sql_parse.cc:1614 #3 0x081b0269 in handle_one_connection (arg=0x95c0cf0) at sql_parse.cc:1228 #4 0x00880b80 in start_thread () from /lib/libpthread.so.0 #5 0x00597dee in clone () from /lib/libc.so.6 5.0-BK Windows ---------------- mysqld_debug!free_root+0xdd mysqld_debug!dispatch_command+0x16bf mysqld_debug!do_command+0x1f6 mysqld_debug!handle_one_connection+0x241 mysqld_debug!pthread_start+0x53 mysqld_debug!_threadstart+0xb7 KERNEL32!BaseThreadStart+0x52 5.0.24 Windows --------------- mysqld_nt!alloc_root+0x1a mysqld_nt!sql_alloc+0x22 mysqld_nt!base_list::push_front+0xa mysqld_nt!st_select_lex::init_query+0xb7 mysqld_nt!lex_start+0x74 mysqld_nt!mysql_parse+0x17 mysqld_nt!dispatch_command+0x562 mysqld_nt!do_command+0xad mysqld_nt!handle_one_connection+0x26e mysqld_nt!pthread_start+0x3b mysqld_nt!_threadstart+0x6c 5.0-BK Linux -------------- 0x80db403 0x406420 (nil) 0x80fa085 0x80fade2 0x83c6df6 0x841e94e