Bug #54108 | assert in TABLE_LIST::hide_view_error | ||
---|---|---|---|
Submitted: | 31 May 2010 15:32 | Modified: | 17 Jan 2011 11:50 |
Reporter: | Matthias Leich | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.6.99-m4-debug,5.5.5-m3 | OS: | Any |
Assigned to: | Jon Olav Hauglid | CPU Architecture: | Any |
[31 May 2010 15:32]
Matthias Leich
[23 Jun 2010 11:51]
Matthias Leich
Result on mysql-trunk-runtime last pull 2010-06-15 -------------------------------------------------- Thread 1 (Thread 29562): #0 0x000000382860bd02 in pthread_kill () from /lib64/libpthread.so.0 #1 0x0000000000b595bd in my_write_core (sig=6) at stacktrace.c:326 #2 0x00000000006993a3 in handle_segfault (sig=6) at mysqld.cc:2791 #3 <signal handler called> #4 0x0000003827a30265 in raise () from /lib64/libc.so.6 #5 0x0000003827a31d10 in abort () from /lib64/libc.so.6 #6 0x0000003827a296e6 in __assert_fail () from /lib64/libc.so.6 #7 0x00000000007109f1 in TABLE_LIST::hide_view_error (this=0x1d3c62e0, thd=0x2aaab416b848) at table.cc:3430 #8 0x00000000005b8473 in view_error_processor (thd=0x2aaab416b848, data=0x1d3c62e0) at item.cc:8238 #9 0x00000000005ca1fa in Name_resolution_context::process_error ( this=0x2aaab42e18c0, thd=0x2aaab416b848) at item.h:360 #10 0x00000000005e6704 in Item_func_sp::execute (this=0x2aaab42e2c98) at item_func.cc:6219 #11 0x00000000005fa7af in Item_func_sp::val_int (this=0x2aaab42e2c98) at item_func.h:1723 #12 0x00000000005fbdec in Arg_comparator::compare_int_signed ( this=0x2aaab42e2ef8) at item_cmpfunc.cc:1463 #13 0x00000000005de15f in Arg_comparator::compare (this=0x2aaab42e2ef8) at item_cmpfunc.h:87 #14 0x000000000060045d in Item_func_eq::val_int (this=0x2aaab42e2e48) at item_cmpfunc.cc:1870 #15 0x00000000005b7c2e in Item::val_bool (this=0x2aaab42e2e48) at item.cc:199 #16 0x00000000005ff069 in Item_cond_and::val_int (this=0x2aaab42a8e20) at item_cmpfunc.cc:4400 #17 0x0000000000731da3 in make_join_select (join=0x2aaab4261858, select=0x2aaab4262fb8, cond=0x2aaab42a7f80) at sql_select.cc:6341 #18 0x0000000000740e9a in JOIN::optimize (this=0x2aaab4261858) at sql_select.cc:1165 #19 0x0000000000744853 in mysql_select (thd=0x2aaab416b848, rref_pointer_array=0x2aaab416d9b0, tables=0x1d3c62e0, wild_num=0, fields=..., conds=0x1d3c6cf8, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=3489925888, result=0x2aaab42b2a10, unit=0x2aaab416d1e0, select_lex=0x2aaab416d7e0) at sql_select.cc:2535 #20 0x000000000074a036 in handle_select (thd=0x2aaab416b848, lex=0x2aaab416d138, result=0x2aaab42b2a10, setup_tables_done_option=1073741824) at sql_select.cc:290 #21 0x00000000006adc6b in mysql_execute_command (thd=0x2aaab416b848) at sql_parse.cc:3283 #22 0x00000000006b2995 in mysql_parse (thd=0x2aaab416b848, inBuf=0x1d3c5498 "INSERT IGNORE INTO testdb_S . t1_temp1_N ( `col_int_key` , `col_int` , `pk` ) SELECT `col_int_key` , `col_int` , `pk` FROM testdb_S . t1_view1_S WHERE SLEEP( 0.5 * 0.93 * 1 ) = 0 LIMIT 1", length=190, parser_state=0x4a0f79b0) at sql_parse.cc:5889 #23 0x00000000006b3ef1 in dispatch_command (command=COM_QUERY, thd=0x2aaab416b848, packet=0x2aaab40bcc29 "INSERT IGNORE INTO testdb_S . t1_temp1_N ( `col_int_key` , `col_int` , `pk` ) SELECT `col_int_key` , `col_int` , `pk` FROM testdb_S . t1_view1_S WHERE SLEEP( 0.5 * 0.93 * 1 ) = 0 LIMIT 1", packet_length=190) at sql_parse.cc:1114 #24 0x00000000006b541e in do_command (thd=0x2aaab416b848) at sql_parse.cc:800 #25 0x00000000006a3481 in do_handle_one_connection (thd_arg=0x2aaab416b848) at sql_connect.cc:1194 #26 0x00000000006a3547 in handle_one_connection (arg=0x2aaab416b848) at sql_connect.cc:1133 #27 0x000000382860673d in start_thread () from /lib64/libpthread.so.0 #28 0x0000003827ad3d1d in clone () from /lib64/libc.so.6 Waiting for mysqld with pid 29508 to terminate... Please have a look into the attached archive. Log of RQG run with server settings etc. ./storage/1276601155/27-5.log RQG grammars conf/runtime/WL5004_data.zz ./storage/1276601155/27.yy The probability to hit the assert is very low. I will try to simplify the test and reach a better probability.
[23 Jun 2010 11:51]
Matthias Leich
Archive with log and RQG grammars
Attachment: problem.tgz (application/x-compressed-tar, text), 26.74 KiB.
[30 Sep 2010 11:28]
Matthias Leich
Problem again observed in mysql-5.5-runtime last revno ~ end of August
[17 Jan 2011 11:50]
Jon Olav Hauglid
This assert has not been seen the last few months even with quite at lot of RQG testing. Therefore closing the bug as "Can't repeat". If anyone hits this assert again, please reopen the bug.