Details
-
Bug
-
Status: Open (View Workflow)
-
Critical
-
Resolution: Unresolved
-
10.2(EOL)
-
None
-
None
Description
The crash is from galera multi-master pquery run.
10.2.41 |
Core was generated by `/test/mtest/GAL_MD170821-mariadb-10.2.41-linux-x86_64-dbg/bin/mysqld --defaults'.
|
Program terminated with signal SIGSEGV, Segmentation fault.
|
#0 0x0000000070000002 in ?? ()
|
[Current thread is 1 (Thread 0x6ded1ff72700 (LWP 2134592))]
|
(gdb) bt
|
#0 0x0000000070000002 in ?? ()
|
#1 0x00000dd20edf8766 in _raw_syscall () at /home/roc/rr/rr/src/preload/raw_syscall.S:120
|
#2 0x00000dd20edf404e in traced_raw_syscall (call=<optimized out>) at /home/roc/rr/rr/src/preload/syscallbuf.c:272
|
#3 0x00000dd20edf74d1 in syscall_hook_internal (call=0x14aa34e1efa0) at /home/roc/rr/rr/src/preload/syscallbuf.c:3295
|
#4 syscall_hook (call=0x14aa34e1efa0) at /home/roc/rr/rr/src/preload/syscallbuf.c:3329
|
#5 0x00000dd20edf3e50 in _syscall_hook_trampoline () at /home/roc/rr/rr/src/preload/syscall_hook.S:313
|
#6 0x00000dd20edf3eaf in __morestack () at /home/roc/rr/rr/src/preload/syscall_hook.S:458
|
#7 0x00000dd20edf3f08 in _syscall_hook_trampoline_89_c2_f7_da () at /home/roc/rr/rr/src/preload/syscall_hook.S:504
|
#8 0x000014aa55827f0c in __pthread_kill (threadid=<optimized out>, signo=signo@entry=11) at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
|
#9 0x000055cec51c6fe2 in my_write_core (sig=sig@entry=11) at /test/mtest/10.2_dbg/mysys/stacktrace.c:382
|
#10 0x000055cec4ab77b3 in handle_fatal_signal (sig=11) at /test/mtest/10.2_dbg/sql/signal_handler.cc:355
|
#11 <signal handler called>
|
#12 memset (__len=944, __ch=0, __dest=0x0) at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:71
|
#13 JOIN::make_aggr_tables_info (this=this@entry=0x62cc28012b58) at /test/mtest/10.2_dbg/sql/sql_select.cc:2477
|
#14 0x000055cec491a856 in JOIN::optimize_inner (this=this@entry=0x62cc28012b58) at /test/mtest/10.2_dbg/sql/sql_select.cc:2295
|
#15 0x000055cec491ac5e in JOIN::optimize (this=this@entry=0x62cc28012b58) at /test/mtest/10.2_dbg/sql/sql_select.cc:1127
|
#16 0x000055cec491cd69 in mysql_select (thd=thd@entry=0x62cc28000d90, tables=0x62cc28011548, wild_num=0, fields=@0x62cc28005200: {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x62cc280114c8, last = 0x62cc280114c8, elements = 1}, <No data fields>}, conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x62cc28012b38, unit=0x62cc28004988, select_lex=0x62cc280050d8) at /test/mtest/10.2_dbg/sql/sql_select.cc:3835
|
#17 0x000055cec491d84b in handle_select (thd=thd@entry=0x62cc28000d90, lex=lex@entry=0x62cc280048c8, result=result@entry=0x62cc28012b38, setup_tables_done_option=setup_tables_done_option@entry=0) at /test/mtest/10.2_dbg/sql/sql_select.cc:361
|
#18 0x000055cec48a1e85 in execute_sqlcom_select (thd=thd@entry=0x62cc28000d90, all_tables=0x62cc28011548) at /test/mtest/10.2_dbg/sql/sql_parse.cc:6271
|
#19 0x000055cec48ac16c in mysql_execute_command (thd=thd@entry=0x62cc28000d90) at /test/mtest/10.2_dbg/sql/sql_parse.cc:3582
|
#20 0x000055cec48b5809 in mysql_parse (thd=thd@entry=0x62cc28000d90, rawbuf=rawbuf@entry=0x62cc28011248 "select count(NULL) from seq_1_to_3 limit 0", length=length@entry=42, parser_state=parser_state@entry=0x6ded1ff71540, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/mtest/10.2_dbg/sql/sql_parse.cc:7793
|
#21 0x000055cec48b6e12 in wsrep_mysql_parse (thd=thd@entry=0x62cc28000d90, rawbuf=0x62cc28011248 "select count(NULL) from seq_1_to_3 limit 0", length=42, parser_state=parser_state@entry=0x6ded1ff71540, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/mtest/10.2_dbg/sql/sql_parse.cc:7585
|
#22 0x000055cec48b836b in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x62cc28000d90, packet=packet@entry=0x62cc28008a61 "select count(NULL) from seq_1_to_3 limit 0;", packet_length=packet_length@entry=43, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/mtest/10.2_dbg/sql/sql_class.h:1109
|
#23 0x000055cec48bb14a in do_command (thd=0x62cc28000d90) at /test/mtest/10.2_dbg/sql/sql_parse.cc:1381
|
#24 0x000055cec49c11b1 in do_handle_one_connection (connect=connect@entry=0x14aa57fc50b0) at /test/mtest/10.2_dbg/sql/sql_connect.cc:1336
|
#25 0x000055cec49c13dc in handle_one_connection (arg=0x14aa57fc50b0) at /test/mtest/10.2_dbg/sql/sql_connect.cc:1241
|
#26 0x000014aa5581f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#27 0x000014aa55a73293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
Attachments
Issue Links
- duplicates
-
MDEV-20753 Sequence with limit 0 crashes server
-
- Closed
-