[debian-mysql] Bug#1030510: mariadb: FTBFS on s390x: timeout
Otto Kekäläinen
otto at debian.org
Sun Feb 5 21:02:47 GMT 2023
After restarting the build there is no longer a timeout, but a crash:
main.plugin_auth 'innodb' w1 [ fail ] Found
warnings/errors in server log file!
Test ended at 2023-02-05 09:41:56
line
Attempting backtrace. You can use the following information to find out
^ Found warnings in /<<PKGBUILDDIR>>/builddir/mysql-test/var/1/log/mysqld.1.err
ok
- found 'core' (0/5)
Core generated by '/<<PKGBUILDDIR>>/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 460078]
[New LWP 460124]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/s390x-linux-gnu/libthread_db.so.1".
Core was generated by `/<<PKGBUILDDIR>>/builddir/sql/mariadbd
--defaults-group-su'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000003ff99c48992 in kill () from /lib/s390x-linux-gnu/libc.so.6
[Current thread is 1 (Thread 0x3ff9ab6a820 (LWP 460078))]
#0 0x000003ff99c48992 in kill () from /lib/s390x-linux-gnu/libc.so.6
#1 0x000002aa226907c4 in handle_fatal_signal (sig=<optimized out>) at
./sql/signal_handler.cc:367
#2 <signal handler called>
#3 0x000002aa22b7c26a in my_read (Filedes=<optimized out>,
Buffer=0x3ff9ab6a820 "", Count=4096, MyFlags=<optimized out>) at
./mysys/my_read.c:63
#4 0x000002aa22690266 in output_core_info () at ./sql/signal_handler.cc:90
#5 0x000002aa22690792 in handle_fatal_signal (sig=<optimized out>) at
./sql/signal_handler.cc:351
#6 <signal handler called>
#7 0x000003ff99d0e632 in munmap () from /lib/s390x-linux-gnu/libc.so.6
#8 0x000003ff99ca7790 in free () from /lib/s390x-linux-gnu/libc.so.6
#9 0x000002aa228bfe6e in aligned_free (ptr=<optimized out>) at
./include/aligned.h:37
#10 pfs_free (ptr=<optimized out>, size=2048000, klass=0x2aa23e47900
<builtin_memory_thread_statements_history_sqltext>) at
./storage/perfschema/pfs_global.cc:83
#11 pfs_free (klass=0x2aa23e47900
<builtin_memory_thread_statements_history_sqltext>,
size=size at entry=2048000, ptr=<optimized out>) at
./storage/perfschema/pfs_global.cc:78
#12 0x000002aa228b5fe6 in PFS_thread_allocator::free_array
(this=<optimized out>, array=array at entry=0x2aa24cf4d30) at
./storage/perfschema/pfs_buffer_container.cc:715
#13 0x000002aa228c25da in PFS_buffer_scalable_container<PFS_thread,
256, 256, PFS_thread_array, PFS_thread_allocator>::cleanup
(this=<optimized out>) at
./storage/perfschema/pfs_buffer_container.h:506
#14 PFS_buffer_scalable_container<PFS_thread, 256, 256,
PFS_thread_array, PFS_thread_allocator>::cleanup (this=<optimized
out>) at ./storage/perfschema/pfs_buffer_container.h:491
#15 cleanup_instruments () at ./storage/perfschema/pfs_instr.cc:233
#16 0x000002aa228d000c in cleanup_performance_schema () at
./storage/perfschema/pfs_server.cc:296
#17 0x000002aa228d04f0 in shutdown_performance_schema () at
./storage/perfschema/pfs_server.cc:326
#18 0x000002aa2233f912 in mysqld_exit (exit_code=exit_code at entry=0) at
./sql/mysqld.cc:1943
#19 0x000002aa2234a4fe in mysqld_main (argc=<optimized out>,
argv=<optimized out>) at ./sql/mysqld.cc:6040
#20 0x000003ff99c2b84a in ?? () from /lib/s390x-linux-gnu/libc.so.6
#21 0x000003ff99c2b932 in __libc_start_main () from
/lib/s390x-linux-gnu/libc.so.6
#22 0x000002aa2233d378 in _start ()
A previous restart also had:
main.mysql_upgrade 'innodb' w1 [ fail ] Found
warnings/errors in server log file!
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/s390x-linux-gnu/libthread_db.so.1".
Core was generated by `/<<PKGBUILDDIR>>/builddir/sql/mariadbd
--defaults-group-su'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000003ffaa0c8992 in kill () from /lib/s390x-linux-gnu/libc.so.6
[Current thread is 1 (Thread 0x3ffaafea820 (LWP 1668996))]
#0 0x000003ffaa0c8992 in kill () from /lib/s390x-linux-gnu/libc.so.6
#1 0x000002aa26c107c4 in handle_fatal_signal (sig=<optimized out>) at
./sql/signal_handler.cc:367
#2 <signal handler called>
#3 0x000002aa270fc26a in my_read (Filedes=<optimized out>,
Buffer=0x696c646469722f6d <error: Cannot access memory at address
0x696c646469722f6d>, Count=4096, MyFlags=<optimized out>) at
./mysys/my_read.c:63
#4 0x000002aa26c10266 in output_core_info () at ./sql/signal_handler.cc:90
#5 0x000002aa26c10792 in handle_fatal_signal (sig=<optimized out>) at
./sql/signal_handler.cc:351
#6 <signal handler called>
#7 0x000003ffaa18e632 in munmap () from /lib/s390x-linux-gnu/libc.so.6
#8 0x000003ffaa127790 in free () from /lib/s390x-linux-gnu/libc.so.6
#9 0x000002aa26e40022 in aligned_free (ptr=<optimized out>) at
./include/aligned.h:37
#10 pfs_free (ptr=<optimized out>, size=2304000, klass=0x2aa283c8f00
<builtin_memory_user_memory>) at ./storage/perfschema/pfs_global.cc:83
#11 pfs_free (ptr=<optimized out>, size=2304000, klass=0x2aa283c8f00
<builtin_memory_user_memory>) at ./storage/perfschema/pfs_global.cc:78
#12 pfs_free_array (klass=0x2aa283c8f00 <builtin_memory_user_memory>,
n=n at entry=32000, size=size at entry=72, ptr=<optimized out>) at
./storage/perfschema/pfs_global.cc:134
#13 0x000002aa26e36680 in PFS_user_allocator::free_array
(this=<optimized out>, array=array at entry=0x2aa297ac0a0) at
./storage/perfschema/pfs_buffer_container.cc:875
#14 0x000002aa26e53786 in PFS_buffer_scalable_container<PFS_user, 128,
128, PFS_user_array, PFS_user_allocator>::cleanup (this=<optimized
out>) at ./storage/perfschema/pfs_buffer_container.h:506
#15 PFS_buffer_scalable_container<PFS_user, 128, 128, PFS_user_array,
PFS_user_allocator>::cleanup (this=<optimized out>) at
./storage/perfschema/pfs_buffer_container.h:491
#16 cleanup_user () at ./storage/perfschema/pfs_user.cc:63
#17 0x000002aa26e4ffb8 in cleanup_performance_schema () at
./storage/perfschema/pfs_server.cc:275
#18 0x000002aa26e504f0 in shutdown_performance_schema () at
./storage/perfschema/pfs_server.cc:326
#19 0x000002aa268bf912 in mysqld_exit (exit_code=exit_code at entry=0) at
./sql/mysqld.cc:1943
#20 0x000002aa268ca4fe in mysqld_main (argc=<optimized out>,
argv=<optimized out>) at ./sql/mysqld.cc:6040
#21 0x000003ffaa0ab84a in ?? () from /lib/s390x-linux-gnu/libc.so.6
#22 0x000003ffaa0ab932 in __libc_start_main () from
/lib/s390x-linux-gnu/libc.so.6
#23 0x000002aa268bd378 in _start ()
Upstream dev Daniel Black commented on pkg-mysql-maint@ list:
> MIght be freeing something that didn't manage to allocate.
More information about the pkg-mysql-maint
mailing list