[MDEV-20904] Mariadb 10.4.7 crashed with segmentation fault Created: 2019-10-28  Updated: 2020-01-12  Resolved: 2020-01-12

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

Type: Bug Priority: Major
Reporter: Linto Assignee: Jan Lindström (Inactive)
Resolution: Incomplete Votes: 0
Labels: galera_4, need_feedback
Environment:

Ubuntu 16.04 4.4.0-142-generic x86_64
512gb ram


Attachments: File my.cnf.rtf    

 Description   

Mariadb crashed with a core dump. I have single master in 4 node mariadb galera cluster. Attached my.cnf

Bt full

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/sbin/mysqld --wsrep-new-cluster --wsrep_start_position=26fcbefc-4be9-11e9-'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000055e8d322da00 in ?? ()
[Current thread is 1 (Thread 0x7f00c4047700 (LWP 223234))]
(gdb)

(gdb) bt full
#0  0x000055e8d322da00 in ?? ()
No symbol table info available.
#1  0x000055e8d322f4e4 in lf_hash_delete ()
No symbol table info available.
#2  0x000055e8d305b6d0 in ?? ()
No symbol table info available.
#3  0x000055e8d305c157 in ?? ()
No symbol table info available.
#4  0x000055e8d305c427 in ?? ()
No symbol table info available.
#5  0x000055e8d2f19542 in ?? ()
No symbol table info available.
#6  0x000055e8d2f197b1 in ?? ()
No symbol table info available.
#7  0x000055e8d2f19ab4 in ?? ()
No symbol table info available.
#8  0x000055e8d2d92c8d in TC_LOG::run_commit_ordered(THD*, bool) ()
No symbol table info available.
#9  0x000055e8d2d9843a in MYSQL_BIN_LOG::trx_group_commit_leader(MYSQL_BIN_LOG::group_commit_entry*) ()
No symbol table info available.
#10 0x000055e8d2d988b3 in MYSQL_BIN_LOG::write_transaction_to_binlog_events(MYSQL_BIN_LOG::group_commit_entry*) ()
No symbol table info available.
#11 0x000055e8d2d98bc1 in MYSQL_BIN_LOG::write_transaction_to_binlog(THD*, binlog_cache_mngr*, Log_event*, bool, bool, bool) ()
No symbol table info available.
#12 0x000055e8d2d98d8f in ?? ()
No symbol table info available.
#13 0x000055e8d2d99b12 in ?? ()
No symbol table info available.
#14 0x000055e8d2d99cd4 in MYSQL_BIN_LOG::log_and_order(THD*, unsigned long long, bool, bool, bool) ()
No symbol table info available.
#15 0x000055e8d2cc3408 in ha_commit_trans(THD*, bool) ()
No symbol table info available.
#16 0x000055e8d2b96067 in trans_commit(THD*) ()
No symbol table info available.
#17 0x000055e8d2aa19e6 in mysql_execute_command(THD*) ()
No symbol table info available.
#18 0x000055e8d2aa72da in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) ()
No symbol table info available.
#19 0x000055e8d2aa7b59 in ?? ()
No symbol table info available.
#20 0x000055e8d2aaaae3 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) ()
No symbol table info available.
#21 0x000055e8d2aab0ac in do_command(THD*) ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#22 0x000055e8d2b87691 in do_handle_one_connection(CONNECT*) ()
No symbol table info available.
#23 0x000055e8d2b877bd in handle_one_connection ()
No symbol table info available.
#24 0x000055e8d2e638d1 in ?? ()
No symbol table info available.
#25 0x00007f35d847b6ba in start_thread (arg=0x7f00c4047700) at pthread_create.c:333
        __res = <optimized out>
        pd = 0x7f00c4047700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139641265354496, 8153353005988375934, 0, 140732800490815, 139641265355200, 5, -8131513746443145858, -8120773172649333378}, mask_was_saved = 0}},
          priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#26 0x00007f35d792241d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
(gdb)



 Comments   
Comment by Jan Lindström (Inactive) [ 2019-12-12 ]

Can you re-test with debug build and provide readable stack trace?

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