Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
12.3, 13.0, 13.1, 13.2
-
None
-
Can result in hang or crash
Description
SET GLOBAL lc_messages=130; |
Leads to:
|
CS 13.2.0 5104ebf86a1015cb96cbf50c37c7659a45d92d54 (Debug, Clang 18.1.3-11) Build 30/10/2026 |
mariadbd: /test/13.2_dbg/sql/sql_locale.cc:4761: MY_LOCALE *my_locale_by_number(uint): Assertion `locale == my_locales[locale->number]' failed.
|
|
CS 13.2.0 5104ebf86a1015cb96cbf50c37c7659a45d92d54 (Debug, Clang 18.1.3-11) Build 30/10/2026 |
Core was generated by `/test/MD301026-mariadb-13.2.0-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 295281)]
|
(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 0x0000780111a4527e in __GI_raise (sig=sig@entry=6)at ../sysdeps/posix/raise.c:26
|
#4 0x0000780111a288ff in __GI_abort () at ./stdlib/abort.c:79
|
#5 0x0000780111a2881b in __assert_fail_base (fmt=0x780111bd1208 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x5a33034668f6 "locale == my_locales[locale->number]", file=file@entry=0x5a33034668d5 "/test/13.2_dbg/sql/sql_locale.cc", line=line@entry=4761, function=function@entry=0x5a330346691b "MY_LOCALE *my_locale_by_number(uint)") at ./assert/assert.c:96
|
#6 0x0000780111a3b517 in __assert_fail (assertion=0x5a33034668f6 "locale == my_locales[locale->number]", file=0x5a33034668d5 "/test/13.2_dbg/sql/sql_locale.cc", line=4761, function=0x5a330346691b "MY_LOCALE *my_locale_by_number(uint)")at ./assert/assert.c:105
|
#7 0x00005a3302480924 in my_locale_by_number (number=130)at /test/13.2_dbg/sql/sql_locale.cc:4761
|
#8 0x00005a33024c1c59 in check_locale (self=0x5a3304165fa8 <Sys_lc_messages>, thd=0x700018000d60, var=0x70001801a680)at /test/13.2_dbg/sql/sys_vars.cc:6507
|
#9 0x00005a33021248e6 in sys_var::check (this=0x5a3304165fa8 <Sys_lc_messages>, thd=0x700018000d60, var=0x70001801a680) at /test/13.2_dbg/sql/set_var.cc:290
|
#10 0x00005a3302126869 in set_var::check (this=0x70001801a680, thd=0x700018000d60) at /test/13.2_dbg/sql/set_var.cc:861
|
#11 0x00005a3302126450 in sql_set_variables (thd=0x700018000d60, var_list=0x700018006330, free=true) at /test/13.2_dbg/sql/set_var.cc:784
|
#12 0x00005a330229b349 in mysql_execute_command (thd=0x700018000d60, is_called_from_prepared_stmt=false) at /test/13.2_dbg/sql/sql_parse.cc:4965
|
#13 0x00005a330228ed74 in mysql_parse (thd=0x700018000d60, rawbuf=0x70001801a460 "SET GLOBAL lc_messages=@start_global_value", length=42, parser_state=0x7801081b0a80)at /test/13.2_dbg/sql/sql_parse.cc:8005
|
#14 0x00005a330228c13d in dispatch_command (command=COM_QUERY, thd=0x700018000d60, packet=0x70001800b691 "SET GLOBAL lc_messages=@start_global_value", packet_length=42, blocking=true) at /test/13.2_dbg/sql/sql_parse.cc:1903
|
#15 0x00005a330228f923 in do_command (thd=0x700018000d60, blocking=true)at /test/13.2_dbg/sql/sql_parse.cc:1437
|
#16 0x00005a3302499179 in do_handle_one_connection (connect=0x5a3325390d00, put_in_cache=true) at /test/13.2_dbg/sql/sql_connect.cc:1514
|
#17 0x00005a3302498f1e in handle_one_connection (arg=0x5a33253296b0)at /test/13.2_dbg/sql/sql_connect.cc:1426
|
#18 0x0000780111a9cb84 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
|
#19 0x0000780111b29ecc 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 031126 8034c5bcaf3da89151cdae2a22e10d07aba5de45 No bug found
|
CS 10.11 opt 031126 8034c5bcaf3da89151cdae2a22e10d07aba5de45 No bug found
|
CS 11.4 dbg 031126 3060a8806d76b7e7379925b2f0e46d65054011ae No bug found
|
CS 11.4 opt 031126 3060a8806d76b7e7379925b2f0e46d65054011ae No bug found
|
CS 11.8 dbg 031126 ebde32c352878e57a73853a926eb9be99be91217 No bug found
|
CS 11.8 opt 031126 ebde32c352878e57a73853a926eb9be99be91217 No bug found
|
CS 12.3 dbg 091126 691265a82e526e336e56c32fc8a98a74eea544f7 locale == my_locales[locale->number]|SIGABRT|my_locale_by_number|check_locale|sys_var::check|set_var::check
|
CS 12.3 opt 091126 691265a82e526e336e56c32fc8a98a74eea544f7 No bug found
|
CS 13.1 dbg 041126 5290908f05d1b580cf2bc17dee3c7a8527ae2a53 locale == my_locales[locale->number]|SIGABRT|my_locale_by_number|check_locale|sys_var::check|set_var::check
|
CS 13.1 opt 041126 5290908f05d1b580cf2bc17dee3c7a8527ae2a53 No bug found
|
CS 13.2 dbg 301026 5104ebf86a1015cb96cbf50c37c7659a45d92d54 locale == my_locales[locale->number]|SIGABRT|my_locale_by_number|check_locale|sys_var::check|set_var::check
|
CS 13.2 opt 301026 5104ebf86a1015cb96cbf50c37c7659a45d92d54 No bug found
|
ES 11.4 dbg 060526 90f707057d44f1b5c013a0c3672fd12f32ea7085 No bug found
|
ES 11.4 opt 060526 90f707057d44f1b5c013a0c3672fd12f32ea7085 No bug found
|
ES 11.8 dbg 060526 1499789de285a8109d68d79347de0281865b28f4 No bug found
|
ES 11.8 opt 060526 1499789de285a8109d68d79347de0281865b28f4 No bug found
|
ES 12.3 dbg 280926 082387a5f3cbb877157998bb4baa95928f4aa121 locale == my_locales[locale->number]|SIGABRT|my_locale_by_number|check_locale|sys_var::check|set_var::check
|
ES 12.3 opt 280926 082387a5f3cbb877157998bb4baa95928f4aa121 No bug found
|