Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
10.6
-
Not for Release Notes
Description
SET max_session_mem_used=+1; |
CREATE TABLE t SELECT 1000000000000000000000000000000000000000000000000000000000000000000000000000000001 AS c; |
Leads to:
|
CS 10.6.24 e80998281aa1551f12a6b86cb3765796130d822d (Debug, Clang 18.1.3-11) Build 02/11/2025 |
mariadbd: /test/10.6_dbg/sql/sql_yacc.yy:9372: int MYSQLparse(THD *): Assertion `(yyvsp[-3].simple_string) < (yyvsp[-1].simple_string)' failed.
|
|
CS 10.6.24 e80998281aa1551f12a6b86cb3765796130d822d (Debug, Clang 18.1.3-11) Build 02/11/2025 |
Core was generated by `/test/MD021125-mariadb-10.6.24-linux-x86_64-dbg/bin/mariadbd --no-defaults --ma'.
|
Program terminated with signal SIGABRT, Aborted.
|
Download failed: Invalid argument. Continuing without source file ./nptl/./nptl/pthread_kill.c.
|
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)at ./nptl/pthread_kill.c:44
|
 |
[Current thread is 1 (LWP 1807252)]
|
(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 0x00007f44cea4527e in __GI_raise (sig=sig@entry=6)at ../sysdeps/posix/raise.c:26
|
#4 0x00007f44cea288ff in __GI_abort () at ./stdlib/abort.c:79
|
#5 0x00007f44cea2881b in __assert_fail_base (fmt=0x7f44cebd01e8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x5b3435de9dd6 "(yyvsp[-3].simple_string) < (yyvsp[-1].simple_string)", file=file@entry=0x5b3435de9b60 "/test/10.6_dbg/sql/sql_yacc.yy", line=line@entry=9372, function=function@entry=0x5b3435de9b7f "int MYSQLparse(THD *)")at ./assert/assert.c:96
|
#6 0x00007f44cea3b517 in __assert_fail (assertion=0x5b3435de9dd6 "(yyvsp[-3].simple_string) < (yyvsp[-1].simple_string)", file=0x5b3435de9b60 "/test/10.6_dbg/sql/sql_yacc.yy", line=9372, function=0x5b3435de9b7f "int MYSQLparse(THD *)") at ./assert/assert.c:105
|
#7 0x00005b34351075af in MYSQLparse (thd=0x7f43e4000d58)at /test/10.6_dbg/sql/sql_yacc.yy:9372
|
#8 0x00005b3434e2d12b in parse_sql (thd=0x7f43e4000d58, parser_state=0x7f44cc1f7a48, creation_ctx=0x0, do_pfs_digest=true)at /test/10.6_dbg/sql/sql_parse.cc:10595
|
#9 0x00005b3434e13dd3 in mysql_parse (thd=0x7f43e4000d58, rawbuf=0x7f43e4013360 "CREATE TABLE t SELECT 1", '0' <repeats 80 times>, "1 AS c", length=109, parser_state=0x7f44cc1f7a48)at /test/10.6_dbg/sql/sql_parse.cc:8152
|
#10 0x00005b3434e11404 in dispatch_command (command=COM_QUERY, thd=0x7f43e4000d58, packet=0x7f43e400ade9 "CREATE TABLE t SELECT 1", '0' <repeats 80 times>, "1 AS c", packet_length=109, blocking=true)at /test/10.6_dbg/sql/sql_parse.cc:1908
|
#11 0x00005b3434e14af3 in do_command (thd=0x7f43e4000d58, blocking=true)at /test/10.6_dbg/sql/sql_parse.cc:1421
|
#12 0x00005b3434fd16b9 in do_handle_one_connection (connect=0x5b34644d54d8, put_in_cache=true) at /test/10.6_dbg/sql/sql_connect.cc:1386
|
#13 0x00005b3434fd1452 in handle_one_connection (arg=0x5b346458f288)at /test/10.6_dbg/sql/sql_connect.cc:1298
|
#14 0x00007f44cea9caa4 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
|
#15 0x00007f44ceb29c6c in clone3 ()at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
|
|
Bug Detection Matrix |
Rel o/d Build Commit UniqueID observed
|
CS 10.6 dbg 021125 e80998281aa1551f12a6b86cb3765796130d822d (yyvsp[-3].simple_string) < (yyvsp[-1].simple_string)|SIGABRT|MYSQLparse|parse_sql|mysql_parse|dispatch_command
|
CS 10.6 opt 021125 e80998281aa1551f12a6b86cb3765796130d822d No bug found
|
CS 10.11 dbg 081025 63620ca6d88af5e3e758d768e7818ca1865736e6 No bug found
|
CS 10.11 opt 081025 63620ca6d88af5e3e758d768e7818ca1865736e6 No bug found
|
CS 11.4 dbg 151025 2a722fcfc941200a3ed5aec2c414fbbaf34df1ca No bug found
|
CS 11.4 opt 151025 2a722fcfc941200a3ed5aec2c414fbbaf34df1ca No bug found
|
CS 11.8 dbg 300925 d203a8a5df95e2c5778a304a885fb7aedfbc095e No bug found
|
CS 11.8 opt 300925 d203a8a5df95e2c5778a304a885fb7aedfbc095e No bug found
|
CS 12.1 dbg 021125 4af88ced488e78458f0febb55a0ae67783330029 No bug found
|
CS 12.1 dbg 290925 667c5e0b002a24bc595d60955950200a588f4fb7 No bug found
|
CS 12.1 opt 021125 4af88ced488e78458f0febb55a0ae67783330029 No bug found
|
CS 12.1 opt 290925 667c5e0b002a24bc595d60955950200a588f4fb7 No bug found
|
CS 12.2 dbg 290925 b8a77289639a3b10ada64cf892f02b5cecdb1603 No bug found
|
CS 12.2 opt 290925 b8a77289639a3b10ada64cf892f02b5cecdb1603 No bug found
|
ES 10.6 dbg 290925 ed866636069dda51daa8570497926ae43af8aa24 No bug found
|
ES 10.6 opt 290925 ed866636069dda51daa8570497926ae43af8aa24 No bug found
|
ES 11.4 dbg 290925 9dbe002d95a46a7a92aaedd2a23c1c1cbcf8340c No bug found
|
ES 11.4 opt 290925 9dbe002d95a46a7a92aaedd2a23c1c1cbcf8340c No bug found
|
ES 11.8 dbg 290925 543157202acd67ac9b0bb50e0b35bf7790e5467d No bug found
|
ES 11.8 opt 290925 543157202acd67ac9b0bb50e0b35bf7790e5467d No bug found
|
Attachments
Issue Links
- is caused by
-
MDEV-37938 very long query cannot be killed quickly
-
- Closed
-