Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.5, 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL), 10.10(EOL), 10.11, 11.0(EOL), 11.1(EOL), 11.2, 11.3(EOL), 11.4, 11.5(EOL)
Description
--source include/have_sequence.inc
|
 |
SET sql_mode=''; |
CREATE TABLE t1 (a INT GENERATED ALWAYS AS (1) VIRTUAL,KEY(a)) ENGINE=MyISAM; |
INSERT INTO t1 SELECT 1 FROM seq_1_to_100; |
SELECT * FROM t1; |
|
Leads to:
11.5.2 2f4b0ba328420980c23562da20ab0caa9d69b845 (Debug) |
mariadbd: /test/11.5_dbg/sql/handler.cc:3847: void handler::assert_icp_limitations(uchar*): Assertion `table->field[0]->ptr >= table->record[0] && table->field[0]->ptr <= table->record[0] + table->s->reclength' failed.
|
11.5.2 2f4b0ba328420980c23562da20ab0caa9d69b845 (Debug) |
Core was generated by `/test/MD180724-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 0x152f00084700 (LWP 2823487))]
|
(gdb) bt
|
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
#1 0x0000152f16816859 in __GI_abort () at abort.c:79
|
#2 0x0000152f16816729 in __assert_fail_base (fmt=0x152f169ac588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x564dda8738c0 "table->field[0]->ptr >= table->record[0] && table->field[0]->ptr <= table->record[0] + table->s->reclength", file=0x564dda871693 "/test/11.5_dbg/sql/handler.cc", line=3847, function=<optimized out>) at assert.c:92
|
#3 0x0000152f16827fd6 in __GI___assert_fail (assertion=assertion@entry=0x564dda8738c0 "table->field[0]->ptr >= table->record[0] && table->field[0]->ptr <= table->record[0] + table->s->reclength", file=file@entry=0x564dda871693 "/test/11.5_dbg/sql/handler.cc", line=line@entry=3847, function=function@entry=0x564dda873830 "void handler::assert_icp_limitations(uchar*)") at assert.c:101
|
#4 0x0000564dd9cd1710 in handler::assert_icp_limitations (buf=0x152ecc025f88 "\377", this=0x152ecc0263a0) at /test/11.5_dbg/sql/handler.cc:3847
|
#5 handler::ha_index_first (this=0x152ecc0263a0, buf=0x152ecc025f88 "\377") at /test/11.5_dbg/sql/handler.cc:3878
|
#6 0x0000564dd9a19f74 in join_read_first (tab=0x152ecc01d830) at /test/11.5_dbg/sql/sql_select.cc:24763
|
#7 0x0000564dd99e6fe9 in sub_select (join=0x152ecc01bfc8, join_tab=0x152ecc01d830, end_of_records=false) at /test/11.5_dbg/sql/sql_select.cc:23653
|
#8 0x0000564dd9a224bd in do_select (procedure=<optimized out>, join=0x152ecc01bfc8) at /test/11.5_dbg/sql/sql_select.cc:23167
|
#9 JOIN::exec_inner (this=this@entry=0x152ecc01bfc8) at /test/11.5_dbg/sql/sql_select.cc:5021
|
#10 0x0000564dd9a22a2c in JOIN::exec (this=this@entry=0x152ecc01bfc8) at /test/11.5_dbg/sql/sql_select.cc:4804
|
#11 0x0000564dd9a20856 in mysql_select (thd=thd@entry=0x152ecc000d48, tables=0x152ecc01af68, fields=@0x152ecc01abe8: {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x152ecc01af18, last = 0x152ecc01af18, elements = 1}, <No data fields>}, conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2164525824, result=0x152ecc01bfa0, unit=0x152ecc005238, select_lex=0x152ecc01a930) at /test/11.5_dbg/sql/sql_select.cc:5337
|
#12 0x0000564dd9a2107f in handle_select (thd=thd@entry=0x152ecc000d48, lex=lex@entry=0x152ecc005158, result=result@entry=0x152ecc01bfa0, setup_tables_done_option=setup_tables_done_option@entry=0) at /test/11.5_dbg/sql/sql_select.cc:628
|
#13 0x0000564dd997c808 in execute_sqlcom_select (thd=thd@entry=0x152ecc000d48, all_tables=0x152ecc01af68) at /test/11.5_dbg/sql/sql_parse.cc:6147
|
#14 0x0000564dd9984f00 in mysql_execute_command (thd=thd@entry=0x152ecc000d48, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /test/11.5_dbg/sql/sql_parse.cc:3953
|
#15 0x0000564dd9975992 in mysql_parse (thd=thd@entry=0x152ecc000d48, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x152f000832f0) at /test/11.5_dbg/sql/sql_parse.cc:7867
|
#16 0x0000564dd998ce09 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x152ecc000d48, packet=packet@entry=0x152ecc00b239 "", packet_length=packet_length@entry=16, blocking=blocking@entry=true) at /test/11.5_dbg/sql/sql_class.h:1638
|
#17 0x0000564dd998f90c in do_command (thd=0x152ecc000d48, blocking=blocking@entry=true) at /test/11.5_dbg/sql/sql_parse.cc:1405
|
#18 0x0000564dd9b16afd in do_handle_one_connection (connect=<optimized out>, connect@entry=0x564ddc8bf358, put_in_cache=put_in_cache@entry=true) at /test/11.5_dbg/sql/sql_connect.cc:1447
|
#19 0x0000564dd9b170b2 in handle_one_connection (arg=arg@entry=0x564ddc8bf358) at /test/11.5_dbg/sql/sql_connect.cc:1349
|
#20 0x0000564dd9f9f95e in pfs_spawn_thread (arg=0x564ddc817ba8) at /test/11.5_dbg/storage/perfschema/pfs.cc:2201
|
#21 0x0000152f16d27609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#22 0x0000152f16913133 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.19 (dbg), 10.6.19 (opt), 10.11.9 (dbg), 10.11.9 (opt), 11.1.6 (dbg), 11.1.6 (opt), 11.2.5 (dbg), 11.2.5 (opt), 11.4.3 (dbg), 11.4.3 (opt), 11.5.2 (opt)
Attachments
Issue Links
- is duplicated by
-
MDEV-30926 Segfault after MyISAM repair of vcol-indexed table
- Closed
-
MDEV-32089 Assertion `!strcmp(&path[strlen(path) - strlen(dot_ext[IBD])], dot_ext[IBD])' failed in void mtr_t::log_file_op(mfile_type_t, uint32_t, const char*, const char*)
- Closed