060705 14:54:36 [Note] /home/miguel/dbs/5.1/libexec/mysqld: ready for connections. Version: '5.1.12-beta-debug' socket: '/tmp/mysql.sock' port: 3306 Source distribution [New Thread 1118686128 (LWP 6520)] 060705 14:54:36 [Note] SCHEDULER: Manager thread booting 060705 14:54:36 [Note] SCHEDULER: Loaded 0 events 060705 14:54:36 [Note] SCHEDULER: Suspending operations [New Thread 1118886832 (LWP 6522)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1118886832 (LWP 6522)] 0x08340b33 in Field::val_int_offset (this=0x0, row_offset=16) at field.h:248 248 ptr+=row_offset; (gdb) bt full #0 0x08340b33 in Field::val_int_offset (this=0x0, row_offset=16) at field.h:248 tmp = 142470556 #1 0x0835a863 in ha_innobase::innobase_read_and_init_auto_inc (this=0x931dc28, ret=0x42b0b6e8) at ha_innodb.cc:7072 auto_inc = 0 prebuilt = (row_prebuilt_t *) 0x40583068 old_select_lock_type = 0 trx_was_not_started = 1 error = 0 #2 0x0835b53d in ha_innobase::get_auto_increment (this=0x931dc28, offset=0, increment=0, nb_desired_values=0, first_value=0x42b0b7a8, nb_reserved_values=0x42b0b7a0) at ha_innodb.cc:7119 nr = 606956322598991624 error = 153900704 #3 0x083522bb in ha_partition::get_auto_increment (this=0x931da88, offset=0, increment=0, nb_desired_values=0, first_value=0x931dad8, nb_reserved_values=0x42b0b828) at ha_partition.cc:5294 first_value_part = 606932369566382024 last_value_part = 660998491630254120 nb_reserved_values_part = 660998490655434432 pos = (class handler **) 0x931dc20 end = (class handler **) 0x931dc24 _db_func_ = 0x87de985 "ha_partition:info" _db_file_ = 0x87dd6a7 "ha_partition.cc" _db_level_ = 11 _db_framep_ = (char **) 0x0 last_value = 18446744073709551615 #4 0x08350a24 in ha_partition::info (this=0x931da88, flag=86) at ha_partition.cc:4158 nb_reserved_values = 344716261328 file = (class handler *) 0x0 file_array = (class handler **) 0x1 _db_func_ = 0x87ef48f "get_schema_tables_record" _db_file_ = 0x87eec73 "sql_show.cc" _db_level_ = 10 _db_framep_ = (char **) 0x0 #5 0x083b744c in get_schema_tables_record (thd=0x92bf3d0, tables=0x930e0d8, table=0x92f78b0, res=false, base_name=0x92fbe78 "db8", file_name=0x930e0d0 "t") at sql_show.cc:2748 show_table = (TABLE *) 0x931c820 share = (TABLE_SHARE *) 0x931ced0 file = (class handler *) 0x931da88 option_buff = "°B\205¦\004@\000J\"\b\a\215\004@ظ°B\205¦\004@\000J\"\b\000\000\000\000踰Br*l\b\000\000\000\000°Û°Bèâ1\tàÇ.\t ø\035@`ç.\tè\003\000\000L7\035@踰B V,\t\b¹°B\205¦\004@\000J\"\b\000\000\000\000(¹°Br*l\b\000\000\000\000 V,\t(¹°B\"Yl\bôq\022@ ø\035@àÇ.\t\000J\"\b\0---Type to continue, or q to quit--- 02\000\000\000 V,\tH¹°B\205¦\004@\000J\"\bÀ&\226\bh¹°Br*l\b\000\000\000\000 V,\th¹°B\"Yl\b\002\000\000\000PW,\t\f\000\000\000N7\205\b\002\000"... row_type = ROW_TYPE_DEFAULT ptr = 0x1
cs = (CHARSET_INFO *) 0x89626c0 _db_func_ = 0x87ef42d "get_all_tables" _db_file_ = 0x87eec73 "sql_show.cc" tmp_buff = 0x829d9dc "\203Ä\020ÇEÜ" time = {year = 1118878248, month = 141318265, day = 153900880, hour = 153900704, minute = 1118878248, second = 141318434, second_part = 142386816, neg = 80 'P', time_type = MYSQL_TIMESTAMP_DATE} _db_level_ = 9 _db_framep_ = (char **) 0x0 #6 0x083b6c14 in get_all_tables (thd=0x92bf3d0, tables=0x92f0a00, cond=0x0) at sql_show.cc:2613 res = 0 show_table_list = (TABLE_LIST *) 0x930e0d8 files = { = { = {}, first = 0x930e0a8, last = 0x930e0a8, elements = 1}, } it_files = { = {list = 0x42b0be98, el = 0x930e0a8, prev = 0x0, current = 0x0}, } save_sql_command = SQLCOM_SELECT schema_table = (ST_SCHEMA_TABLE *) 0x8882ecc sel = { = {_vptr.st_select_lex_node = 0x87422a8, next = 0x0, prev = 0x42b0bee0, master = 0x42b0bedc, slave = 0x42b0bed8, link_next = 0x0, link_prev = 0x80000000, options = 0, uncacheable = 0 '\0', linkage = UNSPECIFIED_TYPE, no_table_names_allowed = false, no_error = false}, context = { = {}, outer_context = 0x0, table_list = 0x0, first_name_resolution_table = 0x0, last_name_resolution_table = 0x0, select_lex = 0x42b0bcac, error_processor = 0x81b57ae , error_processor_data = 0x0, resolve_in_select_list = false, security_ctx = 0x0}, db = 0x0, where = 0x0, having = 0x0, prep_where = 0x0, prep_having = 0x0, parent_lex = 0x92bf410, olap = UNSPECIFIED_OLAP_TYPE, table_list = {elements = 1, first = 0x930e0d8 "", next = 0x930e0d8}, group_list = {elements = 1118879048, first = 0x86c41c6 "\211Eü\203}ü", next = 0x0}, item_list = { = { = {}, first = 0x898c2fc, last = 0x42b0bd34, elements = 0}, }, interval_list = { = { = {}, first = 0x898c2fc, last = 0x42b0bd40, elements = 0}, }, use_index = { = { = {}, first = 0x898c2fc, last = 0x42b0bd4c, elements = 0}, }, use_index_ptr = 0x42b0bdb8, ignore_index = { = { = {}, first = 0x898c2fc, last = 0x42b0bd5c, elements = 0}, }, ignore_index_ptr = 0x42b0bdb8, is_item_list_lookup = false, ftfunc_list = 0xdc, ftfunc_list_alloc = { = { = {}, first = 0x898c2fc, last = 0x42b0bd74, elements = 0}, }, join = 0x0, top_join_list = { = { = {}, first = 0x898c2fc, last = 0x42b0bd84, elements = 0}, }, join_list = 0x42b0bd84, embedding = 0x0, leaf_tables = 0x0, type = 0x86c2a72 "\203Ä\020\211Eü\213EüÉÃU\211å\203ì\bè`ï¬ÿÉÃU\211å\203ìxèÉÿÿÿ\211Eø\213Eø\212\200 ", order_list = {elements = 0, first = 0x0, next = 0x42b0bdd8}, expr_list = { = { = {}, first = 0x898c2fc, last = 0x42b0bdac, elements = 0}, }, when_list = { = { = {}, first = 0x898c2fc, last = 0x42b0bdb8, elements = 0}, }, gorder_list = 0x92c56a0, select_limit = 0x42b0bde8, offset_limit = 0x86c41c6, ---Type to continue, or q to quit--- ref_pointer_array = 0x0, select_n_having_items = 0, cond_count = 0, parsing_place = NO_MATTER, with_sum_func = 80, conds_processed_with_permanent_arena = false, table_join_options = 153900704, in_sum_expr = 1118879240, select_number = 141318434, nest_level = 0, inner_sum_func_list = 0x92c56a0, with_wild = 0, braces = false, having_fix_field = false, explicit_limit = false, subquery_in_having = false, first_execution = true, first_cond_optimization = true, no_wrap_view_item = false, exclude_from_table_unique_test = false} sctx = (Security_context *) 0x92c0440 save_view_prepare_mode = false old_all_select_lex = (SELECT_LEX *) 0x92bf6a4 with_i_schema = false error = 1 lex = (LEX *) 0x92bf410 idx_field_vals = {db_value = 0x0, table_value = 0x0} path = "./db8/\000\000r/\000\tغ°BÆAl\bÊ\000\000\000 V,\t躰BÆAl\bPW,\t\000\000\000\000\b»°ByXl\bPW,\t V,\t\b»°B\"Yl\bPW,\t V,\000 ¸/\t\024bl\b\026\000\000\000PW,\t¨»°B(ì*\bm\021\000\000\\»°BX»°BT»°B\000\000\000\000D»°\001", '\0' , "ð?\001\000\000\000\205¦\004@Ð\031/\t\000\000\000\000x»°B\205¦\004@Ð\031/\t\000\000\000\000\210»°Br*l\b", '\0' , "@3333 V,\t\230»°BÆ"... partial_cond = (COND *) 0x0 _db_framep_ = (char **) 0x42b0bec8 file_name = 0x930e0a0 "t" it = { = {list = 0x42b0becc, el = 0x92fbe80, prev = 0x0, current = 0x0}, } table = (TABLE *) 0x92f78b0 end = 0x42b0bab2 "" orig_base_name = 0x92fbe78 "db8" open_tables_state_backup = {open_tables = 0x0, temporary_tables = 0x0, handler_tables = 0x0, derived_tables = 0x92f78b0, lock = 0x92c57e0, locked_tables = 0x0, extra_lock = 0x0, prelocked_mode = NON_PRELOCKED, version = 1, current_tablenr = 0, state_flags = 0} query_tables_list_backup = {query_tables = 0x92f0a00, query_tables_last = 0x92f0a04, query_tables_own_last = 0x0, sroutines = { key_offset = 0, key_length = 0, records = 0, blength = 1, flags = 0, array = {buffer = 0x92e67d8 '¥' ..., elements = 0, max_element = 1019, alloc_increment = 1019, size_of_element = 8}, get_key = 0x840f69c , free = 0, charset = 0x89626c0}, sroutines_list = {elements = 0, first = 0x0, next = 0x92bf458}, sroutines_list_own_last = 0x92bf458, sroutines_list_own_elements = 0} _db_file_ = 0x87eec73 "sql_show.cc" schema_table_idx = SCH_TABLES bases = { = { = {}, first = 0x92fbe20, last = 0x92fbec8, elements = 11}, } derived_tables = 0 _db_func_ = 0x87efa43 "get_schema_tables_result" select_lex = (SELECT_LEX *) 0x92bf6a4 lsel = (SELECT_LEX *) 0x0 base_name = 0x92fbe78 "db8" len = 250 not_used = 1118879464 ---Type to continue, or q to quit--- _db_level_ = 8 __PRETTY_FUNCTION__ = "int get_all_tables(THD*, TABLE_LIST*, COND*)" #7 0x083bfe94 in get_schema_tables_result (join=0x92f19d0) at sql_show.cc:5073 is_subselect = false table_list = (TABLE_LIST *) 0x92f0a00 tab = (JOIN_TAB *) 0x92fba88 tmp_join_tab = (JOIN_TAB *) 0x92fbbf8 lex = (LEX *) 0x92bf410 _db_func_ = 0x87cd7fc "JOIN::exec" _db_file_ = 0x87cc404 "sql_select.cc" thd = (class THD *) 0x92bf3d0 result = false _db_level_ = 7 _db_framep_ = (char **) 0x42b0bf78 #8 0x082ca416 in JOIN::exec (this=0x92f19d0) at sql_select.cc:1377 _db_func_ = 0x87cd8e2 "mysql_select" _db_file_ = 0x87cc404 "sql_select.cc" _db_level_ = 6 _db_framep_ = (char **) 0x92bf6a4 tmp_error = 154123256 curr_join = (JOIN *) 0x92f19d0 curr_fields_list = (List *) 0x92bf72c columns_list = (List *) 0x92bf72c curr_all_fields = (List *) 0x92f2708 curr_tmp_table = (TABLE *) 0x0 __PRETTY_FUNCTION__ = "void JOIN::exec()" #9 0x082cbd57 in mysql_select (thd=0x92bf3d0, rref_pointer_array=0x92bf7c8, tables=0x92f0a00, wild_num=0, fields=@0x92bf72c, conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2684635648, result=0x92f19c0, unit=0x92bf474, select_lex=0x92bf6a4) at sql_select.cc:1958 err = false free_join = true _db_func_ = 0x87cd8f8 "handle_select" _db_file_ = 0x87cc404 "sql_select.cc" join = (JOIN *) 0x92f19d0 _db_level_ = 5 _db_framep_ = (char **) 0x86c41c6 #10 0x082cc01e in handle_select (thd=0x92bf3d0, lex=0x92bf410, result=0x92f19c0, setup_tables_done_option=0) at sql_select.cc:254 unit = (SELECT_LEX_UNIT *) 0x92bf474 select_lex = (SELECT_LEX *) 0x92bf6a4 ---Type to continue, or q to quit--- _db_func_ = 0x8789c61 "mysql_execute_command" _db_file_ = 0x8789062 "sql_parse.cc" res = false _db_level_ = 4 _db_framep_ = (char **) 0x92f19c0 #11 0x0826197e in execute_sqlcom_select (thd=0x92bf3d0, all_tables=0x92f0a00) at sql_parse.cc:5233 lex = (LEX *) 0x92bf410 result = (class select_result *) 0x92f19c0 res = false #12 0x082672f1 in mysql_execute_command (thd=0x92bf3d0) at sql_parse.cc:2565 res = false lex = (LEX *) 0x92bf410 _db_func_ = 0x878a044 "mysql_parse" _db_file_ = 0x8789062 "sql_parse.cc" _db_level_ = 3 _db_framep_ = (char **) 0x42b0cc68 result = 0 select_lex = (SELECT_LEX *) 0x92bf6a4 first_table = (TABLE_LIST *) 0x92f0a00 all_tables = (TABLE_LIST *) 0x92f0a00 unit = (SELECT_LEX_UNIT *) 0x92bf474 __PRETTY_FUNCTION__ = "bool mysql_execute_command(THD*)" #13 0x0826f626 in mysql_parse (thd=0x92bf3d0, inBuf=0x92f0830 "select count(*) from information_schema.tables", length=46) at sql_parse.cc:6048 lex = (LEX *) 0x92bf410 _db_func_ = 0x878a0b3 "dispatch_command" _db_file_ = 0x8789062 "sql_parse.cc" _db_level_ = 2 _db_framep_ = (char **) 0x0 __PRETTY_FUNCTION__ = "void mysql_parse(THD*, char*, uint)" #14 0x08270029 in dispatch_command (command=COM_QUERY, thd=0x92bf3d0, packet=0x92e87d1 "select count(*) from information_schema.tables", packet_length=47) at sql_parse.cc:1796 packet_end = 0x92f085e "" net = (NET *) 0x92bfc20 _db_func_ = 0x8859954 "?func" _db_file_ = 0x885995a "?file" error = false _db_level_ = 1 _db_framep_ = (char **) 0x4 ---Type to continue, or q to quit--- #15 0x08271383 in do_command (thd=0x92bf3d0) at sql_parse.cc:1582 packet = 0x92e87d0 "\003select count(*) from information_schema.tables" old_timeout = 30 packet_length = 47 net = (NET *) 0x92bfc20 command = COM_QUERY _db_func_ = 0x8859954 "?func" _db_file_ = 0x885995a "?file" _db_level_ = 1 _db_framep_ = (char **) 0x1010 #16 0x08271785 in handle_one_connection (arg=0x92bf3d0) at sql_parse.cc:1222 error = 0 net = (NET *) 0x92bfc20 sctx = (Security_context *) 0x92c0440 thd = (class THD *) 0x92bf3d0 launch_time = 0 set = {__val = {0 }} #17 0x40047297 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #18 0x4018137e in clone () from /lib/tls/libc.so.6 No symbol table info available. #19 0x42b0dbb0 in ?? () No symbol table info available. (gdb)