Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
11.5
Description
# mysqld options required for replay: --character-set-server=utf8mb4 |
SET NAMES DEFAULT COLLATE uca1400_ai_ci; |
Leads to:
11.5.2 40eb56b609458ffc180326dfd8e02b4a330e84ca (Debug) |
mariadbd: /test/11.5_dbg/sql/lex_charset.h:338: Lex_exact_charset_opt_extended_collate::Lex_exact_charset_opt_extended_collate(CHARSET_INFO*, bool): Assertion `(m_ci->state & 32) || m_with_collate' failed.
|
11.5.2 40eb56b609458ffc180326dfd8e02b4a330e84ca (Debug) |
Core was generated by `/test/MD270624-mariadb-11.5.2-linux-x86_64-dbg/bin/mariadbd --no-defaults --max'.
|
Program terminated with signal SIGABRT, Aborted.
|
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
[Current thread is 1 (Thread 0x148360123700 (LWP 53995))]
|
(gdb) bt
|
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
#1 0x0000148364a06859 in __GI_abort () at abort.c:79
|
#2 0x0000148364a06729 in __assert_fail_base (fmt=0x148364b9c588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x55e88ea53680 "(m_ci->state & 32) || m_with_collate", file=0x55e88ea535f0 "/test/11.5_dbg/sql/lex_charset.h", line=338, function=<optimized out>) at assert.c:92
|
#3 0x0000148364a17fd6 in __GI___assert_fail (assertion=assertion@entry=0x55e88ea53680 "(m_ci->state & 32) || m_with_collate", file=file@entry=0x55e88ea535f0 "/test/11.5_dbg/sql/lex_charset.h", line=line@entry=338, function=function@entry=0x55e88ea53618 "Lex_exact_charset_opt_extended_collate::Lex_exact_charset_opt_extended_collate(CHARSET_INFO*, bool)") at assert.c:101
|
#4 0x000055e88dfe1354 in Lex_exact_charset_opt_extended_collate::Lex_exact_charset_opt_extended_collate (this=0x148360121640, ci=<optimized out>, with_collate=<optimized out>) at /test/11.5_dbg/sql/lex_charset.h:338
|
#5 0x000055e88dfd6a30 in MYSQLparse (thd=thd@entry=0x148310000d48) at /test/11.5_dbg/sql/sql_yacc.yy:17047
|
#6 0x000055e88dd038a8 in parse_sql (thd=thd@entry=0x148310000d48, parser_state=parser_state@entry=0x148360122270, creation_ctx=creation_ctx@entry=0x0, do_pfs_digest=do_pfs_digest@entry=true) at /test/11.5_dbg/include/mysql/psi/mysql_statement.h:159
|
#7 0x000055e88dcfe174 in mysql_parse (thd=thd@entry=0x148310000d48, rawbuf=<optimized out>, length=39, parser_state=parser_state@entry=0x148360122270) at /test/11.5_dbg/sql/sql_parse.cc:7820
|
#8 0x000055e88dd15332 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x148310000d48, packet=packet@entry=0x14831000b239 "SET NAMES DEFAULT COLLATE uca1400_ai_ci", packet_length=packet_length@entry=39, blocking=blocking@entry=true) at /test/11.5_dbg/sql/sql_class.h:1638
|
#9 0x000055e88dd17e35 in do_command (thd=0x148310000d48, blocking=blocking@entry=true) at /test/11.5_dbg/sql/sql_parse.cc:1405
|
#10 0x000055e88de9ec8f in do_handle_one_connection (connect=<optimized out>, connect@entry=0x55e891a7e5d8, put_in_cache=put_in_cache@entry=true) at /test/11.5_dbg/sql/sql_connect.cc:1447
|
#11 0x000055e88de9f244 in handle_one_connection (arg=arg@entry=0x55e891a7e5d8) at /test/11.5_dbg/sql/sql_connect.cc:1349
|
#12 0x000055e88e327654 in pfs_spawn_thread (arg=0x55e891a52c38) at /test/11.5_dbg/storage/perfschema/pfs.cc:2201
|
#13 0x0000148364f17609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#14 0x0000148364b03133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
Bug confirmed present in:
MariaDB: 11.5.2 (dbg)
Bug (or feature/syntax) confirmed not present in:
MariaDB: 10.5.26 (dbg), 10.5.26 (opt), 10.6.18 (dbg), 10.6.18 (opt), 10.11.8 (dbg), 10.11.8 (opt), 11.1.5 (dbg), 11.1.5 (opt), 11.2.4 (dbg), 11.2.4 (opt), 11.4.2 (dbg), 11.4.2 (opt), 11.5.2 (opt), 11.6.0 (dbg), 11.6.0 (opt)