Hi! On Tue, 2 Jul 2024 at 23:24, John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> wrote: > > Hello Otto, > > On Tue, 2024-07-02 at 21:10 -0700, Otto Kekäläinen wrote: > > I recently uploaded MariaDB 11.4 to Debian, and it seems it regressed > > on sparc64. > > > > Are there any sparc64 hackers interested in taking a look? > > > > The build itself passed and most of the post-build passes, but some > > tests cause the database to crash. Stack traces are visible in the > > logs: > > > > https://buildd.debian.org/status/fetch.php?pkg=mariadb&arch=sparc64&ver=1%3A11.4.2-2&stamp=1719891893&raw=0 > > https://buildd.debian.org/status/logs.php?pkg=mariadb&arch=sparc64 > > I would suggest rerun the build plus testsuite on the porterbox stadler > with glibc debug packages installed in the chroot so you can get a more > usable backtrace.
It took me many hours to get the schroot setup correctly with proper debug symbol packages (answer was: libatomic1-dbgsym libcap2-dbgsym libcrypt1-dbgsym libgcc-s1-dbgsym libnuma1-dbgsym libpcre2-8-0-dbgsym libssl3t64-dbgsym libstdc++6-dbgsym libsystemd0-dbgsym liburing2-dbgsym libzstd1-dbgsym zlib1g-dbgsym) but I have now the full build log at stadler:/tmp/build2.log if anyone here wants to take a look and give suggestions on what might be going on. Below is one of the crashes with full traces to the extend I got it now (though some parts seems to have been optimized out by compiler): main.partition w23 [ retry-fail ] Test ended at 2024-07-05 15:03:17 CURRENT_TEST: main.partition mysqltest: At line 3010: query 'select id from t1 where data = 'ab' order by id' failed: <Unknown> (2013): Lost connection to server during query The result from queries just before the failure was: < snip > insert t1 values (6, 'ab'), (4, 'ab'), (5, 'ab'), (16, 'ab'), (14, 'ab'), (15, 'ab'), (5, 'ac'), (15, 'aa') ; select id from t1 where data = 'ab' order by id; id 4 5 6 14 15 16 drop table t1; create table t1(id int unsigned not null, data text default null, key data_idx (data(1),id) ) default charset=utf8 partition by range (id) ( partition p10 values less than (10), partition p20 values less than (20) ); insert t1 values (6, 'ab'), (4, 'ab'), (5, 'ab'), (16, 'ab'), (14, 'ab'), (15, 'ab'), (5, 'ac'), (15, 'aa') ; select id from t1 where data = 'ab' order by id; More results from queries before failure can be found in /home/otto/mariadb-server/builddir/mysql-test/var/23/log/partition.log - found 'core' (1/1) worker[23] mysql-test-run: WARNING: Test reserved for w47 picked up by w23 worker[23] > Restart - not started Core generated by '/home/otto/mariadb-server/builddir/sql/mariadbd' 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 3082605] [New LWP 3082578] [New LWP 3082562] [New LWP 3082574] [New LWP 3082573] [New LWP 3082575] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/sparc64-linux-gnu/libthread_db.so.1". Core was generated by `/home/otto/mariadb-server/builddir/sql/mariadbd --defaults-group-suffix=.1 --de'. Program terminated with signal SIGUSR1, User defined signal 1. #0 0xfff80001028928c0 in __pthread_kill_implementation (threadid=18444492278236620992, signo=10, no_tid=0) at ./nptl/pthread_kill.c:43 43 ./nptl/pthread_kill.c: No such file or directory. [Current thread is 1 (Thread 0xfff8000102baa8c0 (LWP 3082605))] #0 0xfff80001028928c0 in __pthread_kill_implementation (threadid=18444492278236620992, signo=10, no_tid=0) at ./nptl/pthread_kill.c:43 #1 0x0000010000a85b74 in handle_fatal_signal (sig=10) at ./sql/signal_handler.cc:357 Backtrace stopped: Cannot access memory at address 0xf0 Thread 6 (Thread 0xfff80001024dc8c0 (LWP 3082575)): #0 0xfff800010288cc4c in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=<optimized out>, expected=0, futex_word=0x100019f84c0 <COND_manager+40>) at ./nptl/futex-internal.c:57 _arg2 = <optimized out> _arg5 = 0 __o0 = 512 __o3 = 0 _arg3 = 0 _arg6 = 4294967295 __o1 = 393 __o4 = 0 _arg1 = 1099538859200 _arg4 = 0 __g1 = 142 __o2 = 0 __o5 = 4294967295 sc_cancel_oldtype = 0 sc_ret = <optimized out> #1 __futex_abstimed_wait_common (futex_word=0x100019f84c0 <COND_manager+40>, expected=0, clockid=<optimized out>, abstime=0x0, private=0, cancel=true) at ./nptl/futex-internal.c:87 err = <optimized out> clockbit = <optimized out> op = <optimized out> #2 0xfff800010288fd20 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x100019f84d0 <LOCK_manager>, cond=0x100019f8498 <COND_manager>) at ./nptl/pthread_cond_wait.c:503 spin = 0 buffer = {__routine = 0xfff800010288fa1c <__condvar_cleanup_waiting>, __arg = 0xfff80001024db928, __canceltype = -524287, __prev = 0x0} cbuffer = {wseq = 4, cond = 0x100019f8498 <COND_manager>, mutex = 0x100019f84d0 <LOCK_manager>, private = 0} err = <optimized out> g = 0 flags = <optimized out> g1_start = <optimized out> maxspin = 0 signals = <optimized out> result = 0 wseq = 4 seq = 2 private = 0 maxspin = <optimized out> err = <optimized out> result = <optimized out> wseq = <optimized out> g = <optimized out> seq = <optimized out> flags = <optimized out> private = <optimized out> signals = <optimized out> done = <optimized out> g1_start = <optimized out> spin = <optimized out> buffer = <optimized out> cbuffer = <optimized out> s = <optimized out> #3 ___pthread_cond_wait (cond=0x100019f8498 <COND_manager>, mutex=0x100019f84d0 <LOCK_manager>) at ./nptl/pthread_cond_wait.c:618 No locals. #4 0x00000100006f9d34 in psi_cond_wait (that=0x100019f8498 <COND_manager>, mutex=0x100019f84d0 <LOCK_manager>, file=0x1000105d200 "./sql/sql_manager.cc", line=109) at ./mysys/my_thr_init.c:598 state = {m_flags = 7, m_operation = (unknown: 0x817bc0), m_cond = 0x100023c8900, m_mutex = 0xfff80001001de440, m_thread = 0xfff8000103707a40, m_timer_start = 1720191761614403487, m_timer = 0x10000f8d660 <my_timer_nanoseconds>, m_wait = 0xfff8000103708380} locker = 0xfff80001024dba08 result = <optimized out> #5 0x0000010000817e0c in inline_mysql_cond_wait (that=<optimized out>, mutex=<optimized out>, src_file=<optimized out>, src_line=<optimized out>) at ./include/mysql/psi/mysql_thread.h:1070 No locals. #6 handle_manager (arg=<optimized out>) at ./sql/sql_manager.cc:109 cb = <optimized out> error = 0 abstime = {tv_sec = 0, tv_nsec = 1099549174320} reset_flush_time = true #7 0x0000010000c9b0a0 in pfs_spawn_thread (arg=<optimized out>) at ./storage/perfschema/pfs.cc:2201 typed_arg = <optimized out> user_arg = 0x0 user_start_routine = 0x10000817a60 <handle_manager(void*)> pfs = <optimized out> klass = <optimized out> #8 0xfff800010289068c in start_thread (arg=0xfff80001024dc8c0) at ./nptl/pthread_create.c:444 ret = <optimized out> start = <optimized out> pd = 0xfff80001024dc8c0 out = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {{__uc_link = 0x0, __uc_flags = 0, __uc_sigmask = 18446744073709485823, __uc_mcontext = {__mc_gregs = {296084308485, 18444492278233062140, 18444492278233062144, 0, 0, 18444492278229485760, 18444492278234245108, 18444492278234246644, 18444492278234248948, 192, 18444492278229485760, 18444492278229482608, 0, 0, 0, 0, 0, 18444492278229480369, 18444492278233368068}, __mc_fp = 18444492278229481121, __mc_i7 = 18444492278233871368, __mc_fpregs = {__mcfpu_fpregs = {__sregs = {0 <repeats 32 times>}, __dregs = {0 <repeats 32 times>}, __qregs = {0 <repeats 16 times>}}, __mcfpu_fprs = 0, __mcfpu_gsr = 0, __mcfpu_fq = 0x0, __mcfpu_qcnt = 0 '\000', __mcfpu_qentsz = 0 '\000', __mcfpu_enab = 0 '\000'}}}}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <optimized out> #9 0xfff800010290b410 in __thread_start () at ../sysdeps/unix/sysv/linux/sparc/sparc64/clone.S:79 No locals. Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 5 (Thread 0xfff80001004e38c0 (LWP 3082573)): #0 0xfff800010288cc4c in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0xfff80001004e2af0, op=<optimized out>, expected=0, futex_word=0x100022b72f0 <COND_timer+40>) at ./nptl/futex-internal.c:57 _arg2 = <optimized out> _arg5 = 0 __o0 = 516 __o3 = -2251795513595152 _arg3 = 0 _arg6 = 4294967295 __o1 = 393 __o4 = 0 _arg1 = 1099548029680 _arg4 = -2251795513595152 __g1 = 142 __o2 = 0 __o5 = 4294967295 sc_cancel_oldtype = 0 sc_ret = <optimized out> #1 __futex_abstimed_wait_common (futex_word=0x100022b72f0 <COND_timer+40>, expected=0, clockid=<optimized out>, abstime=0xfff80001004e2af0, private=0, cancel=true) at ./nptl/futex-internal.c:87 err = <optimized out> clockbit = <optimized out> op = <optimized out> #2 0xfff8000102890060 in __pthread_cond_wait_common (abstime=0xfff80001004e2af0, clockid=0, mutex=0x100022b7300 <LOCK_timer>, cond=0x100022b72c8 <COND_timer>) at ./nptl/pthread_cond_wait.c:503 spin = 0 buffer = {__routine = 0xfff800010288fa1c <__condvar_cleanup_waiting>, __arg = 0xfff80001004e2918, __canceltype = 0, __prev = 0x0} cbuffer = {wseq = 0, cond = 0x100022b72c8 <COND_timer>, mutex = 0x100022b7300 <LOCK_timer>, private = 0} err = <optimized out> g = 0 flags = <optimized out> g1_start = <optimized out> maxspin = 0 signals = <optimized out> result = 0 wseq = 0 seq = 0 private = 0 maxspin = <optimized out> err = <optimized out> result = <optimized out> wseq = <optimized out> g = <optimized out> seq = <optimized out> flags = <optimized out> private = <optimized out> signals = <optimized out> done = <optimized out> g1_start = <optimized out> spin = <optimized out> buffer = <optimized out> cbuffer = <optimized out> s = <optimized out> #3 ___pthread_cond_timedwait64 (cond=0x100022b72c8 <COND_timer>, mutex=0x100022b7300 <LOCK_timer>, abstime=0xfff80001004e2af0) at ./nptl/pthread_cond_wait.c:643 flags = <optimized out> clockid = 0 #4 0x00000100006f9dac in psi_cond_timedwait (that=0x100022b72c8 <COND_timer>, mutex=0x100022b7300 <LOCK_timer>, abstime=0xfff80001004e2af0, file=0x10001126760 "./mysys/thr_timer.c", line=321) at ./mysys/my_thr_init.c:611 state = {m_flags = 7, m_operation = PSI_COND_WAIT, m_cond = 0x100023c7f80, m_mutex = 0xfff80001001d9d40, m_thread = 0xfff8000103704d40, m_timer_start = 1720191761524353563, m_timer = 0x10000f8d660 <my_timer_nanoseconds>, m_wait = 0xfff8000103705680} locker = 0xfff80001004e29f8 result = <optimized out> #5 0x0000010000f7f300 in inline_mysql_cond_timedwait (that=0x100022b72c8 <COND_timer>, mutex=0x100022b7300 <LOCK_timer>, src_file=0x10001126760 "./mysys/thr_timer.c", src_line=321, abstime=0xfff80001004e2af0) at ./include/mysql/psi/mysql_thread.h:1086 No locals. #6 timer_handler (arg=<optimized out>) at ./mysys/thr_timer.c:321 error = <optimized out> top_time = 0x100022b7260 <max_timer_data> now = <optimized out> abstime = {tv_sec = 2147483647, tv_nsec = 0} #7 0x0000010000c9b0a0 in pfs_spawn_thread (arg=<optimized out>) at ./storage/perfschema/pfs.cc:2201 typed_arg = <optimized out> user_arg = 0x0 user_start_routine = 0x10000f7f0e0 <timer_handler> pfs = <optimized out> klass = <optimized out> #8 0xfff800010289068c in start_thread (arg=0xfff80001004e38c0) at ./nptl/pthread_create.c:444 ret = <optimized out> start = <optimized out> pd = 0xfff80001004e38c0 out = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {{__uc_link = 0x0, __uc_flags = 0, __uc_sigmask = 18446744073709485823, __uc_mcontext = {__mc_gregs = {296084308485, 18444492278233062140, 18444492278233062144, 0, 0, 18444492278195960000, 18444492278234245108, 18444492278234246644, 18444492278234248948, 192, 18444492278195960000, 18444492278195956848, 0, 0, 0, 0, 0, 18444492278195954609, 18444492278233368068}, __mc_fp = 18444492278195955361, __mc_i7 = 18444492278233871368, __mc_fpregs = {__mcfpu_fpregs = {__sregs = {0 <repeats 32 times>}, __dregs = {0 <repeats 32 times>}, __qregs = {0 <repeats 16 times>}}, __mcfpu_fprs = 0, __mcfpu_gsr = 0, __mcfpu_fq = 0x0, __mcfpu_qcnt = 0 '\000', __mcfpu_qentsz = 0 '\000', __mcfpu_enab = 0 '\000'}}}}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <optimized out> #9 0xfff800010290b410 in __thread_start () at ../sysdeps/unix/sysv/linux/sparc/sparc64/clone.S:79 No locals. Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 4 (Thread 0xfff800010d0018c0 (LWP 3082574)): #0 0xfff800010288cc4c in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0xfff800010d000a10, op=<optimized out>, expected=0, futex_word=0x1000222c0d8 <COND_checkpoint+40>) at ./nptl/futex-internal.c:57 _arg2 = <optimized out> _arg5 = 0 __o0 = 516 __o3 = -2251795300611568 _arg3 = 0 _arg6 = 4294967295 __o1 = 393 __o4 = 0 _arg1 = 1099547459800 _arg4 = -2251795300611568 __g1 = 142 __o2 = 0 __o5 = 4294967295 sc_cancel_oldtype = 0 sc_ret = <optimized out> #1 __futex_abstimed_wait_common (futex_word=0x1000222c0d8 <COND_checkpoint+40>, expected=0, clockid=<optimized out>, abstime=0xfff800010d000a10, private=0, cancel=true) at ./nptl/futex-internal.c:87 err = <optimized out> clockbit = <optimized out> op = <optimized out> #2 0xfff8000102890060 in __pthread_cond_wait_common (abstime=0xfff800010d000a10, clockid=0, mutex=0x1000222c0e8 <LOCK_checkpoint>, cond=0x1000222c0b0 <COND_checkpoint>) at ./nptl/pthread_cond_wait.c:503 spin = 0 buffer = {__routine = 0xfff800010288fa1c <__condvar_cleanup_waiting>, __arg = 0xfff800010d000848, __canceltype = -524287, __prev = 0x0} cbuffer = {wseq = 0, cond = 0x1000222c0b0 <COND_checkpoint>, mutex = 0x1000222c0e8 <LOCK_checkpoint>, private = 0} err = <optimized out> g = 0 flags = <optimized out> g1_start = <optimized out> maxspin = 0 signals = <optimized out> result = 0 wseq = 0 seq = 0 private = 0 maxspin = <optimized out> err = <optimized out> result = <optimized out> wseq = <optimized out> g = <optimized out> seq = <optimized out> flags = <optimized out> private = <optimized out> signals = <optimized out> done = <optimized out> g1_start = <optimized out> spin = <optimized out> buffer = <optimized out> cbuffer = <optimized out> s = <optimized out> #3 ___pthread_cond_timedwait64 (cond=0x1000222c0b0 <COND_checkpoint>, mutex=0x1000222c0e8 <LOCK_checkpoint>, abstime=0xfff800010d000a10) at ./nptl/pthread_cond_wait.c:643 flags = <optimized out> clockid = 0 #4 0x00000100006f9dac in psi_cond_timedwait (that=0x1000222c0b0 <COND_checkpoint>, mutex=0x1000222c0e8 <LOCK_checkpoint>, abstime=0xfff800010d000a10, file=0x100010b64a8 "./storage/maria/ma_servicethread.c", line=115) at ./mysys/my_thr_init.c:611 state = {m_flags = 7, m_operation = PSI_COND_WAIT, m_cond = 0x100023c8680, m_mutex = 0xfff80001001db240, m_thread = 0xfff80001037063c0, m_timer_start = 1720191761554770554, m_timer = 0x10000f8d660 <my_timer_nanoseconds>, m_wait = 0xfff8000103706d00} locker = 0xfff800010d000928 result = <optimized out> #5 0x0000010000c36e10 in inline_mysql_cond_timedwait (src_file=0x100010b64a8 "./storage/maria/ma_servicethread.c", src_line=115, abstime=0xfff800010d000a10, mutex=<optimized out>, that=<optimized out>) at ./include/mysql/psi/mysql_thread.h:1086 No locals. #6 my_service_thread_sleep (control=0x10001932268 <checkpoint_control>, sleep_time=<optimized out>) at ./storage/maria/ma_servicethread.c:115 abstime = {tv_sec = 1720191790, tv_nsec = 554769000} res = 0 '\000' #7 0x0000010000c2e928 in ma_checkpoint_background (arg=0x1e) at ./storage/maria/ma_checkpoint.c:725 interval = 30 sleeps = 1 sleep_time = 29 log_horizon_at_last_checkpoint = 4295394948 pagecache_flushes_at_last_checkpoint = 0 pages_bunch_size = 0 filter_param = {up_to_lsn = 4295394904, max_pages = 256} dfile = 0x0 kfile = 0x0 #8 0x0000010000c9b0a0 in pfs_spawn_thread (arg=<optimized out>) at ./storage/perfschema/pfs.cc:2201 typed_arg = <optimized out> user_arg = 0x1e user_start_routine = 0x10000c2e808 <ma_checkpoint_background> pfs = <optimized out> klass = <optimized out> #9 0xfff800010289068c in start_thread (arg=0xfff800010d0018c0) at ./nptl/pthread_create.c:444 ret = <optimized out> start = <optimized out> pd = 0xfff800010d0018c0 out = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {{__uc_link = 0x0, __uc_flags = 0, __uc_sigmask = 18446744073709485823, __uc_mcontext = {__mc_gregs = {296084308482, 18444492278233062140, 18444492278233062144, 0, 0, 18444492278408943808, 18444492278234245108, 18444492278234246644, 18444492278234248948, 192, 18444492278408943808, 18444492278408940656, 0, 0, 0, 0, 0, 18444492278408938417, 18444492278233368068}, __mc_fp = 18444492278408939169, __mc_i7 = 18444492278233871368, __mc_fpregs = {__mcfpu_fpregs = {__sregs = {0 <repeats 32 times>}, __dregs = {0 <repeats 32 times>}, __qregs = {0 <repeats 16 times>}}, __mcfpu_fprs = 0, __mcfpu_gsr = 0, __mcfpu_fq = 0x0, __mcfpu_qcnt = 0 '\000', __mcfpu_qentsz = 0 '\000', __mcfpu_enab = 0 '\000'}}}}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <optimized out> #10 0xfff800010290b410 in __thread_start () at ../sysdeps/unix/sysv/linux/sparc/sparc64/clone.S:79 No locals. Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 3 (Thread 0xfff8000100036ca0 (LWP 3082562)): #0 0xfff800010290049c in __GI___poll (fds=0x1000289ace8, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 _arg2 = 3 __g1 = 153 __o1 = 3 _arg1 = 1099554204904 _arg3 = -1 __o0 = 516 __o2 = -1 sc_ret = <optimized out> sc_cancel_oldtype = 0 sc_ret = <optimized out> #1 0x0000010000735f44 in poll (__timeout=-1, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/sparc64-linux-gnu/bits/poll2.h:39 No locals. #2 handle_connections_sockets () at ./sql/mysqld.cc:6324 sock = {fd = 12, is_unix_domain_socket = <optimized out>, is_extra_port = <optimized out>, address_family = <optimized out>, m_psi = 0x10002884680} error_count = 0 cAddr = {ss_family = 1, __ss_padding = "\001\000\002.\2549\000\000\000\000\000\000\000\000\377\370\000\001\002\260\fH\000\000\a\376\377\231c\201\000\000\001\000\000s\177\230\000\000\000\000\000\000@8\000\000\001\000\001\004\226h\000\000\a\376\377\231c\201\000\000\001\000\000st@\000\000\a\376\377\231c\201\000\000\001\000\000sm@\000\000\000\a\000\000\000\000\377\370\000\001\000\035\223\300\377\370\000\001\003p6\300\027\337YK\020\233yP", __ss_align = 1099527935584} retval = <optimized out> fds = {array = {buffer = 0x1000289ace8 "", elements = 3, max_element = 16, alloc_increment = 16, size_of_element = 8, m_psi_key = 0, malloc_flags = 0}} termination_fds = {32, 33} event_fd = {fd = 32, events = 1, revents = 12600} #3 0x00000100007374e4 in mysqld_main (argc=<optimized out>, argv=<optimized out>) at ./sql/mysqld.cc:6022 please_close_stdin = <optimized out> ho_error = <optimized out> new_thread_stack_size = <optimized out> user = <optimized out> #4 0xfff800010282f088 in __libc_start_call_main (main=0x100006fa014 <main(int, char**)>, argc=9, argv=0x7feff997658) at ../sysdeps/nptl/libc_start_call_main.h:58 self = <optimized out> result = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {{__uc_link = 0x0, __uc_flags = 0, __uc_sigmask = 0, __uc_mcontext = {__mc_gregs = {296084312580, 18444492278233062140, 18444492278233062144, 0, 0, 0, 0, 1099548090120, 0, 64, 18444492278191058080, 8791791334080, 0, 68, 0, 0, 0, 8791791331825, 18444492278232969276}, __mc_fp = 8791791332593, __mc_i7 = 18444492278232969628, __mc_fpregs = {__mcfpu_fpregs = {__sregs = {0 <repeats 32 times>}, __dregs = {0 <repeats 32 times>}, __qregs = {0 <repeats 16 times>}}, __mcfpu_fprs = 0, __mcfpu_gsr = 0, __mcfpu_fq = 0x0, __mcfpu_qcnt = 0 '\000', __mcfpu_qentsz = 0 '\000', __mcfpu_enab = 0 '\000'}}}}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <optimized out> #5 0xfff800010282f1a4 in __libc_start_main_impl (main=0x100006fa014 <main(int, char**)>, argc=9, argv=0x7feff997658, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x9) at ./csu/libc-start.c:360 No locals. #6 0x0000010000729000 in _start () No symbol table info available. Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 2 (Thread 0xfff8000102b5c8c0 (LWP 3082578)): #0 0xfff8000102846af0 in __GI___sigtimedwait (set=0xfff8000102b5b9e0, info=0xfff8000102b5ba60, timeout=0x0) at ../sysdeps/unix/sysv/linux/sigtimedwait.c:31 _arg2 = -2251795473253792 _arg4 = 8 __g1 = 105 __o1 = -2251795473253792 __o3 = 8 _arg1 = -2251795473253920 _arg3 = 0 __o0 = 4 __o2 = 0 sc_ret = <optimized out> sc_cancel_oldtype = 0 sc_ret = <optimized out> result = <optimized out> #1 0x000001000072bed4 in my_sigwait (code=<synthetic pointer>, sig=<synthetic pointer>, set=0xfff8000102b5b9e0) at ./include/my_pthread.h:191 siginfo = {si_signo = 7, si_errno = 4, si_code = -524287, __pad0 = 122151936, _sifields = {_pad = {0, 0, 256, 36733056, -524287, 57708736, -524287, 57708736, 400513355, 260900941, 256, 16307808, -524287, 57711104, 0, 0, -524287, 45462273, 256, 13217932, 0, 0, 0, 0, 0, 0, 0, 0}, _kill = {si_pid = 0, si_uid = 0}, _timer = {si_tid = 0, si_overrun = 0, si_sigval = {sival_int = 256, sival_ptr = 0x10002308080}}, _rt = {si_pid = 0, si_uid = 0, si_sigval = {sival_int = 256, sival_ptr = 0x10002308080}}, _sigchld = {si_pid = 0, si_uid = 0, si_status = 256, si_utime = -2251795461009216, si_stime = -2251795461009216}, _sigfault = {si_addr = 0x0, _si_trapno = 256, si_addr_lsb = 560, _bounds = {_addr_bnd = {_lower = 0xfff80001037090c0, _upper = 0xfff80001037090c0}, _pkey = 4294443009}}, _sigpoll = {si_band = 0, si_fd = 0}, _sigsys = {_call_addr = 0x0, _syscall = 256, _arch = 36733056}}} siginfo = <optimized out> #2 signal_hand () at ./sql/mysqld.cc:3247 error = <optimized out> origin = <optimized out> set = {__val = {147461, 18444492278248546104, 0, 0, 18444492278236295745, 18444492278233444176, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}} sig = <optimized out> #3 0x0000010000c9b0a0 in pfs_spawn_thread (arg=<optimized out>) at ./storage/perfschema/pfs.cc:2201 typed_arg = <optimized out> user_arg = 0x0 user_start_routine = 0x1000072bda4 <signal_hand(void*)> pfs = <optimized out> klass = <optimized out> #4 0xfff800010289068c in start_thread (arg=0xfff8000102b5c8c0) at ./nptl/pthread_create.c:444 ret = <optimized out> start = <optimized out> pd = 0xfff8000102b5c8c0 out = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {{__uc_link = 0x0, __uc_flags = 0, __uc_sigmask = 18446744073709485823, __uc_mcontext = {__mc_gregs = {296084308483, 18444492278233062140, 18444492278233062144, 0, 0, 18444492278236301504, 18444492278234245108, 18444492278234246644, 18444492278234248948, 192, 18444492278236301504, 18444492278236298352, 0, 0, 0, 0, 0, 18444492278236296113, 18444492278233368068}, __mc_fp = 18444492278236296865, __mc_i7 = 18444492278233871368, __mc_fpregs = {__mcfpu_fpregs = {__sregs = {0 <repeats 32 times>}, __dregs = {0 <repeats 32 times>}, __qregs = {0 <repeats 16 times>}}, __mcfpu_fprs = 0, __mcfpu_gsr = 0, __mcfpu_fq = 0x0, __mcfpu_qcnt = 0 '\000', __mcfpu_qentsz = 0 '\000', __mcfpu_enab = 0 '\000'}}}}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <optimized out> #5 0xfff800010290b410 in __thread_start () at ../sysdeps/unix/sysv/linux/sparc/sparc64/clone.S:79 No locals. Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 1 (Thread 0xfff8000102baa8c0 (LWP 3082605)): #0 0xfff80001028928c0 in __pthread_kill_implementation (threadid=18444492278236620992, signo=10, no_tid=0) at ./nptl/pthread_kill.c:43 _arg2 = 3082605 __g1 = 211 __o1 = 3082605 _arg1 = 0 _arg3 = 10 __o0 = 0 __o2 = 10 tid = 3082605 ret = <optimized out> pd = 0xfff8000102baa8c0 old_mask = {__val = {18444492278236608080}} ret = <optimized out> #1 0x0000010000a85b74 in handle_fatal_signal (sig=10) at ./sql/signal_handler.cc:357 curr_time = 1720191771 tm = {tm_sec = 51, tm_min = 2, tm_hour = 15, tm_mday = 5, tm_mon = 6, tm_year = 124, tm_wday = 5, tm_yday = 186, tm_isdst = 0, tm_gmtoff = 0, tm_zone = 0x100023bbef0 "UTC"} thd = 0xfff800011c000c68 print_invalid_query_pointer = false Backtrace stopped: Cannot access memory at address 0xf0