Details
-
Bug
-
Status: Confirmed (View Workflow)
-
Critical
-
Resolution: Unresolved
-
11.4, 11.8
-
None
Description
Ubuntu is in the process of upgrading their build chain to use amd64v3 instruction set for all amd64 builds. See announcement https://discourse.ubuntu.com/t/introducing-architecture-variants-amd64v3-now-available-in-ubuntu-25-10/71312
The build of MariaDB 1:11.8.5-1 in Ubuntu devel version (upcoming 26.04 "Resolute") is not compatible with amd64v3 and currently fails with:
main.connect w2 [ fail ]
|
Test ended at 2025-12-17 13:10:30
|
|
|
CURRENT_TEST: main.connect
|
|
|
|
|
The server [mysqld.1 - pid: 49401, winpid: 49401, exit: 256] crashed while running 'check testcase before test'
|
Server log from this test:
|
----------SERVER LOG START-----------
|
$ /<<PKGBUILDDIR>>/builddir/sql/mariadbd --defaults-group-suffix=.1 --defaults-file=/<<PKGBUILDDIR>>/builddir/mysql-test/var/2/my.cnf --log-output=file --core-file --loose-debug-sync-timeout=300
|
2025-12-17 13:10:27 0 [Warning] Could not increase number of max_open_files to more than 1024 (request: 32186)
|
2025-12-17 13:10:27 0 [Warning] Changed limits: max_open_files: 1024 max_connections: 151 (was 151) table_cache: 421 (was 2000)
|
2025-12-17 13:10:27 0 [Note] Starting MariaDB 11.8.5-MariaDB-3 from Ubuntu-log source revision a74edc42d080a73e20d5d94e1dd5beea400b507c server_uid EAw9z3K9n2vfeyDiAdxX/BG+erk= as process 49405
|
2025-12-17 13:10:27 0 [Note] Plugin 'partition' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'InnoDB' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'SEQUENCE' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_CMP_PER_INDEX' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_FT_DELETED' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_CMP' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'THREAD_POOL_WAITS' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_CMP_RESET' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'THREAD_POOL_QUEUES' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_SYS_FIELDS' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_BUFFER_PAGE_LRU' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'FEEDBACK' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_CMPMEM' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'THREAD_POOL_GROUPS' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_SYS_FOREIGN_COLS' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_BUFFER_POOL_STATS' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_SYS_FOREIGN' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_SYS_TABLES' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_SYS_COLUMNS' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_SYS_INDEXES' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_SYS_VIRTUAL' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'user_variables' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'INNODB_TABLESPACES_ENCRYPTION' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'THREAD_POOL_STATS' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'unix_socket' is disabled.
|
2025-12-17 13:10:27 0 [Note] Plugin 'wsrep_provider' is disabled.
|
2025-12-17 13:10:27 0 [Warning] /<<PKGBUILDDIR>>/builddir/sql/mariadbd: unknown variable 'loose-feedback-debug-startup-interval=20'
|
2025-12-17 13:10:27 0 [Warning] /<<PKGBUILDDIR>>/builddir/sql/mariadbd: unknown variable 'loose-feedback-debug-first-interval=60'
|
2025-12-17 13:10:27 0 [Warning] /<<PKGBUILDDIR>>/builddir/sql/mariadbd: unknown variable 'loose-feedback-debug-interval=60'
|
2025-12-17 13:10:27 0 [Warning] /<<PKGBUILDDIR>>/builddir/sql/mariadbd: unknown option '--loose-pam-debug'
|
2025-12-17 13:10:27 0 [Warning] /<<PKGBUILDDIR>>/builddir/sql/mariadbd: unknown option '--loose-aria'
|
2025-12-17 13:10:27 0 [Warning] /<<PKGBUILDDIR>>/builddir/sql/mariadbd: unknown variable 'loose-debug-sync-timeout=300'
|
2025-12-17 13:10:27 0 [Note] Server socket created on IP: '127.0.0.1', port: '19000'.
|
2025-12-17 13:10:27 0 [Note] Server socket created on IP: '127.0.0.1', port: '19001'.
|
2025-12-17 13:10:27 0 [Note] mariadbd: Event Scheduler: Loaded 0 events
|
2025-12-17 13:10:27 0 [Note] /<<PKGBUILDDIR>>/builddir/sql/mariadbd: ready for connections.
|
Version: '11.8.5-MariaDB-3 from Ubuntu-log' socket: '/<<PKGBUILDDIR>>/builddir/mysql-test/var/tmp/2/mysqld.1.sock' port: 19000 -- Please help get to 10k stars at https://github.com/MariaDB/Server
|
251217 13:10:27 [ERROR] /<<PKGBUILDDIR>>/builddir/sql/mariadbd got signal 11 ;
|
Sorry, we probably made a mistake, and this is a bug.
|
|
|
Your assistance in bug reporting will enable us to fix this for the next release.
|
To report this bug, see https://mariadb.com/kb/en/reporting-bugs about how to report
|
a bug on https://jira.mariadb.org/.
|
|
|
Please include the information from the server start above, to the end of the
|
information below.
|
|
|
Server version: 11.8.5-MariaDB-3 from Ubuntu-log source revision: a74edc42d080a73e20d5d94e1dd5beea400b507c
|
|
|
The information page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mariadbd/
|
contains instructions to obtain a better version of the backtrace below.
|
Following these instructions will help MariaDB developers provide a fix quicker.
|
|
|
Attempting backtrace. Include this in the bug report.
|
(note: Retrieving this information may fail)
|
|
|
Thread pointer: 0x7e6ad8000cd8
|
stack_bottom = 0x7e6af4266000 thread_stack 0x49000
|
/<<PKGBUILDDIR>>/builddir/sql/mariadbd(my_print_stacktrace+0x30) [0x59c23b6be2a0]
|
src/mariadb-1:11(handle_fatal_signal)[0x59c23b12ce63]
|
/usr/lib/x86_64-linux-gnu/libc.so.6(+0x45f30) [0x7e6afa245f30]
|
/<<PKGBUILDDIR>>/builddir/sql/mariadbd(my_convert+0x24f) [0x59c23b73fa9f]
|
src/mariadb-1:11(Charset::set_charset(charset_info_st const*))[0x59c23aeb1a1c]
|
src/mariadb-1:11(Protocol::net_store_data_cs(unsigned char const*, unsigned long, charset_info_st const*, charset_info_st const*))[0x59c23aca0793]
|
src/mariadb-1:11(Binary_string::free_buffer())[0x59c23b103b64]
|
src/mariadb-1:11(Protocol::send_result_set_row(List<Item>*))[0x59c23ac98f27]
|
src/mariadb-1:11(select_send::send_data(List<Item>&))[0x59c23ad506e6]
|
src/mariadb-1:11(end_send(JOIN*, st_join_table*, bool) [clone .lto_priv.0])[0x59c23ae5c4e5]
|
src/mariadb-1:11(THD::get_stmt_da())[0x59c23ae5d0b6]
|
src/mariadb-1:11(sub_select(JOIN*, st_join_table*, bool))[0x59c23ae5d4d7]
|
src/mariadb-1:11(JOIN::exec_inner())[0x59c23ae2608e]
|
src/mariadb-1:11(JOIN::exec())[0x59c23ae26477]
|
src/mariadb-1:11(mysql_select(THD*, TABLE_LIST*, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*))[0x59c23ae32311]
|
src/mariadb-1:11(handle_select(THD*, LEX*, select_result*, unsigned long long))[0x59c23ae32e85]
|
src/mariadb-1:11(execute_sqlcom_select(THD*, TABLE_LIST*))[0x59c23adc6a53]
|
src/mariadb-1:11(mysql_execute_command(THD*, bool))[0x59c23add2596]
|
src/mariadb-1:11(sp_instr_stmt::exec_core(THD*, unsigned int*))[0x59c23b03b3bb]
|
src/mariadb-1:11(sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*, bool))[0x59c23b02fa07]
|
src/mariadb-1:11(sp_lex_keeper::validate_lex_and_exec_core(THD*, unsigned int*, bool, sp_lex_instr*))[0x59c23b02ff31]
|
src/mariadb-1:11(sp_instr_stmt::execute(THD*, unsigned int*))[0x59c23b038f62]
|
src/mariadb-1:11(sp_head::execute(THD*, bool))[0x59c23ace3a9b]
|
src/mariadb-1:11(sp_head::execute_procedure(THD*, List<Item>*))[0x59c23ace4bd7]
|
src/mariadb-1:11(do_execute_sp(THD*, sp_head*))[0x59c23adc59b7]
|
src/mariadb-1:11(Sql_cmd_call::execute(THD*))[0x59c23adce97b]
|
src/mariadb-1:11(mysql_execute_command(THD*, bool))[0x59c23adcfb67]
|
src/mariadb-1:11(THD::enter_stage(PSI_stage_info_v1 const*, char const*, char const*, unsigned int))[0x59c23add38e5]
|
src/mariadb-1:11(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool))[0x59c23add606e]
|
src/mariadb-1:11(do_command(THD*, bool))[0x59c23add7ae9]
|
src/mariadb-1:11(do_handle_one_connection(CONNECT*, bool))[0x59c23af9b146]
|
src/mariadb-1:11(handle_one_connection)[0x59c23af9b5be]
|
src/mariadb-1:11(pfs_spawn_thread)[0x59c23b3ab47f]
|
/usr/lib/x86_64-linux-gnu/libc.so.6(+0xa3d24) [0x7e6afa2a3d24]
|
/usr/lib/x86_64-linux-gnu/libc.so.6(+0x13737c) [0x7e6afa33737c]
|
|
|
Connection ID (thread ID): 3
|
Status: NOT_KILLED
|
Query (0x7e6ad82332c0): SELECT CONCAT(table_schema, '.', table_name) AS columns_in_mysql, column_name, ordinal_position, column_default, is_nullable, data_type, character_maximum_length, character_octet_length, numeric_precision, numeric_scale, character_set_name, collation_name, column_type, column_key, extra, column_comment FROM INFORMATION_SCHEMA.COLUMNS WHERE table_schema='mysql' ORDER BY columns_in_mysql
|
|
|
Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off,hash_join_cardinality=on,cset_narrowing=on,sargable_casefold=on
|
|
|
Writing a core file...
|
Working directory at /<<PKGBUILDDIR>>/builddir/mysql-test/var/2/mysqld.1/data
|
Resource Limits (excludes unlimited resources):
|
Limit Soft Limit Hard Limit Units
|
Max stack size 8388608 unlimited bytes
|
Max processes 63820 63820 processes
|
Max open files 1024 1024 files
|
Max locked memory 8388608 8388608 bytes
|
Max pending signals 63820 63820 signals
|
Max msgqueue size 819200 819200 bytes
|
Max nice priority 0 0
|
Max realtime priority 0 0
|
Core pattern: |/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -F%F -- %E
|
|
|
Kernel version: Linux version 6.8.0-90-generic (buildd@lcy02-amd64-092) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #91-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 18 14:14:30 UTC 2025
|
|
|
----------SERVER LOG END-------------
|
mysqltest failed but provided no output
|
Technically this is not the build, but the test, but looking at the situation with every test failing to run it seems the binaries were build wrongly somehow.
Full build log at https://launchpadlibrarian.net/838138247/buildlog_ubuntu-resolute-amd64v3.mariadb_1%3A11.8.5-3_BUILDING.txt.gz
You can reproduce this build by using Debian unstable or Ubuntu resolute and exporting in your shell these variables before starting the build:
```
export DEB_CFLAGS_APPEND=-march=x86-64-v3
export DEB_CXXFLAGS_APPEND=-march=x86-64-v3
```
Using priority "Major" as amd64v3 is a very common architecture and Ubuntu a very widely used distro, and MariaDB should be try to follow it's toolchain changes.
Attachments
Issue Links
- relates to
-
MDEV-20277 Disable -fno-strict-aliasing
-
- Open
-