[MDEV-20445] Server crashes in TABLE_LIST::reinit_before_use while inserting record. Created: 2019-08-29  Updated: 2019-10-27

Status: Open
Project: MariaDB Server
Component/s: Server
Affects Version/s: 10.2.14
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Nilnandan Joshi Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None

Issue Links:
Relates
relates to MDEV-18018 Server crashes in TABLE_LIST::reinit_... Closed

 Description   

190825 22:04:49 [ERROR] mysqld got signal 11 ;
...
Thread pointer: 0x7f2820670098
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 = 0x7f281aeb8d40 thread_stack 0x40000
/usr/sbin/mysqld(my_print_stacktrace+0x38)[0x5641216ed979]
/usr/sbin/mysqld(handle_fatal_signal+0x3d7)[0x5641211211ae]
/lib64/libpthread.so.0(+0xf680)[0x7f2be9da1680]
/usr/sbin/mysqld(_ZN10TABLE_LIST17reinit_before_useEP3THD+0x58)[0x564120f9a54e]
/usr/sbin/mysqld(_Z22reinit_stmt_before_useP3THDP3LEX+0x372)[0x564120ecbb28]
/usr/sbin/mysqld(_ZN18Prepared_statement7executeEP6Stringb+0x2f1)[0x564120ecf7e9]
/usr/sbin/mysqld(_ZN18Prepared_statement12execute_loopEP6StringbPhS2_+0x13b)[0x564120ecdf7d]
/usr/sbin/mysqld(+0x643f56)[0x564120ecbf56]
/usr/sbin/mysqld(_Z19mysqld_stmt_executeP3THDPcj+0x78)[0x564120ecbd08]
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0xb58)[0x564120ea669c]
/usr/sbin/mysqld(_Z10do_commandP3THD+0x54c)[0x564120ea566b]
/usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x1bd)[0x564120fce90e]
/usr/sbin/mysqld(handle_one_connection+0x30)[0x564120fce66e]
/lib64/libpthread.so.0(+0x7dd5)[0x7f2be9d99dd5]
/lib64/libc.so.6(clone+0x6d)[0x7f2be813db3d]

INSERT was with prepare statement. something like

Query (0x7f2805c48390): insert into t_1 (c1, c2, c3, c4) values (NULL, NULL, NULL, NULL)
Connection ID (thread ID): 389565


Generated at Thu Feb 08 08:59:32 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.