[debian-mysql] Bug#1077229: mariadb: autopkgtest run immediately crashes on arch loong64
Otto Kekäläinen
otto at debian.org
Sat Jul 27 07:11:29 BST 2024
Source: mariadb
Version: 1:11.4.2-4
Tags: help
X-Debbugs-CC: debian-loongarch at lists.debian.org
User: debian-loongarch at lists.debian.org
Usertags: loong64
The CI run at https://ci.debian.net/packages/m/mariadb/unstable/loong64/49111734/
starts, but the mariadbd program immediately crashes on start. Stack
trace below.
This is odd, as the loong64 build and post-build test suite at
https://buildd.debian.org/status/fetch.php?pkg=mariadb&arch=loong64&ver=1%3A11.4.2-4&stamp=1720880619&raw=0
passed just fine.
There must be something different between the buildd host and the CI
runner host.
Requesting help from loong64 maintainers.
312s starting mysql-test-tun.pl...
312s Logging: ./mysql-test-run.pl --force --testcase-timeout=120
--suite-timeout=540 --retry=3 --verbose-restart --max-save-core=1
--max-save-datadir=1 --parallel=auto --skip-rpl --suite=main
--skip-test-list=/tmp/tmp.7zIWWw6Xed --vardir=/tmp/tmp.jEvJk1XG7x/var
--tmpdir=/tmp/tmp.jEvJk1XG7x/tmp
--xml-report=/tmp/autopkgtest-lxc.zcw200i1/downtmp/upstream-artifacts/mysql-test-run-junit.xml
312s VS config:
312s vardir: /tmp/tmp.jEvJk1XG7x/var
312s Removing old var directory...
312s Creating var directory '/tmp/tmp.jEvJk1XG7x/var'...
312s Checking supported features...
312s MariaDB Version 11.4.2-MariaDB-4
312s - SSL connections supported
312s Using suites: main
312s Collecting tests...
318s Installing system database...
329s - found 'core' (0/1)
329s gdb not found, cannot get the stack trace
329s
329s Trying 'dbx' to get a backtrace
329s
329s Trying 'lldb' to get a backtrace from coredump
/tmp/tmp.jEvJk1XG7x/var/install.db/core
333s Compressed file /tmp/tmp.jEvJk1XG7x/var/install.db/core
333s mysql-test-run: *** ERROR: Error executing mariadbd --bootstrap
333s Could not install system database from
/tmp/tmp.jEvJk1XG7x/var/log/bootstrap.sql
333s The /tmp/tmp.jEvJk1XG7x/var/log/bootstrap.log file contains:
333s /usr/sbin/mariadbd --no-defaults --disable-getopt-prefix-matching
--bootstrap --basedir=/usr
--datadir=/tmp/tmp.jEvJk1XG7x/var/install.db
--plugin-dir=/usr/lib/mysql/plugin --default-storage-engine=myisam
--loose-skip-plugin-feedback --loose-skip-plugin-innodb
--loose-skip-plugin-innodb-buffer-page-lru
--loose-skip-plugin-innodb-buffer-pool-stats
--loose-skip-plugin-innodb-cmp
--loose-skip-plugin-innodb-cmp-per-index
--loose-skip-plugin-innodb-cmp-per-index-reset
--loose-skip-plugin-innodb-cmp-reset --loose-skip-plugin-innodb-cmpmem
--loose-skip-plugin-innodb-cmpmem-reset
--loose-skip-plugin-innodb-ft-being-deleted
--loose-skip-plugin-innodb-ft-config
--loose-skip-plugin-innodb-ft-default-stopword
--loose-skip-plugin-innodb-ft-deleted
--loose-skip-plugin-innodb-ft-index-cache
--loose-skip-plugin-innodb-ft-index-table
--loose-skip-plugin-innodb-sys-columns
--loose-skip-plugin-innodb-sys-fields
--loose-skip-plugin-innodb-sys-foreign
--loose-skip-plugin-innodb-sys-foreign-cols
--loose-skip-plugin-innodb-sys-indexes
--loose-skip-plugin-innodb-sys-tables
--loose-skip-plugin-innodb-sys-tablespaces
--loose-skip-plugin-innodb-sys-tablestats
--loose-skip-plugin-innodb-sys-virtual
--loose-skip-plugin-innodb-tablespaces-encryption
--loose-skip-plugin-partition --loose-skip-plugin-sequence
--loose-skip-plugin-thread-pool-groups
--loose-skip-plugin-thread-pool-queues
--loose-skip-plugin-thread-pool-stats
--loose-skip-plugin-thread-pool-waits --loose-skip-plugin-unix-socket
--loose-skip-plugin-user-variables --loose-skip-plugin-wsrep-provider
--loose-innodb --loose-innodb-log-file-size=10M
--loose-innodb-fast-shutdown=0 --disable-sync-frm
--tmpdir=/tmp/tmp.jEvJk1XG7x/var/tmp/ --core-file --console
--character-set-server=latin1 --loose-disable-performance-schema
--lc-messages-dir=/usr/share/mariadb/
--character-sets-dir=/usr/share/mariadb/charsets
333s 2024-07-20 17:33:14 0 [Warning] Could not increase number of
max_open_files to more than 1024 (request: 32214)
333s 2024-07-20 17:33:14 0 [Warning] Changed limits: max_open_files:
1024 max_connections: 151 (was 151) table_cache: 421 (was 2000)
333s 2024-07-20 17:33:14 0 [Note] Starting MariaDB 11.4.2-MariaDB-4
source revision 3fca5ed772fb75e3e57c507edef2985f8eba5b12 as process
1536
333s 2024-07-20 17:33:14 0 [Note] Plugin 'partition' is disabled.
333s 2024-07-20 17:33:14 0 [Note] InnoDB: The first data file
'./ibdata1' did not exist. A new tablespace will be created!
333s 2024-07-20 17:33:14 0 [Note] InnoDB: Compressed tables use zlib 1.3.1
333s 2024-07-20 17:33:14 0 [Note] InnoDB: Number of transaction pools: 1
333s 2024-07-20 17:33:14 0 [Note] InnoDB: Using generic crc32 instructions
333s 2024-07-20 17:33:14 0 [Note] InnoDB: Using liburing
333s 2024-07-20 17:33:14 0 [Note] InnoDB: Initializing buffer pool,
total size = 128.000MiB, chunk size = 2.000MiB
333s 2024-07-20 17:33:14 0 [Note] InnoDB: Completed initialization of
buffer pool
333s 2024-07-20 17:33:14 0 [Note] InnoDB: Setting file './ibdata1'
size to 12.000MiB. Physically writing the file full; Please wait ...
333s 2024-07-20 17:33:14 0 [Note] InnoDB: File './ibdata1' size is now
12.000MiB.
333s 2024-07-20 17:33:14 0 [Note] InnoDB: Buffered log writes (block
size=512 bytes)
333s 2024-07-20 17:33:14 0 [Note] InnoDB: Data file .//undo001 did not
exist: new to be created
333s 2024-07-20 17:33:14 0 [Note] InnoDB: Setting file .//undo001 size
to 10.000MiB
333s 2024-07-20 17:33:14 0 [Note] InnoDB: Database physically writes
the file full: wait...
333s 2024-07-20 17:33:14 0 [Note] InnoDB: Data file .//undo002 did not
exist: new to be created
333s 2024-07-20 17:33:14 0 [Note] InnoDB: Setting file .//undo002 size
to 10.000MiB
333s 2024-07-20 17:33:14 0 [Note] InnoDB: Database physically writes
the file full: wait...
333s 2024-07-20 17:33:14 0 [Note] InnoDB: Data file .//undo003 did not
exist: new to be created
333s 2024-07-20 17:33:14 0 [Note] InnoDB: Setting file .//undo003 size
to 10.000MiB
333s 2024-07-20 17:33:14 0 [Note] InnoDB: Database physically writes
the file full: wait...
333s 2024-07-20 17:33:14 0 [Note] InnoDB: Doublewrite buffer not
found: creating new
333s 2024-07-20 17:33:14 0 [Note] InnoDB: Opened 3 undo tablespaces
333s 2024-07-20 17:33:14 0 [Note] InnoDB: 128 rollback segments in 3
undo tablespaces are active.
333s 2024-07-20 17:33:14 0 [Note] InnoDB: Setting file './ibtmp1' size
to 12.000MiB. Physically writing the file full; Please wait ...
333s 2024-07-20 17:33:14 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
333s 2024-07-20 17:33:14 0 [Note] InnoDB: log sequence number 0;
transaction id 3
333s 2024-07-20 17:33:14 0 [Note] Plugin 'SEQUENCE' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'INNODB_CMP_PER_INDEX' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'INNODB_FT_DELETED' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'INNODB_CMP' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'THREAD_POOL_WAITS' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'INNODB_CMP_RESET' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'THREAD_POOL_QUEUES' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'INNODB_SYS_FIELDS' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'INNODB_BUFFER_PAGE_LRU' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'FEEDBACK' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'INNODB_CMPMEM' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'THREAD_POOL_GROUPS' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET'
is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'INNODB_SYS_FOREIGN_COLS' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'INNODB_BUFFER_POOL_STATS' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'INNODB_SYS_FOREIGN' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD'
is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'INNODB_SYS_TABLES' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'INNODB_SYS_COLUMNS' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'INNODB_SYS_INDEXES' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'INNODB_SYS_VIRTUAL' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'user_variables' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin
'INNODB_TABLESPACES_ENCRYPTION' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'THREAD_POOL_STATS' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'unix_socket' is disabled.
333s 2024-07-20 17:33:14 0 [Note] Plugin 'wsrep_provider' is disabled.
333s The futex facility returned an unexpected error code.
333s 240720 17:33:25 [ERROR] mysqld got signal 6 ;
333s Sorry, we probably made a mistake, and this is a bug.
333s
333s Your assistance in bug reporting will enable us to fix this for
the next release.
333s To report this bug, see https://mariadb.com/kb/en/reporting-bugs
333s
333s We will try our best to scrape up some info that will hopefully help
333s diagnose the problem, but since we have already crashed,
333s something is definitely wrong and this may fail.
333s
333s Server version: 11.4.2-MariaDB-4 source revision:
3fca5ed772fb75e3e57c507edef2985f8eba5b12
333s key_buffer_size=134217728
333s read_buffer_size=131072
333s max_used_connections=0
333s max_threads=153
333s thread_count=0
333s It is possible that mysqld could use up to
333s key_buffer_size + (read_buffer_size +
sort_buffer_size)*max_threads = 468066 K bytes of memory
333s Hope that's ok; if not, decrease some variables in the equation.
333s
333s Thread pointer: 0x0
333s Attempting backtrace. You can use the following information to find out
333s where mysqld died. If you see no messages after this, something went
333s terribly wrong...
333s stack_bottom = 0x0 thread_stack 0x49000
333s /usr/sbin/mariadbd(my_print_stacktrace+0x4c)[0x5555575226ec]
333s /usr/sbin/mariadbd(handle_fatal_signal+0x338)[0x5555570450b0]
333s addr2line: 'linux-vdso.so.1': No such file
333s linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0x7ffffc3e489c]
333s /lib/loongarch64-linux-gnu/libc.so.6(+0x7a1c4)[0x7ffff2dba1c4]
333s /lib/loongarch64-linux-gnu/libc.so.6(gsignal+0x1c)[0x7ffff2d74fd4]
333s /lib/loongarch64-linux-gnu/libc.so.6(abort+0xec)[0x7ffff2d60a38]
333s /lib/loongarch64-linux-gnu/libc.so.6(__libc_fatal+0x0)[0x7ffff2dae0fc]
333s /lib/loongarch64-linux-gnu/libc.so.6(+0x6e110)[0x7ffff2dae110]
333s /lib/loongarch64-linux-gnu/libc.so.6(+0x74c74)[0x7ffff2db4c74]
333s /lib/loongarch64-linux-gnu/libc.so.6(pthread_cond_clockwait+0x208)[0x7ffff2db7f5c]
333s /usr/sbin/mariadbd(_ZN5tpool19thread_pool_generic14wait_for_tasksERSt11unique_lockISt5mutexEPNS_11worker_dataE+0x134)[0x5555574c41b8]
333s /usr/sbin/mariadbd(_ZN5tpool19thread_pool_generic8get_taskEPNS_11worker_dataEPPNS_4taskE+0x8c)[0x5555574c497c]
333s /usr/sbin/mariadbd(_ZN5tpool19thread_pool_generic11worker_mainEPNS_11worker_dataE+0x80)[0x5555574c4ae8]
333s /lib/loongarch64-linux-gnu/libstdc++.so.6(+0xebf7c)[0x7ffff303ff7c]
333s /lib/loongarch64-linux-gnu/libc.so.6(+0x78500)[0x7ffff2db8500]
333s /lib/loongarch64-linux-gnu/libc.so.6(+0xe01a4)[0x7ffff2e201a4]
333s The manual page at
https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mariadbd/
contains
333s information that should help you find out what is causing the crash.
333s Writing a core file...
333s Working directory at /tmp/tmp.jEvJk1XG7x/var/install.db
333s Resource Limits:
333s Limit Soft Limit Hard Limit
Units
333s Max cpu time unlimited unlimited
seconds
333s Max file size unlimited unlimited
bytes
333s Max data size unlimited unlimited
bytes
333s Max stack size 8388608 unlimited
bytes
333s Max core file size unlimited unlimited
bytes
333s Max resident set unlimited unlimited
bytes
333s Max processes 520505 520505
processes
333s Max open files 1024 1024
files
333s Max locked memory 17062428672 17062428672
bytes
333s Max address space unlimited unlimited
bytes
333s Max file locks unlimited unlimited
locks
333s Max pending signals 520505 520505
signals
333s Max msgqueue size 819200 819200
bytes
333s Max nice priority 0 0
333s Max realtime priority 0 0
333s Max realtime timeout unlimited unlimited
us
333s Core pattern: core
333s
333s Kernel version: Linux version 6.5.0-3-loongson-3
(debian-kernel at lists.debian.org) (gcc-13 (Debian 13.2.0-4) 13.2.0, GNU
ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Debian 6.5.8-2
(2023-10-24)
333s
333s
333s
334s autopkgtest [17:33:30]: test upstream: -----------------------]
334s upstream FAIL non-zero exit status 1
More information about the pkg-mysql-maint
mailing list