Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
10.6, 10.11, 11.4, 11.8
-
None
Description
It is probably more a test issue than a real one, but it is hard to avoid completely as it doesn't necessary require extreme values, it scales at least to some extent, e.g. in the original test thread stack size was 256K with a slightly more complicated SP structure; so, let it be filed, if not for fixing then at least for tests to be able to recognize it as a known failure.
--let $restart_parameters= --thread-stack=128K
|
--source include/restart_mysqld.inc
|
|
SET max_sp_recursion_depth = 9; |
--delimiter $
|
CREATE PROCEDURE sp1() BEGIN CALL sp2; END $ |
CREATE PROCEDURE sp2() BEGIN CALL sp1; END $ |
--delimiter ;
|
--error ER_SP_RECURSION_LIMIT,ER_STACK_OVERRUN_NEED_MORE
|
CALL sp2;
|
|
--let $restart_parameters= --thread-stack=128K
|
--source include/restart_mysqld.inc
|
|
DROP PROCEDURE sp2; |
DROP PROCEDURE sp1; |
10.6 bfcd2674a3b20b105393970d3937cdc18f43ce23 |
#0 0x00007fab09cbb134 in PoisonAlignedStackMemory (addr=addr@entry=140372414299968, size=size@entry=2400, do_poison=do_poison@entry=false) at ../../../../src/libsanitizer/asan/asan_poisoning.cpp:289
|
#1 0x00007fab09cbcd25 in PoisonAlignedStackMemory (do_poison=false, size=2400, addr=140372414299968) at ../../../../src/libsanitizer/asan/asan_poisoning.cpp:341
|
#2 0x0000561700719b17 in MYSQLparse (thd=thd@entry=0x62b00007e218) at /data/bld/10.6-asan-ubsan/sql/yy_mariadb.cc:29798
|
#3 0x00005616ff888427 in parse_sql (thd=thd@entry=0x62b00007e218, parser_state=parser_state@entry=0x7faaffe40ab0, creation_ctx=creation_ctx@entry=0x6250000ba500, do_pfs_digest=do_pfs_digest@entry=false) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:10595
|
#4 0x0000561701525def in sp_compile (thd=thd@entry=0x62b00007e218, defstr=defstr@entry=0x7faaffe40d90, sql_mode=sql_mode@entry=1411383296, parent=parent@entry=0x0, creation_ctx=creation_ctx@entry=0x6250000ba500) at /data/bld/10.6-asan-ubsan/sql/sp.cc:877
|
#5 0x000056170152b9b1 in Sp_handler::db_load_routine (this=this@entry=0x56170862a4e0 <sp_handler_procedure>, thd=thd@entry=0x62b00007e218, name=name@entry=0x7faaffe42e30, sphp=sphp@entry=0x7faaffe42db0, sql_mode=<optimized out>, params=..., returns=..., body=..., chistics=..., definer=..., created=<optimized out>, modified=<optimized out>, parent=<optimized out>, creation_ctx=<optimized out>) at /data/bld/10.6-asan-ubsan/sql/sp.cc:1004
|
#6 0x0000561701541727 in Sp_handler::sp_clone_and_link_routine (this=this@entry=0x56170862a4e0 <sp_handler_procedure>, thd=thd@entry=0x62b00007e218, name=name@entry=0x625000123170, sp=sp@entry=0x6250000b9138) at /data/bld/10.6-asan-ubsan/sql/sp.cc:2099
|
#7 0x00005617015429bc in Sp_handler::sp_find_routine (this=0x56170862a4e0 <sp_handler_procedure>, thd=<optimized out>, name=0x625000123170, cache_only=<optimized out>) at /data/bld/10.6-asan-ubsan/sql/sp.cc:2166
|
#8 0x00005616ff865424 in Sql_cmd_call::execute (this=0x6250001231a0, thd=0x62b00007e218) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3298
|
#9 0x00005616ff8b1786 in mysql_execute_command (thd=0x62b00007e218, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:6167
|
#10 0x00005616ff39f700 in sp_instr_stmt::exec_core (this=0x6250001233a8, thd=<optimized out>, nextp=0x7faaffe44140) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3895
|
#11 0x00005616ff3d69c9 in sp_lex_keeper::reset_lex_and_exec_core (this=this@entry=0x6250001233f0, thd=thd@entry=0x62b00007e218, nextp=nextp@entry=0x7faaffe44140, open_tables=open_tables@entry=false, instr=instr@entry=0x6250001233a8) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3606
|
#12 0x00005616ff3d9f66 in sp_instr_stmt::execute (this=0x6250001233a8, thd=0x62b00007e218, nextp=<optimized out>) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3798
|
#13 0x00005616ff3eac0f in sp_head::execute (this=this@entry=0x625000122138, thd=thd@entry=0x62b00007e218, merge_da_on_success=merge_da_on_success@entry=true) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:1443
|
#14 0x00005616ff3f4fcd in sp_head::execute_procedure (this=this@entry=0x625000122138, thd=thd@entry=0x62b00007e218, args=args@entry=0x625000119140) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:2523
|
#15 0x00005616ff84c8fd in do_execute_sp (thd=thd@entry=0x62b00007e218, sp=sp@entry=0x625000122138) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3090
|
#16 0x00005616ff865606 in Sql_cmd_call::execute (this=<optimized out>, thd=0x62b00007e218) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3336
|
#17 0x00005616ff8b1786 in mysql_execute_command (thd=0x62b00007e218, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:6167
|
#18 0x00005616ff39f700 in sp_instr_stmt::exec_core (this=0x625000116ba8, thd=<optimized out>, nextp=0x7faaffe46380) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3895
|
#19 0x00005616ff3d69c9 in sp_lex_keeper::reset_lex_and_exec_core (this=this@entry=0x625000116bf0, thd=thd@entry=0x62b00007e218, nextp=nextp@entry=0x7faaffe46380, open_tables=open_tables@entry=false, instr=instr@entry=0x625000116ba8) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3606
|
#20 0x00005616ff3d9f66 in sp_instr_stmt::execute (this=0x625000116ba8, thd=0x62b00007e218, nextp=<optimized out>) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3798
|
#21 0x00005616ff3eac0f in sp_head::execute (this=this@entry=0x625000115938, thd=thd@entry=0x62b00007e218, merge_da_on_success=merge_da_on_success@entry=true) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:1443
|
#22 0x00005616ff3f4fcd in sp_head::execute_procedure (this=this@entry=0x625000115938, thd=thd@entry=0x62b00007e218, args=args@entry=0x62500010f140) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:2523
|
#23 0x00005616ff84c8fd in do_execute_sp (thd=thd@entry=0x62b00007e218, sp=sp@entry=0x625000115938) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3090
|
#24 0x00005616ff865606 in Sql_cmd_call::execute (this=<optimized out>, thd=0x62b00007e218) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3336
|
#25 0x00005616ff8b1786 in mysql_execute_command (thd=0x62b00007e218, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:6167
|
#26 0x00005616ff39f700 in sp_instr_stmt::exec_core (this=0x62500010cba8, thd=<optimized out>, nextp=0x7faaffe485c0) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3895
|
#27 0x00005616ff3d69c9 in sp_lex_keeper::reset_lex_and_exec_core (this=this@entry=0x62500010cbf0, thd=thd@entry=0x62b00007e218, nextp=nextp@entry=0x7faaffe485c0, open_tables=open_tables@entry=false, instr=instr@entry=0x62500010cba8) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3606
|
#28 0x00005616ff3d9f66 in sp_instr_stmt::execute (this=0x62500010cba8, thd=0x62b00007e218, nextp=<optimized out>) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3798
|
#29 0x00005616ff3eac0f in sp_head::execute (this=this@entry=0x62500010b938, thd=thd@entry=0x62b00007e218, merge_da_on_success=merge_da_on_success@entry=true) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:1443
|
#30 0x00005616ff3f4fcd in sp_head::execute_procedure (this=this@entry=0x62500010b938, thd=thd@entry=0x62b00007e218, args=args@entry=0x625000105140) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:2523
|
#31 0x00005616ff84c8fd in do_execute_sp (thd=thd@entry=0x62b00007e218, sp=sp@entry=0x62500010b938) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3090
|
#32 0x00005616ff865606 in Sql_cmd_call::execute (this=<optimized out>, thd=0x62b00007e218) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3336
|
#33 0x00005616ff8b1786 in mysql_execute_command (thd=0x62b00007e218, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:6167
|
#34 0x00005616ff39f700 in sp_instr_stmt::exec_core (this=0x625000102ba8, thd=<optimized out>, nextp=0x7faaffe4a800) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3895
|
#35 0x00005616ff3d69c9 in sp_lex_keeper::reset_lex_and_exec_core (this=this@entry=0x625000102bf0, thd=thd@entry=0x62b00007e218, nextp=nextp@entry=0x7faaffe4a800, open_tables=open_tables@entry=false, instr=instr@entry=0x625000102ba8) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3606
|
#36 0x00005616ff3d9f66 in sp_instr_stmt::execute (this=0x625000102ba8, thd=0x62b00007e218, nextp=<optimized out>) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3798
|
#37 0x00005616ff3eac0f in sp_head::execute (this=this@entry=0x625000101938, thd=thd@entry=0x62b00007e218, merge_da_on_success=merge_da_on_success@entry=true) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:1443
|
#38 0x00005616ff3f4fcd in sp_head::execute_procedure (this=this@entry=0x625000101938, thd=thd@entry=0x62b00007e218, args=args@entry=0x6250000fb140) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:2523
|
#39 0x00005616ff84c8fd in do_execute_sp (thd=thd@entry=0x62b00007e218, sp=sp@entry=0x625000101938) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3090
|
#40 0x00005616ff865606 in Sql_cmd_call::execute (this=<optimized out>, thd=0x62b00007e218) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3336
|
#41 0x00005616ff8b1786 in mysql_execute_command (thd=0x62b00007e218, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:6167
|
#42 0x00005616ff39f700 in sp_instr_stmt::exec_core (this=0x6250000f8ba8, thd=<optimized out>, nextp=0x7faaffe4ca40) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3895
|
#43 0x00005616ff3d69c9 in sp_lex_keeper::reset_lex_and_exec_core (this=this@entry=0x6250000f8bf0, thd=thd@entry=0x62b00007e218, nextp=nextp@entry=0x7faaffe4ca40, open_tables=open_tables@entry=false, instr=instr@entry=0x6250000f8ba8) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3606
|
#44 0x00005616ff3d9f66 in sp_instr_stmt::execute (this=0x6250000f8ba8, thd=0x62b00007e218, nextp=<optimized out>) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3798
|
#45 0x00005616ff3eac0f in sp_head::execute (this=this@entry=0x6250000f7938, thd=thd@entry=0x62b00007e218, merge_da_on_success=merge_da_on_success@entry=true) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:1443
|
#46 0x00005616ff3f4fcd in sp_head::execute_procedure (this=this@entry=0x6250000f7938, thd=thd@entry=0x62b00007e218, args=args@entry=0x6250000f1140) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:2523
|
#47 0x00005616ff84c8fd in do_execute_sp (thd=thd@entry=0x62b00007e218, sp=sp@entry=0x6250000f7938) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3090
|
#48 0x00005616ff865606 in Sql_cmd_call::execute (this=<optimized out>, thd=0x62b00007e218) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3336
|
#49 0x00005616ff8b1786 in mysql_execute_command (thd=0x62b00007e218, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:6167
|
#50 0x00005616ff39f700 in sp_instr_stmt::exec_core (this=0x62500002e3a8, thd=<optimized out>, nextp=0x7faaffe4ec80) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3895
|
#51 0x00005616ff3d69c9 in sp_lex_keeper::reset_lex_and_exec_core (this=this@entry=0x62500002e3f0, thd=thd@entry=0x62b00007e218, nextp=nextp@entry=0x7faaffe4ec80, open_tables=open_tables@entry=false, instr=instr@entry=0x62500002e3a8) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3606
|
#52 0x00005616ff3d9f66 in sp_instr_stmt::execute (this=0x62500002e3a8, thd=0x62b00007e218, nextp=<optimized out>) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3798
|
#53 0x00005616ff3eac0f in sp_head::execute (this=this@entry=0x62500002d138, thd=thd@entry=0x62b00007e218, merge_da_on_success=merge_da_on_success@entry=true) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:1443
|
#54 0x00005616ff3f4fcd in sp_head::execute_procedure (this=this@entry=0x62500002d138, thd=thd@entry=0x62b00007e218, args=args@entry=0x62500009e940) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:2523
|
#55 0x00005616ff84c8fd in do_execute_sp (thd=thd@entry=0x62b00007e218, sp=sp@entry=0x62500002d138) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3090
|
#56 0x00005616ff865606 in Sql_cmd_call::execute (this=<optimized out>, thd=0x62b00007e218) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3336
|
#57 0x00005616ff8b1786 in mysql_execute_command (thd=0x62b00007e218, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:6167
|
#58 0x00005616ff39f700 in sp_instr_stmt::exec_core (this=0x6250000ce3a8, thd=<optimized out>, nextp=0x7faaffe50ec0) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3895
|
#59 0x00005616ff3d69c9 in sp_lex_keeper::reset_lex_and_exec_core (this=this@entry=0x6250000ce3f0, thd=thd@entry=0x62b00007e218, nextp=nextp@entry=0x7faaffe50ec0, open_tables=open_tables@entry=false, instr=instr@entry=0x6250000ce3a8) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3606
|
#60 0x00005616ff3d9f66 in sp_instr_stmt::execute (this=0x6250000ce3a8, thd=0x62b00007e218, nextp=<optimized out>) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3798
|
#61 0x00005616ff3eac0f in sp_head::execute (this=this@entry=0x6250000cd138, thd=thd@entry=0x62b00007e218, merge_da_on_success=merge_da_on_success@entry=true) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:1443
|
#62 0x00005616ff3f4fcd in sp_head::execute_procedure (this=this@entry=0x6250000cd138, thd=thd@entry=0x62b00007e218, args=args@entry=0x6250000e9940) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:2523
|
#63 0x00005616ff84c8fd in do_execute_sp (thd=thd@entry=0x62b00007e218, sp=sp@entry=0x6250000cd138) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3090
|
#64 0x00005616ff865606 in Sql_cmd_call::execute (this=<optimized out>, thd=0x62b00007e218) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3336
|
#65 0x00005616ff8b1786 in mysql_execute_command (thd=0x62b00007e218, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:6167
|
#66 0x00005616ff39f700 in sp_instr_stmt::exec_core (this=0x6250000e73a8, thd=<optimized out>, nextp=0x7faaffe53100) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3895
|
#67 0x00005616ff3d69c9 in sp_lex_keeper::reset_lex_and_exec_core (this=this@entry=0x6250000e73f0, thd=thd@entry=0x62b00007e218, nextp=nextp@entry=0x7faaffe53100, open_tables=open_tables@entry=false, instr=instr@entry=0x6250000e73a8) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3606
|
#68 0x00005616ff3d9f66 in sp_instr_stmt::execute (this=0x6250000e73a8, thd=0x62b00007e218, nextp=<optimized out>) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3798
|
#69 0x00005616ff3eac0f in sp_head::execute (this=this@entry=0x6250000e6138, thd=thd@entry=0x62b00007e218, merge_da_on_success=merge_da_on_success@entry=true) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:1443
|
#70 0x00005616ff3f4fcd in sp_head::execute_procedure (this=this@entry=0x6250000e6138, thd=thd@entry=0x62b00007e218, args=args@entry=0x6250000df940) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:2523
|
#71 0x00005616ff84c8fd in do_execute_sp (thd=thd@entry=0x62b00007e218, sp=sp@entry=0x6250000e6138) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3090
|
#72 0x00005616ff865606 in Sql_cmd_call::execute (this=<optimized out>, thd=0x62b00007e218) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3336
|
#73 0x00005616ff8b1786 in mysql_execute_command (thd=0x62b00007e218, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:6167
|
#74 0x00005616ff39f700 in sp_instr_stmt::exec_core (this=0x6250000dd3a8, thd=<optimized out>, nextp=0x7faaffe55340) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3895
|
#75 0x00005616ff3d69c9 in sp_lex_keeper::reset_lex_and_exec_core (this=this@entry=0x6250000dd3f0, thd=thd@entry=0x62b00007e218, nextp=nextp@entry=0x7faaffe55340, open_tables=open_tables@entry=false, instr=instr@entry=0x6250000dd3a8) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3606
|
#76 0x00005616ff3d9f66 in sp_instr_stmt::execute (this=0x6250000dd3a8, thd=0x62b00007e218, nextp=<optimized out>) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3798
|
#77 0x00005616ff3eac0f in sp_head::execute (this=this@entry=0x6250000dc138, thd=thd@entry=0x62b00007e218, merge_da_on_success=merge_da_on_success@entry=true) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:1443
|
#78 0x00005616ff3f4fcd in sp_head::execute_procedure (this=this@entry=0x6250000dc138, thd=thd@entry=0x62b00007e218, args=args@entry=0x6250000d5940) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:2523
|
#79 0x00005616ff84c8fd in do_execute_sp (thd=thd@entry=0x62b00007e218, sp=sp@entry=0x6250000dc138) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3090
|
#80 0x00005616ff865606 in Sql_cmd_call::execute (this=<optimized out>, thd=0x62b00007e218) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3336
|
#81 0x00005616ff8b1786 in mysql_execute_command (thd=0x62b00007e218, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:6167
|
#82 0x00005616ff39f700 in sp_instr_stmt::exec_core (this=0x6250000d33a8, thd=<optimized out>, nextp=0x7faaffe57580) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3895
|
#83 0x00005616ff3d69c9 in sp_lex_keeper::reset_lex_and_exec_core (this=this@entry=0x6250000d33f0, thd=thd@entry=0x62b00007e218, nextp=nextp@entry=0x7faaffe57580, open_tables=open_tables@entry=false, instr=instr@entry=0x6250000d33a8) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3606
|
#84 0x00005616ff3d9f66 in sp_instr_stmt::execute (this=0x6250000d33a8, thd=0x62b00007e218, nextp=<optimized out>) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3798
|
#85 0x00005616ff3eac0f in sp_head::execute (this=this@entry=0x6250000d2138, thd=thd@entry=0x62b00007e218, merge_da_on_success=merge_da_on_success@entry=true) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:1443
|
#86 0x00005616ff3f4fcd in sp_head::execute_procedure (this=this@entry=0x6250000d2138, thd=thd@entry=0x62b00007e218, args=args@entry=0x6250000c9140) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:2523
|
#87 0x00005616ff84c8fd in do_execute_sp (thd=thd@entry=0x62b00007e218, sp=sp@entry=0x6250000d2138) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3090
|
#88 0x00005616ff865606 in Sql_cmd_call::execute (this=<optimized out>, thd=0x62b00007e218) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3336
|
#89 0x00005616ff8b1786 in mysql_execute_command (thd=0x62b00007e218, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:6167
|
#90 0x00005616ff39f700 in sp_instr_stmt::exec_core (this=0x6250000c6ba8, thd=<optimized out>, nextp=0x7faaffe597c0) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3895
|
#91 0x00005616ff3d69c9 in sp_lex_keeper::reset_lex_and_exec_core (this=this@entry=0x6250000c6bf0, thd=thd@entry=0x62b00007e218, nextp=nextp@entry=0x7faaffe597c0, open_tables=open_tables@entry=false, instr=instr@entry=0x6250000c6ba8) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3606
|
#92 0x00005616ff3d9f66 in sp_instr_stmt::execute (this=0x6250000c6ba8, thd=0x62b00007e218, nextp=<optimized out>) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3798
|
#93 0x00005616ff3eac0f in sp_head::execute (this=this@entry=0x6250000c5938, thd=thd@entry=0x62b00007e218, merge_da_on_success=merge_da_on_success@entry=true) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:1443
|
#94 0x00005616ff3f4fcd in sp_head::execute_procedure (this=this@entry=0x6250000c5938, thd=thd@entry=0x62b00007e218, args=args@entry=0x6250000bc940) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:2523
|
#95 0x00005616ff84c8fd in do_execute_sp (thd=thd@entry=0x62b00007e218, sp=sp@entry=0x6250000c5938) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3090
|
#96 0x00005616ff865606 in Sql_cmd_call::execute (this=<optimized out>, thd=0x62b00007e218) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3336
|
#97 0x00005616ff8b1786 in mysql_execute_command (thd=0x62b00007e218, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:6167
|
#98 0x00005616ff39f700 in sp_instr_stmt::exec_core (this=0x6250000ba3a8, thd=<optimized out>, nextp=0x7faaffe5ba00) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3895
|
#99 0x00005616ff3d69c9 in sp_lex_keeper::reset_lex_and_exec_core (this=this@entry=0x6250000ba3f0, thd=thd@entry=0x62b00007e218, nextp=nextp@entry=0x7faaffe5ba00, open_tables=open_tables@entry=false, instr=instr@entry=0x6250000ba3a8) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3606
|
#100 0x00005616ff3d9f66 in sp_instr_stmt::execute (this=0x6250000ba3a8, thd=0x62b00007e218, nextp=<optimized out>) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:3798
|
#101 0x00005616ff3eac0f in sp_head::execute (this=this@entry=0x6250000b9138, thd=thd@entry=0x62b00007e218, merge_da_on_success=merge_da_on_success@entry=true) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:1443
|
#102 0x00005616ff3f4fcd in sp_head::execute_procedure (this=this@entry=0x6250000b9138, thd=thd@entry=0x62b00007e218, args=args@entry=0x62b000083540) at /data/bld/10.6-asan-ubsan/sql/sp_head.cc:2523
|
#103 0x00005616ff84c8fd in do_execute_sp (thd=thd@entry=0x62b00007e218, sp=sp@entry=0x6250000b9138) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3090
|
#104 0x00005616ff865606 in Sql_cmd_call::execute (this=<optimized out>, thd=0x62b00007e218) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:3336
|
#105 0x00005616ff8b1786 in mysql_execute_command (thd=thd@entry=0x62b00007e218, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:6167
|
#106 0x00005616ff8b5cf2 in mysql_parse (thd=thd@entry=0x62b00007e218, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x7faaffe5dac0) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:8200
|
#107 0x00005616ff8befc2 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x62b00007e218, packet=packet@entry=0x6290000eb219 "CALL sp2", packet_length=packet_length@entry=8, blocking=blocking@entry=true) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:1908
|
#108 0x00005616ff8cbc14 in do_command (thd=thd@entry=0x62b00007e218, blocking=blocking@entry=true) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:1421
|
#109 0x000056170004d6dc in do_handle_one_connection (connect=<optimized out>, connect@entry=0x608000002f38, put_in_cache=put_in_cache@entry=true) at /data/bld/10.6-asan-ubsan/sql/sql_connect.cc:1386
|
#110 0x000056170004e839 in handle_one_connection (arg=0x608000002f38) at /data/bld/10.6-asan-ubsan/sql/sql_connect.cc:1298
|
#111 0x0000561701a7e811 in pfs_spawn_thread (arg=0x617000005b98) at /data/bld/10.6-asan-ubsan/storage/perfschema/pfs.cc:2201
|
#112 0x00007fab088a81c4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#113 0x00007fab0892885c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|
Or in ORACLE mode
Thread 1 (Thread 0x7f8ddccd56c0 (LWP 1038752)):
|
#0 0x00005644fea29844 in ORAparse (thd=thd@entry=0x62b00007e218) at /data/bld/10.6-asan-ubsan/sql/yy_oracle.cc:28876
|
#1 0x00005644fdb5510c in parse_sql (thd=thd@entry=0x62b00007e218, parser_state=parser_state@entry=0x7f8ddccb6ab0, creation_ctx=creation_ctx@entry=0x6250000ba658, do_pfs_digest=do_pfs_digest@entry=false) at /data/bld/10.6-asan-ubsan/sql/sql_parse.cc:10595
|
#2 0x00005644ff7f2def in sp_compile (thd=thd@entry=0x62b00007e218, defstr=defstr@entry=0x7f8ddccb6d90, sql_mode=sql_mode@entry=8858427918, parent=parent@entry=0x0, creation_ctx=creation_ctx@entry=0x6250000ba658) at /data/bld/10.6-asan-ubsan/sql/sp.cc:877
|
#3 0x00005644ff7f89b1 in Sp_handler::db_load_routine (this=this@entry=0x5645068f74e0 <sp_handler_procedure>, thd=thd@entry=0x62b00007e218, name=name@entry=0x7f8ddccb8e30, sphp=sphp@entry=0x7f8ddccb8db0, sql_mode=<optimized out>, params=..., returns=..., body=..., chistics=..., definer=..., created=<optimized out>, modified=<optimized out>, parent=<optimized out>, creation_ctx=<optimized out>) at /data/bld/10.6-asan-ubsan/sql/sp.cc:1004
|
#4 0x00005644ff80e727 in Sp_handler::sp_clone_and_link_routine (this=this@entry=0x5645068f74e0 <sp_handler_procedure>, thd=thd@entry=0x62b00007e218, name=name@entry=0x6250001231d8, sp=sp@entry=0x6250000b9138) at /data/bld/10.6-asan-ubsan/sql/sp.cc:2099
|
#5 0x00005644ff80f9bc in Sp_handler::sp_find_routine (this=0x5645068f74e0 <sp_handler_procedure>, thd=<optimized out>, name=0x6250001231d8, cache_only=<optimized out>) at /data/bld/10.6-asan-ubsan/sql/sp.cc:2166
|
...
|
The top of the stack trace can be anything and shouldn't be included into failure recognition, the common part apparently starts at MYSQLparse / ORAparse.