091204 22:11:27 [Note] ./bin/mysqld: ready for connections. Version: '5.5.99-m3-debug' socket: '/tmp/mysql.sock' port: 3306 Source distribution --12796-- REDIR: 0x3726b0 (realloc) redirected to 0x40059bd (realloc) --12796-- memcheck GC: 32768 nodes, 32768 survivors (100.0%) --12796-- memcheck GC: increase table size to 65536 ==12796== Thread 17: ==12796== Conditional jump or move depends on uninitialised value(s) ==12796== at 0x400687A: strnlen (mc_replace_strmem.c:259) ==12796== by 0x874CBC3: process_str_arg (my_vsnprintf.c:195) ==12796== by 0x874E30C: my_vsnprintf_ex (my_vsnprintf.c:603) ==12796== by 0x8704CE4: my_error (my_error.c:92) ==12796== by 0x8519F75: create_table_def(trx_struct*, TABLE*, char const*, char const*, unsigned long) (ha_innodb.cc:5750) ==12796== by 0x851A8B7: ha_innobase::create(char const*, TABLE*, st_ha_create_information*) (ha_innodb.cc:6353) ==12796== by 0x83D9907: handler::ha_create(char const*, TABLE*, st_ha_create_information*) (handler.cc:3369) ==12796== by 0x83DD00F: ha_create_table(THD*, char const*, char const*, char const*, st_ha_create_information*, bool) (handler.cc:3576) ==12796== by 0x836466B: mysql_truncate(THD*, TABLE_LIST*, bool) (sql_delete.cc:1233) ==12796== by 0x82AB363: mysql_execute_command(THD*) (sql_parse.cc:3077) ==12796== by 0x84756BE: sp_instr_stmt::exec_core(THD*, unsigned int*) (sp_head.cc:2944) ==12796== by 0x8475FF6: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*) (sp_head.cc:2759) ==12796== by 0x8476721: sp_instr_stmt::execute(THD*, unsigned int*) (sp_head.cc:2881) ==12796== by 0x847890D: sp_head::execute(THD*) (sp_head.cc:1248) ==12796== by 0x8479679: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1990) ==12796== by 0x82AEB07: mysql_execute_command(THD*) (sql_parse.cc:4079) ==12796== by 0x82B0238: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5581) ==12796== by 0x82B1597: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1023) ==12796== by 0x82B282F: do_command(THD*) (sql_parse.cc:709) ==12796== by 0x82A0D01: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==12796== by 0x82A0DBC: handle_one_connection (sql_connect.cc:1113) ==12796== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==12796== by 0x3D606D: clone (in /lib/libc-2.5.so) ==12796== Uninitialised value was created by a stack allocation ==12796== at 0x8519AF1: create_table_def(trx_struct*, TABLE*, char const*, char const*, unsigned long) (ha_innodb.cc:5626) ==12796== ==12796== Conditional jump or move depends on uninitialised value(s) ==12796== at 0x8744A7D: my_utf8_uni (ctype-utf8.c:1955) ==12796== by 0x873DE80: my_well_formed_len_mb (ctype-mb.c:401) ==12796== by 0x874CC07: process_str_arg (my_vsnprintf.c:198) ==12796== by 0x874E30C: my_vsnprintf_ex (my_vsnprintf.c:603) ==12796== by 0x8704CE4: my_error (my_error.c:92) ==12796== by 0x8519F75: create_table_def(trx_struct*, TABLE*, char const*, char const*, unsigned long) (ha_innodb.cc:5750) ==12796== by 0x851A8B7: ha_innobase::create(char const*, TABLE*, st_ha_create_information*) (ha_innodb.cc:6353) ==12796== by 0x83D9907: handler::ha_create(char const*, TABLE*, st_ha_create_information*) (handler.cc:3369) ==12796== by 0x83DD00F: ha_create_table(THD*, char const*, char const*, char const*, st_ha_create_information*, bool) (handler.cc:3576) ==12796== by 0x836466B: mysql_truncate(THD*, TABLE_LIST*, bool) (sql_delete.cc:1233) ==12796== by 0x82AB363: mysql_execute_command(THD*) (sql_parse.cc:3077) ==12796== by 0x84756BE: sp_instr_stmt::exec_core(THD*, unsigned int*) (sp_head.cc:2944) ==12796== by 0x8475FF6: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*) (sp_head.cc:2759) ==12796== by 0x8476721: sp_instr_stmt::execute(THD*, unsigned int*) (sp_head.cc:2881) ==12796== by 0x847890D: sp_head::execute(THD*) (sp_head.cc:1248) ==12796== by 0x8479679: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1990) ==12796== by 0x82AEB07: mysql_execute_command(THD*) (sql_parse.cc:4079) ==12796== by 0x82B0238: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5581) ==12796== by 0x82B1597: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1023) ==12796== by 0x82B282F: do_command(THD*) (sql_parse.cc:709) ==12796== by 0x82A0D01: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==12796== by 0x82A0DBC: handle_one_connection (sql_connect.cc:1113) ==12796== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==12796== by 0x3D606D: clone (in /lib/libc-2.5.so) ==12796== Uninitialised value was created by a stack allocation ==12796== at 0x8519AF1: create_table_def(trx_struct*, TABLE*, char const*, char const*, unsigned long) (ha_innodb.cc:5626) ==12796== ==12796== Conditional jump or move depends on uninitialised value(s) ==12796== at 0x8738B4B: strnmov (in /home/sbester/mysql/5.5/mysql-5.5.99-m3-linux-i686/bin/mysqld) ==12796== by 0x874E30C: my_vsnprintf_ex (my_vsnprintf.c:603) ==12796== by 0x8704CE4: my_error (my_error.c:92) ==12796== by 0x8519F75: create_table_def(trx_struct*, TABLE*, char const*, char const*, unsigned long) (ha_innodb.cc:5750) ==12796== by 0x851A8B7: ha_innobase::create(char const*, TABLE*, st_ha_create_information*) (ha_innodb.cc:6353) ==12796== by 0x83D9907: handler::ha_create(char const*, TABLE*, st_ha_create_information*) (handler.cc:3369) ==12796== by 0x83DD00F: ha_create_table(THD*, char const*, char const*, char const*, st_ha_create_information*, bool) (handler.cc:3576) ==12796== by 0x836466B: mysql_truncate(THD*, TABLE_LIST*, bool) (sql_delete.cc:1233) ==12796== by 0x82AB363: mysql_execute_command(THD*) (sql_parse.cc:3077) ==12796== by 0x84756BE: sp_instr_stmt::exec_core(THD*, unsigned int*) (sp_head.cc:2944) ==12796== by 0x8475FF6: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*) (sp_head.cc:2759) ==12796== by 0x8476721: sp_instr_stmt::execute(THD*, unsigned int*) (sp_head.cc:2881) ==12796== by 0x847890D: sp_head::execute(THD*) (sp_head.cc:1248) ==12796== by 0x8479679: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1990) ==12796== by 0x82AEB07: mysql_execute_command(THD*) (sql_parse.cc:4079) ==12796== by 0x82B0238: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5581) ==12796== by 0x82B1597: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1023) ==12796== by 0x82B282F: do_command(THD*) (sql_parse.cc:709) ==12796== by 0x82A0D01: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==12796== by 0x82A0DBC: handle_one_connection (sql_connect.cc:1113) ==12796== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==12796== by 0x3D606D: clone (in /lib/libc-2.5.so) ==12796== Uninitialised value was created by a stack allocation ==12796== at 0x8519AF1: create_table_def(trx_struct*, TABLE*, char const*, char const*, unsigned long) (ha_innodb.cc:5626) ==12796== ==12796== Conditional jump or move depends on uninitialised value(s) ==12796== at 0x8738B22: strmake (in /home/sbester/mysql/5.5/mysql-5.5.99-m3-linux-i686/bin/mysqld) ==12796== by 0x82800E7: THD::raise_condition(unsigned int, char const*, MYSQL_ERROR::enum_warning_level, char const*) (sql_class.cc:793) ==12796== by 0x82964A4: my_message_sql (mysqld.cc:3064) ==12796== by 0x8704D03: my_error (my_error.c:96) ==12796== by 0x8519F75: create_table_def(trx_struct*, TABLE*, char const*, char const*, unsigned long) (ha_innodb.cc:5750) ==12796== by 0x851A8B7: ha_innobase::create(char const*, TABLE*, st_ha_create_information*) (ha_innodb.cc:6353) ==12796== by 0x83D9907: handler::ha_create(char const*, TABLE*, st_ha_create_information*) (handler.cc:3369) ==12796== by 0x83DD00F: ha_create_table(THD*, char const*, char const*, char const*, st_ha_create_information*, bool) (handler.cc:3576) ==12796== by 0x836466B: mysql_truncate(THD*, TABLE_LIST*, bool) (sql_delete.cc:1233) ==12796== by 0x82AB363: mysql_execute_command(THD*) (sql_parse.cc:3077) ==12796== by 0x84756BE: sp_instr_stmt::exec_core(THD*, unsigned int*) (sp_head.cc:2944) ==12796== by 0x8475FF6: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*) (sp_head.cc:2759) ==12796== by 0x8476721: sp_instr_stmt::execute(THD*, unsigned int*) (sp_head.cc:2881) ==12796== by 0x847890D: sp_head::execute(THD*) (sp_head.cc:1248) ==12796== by 0x8479679: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1990) ==12796== by 0x82AEB07: mysql_execute_command(THD*) (sql_parse.cc:4079) ==12796== by 0x82B0238: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5581) ==12796== by 0x82B1597: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1023) ==12796== by 0x82B282F: do_command(THD*) (sql_parse.cc:709) ==12796== by 0x82A0D01: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==12796== by 0x82A0DBC: handle_one_connection (sql_connect.cc:1113) ==12796== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==12796== by 0x3D606D: clone (in /lib/libc-2.5.so) ==12796== Uninitialised value was created by a stack allocation ==12796== at 0x8519AF1: create_table_def(trx_struct*, TABLE*, char const*, char const*, unsigned long) (ha_innodb.cc:5626) ==12796== ==12796== Conditional jump or move depends on uninitialised value(s) ==12796== at 0x8700B1F: strdup_root (my_alloc.c:398) ==12796== by 0x83568D3: MYSQL_ERROR::set_builtin_message_text(char const*) (sql_error.cc:297) ==12796== by 0x8356A1A: MYSQL_ERROR::set(unsigned int, char const*, MYSQL_ERROR::enum_warning_level, char const*) (sql_error.cc:284) ==12796== by 0x847EFD0: sp_rcontext::find_handler(THD*, unsigned int, char const*, MYSQL_ERROR::enum_warning_level, char const*, MYSQL_ERROR**) (sp_rcontext.cc:298) ==12796== by 0x847F05B: sp_rcontext::handle_condition(THD*, unsigned int, char const*, MYSQL_ERROR::enum_warning_level, char const*, MYSQL_ERROR**) (sp_rcontext.cc:344) ==12796== by 0x8280143: THD::raise_condition(unsigned int, char const*, MYSQL_ERROR::enum_warning_level, char const*) (sql_class.cc:801) ==12796== by 0x82964A4: my_message_sql (mysqld.cc:3064) ==12796== by 0x8704D03: my_error (my_error.c:96) ==12796== by 0x8519F75: create_table_def(trx_struct*, TABLE*, char const*, char const*, unsigned long) (ha_innodb.cc:5750) ==12796== by 0x851A8B7: ha_innobase::create(char const*, TABLE*, st_ha_create_information*) (ha_innodb.cc:6353) ==12796== by 0x83D9907: handler::ha_create(char const*, TABLE*, st_ha_create_information*) (handler.cc:3369) ==12796== by 0x83DD00F: ha_create_table(THD*, char const*, char const*, char const*, st_ha_create_information*, bool) (handler.cc:3576) ==12796== by 0x836466B: mysql_truncate(THD*, TABLE_LIST*, bool) (sql_delete.cc:1233) ==12796== by 0x82AB363: mysql_execute_command(THD*) (sql_parse.cc:3077) ==12796== by 0x84756BE: sp_instr_stmt::exec_core(THD*, unsigned int*) (sp_head.cc:2944) ==12796== by 0x8475FF6: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*) (sp_head.cc:2759) ==12796== by 0x8476721: sp_instr_stmt::execute(THD*, unsigned int*) (sp_head.cc:2881) ==12796== by 0x847890D: sp_head::execute(THD*) (sp_head.cc:1248) ==12796== by 0x8479679: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1990) ==12796== by 0x82AEB07: mysql_execute_command(THD*) (sql_parse.cc:4079) ==12796== by 0x82B0238: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5581) ==12796== by 0x82B1597: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1023) ==12796== by 0x82B282F: do_command(THD*) (sql_parse.cc:709) ==12796== by 0x82A0D01: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==12796== by 0x82A0DBC: handle_one_connection (sql_connect.cc:1113) ==12796== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==12796== by 0x3D606D: clone (in /lib/libc-2.5.so) ==12796== Uninitialised value was created by a stack allocation ==12796== at 0x8519AF1: create_table_def(trx_struct*, TABLE*, char const*, char const*, unsigned long) (ha_innodb.cc:5626) ==12796== ==12796== Conditional jump or move depends on uninitialised value(s) ==12796== at 0x83568F1: MYSQL_ERROR::set_builtin_message_text(char const*) (sql_error.cc:298) ==12796== by 0x8356A1A: MYSQL_ERROR::set(unsigned int, char const*, MYSQL_ERROR::enum_warning_level, char const*) (sql_error.cc:284) ==12796== by 0x847EFD0: sp_rcontext::find_handler(THD*, unsigned int, char const*, MYSQL_ERROR::enum_warning_level, char const*, MYSQL_ERROR**) (sp_rcontext.cc:298) ==12796== by 0x847F05B: sp_rcontext::handle_condition(THD*, unsigned int, char const*, MYSQL_ERROR::enum_warning_level, char const*, MYSQL_ERROR**) (sp_rcontext.cc:344) ==12796== by 0x8280143: THD::raise_condition(unsigned int, char const*, MYSQL_ERROR::enum_warning_level, char const*) (sql_class.cc:801) ==12796== by 0x82964A4: my_message_sql (mysqld.cc:3064) ==12796== by 0x8704D03: my_error (my_error.c:96) ==12796== by 0x8519F75: create_table_def(trx_struct*, TABLE*, char const*, char const*, unsigned long) (ha_innodb.cc:5750) ==12796== by 0x851A8B7: ha_innobase::create(char const*, TABLE*, st_ha_create_information*) (ha_innodb.cc:6353) ==12796== by 0x83D9907: handler::ha_create(char const*, TABLE*, st_ha_create_information*) (handler.cc:3369) ==12796== by 0x83DD00F: ha_create_table(THD*, char const*, char const*, char const*, st_ha_create_information*, bool) (handler.cc:3576) ==12796== by 0x836466B: mysql_truncate(THD*, TABLE_LIST*, bool) (sql_delete.cc:1233) ==12796== by 0x82AB363: mysql_execute_command(THD*) (sql_parse.cc:3077) ==12796== by 0x84756BE: sp_instr_stmt::exec_core(THD*, unsigned int*) (sp_head.cc:2944) ==12796== by 0x8475FF6: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*) (sp_head.cc:2759) ==12796== by 0x8476721: sp_instr_stmt::execute(THD*, unsigned int*) (sp_head.cc:2881) ==12796== by 0x847890D: sp_head::execute(THD*) (sp_head.cc:1248) ==12796== by 0x8479679: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1990) ==12796== by 0x82AEB07: mysql_execute_command(THD*) (sql_parse.cc:4079) ==12796== by 0x82B0238: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5581) ==12796== by 0x82B1597: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1023) ==12796== by 0x82B282F: do_command(THD*) (sql_parse.cc:709) ==12796== by 0x82A0D01: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==12796== by 0x82A0DBC: handle_one_connection (sql_connect.cc:1113) ==12796== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==12796== by 0x3D606D: clone (in /lib/libc-2.5.so) ==12796== Uninitialised value was created by a stack allocation ==12796== at 0x8519AF1: create_table_def(trx_struct*, TABLE*, char const*, char const*, unsigned long) (ha_innodb.cc:5626) ==12796== --12796-- memcheck GC: 65536 nodes, 65536 survivors (100.0%) --12796-- memcheck GC: increase table size to 131072 mysqld: sql_delete.cc:1066: bool mysql_truncate_by_delete(THD*, TABLE_LIST*): Assertion `thd->stmt_da->is_error()' failed. 091204 22:13:15 - mysqld got signal 6 ; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail. key_buffer_size=8388608 read_buffer_size=131072 max_used_connections=4 max_threads=151 thread_count=4 connection_count=4 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 337840 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd: 0x6f56158 Attempting backtrace. You can use the following information to find out where mysqld died. If you see no messages after this, something went terribly wrong... stack_bottom = 0x4f3b398 thread_stack 0x30000 ./bin/mysqld(my_print_stacktrace+0x26)[0x871dbb3] ./bin/mysqld(handle_segfault+0x2cb)[0x8296ec9] /lib/libpthread.so.0[0x491218] /lib/libc.so.6(abort+0x101)[0x333591] /lib/libc.so.6(__assert_fail+0xfb)[0x32b38b] ./bin/mysqld[0x8364031] ./bin/mysqld(_Z14mysql_truncateP3THDP10TABLE_LISTb+0x801)[0x8364873] ./bin/mysqld(_Z21mysql_execute_commandP3THD+0x3486)[0x82ab364] ./bin/mysqld(_ZN13sp_instr_stmt9exec_coreEP3THDPj+0x11)[0x84756bf] ./bin/mysqld(_ZN13sp_lex_keeper23reset_lex_and_exec_coreEP3THDPjbP8sp_instr+0x17b)[0x8475ff7] ./bin/mysqld(_ZN13sp_instr_stmt7executeEP3THDPj+0x1c2)[0x8476722] ./bin/mysqld(_ZN7sp_head7executeEP3THD+0x530)[0x847890e] ./bin/mysqld(_ZN7sp_head17execute_procedureEP3THDP4ListI4ItemE+0x75c)[0x847967a] ./bin/mysqld(_Z21mysql_execute_commandP3THD+0x6c2a)[0x82aeb08] ./bin/mysqld(_Z11mysql_parseP3THDPKcjPS2_+0x22b)[0x82b0239] ./bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x8d2)[0x82b1598] ./bin/mysqld(_Z10do_commandP3THD+0x23e)[0x82b2830] ./bin/mysqld(_Z24do_handle_one_connectionP3THD+0x13e)[0x82a0d02] ./bin/mysqld(handle_one_connection+0x25)[0x82a0dbd] /lib/libpthread.so.0[0x4893db] /lib/libc.so.6(clone+0x5e)[0x3d606e] Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at 0x16ffc2f8 is an invalid pointer thd->thread_id=3 thd->killed=KILL_QUERY The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains information that should help you find out what is causing the crash. --12796-- Discarding syms at 0x40109a0-0x4017344 in /lib/libnss_files-2.5.so due to munmap() ==12796== ==12796== HEAP SUMMARY: ==12796== in use at exit: 32,975,728 bytes in 66,840 blocks ==12796== total heap usage: 121,990 allocs, 55,150 frees, 113,131,804 bytes allocated ==12796== ==12796== Searching for pointers to 66,840 not-freed blocks ==12796== Checked 301,452,100 bytes