[MDEV-16632] rocksdb_rpl.mdev12179 failed in buildbot, server crashed Created: 2018-06-30  Updated: 2023-04-27

Status: Open
Project: MariaDB Server
Component/s: Storage Engine - RocksDB, Tests
Affects Version/s: 10.3
Fix Version/s: 10.4

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Sergei Petrunia
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-20176 rocksdb_rpl.mdev12179 fails with unkn... Closed

 Description   

http://buildbot.askmonty.org/buildbot/builders/kvm-deb-bionic-aarch64/builds/78

10.3 d6976a7e52a687d5d1da903d2879bd48

rocksdb_rpl.mdev12179 'innodb,row,row'   w2 [ fail ]  Found warnings/errors in server log file!
        Test ended at 2018-05-22 17:35:38
line
Attempting backtrace. You can use the following information to find out
^ Found warnings in /dev/shm/var/2/log/mysqld.2.err
ok
 
 - found 'core' (0/0)
 
Trying 'dbx' to get a backtrace
 
Trying 'gdb' to get a backtrace from coredump /dev/shm/var/2/log/rocksdb_rpl.mdev12179-innodb,row,row/mysqld.2/data/core
Core generated by '/usr/sbin/mysqld'
Output from gdb follows. The first stack trace is from the failing thread.
The following stack traces are from all threads (so the failing one is
duplicated).
--------------------------
[New LWP 11920]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/sbin/mysqld --defaults-group-suffix=.2 --defaults-file=/dev/shm/var/2/my.c'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000ffffa3e6c7c8 in kill () at ../sysdeps/unix/syscall-template.S:78
78	../sysdeps/unix/syscall-template.S: No such file or directory.
#0  0x0000ffffa3e6c7c8 in kill () at ../sysdeps/unix/syscall-template.S:78
#1  0x0000aaaad8512da4 in handle_fatal_signal ()
#2  <signal handler called>
#3  0x0000ffffa41e81c0 in __GI___pthread_timedjoin_ex (threadid=281473325478208, thread_return=0x0, abstime=0x0, block=true) at pthread_join_common.c:40
#4  0x0000ffffa4108fb8 in std::thread::join() () from /usr/lib/aarch64-linux-gnu/libstdc++.so.6
#5  0x0000ffff9ed97860 in rocksdb::ThreadPoolImpl::Impl::JoinThreads(bool) () from /usr/lib/mysql/plugin/ha_rocksdb.so
#6  0x0000ffff9ed422f0 in ?? () from /usr/lib/mysql/plugin/ha_rocksdb.so
#7  0x0000ffffa3e6ee34 in __run_exit_handlers (status=1, listp=0xffffa3f8d5a0 <__exit_funcs>, run_list_atexit=255, run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108
#8  0x0000ffffa3e6ef6c in __GI_exit (status=<optimized out>) at exit.c:139
#9  0x0000aaaad8a1535c in start_addr2line_fork ()
#10 0x0000aaaad8a1557c in my_addr_resolve ()
#11 0x0000aaaad89fc79c in my_print_stacktrace ()
#12 0x0000aaaad8512e30 in handle_fatal_signal ()
#13 <signal handler called>
#14 0x0000ffffa41ed230 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0xaaaad914bcac <COND_thread_count+44>) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#15 __pthread_cond_wait_common (abstime=0x0, mutex=0xaaaad914c330 <LOCK_thread_count>, cond=0xaaaad914bc80 <COND_thread_count>) at pthread_cond_wait.c:502
#16 __pthread_cond_wait (cond=0xaaaad914bc80 <COND_thread_count>, mutex=0xaaaad914c330 <LOCK_thread_count>) at pthread_cond_wait.c:655
#17 0x0000aaaad82cad08 in mysqld_main(int, char**) ()
#18 0x0000ffffa3e5a6e0 in __libc_start_main (main=0x0, argc=0, argv=0x0, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=<optimized out>) at ../csu/libc-start.c:310
#19 0x0000aaaad82bd5d8 in _start ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
 
Thread 1 (Thread 0xffffa3ceeb30 (LWP 11920)):
#0  0x0000ffffa3e6c7c8 in kill () at ../sysdeps/unix/syscall-template.S:78
#1  0x0000aaaad8512da4 in handle_fatal_signal ()
#2  <signal handler called>
#3  0x0000ffffa41e81c0 in __GI___pthread_timedjoin_ex (threadid=281473325478208, thread_return=0x0, abstime=0x0, block=true) at pthread_join_common.c:40
#4  0x0000ffffa4108fb8 in std::thread::join() () from /usr/lib/aarch64-linux-gnu/libstdc++.so.6
#5  0x0000ffff9ed97860 in rocksdb::ThreadPoolImpl::Impl::JoinThreads(bool) () from /usr/lib/mysql/plugin/ha_rocksdb.so
#6  0x0000ffff9ed422f0 in ?? () from /usr/lib/mysql/plugin/ha_rocksdb.so
#7  0x0000ffffa3e6ee34 in __run_exit_handlers (status=1, listp=0xffffa3f8d5a0 <__exit_funcs>, run_list_atexit=255, run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108
#8  0x0000ffffa3e6ef6c in __GI_exit (status=<optimized out>) at exit.c:139
#9  0x0000aaaad8a1535c in start_addr2line_fork ()
#10 0x0000aaaad8a1557c in my_addr_resolve ()
#11 0x0000aaaad89fc79c in my_print_stacktrace ()
#12 0x0000aaaad8512e30 in handle_fatal_signal ()
#13 <signal handler called>
#14 0x0000ffffa41ed230 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0xaaaad914bcac <COND_thread_count+44>) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#15 __pthread_cond_wait_common (abstime=0x0, mutex=0xaaaad914c330 <LOCK_thread_count>, cond=0xaaaad914bc80 <COND_thread_count>) at pthread_cond_wait.c:502
#16 __pthread_cond_wait (cond=0xaaaad914bc80 <COND_thread_count>, mutex=0xaaaad914c330 <LOCK_thread_count>) at pthread_cond_wait.c:655
#17 0x0000aaaad82cad08 in mysqld_main(int, char**) ()
#18 0x0000ffffa3e5a6e0 in __libc_start_main (main=0x0, argc=0, argv=0x0, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=<optimized out>) at ../csu/libc-start.c:310
#19 0x0000aaaad82bd5d8 in _start ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
 
Compressed file /dev/shm/var/2/log/rocksdb_rpl.mdev12179-innodb,row,row/mysqld.2/data/core
 - saving '/dev/shm/var/2/log/rocksdb_rpl.mdev12179-innodb,row,row/' to '/dev/shm/var/log/rocksdb_rpl.mdev12179-innodb,row,row/'


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