[MDEV-26036] Signal 11 during complex Stored procedure Created: 2021-06-28  Updated: 2021-08-18  Resolved: 2021-08-18

Status: Closed
Project: MariaDB Server
Component/s: Stored routines
Affects Version/s: 10.5.10
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Kyle Joiner (Inactive) Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: need_feedback
Environment:

Centos


Attachments: File output.tgz.enc    

 Description   

Crash during SP:

210621  0:11:13 [ERROR] mysqld got signal 11 ;
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.
 
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
 
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.
 
Server version: 10.5.10-MariaDB-log
key_buffer_size=134217728
read_buffer_size=131072
max_used_connections=29
max_threads=252
thread_count=31
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 685816 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
 
Thread pointer: 0x7fd6689b9fa8
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 = 0x7fd5e47efc90 thread_stack 0x49000
/usr/sbin/mariadbd(my_print_stacktrace+0x2e)[0x55bb588afdfe]
/usr/sbin/mariadbd(handle_fatal_signal+0x307)[0x55bb582b03b7]
:0(os::Linux::chained_handler(int, siginfo_t*, void*))[0x7fd660ff3254]
??:0(JVM_handle_linux_signal)[0x7fd660ff8031]
:0(signalHandler(int, siginfo_t*, void*))[0x7fd660feb0c8]
sigaction.c:0(__restore_rt)[0x7fd671525630]
/usr/sbin/mariadbd(+0xc5b170)[0x55bb5858c170]
/usr/sbin/mariadbd(+0xc58954)[0x55bb58589954]
/usr/sbin/mariadbd(_ZN4JOIN14optimize_innerEv+0x11ad)[0x55bb5810580d]
/usr/sbin/mariadbd(_ZN4JOIN8optimizeEv+0xc5)[0x55bb58107c05]
/usr/sbin/mariadbd(_ZN18st_select_lex_unit8optimizeEv+0x2c9)[0x55bb58150b79]
/usr/sbin/mariadbd(_ZN18st_select_lex_unit4execEv+0x91)[0x55bb58150d41]
/usr/sbin/mariadbd(_Z11mysql_unionP3THDP3LEXP13select_resultP18st_select_lex_unitm+0x38)[0x55bb58154c68]
/usr/sbin/mariadbd(_Z13handle_selectP3THDP3LEXP13select_resultm+0x68)[0x55bb58108758]
/usr/sbin/mariadbd(+0x63962c)[0x55bb57f6a62c]
/usr/sbin/mariadbd(_Z21mysql_execute_commandP3THD+0x3543)[0x55bb580abe13]
/usr/sbin/mariadbd(_ZN13sp_instr_stmt9exec_coreEP3THDPj+0x36)[0x55bb58002126]
/usr/sbin/mariadbd(_ZN13sp_lex_keeper23reset_lex_and_exec_coreEP3THDPjbP8sp_instr+0x137)[0x55bb5800abd7]
/usr/sbin/mariadbd(_ZN13sp_instr_stmt7executeEP3THDPj+0x62c)[0x55bb5800b62c]
/usr/sbin/mariadbd(_ZN7sp_head7executeEP3THDb+0xb04)[0x55bb58006144]
/usr/sbin/mariadbd(_ZN7sp_head17execute_procedureEP3THDP4ListI4ItemE+0x7af)[0x55bb5800783f]
/usr/sbin/mariadbd(+0x76ca9a)[0x55bb5809da9a]
/usr/sbin/mariadbd(_ZN12Sql_cmd_call7executeEP3THD+0x17a)[0x55bb580a243a]
/usr/sbin/mariadbd(_Z21mysql_execute_commandP3THD+0x10f6)[0x55bb580a99c6]
/usr/sbin/mariadbd(_ZN18Prepared_statement7executeEP6Stringb+0x49d)[0x55bb580c414d]
/usr/sbin/mariadbd(_ZN18Prepared_statement12execute_loopEP6StringbPhS2_+0x92)[0x55bb580c42f2]
/usr/sbin/mariadbd(+0x79448c)[0x55bb580c548c]
/usr/sbin/mariadbd(_Z19mysqld_stmt_executeP3THDPcj+0x2d)[0x55bb580c55ed]
/usr/sbin/mariadbd(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x15b5)[0x55bb580b0ad5]
/usr/sbin/mariadbd(_Z10do_commandP3THD+0xff)[0x55bb580b295f]
heap/hp_info.c:34(heap_info)[0x55bb5819dc29]
heap/ha_heap.cc:372(ha_heap::info(unsigned int))[0x55bb5819dec4]
/usr/sbin/mariadbd(+0xbd0f3d)[0x55bb58501f3d]
pthread_create.c:0(start_thread)[0x7fd67151dea5]
??:0(__clone)[0x7fd670a389fd]


Generated at Thu Feb 08 09:42:16 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.