Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-23916

Regression: 10.4 and 10.5 mysqld fails to start on sparc64, segfaults on sing host libthread_db library

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.4.13, 10.5.6
    • None
    • None
    • None

    Description

      MariaDB 10.3 builds and runs OK on sparc64, see example https://buildd.debian.org/status/fetch.php?pkg=mariadb-10.3&arch=sparc64&ver=1%3A10.3.24-1&stamp=1598110080&raw=0

      Unfortunately in 10.4 (and 10.5) it has regressed. While it does build, the mysqld daemon immediately segfaults when started.

      main.sp_trans_log 'innodb'               w1 [ fail ]
              Test ended at 2020-02-23 20:27:08
       
      CURRENT_TEST: main.sp_trans_log
       
       
      Failed to start mysqld.1
      mysqltest failed but provided no output
       
       
       - found 'core' (1/5)
       
      Trying 'dbx' to get a backtrace
       
      Trying 'gdb' to get a backtrace from coredump /<<PKGBUILDDIR>>/builddir/mysql-test/var/1/log/main.sp_trans_log-innodb/mysqld.1/data/core
      Core generated by '/<<PKGBUILDDIR>>/builddir/sql/mysqld'
      worker[2] mysql-test-run: WARNING: Process [mysqld.1 - pid: 2483264, winpid: 2483264, exit: 256] died after mysql-test-run waited 2.4 seconds for /<<PKGBUILDDIR>>/builddir/mysql-test/var/2/run/mysqld.1.pid to be created.
      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 2482990]
      [New LWP 2483062]
      [New LWP 2483058]
      [New LWP 2483027]
      [New LWP 2483061]
      [New LWP 2483060]
      [New LWP 2483059]
      [New LWP 2483065]
      [New LWP 2483110]
      [New LWP 2483020]
      [New LWP 2483064]
      [New LWP 2483111]
      [New LWP 2483113]
      [New LWP 2483112]
      [New LWP 2483116]
      [New LWP 2483114]
      [New LWP 2483115]
      [New LWP 2483117]
      [New LWP 2483118]
      [New LWP 2483119]
      [New LWP 2483120]
      [New LWP 2483121]
      [New LWP 2483122]
      [New LWP 2483123]
      [New LWP 2483124]
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib/sparc64-linux-gnu/libthread_db.so.1".
      Core was generated by `/<<PKGBUILDDIR>>/builddir/sql/mysqld --defaults-'.
      Program terminated with signal SIGSEGV, Segmentation fault.
      #0  0xffff800100139810 in pthread_kill () from /lib/sparc64-linux-gnu/libpthread.so.0
      [Current thread is 1 (Thread 0xffff800100032c50 (LWP 2482990))]
      #0  0xffff800100139810 in pthread_kill () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0x00000100008c80c4 in handle_fatal_signal (sig=<optimized out>) at ./sql/signal_handler.cc:343
      Backtrace stopped: Cannot access memory at address 0xf0
       
      Thread 25 (Thread 0xffff800107e1a900 (LWP 2483124)):
      #0  0xffff800100137eac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0x00000100009b8f54 in inline_mysql_cond_wait (src_file=0x1000103fd90 "/<<PKGBUILDDIR>>/sql/log.cc", src_line=10022, mutex=0x100017221e0 <mysql_bin_log+3176>, that=0x10001722210 <mysql_bin_log+3224>) at ./include/mysql/psi/mysql_thread.h:1174
      #2  binlog_background_thread (arg=<optimized out>) at ./sql/log.cc:10022
      #3  0x0000010000dced00 in pfs_spawn_thread (arg=<optimized out>) at ./storage/perfschema/pfs.cc:1869
      #4  0xffff800100131010 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #5  0xffff800101172154 in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 24 (Thread 0xffff80012b80d900 (LWP 2483123)):
      #0  0xffff800100137eac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0x0000010000a70974 in inline_mysql_cond_wait (src_file=0x100010493e8 "/<<PKGBUILDDIR>>/storage/innobase/handler/ha_innodb.cc", src_line=288, mutex=0xffff80012b80cba0, that=0xffff80012b80cbd0) at ./include/mysql/psi/mysql_thread.h:1185
      #2  thd_destructor_proxy () at ./storage/innobase/handler/ha_innodb.cc:288
      #3  0x0000010000dced00 in pfs_spawn_thread (arg=<optimized out>) at ./storage/perfschema/pfs.cc:1869
      #4  0xffff800100131010 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #5  0xffff800101172154 in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 23 (Thread 0xffff80012b00b900 (LWP 2483122)):
      #0  0xffff800100137eac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0x0000010000b02560 in os_event::wait (this=0x100021bc6a0) at ./storage/innobase/include/sync0types.h:475
      #2  os_event::wait_low (this=0x100021bc6a0, reset_sig_count=1) at ./storage/innobase/os/os0event.cc:325
      #3  0x0000010000c14c00 in buf_resize_thread () at ./storage/innobase/buf/buf0buf.cc:3178
      #4  0xffff800100131010 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #5  0xffff800101172154 in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 22 (Thread 0xffff80012a809900 (LWP 2483121)):
      #0  0xffff80010013c6a4 in nanosleep () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0x0000010000b02ce8 in os_thread_sleep (tm=<optimized out>) at ./storage/innobase/os/os0thread.cc:231
      #2  0x0000010000c0250c in btr_defragment_thread () at ./storage/innobase/btr/btr0defragment.cc:717
      #3  0xffff800100131010 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #4  0xffff800101172154 in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 21 (Thread 0xffff80012a007900 (LWP 2483120)):
      #0  0xffff800100137eac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0x0000010000b02560 in os_event::wait (this=0x100021bc5c0) at ./storage/innobase/include/sync0types.h:475
      #2  os_event::wait_low (this=0x100021bc5c0, reset_sig_count=1) at ./storage/innobase/os/os0event.cc:325
      #3  0x0000010000c1c170 in buf_dump_thread () at ./storage/innobase/buf/buf0dump.cc:833
      #4  0xffff800100131010 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #5  0xffff800101172154 in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 20 (Thread 0xffff800129805900 (LWP 2483119)):
      #0  0xffff800100137eac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0x0000010000b02560 in os_event::wait (this=0x100021bc470) at ./storage/innobase/include/sync0types.h:475
      #2  os_event::wait_low (this=0x100021bc470, reset_sig_count=5) at ./storage/innobase/os/os0event.cc:325
      #3  0x0000010000b83a88 in srv_resume_thread (slot=0x10001671d28 <srv_sys+360>, sig_count=0, wait=<optimized out>, timeout_usec=0) at ./storage/innobase/srv/srv0srv.cc:909
      #4  0x0000010000b8a5d4 in srv_worker_thread (arg=<optimized out>) at ./storage/innobase/srv/srv0srv.cc:2517
      #5  0xffff800100131010 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #6  0xffff800101172154 in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 19 (Thread 0xffff800129003900 (LWP 2483118)):
      #0  0xffff800100137eac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0x0000010000b02560 in os_event::wait (this=0x100021bc400) at ./storage/innobase/include/sync0types.h:475
      #2  os_event::wait_low (this=0x100021bc400, reset_sig_count=5) at ./storage/innobase/os/os0event.cc:325
      #3  0x0000010000b83a88 in srv_resume_thread (slot=0x10001671cf0 <srv_sys+304>, sig_count=0, wait=<optimized out>, timeout_usec=0) at ./storage/innobase/srv/srv0srv.cc:909
      #4  0x0000010000b8a5d4 in srv_worker_thread (arg=<optimized out>) at ./storage/innobase/srv/srv0srv.cc:2517
      #5  0xffff800100131010 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #6  0xffff800101172154 in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 18 (Thread 0xffff800128801900 (LWP 2483117)):
      #0  0xffff800100137eac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0x0000010000b02560 in os_event::wait (this=0x100021bc390) at ./storage/innobase/include/sync0types.h:475
      #2  os_event::wait_low (this=0x100021bc390, reset_sig_count=7) at ./storage/innobase/os/os0event.cc:325
      #3  0x0000010000b83a88 in srv_resume_thread (slot=0x10001671cb8 <srv_sys+248>, sig_count=0, wait=<optimized out>, timeout_usec=0) at ./storage/innobase/srv/srv0srv.cc:909
      #4  0x0000010000b8a5d4 in srv_worker_thread (arg=<optimized out>) at ./storage/innobase/srv/srv0srv.cc:2517
      #5  0xffff800100131010 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #6  0xffff800101172154 in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 17 (Thread 0xffff800114a15900 (LWP 2483115)):
      #0  0xffff80010013c6a4 in nanosleep () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0x0000010000b02ce8 in os_thread_sleep (tm=<optimized out>) at ./storage/innobase/os/os0thread.cc:231
      #2  0x0000010000b890cc in srv_master_sleep () at ./storage/innobase/srv/srv0srv.cc:2334
      #3  srv_master_thread (arg=<optimized out>) at ./storage/innobase/srv/srv0srv.cc:2375
      #4  0xffff800100131010 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #5  0xffff800101172154 in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 16 (Thread 0xffff80011721f900 (LWP 2483114)):
      #0  0xffff800100138314 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0x0000010000b02408 in os_event::timed_wait (this=0x1000231d1a0, abstime=0xffff80011721e8d0) at ./storage/innobase/include/sync0types.h:475
      #2  0x0000010000b02658 in os_event::wait_time_low (this=0x1000231d1a0, time_in_usec=5000000, reset_sig_count=1) at ./storage/innobase/os/os0event.cc:385
      #3  0x0000010000bcb380 in ib_wqueue_timedwait (wq=0x10002391810, wait_in_usecs=5000000) at ./storage/innobase/ut/ut0wqueue.cc:154
      #4  0x0000010000cb61cc in fts_optimize_thread (arg=<optimized out>) at ./storage/innobase/fts/fts0opt.cc:2835
      #5  0xffff800100131010 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #6  0xffff800101172154 in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 15 (Thread 0xffff800117a21900 (LWP 2483116)):
      #0  0xffff800100137eac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0x0000010000b02560 in os_event::wait (this=0x100021bc320) at ./storage/innobase/include/sync0types.h:475
      #2  os_event::wait_low (this=0x100021bc320, reset_sig_count=1) at ./storage/innobase/os/os0event.cc:325
      #3  0x0000010000b83a88 in srv_resume_thread (slot=0x10001671c80 <srv_sys+192>, sig_count=1, wait=<optimized out>, timeout_usec=0) at ./storage/innobase/srv/srv0srv.cc:909
      #4  0x0000010000b89bf0 in srv_purge_coordinator_suspend (rseg_history_len=15, slot=0x10001671c80 <srv_sys+192>) at ./storage/innobase/srv/srv0srv.cc:2655
      #5  srv_purge_coordinator_thread (arg=<optimized out>) at ./storage/innobase/srv/srv0srv.cc:2738
      #6  0xffff800100131010 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #7  0xffff800101172154 in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 14 (Thread 0xffff80011621b900 (LWP 2483112)):
      #0  0xffff800100138314 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0x0000010000b02408 in os_event::timed_wait (this=0x100021bc550, abstime=0xffff80011621ab10) at ./storage/innobase/include/sync0types.h:475
      #2  0x0000010000b02658 in os_event::wait_time_low (this=0x100021bc550, time_in_usec=5000000, reset_sig_count=1) at ./storage/innobase/os/os0event.cc:385
      #3  0x0000010000b872bc in srv_monitor_thread () at ./storage/innobase/srv/srv0srv.cc:1687
      #4  0xffff800100131010 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #5  0xffff800101172154 in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 13 (Thread 0xffff800116a1d900 (LWP 2483113)):
      #0  0xffff800100138314 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0x0000010000b02408 in os_event::timed_wait (this=0x10002386840, abstime=0xffff800116a1cb20) at ./storage/innobase/include/sync0types.h:475
      #2  0x0000010000b02658 in os_event::wait_time_low (this=0x10002386840, time_in_usec=10000000, reset_sig_count=1) at ./storage/innobase/os/os0event.cc:385
      #3  0x0000010000c6762c in dict_stats_thread () at ./storage/innobase/dict/dict0stats_bg.cc:475
      #4  0xffff800100131010 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #5  0xffff800101172154 in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 12 (Thread 0xffff800115a19900 (LWP 2483111)):
      #0  0xffff800100138314 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0x0000010000b02408 in os_event::timed_wait (this=0x100021bc4e0, abstime=0xffff800115a18a60) at ./storage/innobase/include/sync0types.h:475
      #2  0x0000010000b02658 in os_event::wait_time_low (this=0x100021bc4e0, time_in_usec=1000000, reset_sig_count=1) at ./storage/innobase/os/os0event.cc:385
      #3  0x0000010000b87db8 in srv_error_monitor_thread () at ./storage/innobase/srv/srv0srv.cc:1851
      #4  0xffff800100131010 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #5  0xffff800101172154 in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 11 (Thread 0xffff80011380b900 (LWP 2483064)):
      #0  0xffff80010116e420 in syscall () from /lib/sparc64-linux-gnu/libc.so.6
      #1  0xffff800100494bdc in ?? () from /usr/lib/sparc64-linux-gnu/libaio.so.1
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 10 (Thread 0xffff80010643b900 (LWP 2483020)):
      #0  0xffff800100138314 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0x0000010000e8339c in inline_mysql_cond_timedwait (that=0x10001f89b38 <COND_timer>, mutex=0x10001f89b70 <LOCK_timer>, src_file=0x100010ba878 "/<<PKGBUILDDIR>>/mysys/thr_timer.c", src_line=292, abstime=<optimized out>) at ./include/mysql/psi/mysql_thread.h:1211
      #2  timer_handler (arg=<optimized out>) at ./mysys/thr_timer.c:292
      #3  0x0000010000dced00 in pfs_spawn_thread (arg=<optimized out>) at ./storage/perfschema/pfs.cc:1869
      #4  0xffff800100131010 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #5  0xffff800101172154 in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 9 (Thread 0xffff800115217900 (LWP 2483110)):
      #0  0xffff800100138314 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0x0000010000b02408 in os_event::timed_wait (this=0x100023554f0, abstime=0xffff800115216ae0) at ./storage/innobase/include/sync0types.h:475
      #2  0x0000010000b02658 in os_event::wait_time_low (this=0x100023554f0, time_in_usec=1000000, reset_sig_count=1) at ./storage/innobase/os/os0event.cc:385
      #3  0x0000010000ada2a0 in lock_wait_timeout_thread () at ./storage/innobase/lock/lock0wait.cc:522
      #4  0xffff800100131010 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #5  0xffff800101172154 in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 8 (Thread 0xffff80011400d900 (LWP 2483065)):
      #0  0xffff800100138314 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0x0000010000b02408 in os_event::timed_wait (this=0x100021bc630, abstime=0xffff80011400c990) at ./storage/innobase/include/sync0types.h:475
      #2  0x0000010000b02658 in os_event::wait_time_low (this=0x100021bc630, time_in_usec=1000000, reset_sig_count=2) at ./storage/innobase/os/os0event.cc:385
      #3  0x0000010000c246c8 in pc_sleep_if_needed (cur_time=540261206, sig_count=2, next_loop_time=540262206) at ./storage/innobase/buf/buf0flu.cc:2639
      #4  buf_flush_page_cleaner_coordinator () at ./storage/innobase/buf/buf0flu.cc:3098
      #5  0xffff800100131010 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #6  0xffff800101172154 in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 7 (Thread 0xffff800111803900 (LWP 2483059)):
      #0  0xffff80010116e420 in syscall () from /lib/sparc64-linux-gnu/libc.so.6
      #1  0xffff800100494bdc in ?? () from /usr/lib/sparc64-linux-gnu/libaio.so.1
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 6 (Thread 0xffff800112005900 (LWP 2483060)):
      #0  0xffff80010116e420 in syscall () from /lib/sparc64-linux-gnu/libc.so.6
      #1  0xffff800100494bdc in ?? () from /usr/lib/sparc64-linux-gnu/libaio.so.1
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 5 (Thread 0xffff800112807900 (LWP 2483061)):
      #0  0xffff80010116e420 in syscall () from /lib/sparc64-linux-gnu/libc.so.6
      #1  0xffff800100494bdc in ?? () from /usr/lib/sparc64-linux-gnu/libaio.so.1
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 4 (Thread 0xffff8001077ad900 (LWP 2483027)):
      #0  0xffff800100138314 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0x0000010000d180e4 in inline_mysql_cond_timedwait (src_file=0x100010988d8 "/<<PKGBUILDDIR>>/storage/maria/ma_servicethread.c", src_line=115, abstime=0xffff8001077acae8, mutex=0x10001f75ed8 <LOCK_checkpoint>, that=0x10001f75ea0 <COND_checkpoint>) at ./include/mysql/psi/mysql_thread.h:1211
      #2  my_service_thread_sleep (control=0x10001674710 <checkpoint_control>, sleep_time=<optimized out>) at ./storage/maria/ma_servicethread.c:115
      #3  0x0000010000d0ff90 in ma_checkpoint_background (arg=0x1e) at ./storage/maria/ma_checkpoint.c:707
      #4  0x0000010000dced00 in pfs_spawn_thread (arg=<optimized out>) at ./storage/perfschema/pfs.cc:1869
      #5  0xffff800100131010 in start_thread () from /lib/sparc64-linux-gnu/libpthread.so.0
      #6  0xffff800101172154 in ?? () from /lib/sparc64-linux-gnu/libc.so.6
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 3 (Thread 0xffff800111001900 (LWP 2483058)):
      #0  0xffff80010116e420 in syscall () from /lib/sparc64-linux-gnu/libc.so.6
      #1  0xffff800100494bdc in ?? () from /usr/lib/sparc64-linux-gnu/libaio.so.1
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 2 (Thread 0xffff800113009900 (LWP 2483062)):
      #0  0xffff80010116e420 in syscall () from /lib/sparc64-linux-gnu/libc.so.6
      #1  0xffff800100494bdc in ?? () from /usr/lib/sparc64-linux-gnu/libaio.so.1
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
       
      Thread 1 (Thread 0xffff800100032c50 (LWP 2482990)):
      #0  0xffff800100139810 in pthread_kill () from /lib/sparc64-linux-gnu/libpthread.so.0
      #1  0x00000100008c80c4 in handle_fatal_signal (sig=<optimized out>) at ./sql/signal_handler.cc:343
      Backtrace stopped: Cannot access memory at address 0xf0
       
      Compressed file /<<PKGBUILDDIR>>/builddir/mysql-test/var/1/log/main.sp_trans_log-innodb/mysqld.1/data/core
       - saving '/<<PKGBUILDDIR>>/builddir/mysql-test/var/1/log/main.sp_trans_log-innodb/' to '/<<PKGBUILDDIR>>/builddir/mysql-test/var/log/main.sp_trans_log-innodb/'
       
      Retrying test main.sp_trans_log, attempt(2/3)...
       
      main.stat_tables_rbr 'innodb'            w3 [ fail ]
              Test ended at 2020-02-23 20:28:31
       
      CURRENT_TEST: main.stat_tables_rbr
       
       
      Failed to start mysqld.1
      mysqltest failed but provided no output
      

      Example logs:

      All logs of 10.4 and 10.5 ever tested in Debian has this same phenomenon and can be browsed at:

      NOTE! The test suite result has been supressed, so builds show "passed" even though MTR failed and mysqld segfaulted. One has to open the logs above to evaluate the MTR status.

      brad0 has sent patches on sparc64 before - maybe you can help testing and fixing this one?

      Attachments

        Activity

          People

            Unassigned Unassigned
            otto Otto Kekäläinen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.