Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.11, 11.4, 11.8, 12.3, 13.0, 13.1
-
None
-
Can result in hang or crash
Description
INSTALL SONAME 'ha_mroonga'; |
CREATE TABLE t1 (c1 INT) ENGINE=Mroonga; |
ALTER TABLE t1 RENAME COLUMN c1 TO `-`; |
SELECT * FROM t1; |
Leads to:
|
CS 13.0.2 be111d2cd60d035d555b71da019765cfb42ea0d3 (Debug, Clang 22.1.8-20260621) Build 21/08/2026 |
mariadbd: /test/13.0_dbg/sql/mysqld.cc:3424: void my_message_sql(uint, const char *, myf): Assertion `*str != ''' failed.
|
|
CS 13.0.2 be111d2cd60d035d555b71da019765cfb42ea0d3 (Debug, Clang 22.1.8-20260621) Build 21/08/2026 |
Core was generated by `/test/MD210826-mariadb-13.0.2-linux-x86_64-dbg/bin/mariadbd --no-defaults --loo'.
|
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 275692)]
|
(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 0x000079ed1124527e in __GI_raise (sig=sig@entry=6)at ../sysdeps/posix/raise.c:26
|
#4 0x000079ed112288ff in __GI_abort () at ./stdlib/abort.c:79
|
#5 0x000079ed1122881b in __assert_fail_base (fmt=0x79ed113d01e8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x5cd284f37b4b "*str != '\\0'", file=file@entry=0x5cd284f37804 "/test/13.0_dbg/sql/mysqld.cc", line=line@entry=3424, function=function@entry=0x5cd284f37b1e "void my_message_sql(uint, const char *, myf)") at ./assert/assert.c:96
|
#6 0x000079ed1123b517 in __assert_fail (assertion=0x5cd284f37b4b "*str != '\\0'", file=0x5cd284f37804 "/test/13.0_dbg/sql/mysqld.cc", line=3424, function=0x5cd284f37b1e "void my_message_sql(uint, const char *, myf)")at ./assert/assert.c:105
|
#7 0x00005cd283dc9670 in my_message_sql (error=1016, str=0x71ebf96aebc8 "", MyFlags=0) at /test/13.0_dbg/sql/mysqld.cc:3424
|
#8 0x00005cd284c5297a in my_message (error=1016, str=0x71ebf96aebc8 "", MyFlags=0) at /test/13.0_dbg/mysys/my_error.c:192
|
#9 0x000071eccb0e6686 in ha_mroonga::storage_open_columns (this=0x71ebf96ad610) at /test/13.0_dbg/storage/mroonga/ha_mroonga.cpp:4780
|
#10 0x000071eccb0e5c93 in ha_mroonga::storage_open (this=0x71ebf96ad610, name=0x71ebf96c2a60 "./test/t1", mode=2, open_options=18)at /test/13.0_dbg/storage/mroonga/ha_mroonga.cpp:4656
|
#11 0x000071eccb0e759e in ha_mroonga::open (this=0x71ebf96ad610, name=0x71ebf96c2a60 "./test/t1", mode=2, open_options=18)at /test/13.0_dbg/storage/mroonga/ha_mroonga.cpp:4969
|
#12 0x00005cd28439469a in handler::ha_open (this=0x71ebf96ad610, table_arg=0x71ebf96dc9b0, name=0x71ebf96c2a60 "./test/t1", mode=2, test_if_locked=18, mem_root=0x0, partitions_to_open=0x0)at /test/13.0_dbg/sql/handler.cc:3937
|
#13 0x00005cd2840f86e8 in open_table_from_share (thd=0x71ebf8000d60, share=0x71ebf96c23a0, alias=0x71ebf801ab40, db_stat=33, prgflag=8, ha_open_flags=18, outparam=0x71ebf96dc9b0, is_create_table=false, partitions_to_open=0x0) at /test/13.0_dbg/sql/table.cc:4719
|
#14 0x00005cd283ec504e in open_table (thd=0x71ebf8000d60, table_list=0x71ebf801aaf0, ot_ctx=0x79ece88fdb38)at /test/13.0_dbg/sql/sql_base.cc:2322
|
#15 0x00005cd283eca0e1 in open_and_process_table (thd=0x71ebf8000d60, tables=0x71ebf801aaf0, counter=0x79ece88fdbec, flags=0, prelocking_strategy=0x79ece88fdc50, has_prelocking_list=false, ot_ctx=0x79ece88fdb38) at /test/13.0_dbg/sql/sql_base.cc:4297
|
#16 0x00005cd283ec8f2b in open_tables (thd=0x71ebf8000d60, options=@0x71ebf800688c: {m_options = DDL_options_st::OPT_NONE}, start=0x79ece88fdc00, counter=0x79ece88fdbec, flags=0, prelocking_strategy=0x79ece88fdc50) at /test/13.0_dbg/sql/sql_base.cc:4780
|
#17 0x00005cd283ecbefa in open_and_lock_tables (thd=0x71ebf8000d60, options=@0x71ebf800688c: {m_options = DDL_options_st::OPT_NONE}, tables=0x71ebf801aaf0, derived=true, flags=0, prelocking_strategy=0x79ece88fdc50) at /test/13.0_dbg/sql/sql_base.cc:5803
|
#18 0x00005cd283eda00e in open_and_lock_tables (thd=0x71ebf8000d60, tables=0x71ebf801aaf0, derived=true, flags=0)at /test/13.0_dbg/sql/sql_base.h:545
|
#19 0x00005cd283f9246a in execute_sqlcom_select (thd=0x71ebf8000d60, all_tables=0x71ebf801aaf0) at /test/13.0_dbg/sql/sql_parse.cc:6137
|
#20 0x00005cd283f88f28 in mysql_execute_command (thd=0x71ebf8000d60, is_called_from_prepared_stmt=false) at /test/13.0_dbg/sql/sql_parse.cc:3991
|
#21 0x00005cd283f81d18 in mysql_parse (thd=0x71ebf8000d60, rawbuf=0x71ebf801a3c0 "SELECT * FROM t1", length=16, parser_state=0x79ece88ff9f0) at /test/13.0_dbg/sql/sql_parse.cc:7943
|
#22 0x00005cd283f7f46e in dispatch_command (command=COM_QUERY, thd=0x71ebf8000d60, packet=0x71ebf800b5f1 "SELECT * FROM t1", packet_length=16, blocking=true) at /test/13.0_dbg/sql/sql_parse.cc:1903
|
#23 0x00005cd283f8279a in do_command (thd=0x71ebf8000d60, blocking=true)at /test/13.0_dbg/sql/sql_parse.cc:1437
|
#24 0x00005cd28415475e in do_handle_one_connection (connect=0x5cd2a6aa46f0, put_in_cache=true) at /test/13.0_dbg/sql/sql_connect.cc:1514
|
#25 0x00005cd284154541 in handle_one_connection (arg=0x5cd2a6a83050)at /test/13.0_dbg/sql/sql_connect.cc:1426
|
#26 0x000079ed1129cb84 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
|
#27 0x000079ed11329d6c 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 210826 6415902490b1b0a9a500cee9bc0a41c342190605 *str != '\0'|SIGABRT|my_message_sql|my_message|ha_mroonga::storage_open_columns|ha_mroonga::storage_open
|
CS 10.11 opt 210826 6415902490b1b0a9a500cee9bc0a41c342190605 No bug found
|
CS 11.4 dbg 210826 1a052f27e374fc9b4cb5b1fd098cf10f0e1381cc *str != '\0'|SIGABRT|my_message_sql|my_message|ha_mroonga::storage_open_columns|ha_mroonga::storage_open
|
CS 11.4 opt 210826 1a052f27e374fc9b4cb5b1fd098cf10f0e1381cc No bug found
|
CS 11.8 dbg 210826 d26f9ab217a7fcf9d4eccc62c01020ff275ff42e *str != '\0'|SIGABRT|my_message_sql|my_message|ha_mroonga::storage_open_columns|ha_mroonga::storage_open
|
CS 11.8 opt 210826 d26f9ab217a7fcf9d4eccc62c01020ff275ff42e No bug found
|
CS 12.3 dbg 210826 add63991988734383c5e942de2a19c6c45f511f7 *str != '\0'|SIGABRT|my_message_sql|my_message|ha_mroonga::storage_open_columns|ha_mroonga::storage_open
|
CS 12.3 opt 210826 add63991988734383c5e942de2a19c6c45f511f7 No bug found
|
CS 13.0 dbg 210826 be111d2cd60d035d555b71da019765cfb42ea0d3 *str != '\0'|SIGABRT|my_message_sql|my_message|ha_mroonga::storage_open_columns|ha_mroonga::storage_open
|
CS 13.0 opt 210826 be111d2cd60d035d555b71da019765cfb42ea0d3 No bug found
|
CS 13.1 dbg 210826 ff09eefbe4e8b57846435ee4a928f17e49f0fdfc *str != '\0'|SIGABRT|my_message_sql|my_message|ha_mroonga::storage_open_columns|ha_mroonga::storage_open
|
CS 13.1 opt 210826 ff09eefbe4e8b57846435ee4a928f17e49f0fdfc No bug found
|
ES 10.6 dbg 210826 fcecb2620f25965723d640decede7c018bcb1dcc *str != '\0'|SIGABRT|my_message_sql|my_message|ha_mroonga::storage_open_columns|ha_mroonga::storage_open
|
ES 10.6 opt 210826 fcecb2620f25965723d640decede7c018bcb1dcc No bug found
|
ES 11.4 dbg 210826 3b34189bfe675c18c4ced3ef531d016ea74c76f4 *str != '\0'|SIGABRT|my_message_sql|my_message|ha_mroonga::storage_open_columns|ha_mroonga::storage_open
|
ES 11.4 opt 210826 3b34189bfe675c18c4ced3ef531d016ea74c76f4 No bug found
|
ES 11.8 dbg 210826 4694e931d10fecf733c34f83ea2146d31b708eb3 *str != '\0'|SIGABRT|my_message_sql|my_message|ha_mroonga::storage_open_columns|ha_mroonga::storage_open
|
ES 11.8 opt 210826 4694e931d10fecf733c34f83ea2146d31b708eb3 No bug found
|
ES 12.3 dbg 210826 f513f503feacabfb219d4a6f965b5f72b86d4db0 *str != '\0'|SIGABRT|my_message_sql|my_message|ha_mroonga::storage_open_columns|ha_mroonga::storage_open
|
ES 12.3 opt 210826 f513f503feacabfb219d4a6f965b5f72b86d4db0 No bug found
|