Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Fix
-
10.0.22
-
10.1.9-3
Description
Login to a Ubuntu-15.10 x86_64 machine, e.g. like this:
bar@ubuntu15:~$ uname -a
|
Linux ubuntu15 4.2.0-16-generic #19-Ubuntu SMP Thu Oct 8 15:35:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
|
bar@ubuntu15:~$ cat /etc/debian_version
|
jessie/sid
|
Run the following commands:
git clone -b 10.0 git@github.com:MariaDB/server.git
|
mkdir builddir
|
cd builddir/
|
export CFLAGS="-g -Wl,-Bsymbolic-functions "
|
export CXXFLAGS="-g -Wl,-Bsymbolic-functions "
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
-DWITH_SSL=bundled \
|
-DWITH_ZLIB=system \
|
-DBUILD_CONFIG=mysql_release \
|
..
|
make -j6
|
cd mysql-test
|
./mtr tokudb_bugs.db823
|
It generates the following output:
TEST RESULT TIME (ms) or COMMENT
|
--------------------------------------------------------------------------
|
|
worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 16000..16019
|
tokudb_bugs.db823 'innodb_plugin' [ pass ] 158
|
***Warnings generated in error logs during shutdown after running tests: tokudb_bugs.db823
|
|
151106 13:24:13 [ERROR] mysqld got signal 11 ;
|
Attempting backtrace. You can use the following information to find out
|
|
|
Only 1 of 2 completed.
|
--------------------------------------------------------------------------
|
The servers were restarted 0 times
|
Spent 0.158 of 6 seconds executing testcases
|
|
Warnings in log: All 1 tests were successful.
|
|
Errors/warnings were found in logfiles during server shutdown after running the
|
following sequence(s) of tests:
|
tokudb_bugs.db823
|
mysql-test-run: *** ERROR: There where errors/warnings in server logs after running test cases.
|
Now If I run with gdb:
./mtr --gdb tokudb_bugs.db823
|
it displays the following stack trace:
Program received signal SIGSEGV, Segmentation fault.
|
[Switching to Thread 0x7ffff7f33700 (LWP 26951)]
|
0x00007fffef97b920 in ?? ()
|
(gdb) where
|
#0 0x00007fffef97b920 in ?? ()
|
#1 0x00007ffff70fc359 in __nptl_deallocate_tsd () at pthread_create.c:175
|
#2 0x00007ffff70fd76d in __nptl_deallocate_tsd ()
|
at ../sysdeps/unix/sysv/linux/exit-thread.h:36
|
#3 start_thread (arg=0x7ffff7f33700) at pthread_create.c:346
|
#4 0x00007ffff67a8eed in clone ()
|
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
|
|
(gdb) info thread
|
Id Target Id Frame
|
* 50 Thread 0x7ffff7f33700 (LWP 26951) "mysqld" (Exiting) 0x00007fffef97b920 in ?? ()
|
1 Thread 0x7ffff7fd9780 (LWP 26889) "mysqld" 0x00007ffff67a3817 in madvise
|
() at ../sysdeps/unix/syscall-template.S:81
|
|
(gdb) t 1
|
[Switching to thread 1 (Thread 0x7ffff7fd9780 (LWP 26889))]
|
#0 0x00007ffff67a3817 in madvise () at ../sysdeps/unix/syscall-template.S:81
|
81 in ../sysdeps/unix/syscall-template.S
|
(gdb) where
|
#0 0x00007ffff67a3817 in madvise () at ../sysdeps/unix/syscall-template.S:81
|
#1 0x0000000000c60c0e in je_pages_purge ()
|
#2 0x0000000000c5c072 in arena_purge ()
|
#3 0x0000000000c5d76d in je_arena_dalloc_large ()
|
#4 0x0000000000991dee in cleanup_instruments ()
|
at /home/bar/maria-bzr/server/storage/perfschema/pfs_instr.cc:534
|
#5 0x0000000000999907 in cleanup_performance_schema ()
|
at /home/bar/maria-bzr/server/storage/perfschema/pfs_server.cc:165
|
#6 0x000000000099a191 in shutdown_performance_schema ()
|
at /home/bar/maria-bzr/server/storage/perfschema/pfs_server.cc:196
|
#7 0x0000000000524334 in mysqld_exit (exit_code=exit_code@entry=0)
|
at /home/bar/maria-bzr/server/sql/mysqld.cc:1975
|
#8 0x000000000052f3ea in mysqld_main (argc=138, argv=0x7ffff5c6ba58)
|
at /home/bar/maria-bzr/server/sql/mysqld.cc:5626
|
#9 0x00007ffff66c2a40 in __libc_start_main (
|
main=0x514540 <main(int, char**)>, argc=22, argv=0x7fffffffb8a8,
|
init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
|
stack_end=0x7fffffffb898) at libc-start.c:289
|
#10 0x0000000000523c39 in _start ()
|