(gdb) info threads Id Target Id Frame * 20 Thread 0x7f4ba186ab00 (LWP 60412) "mysqld" 0x00007f526ad02869 in pqdownheap () from /lib64/libz.so.1 (gdb) thread 20 [Switching to thread 20 (Thread 0x7f4ba186ab00 (LWP 60412))] #0 0x00007f526ad02869 in pqdownheap () from /lib64/libz.so.1 (gdb) catch sys madvise Catchpoint 1 (syscall 'madvise' [28]) (gdb) conti Continuing. Catchpoint 1 (call to syscall madvise), 0x00007f52696dbae7 in madvise () from /lib64/libc.so.6 (gdb) bt #0 0x00007f52696dbae7 in madvise () from /lib64/libc.so.6 #1 0x00007f526aad562e in je_pages_purge () from /lib64/libjemalloc.so.1 #2 0x00007f526aad0a92 in arena_purge () from /lib64/libjemalloc.so.1 #3 0x00007f526aad218d in je_arena_dalloc_large () from /lib64/libjemalloc.so.1 #4 0x00007f522fc8c8bd in mem_heap_block_free (heap=heap@entry=0x7f36cb617000, block=0x7f36cb617000) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/storage/innobase/mem/mem0mem.cc:521 #5 0x00007f522fcac43f in mem_heap_free_func (file_name=0x7f522fd6eae0 "/home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/storage/innobase/page/page0zip.cc", line=1476, heap=0x7f36cb617000) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/storage/innobase/include/mem0mem.ic:510 #6 page_zip_compress (page_zip=page_zip@entry=0x7f41bd5a6110, page=page@entry=0x7f42101e0000 "\204\354\r\222", index=index@entry=0x7f36cb4323e8, level=, mtr=mtr@entry=0x7f4ba1869300) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/storage/innobase/page/page0zip.cc:1476 #7 0x00007f522fcadf8f in page_zip_reorganize (block=block@entry=0x7f41bd5a6100, index=index@entry=0x7f36cb4323e8, mtr=mtr@entry=0x7f4ba1869300) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/storage/innobase/page/page0zip.cc:4683 #8 0x00007f522fca5aa9 in page_copy_rec_list_start (new_block=0x7f41bd5a6100, block=block@entry=0x7f450a67eb60, rec=0x7f456f7d4070 "supremum", index=index@entry=0x7f36cb4323e8, mtr=mtr@entry=0x7f4ba1869300) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/storage/innobase/page/page0page.cc:855 #9 0x00007f522fb5e20c in btr_compress (cursor=cursor@entry=0x7f4ba1869220, adjust=0, mtr=0x7f4ba1869300) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/storage/innobase/btr/btr0btr.cc:3963 #10 0x00007f522fb6695c in btr_cur_compress_if_useful (cursor=cursor@entry=0x7f4ba1869220, adjust=adjust@entry=0, mtr=mtr@entry=0x7f4ba1869300) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/storage/innobase/btr/btr0cur.cc:3297 #11 0x00007f522fb6cb2d in btr_cur_pessimistic_delete (err=err@entry=0x7f4ba1869210, has_reserved_extents=has_reserved_extents@entry=0, cursor=cursor@entry=0x7f4ba1869220, flags=flags@entry=0, rb_ctx=rb_ctx@entry=RB_NORMAL, mtr=mtr@entry=0x7f4ba1869300) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/storage/innobase/btr/btr0cur.cc:3555 #12 0x00007f522fd0045c in row_undo_ins_remove_sec_low (mode=33, index=index@entry=0x7f36cb4323e8, entry=entry@entry=0x7f36cb4a7168, mode=33) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/storage/innobase/row/row0uins.cc:245 #13 0x00007f522fd01483 in row_undo_ins_remove_sec (entry=0x7f36cb4a7168, index=0x7f36cb4323e8) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/storage/innobase/row/row0uins.cc:280 #14 row_undo_ins_remove_sec_rec (node=0x7f36cb495a68) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/storage/innobase/row/row0uins.cc:397 #15 row_undo_ins (node=node@entry=0x7f36cb495a68) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/storage/innobase/row/row0uins.cc:451 #16 0x00007f522fd04ca9 in row_undo (thr=0x7f36cb4329b0, node=0x7f36cb495a68) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/storage/innobase/row/row0undo.cc:304 #17 row_undo_step (thr=thr@entry=0x7f36cb4329b0) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/storage/innobase/row/row0undo.cc:351 #18 0x00007f522fcbf4fe in que_thr_step (thr=0x7f36cb4329b0) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/storage/innobase/que/que0que.cc:1077 #19 que_run_threads_low (thr=0x7f36cb4329b0) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/storage/innobase/que/que0que.cc:1141 #20 que_run_threads (thr=) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/storage/innobase/que/que0que.cc:1182 #21 0x00007f522fd2bacb in trx_rollback_to_savepoint_low (trx=trx@entry=0x7f36cb495468, savept=savept@entry=0x0) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/storage/innobase/trx/trx0roll.cc:113 #22 0x00007f522fd2bf10 in trx_rollback_for_mysql_low (trx=0x7f36cb495468) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/storage/innobase/trx/trx0roll.cc:176 #23 trx_rollback_for_mysql (trx=trx@entry=0x7f36cb495468) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/storage/innobase/trx/trx0roll.cc:207 #24 0x00007f522fc2b0f5 in innobase_rollback (hton=, thd=0x7f36c5a7e008, rollback_trx=) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/storage/innobase/handler/ha_innodb.cc:4425 #25 0x000055b20a0b2bb3 in ha_rollback_trans (thd=thd@entry=0x7f36c5a7e008, all=all@entry=true) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/sql/handler.cc:1671 #26 0x000055b20a00aeba in trans_rollback (thd=thd@entry=0x7f36c5a7e008) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/sql/transaction.cc:340 #27 0x000055b209ef91f2 in THD::cleanup (this=this@entry=0x7f36c5a7e008) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/sql/sql_class.cc:1586 #28 0x000055b209e8b25a in thd_cleanup (thd=thd@entry=0x7f36c5a7e008) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/sql/mysqld.cc:2756 #29 0x000055b209e8b447 in unlink_thd (thd=0x7f36c5a7e008) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/sql/mysqld.cc:2824 #30 0x000055b209e8b600 in one_thread_per_connection_end (thd=, put_in_cache=) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/sql/mysqld.cc:2952 #31 0x000055b209ffcd83 in do_handle_one_connection (thd_arg=thd_arg@entry=0x7f36c5a7e008) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/sql/sql_connect.cc:1368 #32 0x000055b209ffcfa0 in handle_one_connection (arg=arg@entry=0x7f36c5a7e008) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/sql/sql_connect.cc:1261 #33 0x000055b20a23d49d in pfs_spawn_thread (arg=0x7f374a7f3808) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.1.29/storage/perfschema/pfs.cc:1861 #34 0x00007f526b33de25 in start_thread () from /lib64/libpthread.so.0 #35 0x00007f52696e134d in clone () from /lib64/libc.so.6