[MDEV-31613] galera ist failure crashing mariadb Created: 2023-07-04  Updated: 2023-09-04  Resolved: 2023-09-04

Status: Closed
Project: MariaDB Server
Component/s: Galera
Affects Version/s: 10.6.5
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Khai Ping Assignee: Jan Lindström
Resolution: Incomplete Votes: 0
Labels: None

Attachments: Text File mariadb_logs.txt    

 Description   

Galera 26.4.11(r7ac0ed4)

2023-06-19 21:18:11 0 [Note] WSREP: ####### Assign initial position for certification: 00000000-0000-0000-0000-000000000000:284341623, protocol version: 5
230619 21:18:11 [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.6.5-MariaDB
key_buffer_size=134217728
read_buffer_size=131072
max_used_connections=2
max_threads=1002
thread_count=4
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 2337489 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
 
Thread pointer: 0x7fcd100009b8
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 = 0x7fcdac19ece0 thread_stack 0x49000
/opt/sbin/mariadbd(my_print_stacktrace+0x2e)[0x5597562b298e]
/opt/sbin/mariadbd(handle_fatal_signal+0x307)[0x559755d02af7]
sigaction.c:0(__restore_rt)[0x7fcdb8abd630]
/opt/sbin/mariadbd(thd_get_thread_id+0x1)[0x559755a91001]
/opt/sbin/mariadbd(+0x65f2ed)[0x5597559b42ed]
/opt/sbin/mariadbd(+0xcdd0d5)[0x5597560320d5]
/opt/sbin/mariadbd(+0xd5ff6f)[0x5597560b4f6f]
/opt/sbin/mariadbd(+0xd627c5)[0x5597560b77c5]
sql/sql_class.cc:4743(thd_get_thread_id)[0x559755feef4e]
/opt/sbin/mariadbd(_ZN7handler12ha_write_rowEPKh+0x27d)[0x559755d0fe6d]
/opt/sbin/mariadbd(_ZN14Rows_log_event9write_rowEP14rpl_group_infob+0x265)[0x559755e1d6e5]
/opt/sbin/mariadbd(_ZN20Write_rows_log_event11do_exec_rowEP14rpl_group_info+0x116)[0x559755e1dbe6]
/opt/sbin/mariadbd(_ZN14Rows_log_event14do_apply_eventEP14rpl_group_info+0x324)[0x559755e12f44]
/opt/sbin/mariadbd(_Z18wsrep_apply_eventsP3THDP14Relay_log_infoPKvm+0x28d)[0x559755fbad9d]
/opt/sbin/mariadbd(+0xc4cae0)[0x559755fa1ae0]
/opt/sbin/mariadbd(_ZN21Wsrep_applier_service15apply_write_setERKN5wsrep7ws_metaERKNS0_12const_bufferERNS0_14mutable_bufferE+0xa3)[0x559755fa1bd3]
bits/vector.tcc:94(??)[0x55975633392f]
lock/lock0lock.cc:1773(wsrep_notify_status(wsrep::server_state::state, wsrep::view const*))[0x559756334635]
/opt/sbin/mariadbd(+0xff0868)[0x559756345868]
??:0(wsrep_deinit_event_service_v1)[0x7fcdadcb4900]
??:0(wsrep_deinit_event_service_v1)[0x7fcdadcbe550]
??:0(wsrep_deinit_event_service_v1)[0x7fcdadcd3de7]
??:0(wsrep_deinit_event_service_v1)[0x7fcdadcd43d7]
??:0(wsrep_deinit_event_service_v1)[0x7fcdadcd75ed]
??:0(wsrep_deinit_event_service_v1)[0x7fcdadcc6635]
??:0(wsrep_deinit_event_service_v1)[0x7fcdadcc70ea]
??:0(wsrep_deinit_event_service_v1)[0x7fcdadcc747c]
??:0(wsrep_deinit_event_service_v1)[0x7fcdadcf22c0]
??:0(wsrep_deinit_event_service_v1)[0x7fcdadcf2ab4]
??:0(wsrep_deinit_event_service_v1)[0x7fcdadcc597c]
??:0(wsrep_deinit_event_service_v1)[0x7fcdadca6978]
/opt/sbin/mariadbd(_ZN5wsrep18wsrep_provider_v2611run_applierEPNS_21high_priority_serviceE+0xe)[0x559756345f9e]
/opt/sbin/mariadbd(+0xc67968)[0x559755fbc968]
/opt/sbin/mariadbd(_Z15start_wsrep_THDPv+0x2aa)[0x559755fad5ca]
/opt/sbin/mariadbd(+0xbed892)[0x559755f42892]
pthread_create.c:0(start_thread)[0x7fcdb8ab5ea5]
??:0(__clone)[0x7fcdb7fd0b0d]



 Comments   
Comment by Jan Lindström [ 2023-08-07 ]

khaiping.loh Can you try with more recent version of MariaDB server and Galera library. If issue reproduces please provide full error log, opened stack trace and node configuration.

Generated at Thu Feb 08 10:25:11 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.