10.4 71848585f81690babb70cba345719a5d178b00d7 2019-04-10T11:19:38+03:00
|
with the patch from above applied and compiled with debug leads to
|
Logging: 10.4/mysql-test/mysql-test-run.pl --mem 1st
|
vardir: 10.4/bld_debug/mysql-test/var
|
Checking leftover processes...
|
Removing old var directory...
|
Creating var directory '10.4/bld_debug/mysql-test/var'...
|
- symlinking 'var' to '/dev/shm/var_auto_2u03'
|
Checking supported features...
|
MariaDB Version 10.4.5-MariaDB-debug
|
- SSL connections supported
|
- binaries are debug compiled
|
Collecting tests...
|
Installing system database...
|
mysql-test-run: *** ERROR: Error executing mysqld --bootstrap
|
Could not install system database from 10.4/bld_debug/mysql-test/var/log/bootstrap.sql
|
The 10.4/bld_debug/mysql-test/var/log/bootstrap.log file contains:
|
10.4/bld_debug/sql/mysqld --no-defaults --disable-getopt-prefix-matching --bootstrap --basedir=10.4 --datadir=10.4/bld_debug/mysql-test/var/install.db --plugin-dir=10.4/bld_debug/mysql-test/var/plugins --default-storage-engine=myisam --loose-skip-plugin-feedback --loose-skip-plugin-innodb --loose-skip-plugin-innodb-buffer-page --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-lock-waits --loose-skip-plugin-innodb-locks --loose-skip-plugin-innodb-metrics --loose-skip-plugin-innodb-mutexes --loose-skip-plugin-innodb-sys-columns --loose-skip-plugin-innodb-sys-datafiles --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-semaphore-waits --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-innodb-tablespaces-scrubbing --loose-skip-plugin-innodb-trx --loose-skip-plugin-partition --loose-skip-plugin-sequence --loose-skip-plugin-unix-socket --loose-skip-plugin-user-variables --loose-innodb --loose-innodb-log-file-size=5M --disable-sync-frm --tmpdir=10.4/bld_debug/mysql-test/var/tmp/ --core-file --console --lc-messages-dir=10.4/bld_debug/sql/share/ --character-sets-dir=10.4/sql/share/charsets
|
2019-04-11 14:26:12 0 [Note] 10.4/bld_debug/sql/mysqld (mysqld 10.4.5-MariaDB-debug) starting as ...
|
2019-04-11 14:26:13 0 [Note] Plugin 'unix_socket' is disabled.
|
mysqld: 10.4/storage/maria/ma_pagecache.c:2667: make_lock_and_pin: Assertion `block->hash_link->requests > 0' failed.
|
190411 14:26:13 [ERROR] mysqld got signal 6 ;
|
This could be because you hit a bug. It is also possible that this binary
|
or one of the libraries it was linked against is corrupt, improperly built,
|
or misconfigured. This error can also be caused by malfunctioning hardware.
|
|
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
|
|
We will try our best to scrape up some info that will hopefully help
|
diagnose the problem, but since we have already crashed,
|
something is definitely wrong and this may fail.
|
|
Server version: 10.4.5-MariaDB-debug
|
key_buffer_size=134217728
|
read_buffer_size=131072
|
max_used_connections=0
|
max_threads=153
|
thread_count=6
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467808 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x55e7e09fc5b8
|
Attempting backtrace. You can use the following information to find out
|
where mysqld died. If you see no messages after this, something went
|
terribly wrong...
|
stack_bottom = 0x7fff187172f8 thread_stack 0x49000
|
10.4/bld_debug/sql/mysqld(my_print_stacktrace+0x40)[0x55e7ddf52fe9]
|
mysys/stacktrace.c:269(my_print_stacktrace)[0x55e7dd786a92]
|
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11670)[0x7f1e8f630670]
|
linux/raise.c:58(__GI_raise)[0x7f1e8e7e177f]
|
stdlib/abort.c:91(__GI_abort)[0x7f1e8e7e337a]
|
assert/assert.c:92(__assert_fail_base)[0x7f1e8e7d9b47]
|
/lib/x86_64-linux-gnu/libc.so.6(+0x2dbf2)[0x7f1e8e7d9bf2]
|
maria/ma_pagecache.c:2668(make_lock_and_pin)[0x55e7dddae1d7]
|
maria/ma_pagecache.c:4400(flush_cached_blocks)[0x55e7dddb260d]
|
maria/ma_pagecache.c:4718(flush_pagecache_blocks_int)[0x55e7dddb320c]
|
maria/ma_pagecache.c:4833(flush_pagecache_blocks_with_filter)[0x55e7dddb363c]
|
maria/ma_extra.c:650(_ma_flush_table_files)[0x55e7dddcef0b]
|
maria/ma_check.c:2310(protect_against_repair_crash)[0x55e7dde17d8d]
|
maria/ma_check.c:2404(initialize_variables_for_repair)[0x55e7dde1819a]
|
maria/ma_check.c:3702(maria_repair_by_sort)[0x55e7dde1c07a]
|
maria/ha_maria.cc:1724(ha_maria::repair(THD*, st_handler_check_param*, bool))[0x55e7ddd83e25]
|
maria/ha_maria.cc:2082(ha_maria::enable_indexes(unsigned int))[0x55e7ddd84cf2]
|
maria/ha_maria.cc:2291(ha_maria::end_bulk_insert())[0x55e7ddd854f4]
|
sql/handler.h:3287(handler::ha_end_bulk_insert())[0x55e7dd41523f]
|
sql/sql_insert.cc:3932(select_insert::prepare_eof())[0x55e7dd411d3d]
|
sql/sql_insert.cc:4029(select_insert::send_eof())[0x55e7dd412456]
|
sql/sql_select.cc:19630(do_select(JOIN*, Procedure*))[0x55e7dd4cb348]
|
sql/sql_select.cc:4388(JOIN::exec_inner())[0x55e7dd4a2269]
|
sql/sql_select.cc:4171(JOIN::exec())[0x55e7dd4a1416]
|
sql/sql_select.cc:4604(mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*))[0x55e7dd4a2abb]
|
sql/sql_select.cc:424(handle_select(THD*, LEX*, select_result*, unsigned long))[0x55e7dd4930de]
|
sql/sql_parse.cc:4897(mysql_execute_command(THD*))[0x55e7dd45524c]
|
sql/sql_parse.cc:8154(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x55e7dd460841]
|
sql/sql_parse.cc:1100(bootstrap(st_mysql_file*))[0x55e7dd449aaa]
|
sql/mysqld.cc:5794(mysqld_main(int, char**))[0x55e7dd3232fd]
|
sql/main.cc:26(main)[0x55e7dd3179d0]
|
csu/libc-start.c:325(__libc_start_main)[0x7f1e8e7cc3f1]
|
10.4/bld_debug/sql/mysqld(_start+0x2a)[0x55e7dd3178aa]
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x55e7e1857f60): INSERT INTO proxies_priv SELECT * FROM tmp_proxies_priv WHERE @had_proxies_priv_table=0;
|
Connection ID (thread ID): 6
|
Status: NOT_KILLED
|
|
Previous attempts without the patch from above were leading to
|
1. mysql-test-run.pl --mem 1st passes
|
2. I made more than 100 runs of the RQG test mentioned in the bug report above but all failed quite early
|
showing already reported bugs.
|
Sergey Vojtovich, could you provide another patch?
|
|
|