Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
10.11, 11.4, 11.8, 12.3
-
None
-
Can result in hang or crash
Description
INSTALL SONAME 'ha_rocksdb'; |
Leads to:
|
CS 10.11.19 2753b5919a10abd32ba822877c6a1cbf602d3748 (Optimized, Clang 22.1.8-20260621) Build 09/09/2026 |
Core was generated by `/test/MD090926-mariadb-10.11.19-linux-x86_64-opt/bin/mariadbd --no-defaults --l'.
|
Program terminated with signal SIGABRT, Aborted.
|
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)at ./nptl/pthread_kill.c:44
|
|
|
[Current thread is 1 (LWP 124086)]
|
(gdb) bt
|
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)at ./nptl/pthread_kill.c:44
|
#1 __pthread_kill_internal (signo=6, threadid=<optimized out>)at ./nptl/pthread_kill.c:78
|
#2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6)at ./nptl/pthread_kill.c:89
|
#3 0x0000766fb124527e in __GI_raise (sig=sig@entry=6)at ../sysdeps/posix/raise.c:26
|
#4 0x0000766fb12288ff in __GI_abort () at ./stdlib/abort.c:79
|
#5 0x0000766fb12297b6 in __libc_message_impl (fmt=fmt@entry=0x766fb13ce8d7 "%s\n") at ../sysdeps/posix/libc_fatal.c:134
|
#6 0x0000766fb12a90d5 in malloc_printerr (str=str@entry=0x766fb13d1520 "munmap_chunk(): invalid pointer")at ./malloc/malloc.c:5775
|
#7 0x0000766fb12a955c in munmap_chunk (p=<optimized out>)at ./malloc/malloc.c:3040
|
#8 0x0000766fb12adefa in __GI___libc_free (mem=0x766fb1b391f8)at ./malloc/malloc.c:3388
|
#9 0x000063486c120b21 in ignore_db_dirs_append (dirname_arg=0x6e6eb0076eca "#rocksdb")at /test/10.11_opt/sql/sql_show.cc:782
|
#10 0x0000766f81695495 in myrocks::rocksdb_init_func (p=<optimized out>)at /test/10.11_opt/storage/rocksdb/ha_rocksdb.cc:5304
|
#11 0x000063486c2d2bf9 in ha_initialize_handlerton (plugin_=0x6348aca367c0)at /test/10.11_opt/sql/handler.cc:654
|
#12 0x000063486c0bf666 in plugin_do_initialize (plugin=plugin@entry=0x6348aca367c0, state=@0x766f83f1d7b4: 4)at /test/10.11_opt/sql/sql_plugin.cc:1457
|
#13 0x000063486c0bf2a1 in plugin_initialize (tmp_root=0x6e6eb0006bc0, plugin=0x6348aca367c0, argc=argc@entry=0x766f83f1d86c, argv=argv@entry=0x6e6eb0025f68, options_only=false)at /test/10.11_opt/sql/sql_plugin.cc:1511
|
#14 0x000063486c0c12fe in finalize_install (thd=thd@entry=0x6e6eb0000c68, table=table@entry=0x6e6eb00108a8, name=name@entry=0x766f83f1d838, argc=argc@entry=0x766f83f1d86c, argv=0x6e6eb0025f68)at /test/10.11_opt/sql/sql_plugin.cc:2260
|
#15 0x000063486c0c0c07 in mysql_install_plugin (thd=thd@entry=0x6e6eb0000c68, name=<optimized out>, dl_arg=<optimized out>)at /test/10.11_opt/sql/sql_plugin.cc:2367
|
#16 0x000063486c0a70a5 in mysql_execute_command (thd=thd@entry=0x6e6eb0000c68, is_called_from_prepared_stmt=false)at /test/10.11_opt/sql/sql_parse.cc:6088
|
#17 0x000063486c0a0aad in mysql_parse (thd=thd@entry=0x6e6eb0000c68, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x766f83f1e560)at /test/10.11_opt/sql/sql_parse.cc:8210
|
#18 0x000063486c09f1e0 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x6e6eb0000c68, packet=packet@entry=0x6e6eb0008749 "INSTALL SONAME 'ha_rocksdb'", packet_length=packet_length@entry=27, blocking=true)at /test/10.11_opt/sql/sql_parse.cc:1924
|
#19 0x000063486c0a0f30 in do_command (thd=thd@entry=0x6e6eb0000c68, blocking=true) at /test/10.11_opt/sql/sql_parse.cc:1434
|
#20 0x000063486c1ba89d in do_handle_one_connection (connect=<optimized out>, connect@entry=0x6348ad08ae28, put_in_cache=true)at /test/10.11_opt/sql/sql_connect.cc:1486
|
#21 0x000063486c1ba6c6 in handle_one_connection (arg=arg@entry=0x6348ad08ae28)at /test/10.11_opt/sql/sql_connect.cc:1398
|
#22 0x000063486c4f362e in pfs_spawn_thread (arg=0x6348ad0173a8)at /test/10.11_opt/storage/perfschema/pfs.cc:2201
|
#23 0x0000766fb129cb84 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
|
#24 0x0000766fb1329d6c in clone3 ()at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
|
|
CS 10.11.19 2753b5919a10abd32ba822877c6a1cbf602d3748 (Debug, Clang 22.1.8-20260621) Build 09/09/2026 |
Core was generated by `/test/MD090926-mariadb-10.11.19-linux-x86_64-dbg/bin/mariadbd --no-defaults --l'.
|
Program terminated with signal SIGSEGV, Segmentation fault.
|
#0 __memset_evex_unaligned_erms ()at ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:228
|
|
|
[Current thread is 1 (LWP 124108)]
|
(gdb) bt
|
#0 __memset_evex_unaligned_erms ()at ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:228
|
#1 0x000057a2154bca83 in my_free (ptr=0x7293cd1422f0)at /test/10.11_dbg/mysys/my_malloc.c:215
|
#2 0x000057a21499bafb in ignore_db_dirs_append (dirname_arg=0x6a92cc07feda "#rocksdb")at /test/10.11_dbg/sql/sql_show.cc:782
|
#3 0x00006a9386e7e91a in myrocks::rocksdb_init_func (p=0x6a92cc080d38)at /test/10.11_dbg/storage/rocksdb/ha_rocksdb.cc:5304
|
#4 0x000057a214c6f4ff in ha_initialize_handlerton (plugin_=0x57a21fd98d20)at /test/10.11_dbg/sql/handler.cc:654
|
#5 0x000057a2149097ff in plugin_do_initialize (plugin=0x57a21fd98d20, state=@0x7293a4a35c54: 4) at /test/10.11_dbg/sql/sql_plugin.cc:1457
|
#6 0x000057a214909295 in plugin_initialize (tmp_root=0x6a92cc006c80, plugin=0x57a21fd98d20, argc=0x7293a4a35d38, argv=0x6a92cc02e038, options_only=false) at /test/10.11_dbg/sql/sql_plugin.cc:1511
|
#7 0x000057a21490bb10 in finalize_install (thd=0x6a92cc000d58, table=0x6a92cc0130a8, name=0x7293a4a35d08, argc=0x7293a4a35d38, argv=0x6a92cc02e038) at /test/10.11_dbg/sql/sql_plugin.cc:2260
|
#8 0x000057a21490b11f in mysql_install_plugin (thd=0x6a92cc000d58, name=0x6a92cc005da8, dl_arg=0x6a92cc005db8)at /test/10.11_dbg/sql/sql_plugin.cc:2367
|
#9 0x000057a2148e3fe7 in mysql_execute_command (thd=0x6a92cc000d58, is_called_from_prepared_stmt=false)at /test/10.11_dbg/sql/sql_parse.cc:6088
|
#10 0x000057a2148d45b8 in mysql_parse (thd=0x6a92cc000d58, rawbuf=0x6a92cc013640 "INSTALL SONAME 'ha_rocksdb'", length=27, parser_state=0x7293a4a37a20) at /test/10.11_dbg/sql/sql_parse.cc:8210
|
#11 0x000057a2148d1e9a in dispatch_command (command=COM_QUERY, thd=0x6a92cc000d58, packet=0x6a92cc00af49 "INSTALL SONAME 'ha_rocksdb'", packet_length=27, blocking=true) at /test/10.11_dbg/sql/sql_parse.cc:1924
|
#12 0x000057a2148d503a in do_command (thd=0x6a92cc000d58, blocking=true)at /test/10.11_dbg/sql/sql_parse.cc:1434
|
#13 0x000057a214a8c19e in do_handle_one_connection (connect=0x57a220104478, put_in_cache=true) at /test/10.11_dbg/sql/sql_connect.cc:1486
|
#14 0x000057a214a8bf85 in handle_one_connection (arg=0x57a220200cf8)at /test/10.11_dbg/sql/sql_connect.cc:1398
|
#15 0x00007293cc89cb84 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
|
#16 0x00007293cc929d6c in clone3 ()at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
|
|
Bug Detection Matrix |
Rel o/d Build Commit UniqueID observed
|
CS 10.11 dbg 090926 2753b5919a10abd32ba822877c6a1cbf602d3748 SIGSEGV|__memset_evex_unaligned_erms|my_free|ignore_db_dirs_append|myrocks::rocksdb_init_func
|
CS 10.11 opt 090926 2753b5919a10abd32ba822877c6a1cbf602d3748 SIGABRT|__libc_message_impl|malloc_printerr|munmap_chunk|__GI___libc_free
|
CS 11.4 dbg 090926 42038e1145dd43b3910055c364fb720a8a152d61 SIGSEGV|__memset_evex_unaligned_erms|my_free|ignore_db_dirs_append|myrocks::rocksdb_init_func
|
CS 11.4 opt 090926 42038e1145dd43b3910055c364fb720a8a152d61 SIGSEGV|arena_for_chunk|arena_for_chunk|__GI___libc_free|ignore_db_dirs_append
|
CS 11.8 dbg 090926 e2e060ce3d8c3ce11b6c7ba28ced0f1a30c50a54 SIGSEGV|__memset_evex_unaligned_erms|my_free|ignore_db_dirs_append|myrocks::rocksdb_init_func
|
CS 11.8 opt 090926 e2e060ce3d8c3ce11b6c7ba28ced0f1a30c50a54 SIGABRT|__libc_message_impl|malloc_printerr|munmap_chunk|__GI___libc_free
|
CS 12.3 dbg 090926 e9f84a1fdf7093191e55b55dc14b08b9d4ebaa20 SIGSEGV|__memset_evex_unaligned_erms|my_free|ignore_db_dirs_append|myrocks::rocksdb_init_func
|
CS 12.3 opt 090926 e9f84a1fdf7093191e55b55dc14b08b9d4ebaa20 SIGABRT|__libc_message_impl|malloc_printerr|munmap_chunk|__GI___libc_free
|
CS 13.0 dbg 090926 b2c4e675049e23ce8c7346985f40840fcd4e583f No bug found
|
CS 13.0 opt 090926 b2c4e675049e23ce8c7346985f40840fcd4e583f No bug found
|
CS 13.1 dbg 090926 02c842c30dcb05a962eaac58c69920e6be3369cf No bug found
|
CS 13.1 opt 090926 02c842c30dcb05a962eaac58c69920e6be3369cf No bug found
|
ES 10.6 dbg 090926 aa3fb9800c358182ee2a1f8cca8ffbdd6d0a37eb No bug found
|
ES 10.6 opt 090926 aa3fb9800c358182ee2a1f8cca8ffbdd6d0a37eb No bug found
|
ES 11.4 dbg 090926 32807340954440071ca8ae8e2de51fb180d134c6 SIGSEGV|__memset_evex_unaligned_erms|my_free|ignore_db_dirs_append|myrocks::rocksdb_init_func
|
ES 11.4 opt 090926 32807340954440071ca8ae8e2de51fb180d134c6 SIGABRT|__libc_message_impl|malloc_printerr|_int_free_merge_chunk|_int_free
|
ES 11.8 dbg 090926 c4af6f687a2dd983072457429aa2294f11957650 SIGSEGV|__memset_evex_unaligned_erms|my_free|ignore_db_dirs_append|myrocks::rocksdb_init_func
|
ES 11.8 opt 090926 c4af6f687a2dd983072457429aa2294f11957650 SIGABRT|__libc_message_impl|malloc_printerr|munmap_chunk|__GI___libc_free
|
ES 12.3 dbg 090926 c3bd5108d81f19e33efb93f7b6ae971293732fd0 SIGSEGV|__memset_evex_unaligned_erms|my_free|ignore_db_dirs_append|myrocks::rocksdb_init_func
|
ES 12.3 opt 090926 c3bd5108d81f19e33efb93f7b6ae971293732fd0 SIGABRT|__libc_message_impl|malloc_printerr|_int_free|__GI___libc_free
|
Attachments
Issue Links
- duplicates
-
MDEV-41029 AddressSanitizer: use-after-poison - "install soname ha_rocksdb"
-
- Open
-