Details
-
Bug
-
Status: Open (View Workflow)
-
Critical
-
Resolution: Unresolved
-
13.3
-
None
-
Not for Release Notes
Description
CREATE TABLE t (c JSON) ENGINE=MyISAM; |
BINLOG 'q6TQahMBAAAALgAAAAAAAAAAACAAAAAAAAEABHRlc3QAAXQAAQ8CFAABiuGLjQ==q6TQahcBAAAANgAAAAAAAAAAACAAAAAAAAEAAQH+E2FhYWFhYWFhYWFhYWFhYWFhYWE7TnB+'; |
DROP TABLE t; |
Leads to
|
MDEV-38740 CS 13.2.0 49efccb222e2370690b4de0416817fa35f9da2ea (Debug, Clang 18.1.3-11) Build 15/10/2026 |
mariadbd: /test/mtest/MDEV-38740/pr5263_dbg/include/my_base.h:736: longlong read_lowendian(const uchar *, uint): Assertion `0' failed.
|
|
MDEV-38740 CS 13.2.0 49efccb222e2370690b4de0416817fa35f9da2ea (Debug, Clang 18.1.3-11) Build 15/10/2026 |
Core was generated by `/test/mtest/MDEV-38740/MD151026-mariadb-13.2.0-linux-x86_64-dbg/bin/mariadbd --'.
|
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 3031488)]
|
(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 0x000072eed5a4527e in __GI_raise (sig=sig@entry=6)at ../sysdeps/posix/raise.c:26
|
#4 0x000072eed5a288ff in __GI_abort () at ./stdlib/abort.c:79
|
#5 0x000072eed5a2881b in __assert_fail_base (fmt=0x72eed5bd1208 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x5714541069e9 "0", file=file@entry=0x57145405872b "/test/mtest/MDEV-38740/pr5263_dbg/include/my_base.h", line=line@entry=736, function=function@entry=0x57145405875f "longlong read_lowendian(const uchar *, uint)") at ./assert/assert.c:96
|
#6 0x000072eed5a3b517 in __assert_fail (assertion=0x5714541069e9 "0", file=0x57145405872b "/test/mtest/MDEV-38740/pr5263_dbg/include/my_base.h", line=736, function=0x57145405875f "longlong read_lowendian(const uchar *, uint)")at ./assert/assert.c:105
|
#7 0x0000571453271d3a in read_lowendian (from=0x72eea403cad1 "\023", 'a' <repeats 19 times>, ";Np~\245\245\245\245\245\245\245\217\217\217\217\217\217\217\217E\001", bytes=20)at /test/mtest/MDEV-38740/pr5263_dbg/include/my_base.h:736
|
#8 0x0000571453271c4f in Field_blob::get_length (this=0x72eea41fbe60, pos=0x72eea403cad1 "\023", 'a' <repeats 19 times>, ";Np~\245\245\245\245\245\245\245\217\217\217\217\217\217\217\217E\001", packlength_arg=20)at /test/mtest/MDEV-38740/pr5263_dbg/sql/field.cc:8939
|
#9 0x0000571453274377 in Field_blob::unpack (this=0x72eea41fbe60, to=0x72eea41fbe11 "", from=0x72eea403cad1 "\023", 'a' <repeats 19 times>, ";Np~\245\245\245\245\245\245\245\217\217\217\217\217\217\217\217E\001", from_end=0x72eea403cae9 "\245\245\245\245\245\245\245\217\217\217\217\217\217\217\217E\001", param_data=20)at /test/mtest/MDEV-38740/pr5263_dbg/sql/field.cc:9516
|
#10 0x00005714534b5ed1 in Unpack_record_state::unpack_field (this=0x72eed43ff6c8, tabledef=0x72eea409e7a0, f=0x72eea41fbe60, master_field_idx=0)at /test/mtest/MDEV-38740/pr5263_dbg/sql/rpl_record.cc:225
|
#11 0x00005714534b4af0 in unpack_row (rgi=0x72eea403bed0, table=0x72eea409fa60, master_cols=1, row_data=0x72eea403cad0 "\376\023", 'a' <repeats 19 times>, ";Np~\245\245\245\245\245\245\245\217\217\217\217\217\217\217\217E\001", cols=0x72eea403c9c8, current_row_end=0x72eea403ca78, row_end=0x72eea403cae9 "\245\245\245\245\245\245\245\217\217\217\217\217\217\217\217E\001") at /test/mtest/MDEV-38740/pr5263_dbg/sql/rpl_record.cc:445
|
#12 0x00005714534b111b in Rows_log_event::unpack_current_row (this=0x72eea403c960, rgi=0x72eea403bed0)at /test/mtest/MDEV-38740/pr5263_dbg/sql/log_event.h:5191
|
#13 0x00005714534aba4c in Write_rows_log_event::write_row (this=0x72eea403c960, rgi=0x72eea403bed0, overwrite=false)at /test/mtest/MDEV-38740/pr5263_dbg/sql/log_event_server.cc:7737
|
#14 0x00005714534ac576 in Write_rows_log_event::do_exec_row (this=0x72eea403c960, rgi=0x72eea403bed0)at /test/mtest/MDEV-38740/pr5263_dbg/sql/log_event_server.cc:7922
|
#15 0x00005714534a3b37 in Rows_log_event::do_apply_event (this=0x72eea403c960, rgi=0x72eea403bed0)at /test/mtest/MDEV-38740/pr5263_dbg/sql/log_event_server.cc:5499
|
#16 0x000057145348fff2 in Log_event::apply_event (this=0x72eea403c960, rgi=0x72eea403bed0)at /test/mtest/MDEV-38740/pr5263_dbg/sql/log_event.cc:4542
|
#17 0x0000571452fe79b3 in save_restore_context_apply_event (ev=0x72eea403c960, rgi=0x72eea403bed0)at /test/mtest/MDEV-38740/pr5263_dbg/sql/sql_binlog.cc:162
|
#18 0x0000571452fe83a8 in mysql_client_binlog_statement (thd=0x72eea4000d60)at /test/mtest/MDEV-38740/pr5263_dbg/sql/sql_binlog.cc:426
|
#19 0x0000571452e26516 in mysql_execute_command (thd=0x72eea4000d60, is_called_from_prepared_stmt=false)at /test/mtest/MDEV-38740/pr5263_dbg/sql/sql_parse.cc:5858
|
#20 0x0000571452e15c24 in mysql_parse (thd=0x72eea4000d60, rawbuf=0x72eea4017130 "BINLOG 'q6TQahMBAAAALg", 'A' <repeats 11 times>, "CAAAAAAAAEABHRlc3QAAXQAAQ8CFAABiuGLjQ==q6TQahcBAAAANg", 'A' <repeats 11 times>, "CAAAAAAAAEAAQH+E2FhYWFhYWFhYWFhYWFhYWFhYWE7TnB+'", length=145, parser_state=0x72eed4401a80)at /test/mtest/MDEV-38740/pr5263_dbg/sql/sql_parse.cc:8005
|
#21 0x0000571452e12fed in dispatch_command (command=COM_QUERY, thd=0x72eea4000d60, packet=0x72eea41d3d01 "BINLOG 'q6TQahMBAAAALg", 'A' <repeats 11 times>, "CAAAAAAAAEABHRlc3QAAXQAAQ8CFAABiuGLjQ==q6TQahcBAAAANg", 'A' <repeats 11 times>, "CAAAAAAAAEAAQH+E2FhYWFhYWFhYWFhYWFhYWFhYWE7TnB+'", packet_length=145, blocking=true) at /test/mtest/MDEV-38740/pr5263_dbg/sql/sql_parse.cc:1903
|
#22 0x0000571452e167d3 in do_command (thd=0x72eea4000d60, blocking=true)at /test/mtest/MDEV-38740/pr5263_dbg/sql/sql_parse.cc:1437
|
#23 0x0000571453022099 in do_handle_one_connection (connect=0x57146ece7570, put_in_cache=true)at /test/mtest/MDEV-38740/pr5263_dbg/sql/sql_connect.cc:1514
|
#24 0x0000571453021e3e in handle_one_connection (arg=0x57146ecd6400)at /test/mtest/MDEV-38740/pr5263_dbg/sql/sql_connect.cc:1426
|
#25 0x000072eed5a9cb84 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
|
#26 0x000072eed5b29ecc in clone3 ()at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
|
Attachments
Issue Links
- is caused by
-
MDEV-38740 Implement a distinct data type for JSON
-
- In Testing
-