<multi-table> Crash in st_table::set_table_map in maria-5.3-mwl106
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Fix Released
|
Critical
|
Igor Babaev |
Bug Description
Not repeatable in maria-5.3 . May be related to 794890 .
backtrace:
#4 <signal handler called>
#5 0x081b6829 in st_table:
#6 0x081b5a42 in st_select_
#7 0x081b5c1e in st_select_
#8 0x0846a8e4 in mysql_derived_merge (thd=0xa7a0730, lex=0xa7a1df0, derived=0xae614168) at sql_derived.cc:390
#9 0x0846ad28 in mysql_derived_
#10 0x0846a637 in mysql_handle_
#11 0x08314ee4 in TABLE_LIST:
#12 0x081b574c in st_select_
#13 0x08314ea7 in TABLE_LIST:
#14 0x0834ea92 in mysql_prepare_
update_
#15 0x0834d346 in mysql_insert (thd=0xa7a0730, table_list=
ignore=false) at sql_insert.cc:669
#16 0x082ab457 in mysql_execute_
#17 0x082b4106 in mysql_parse (thd=0xa7a0730, rawbuf=0xae612eb0 "INSERT INTO v3 (f1) VALUES (1)", length=30, found_semicolon
#18 0x082a657b in dispatch_command (command=COM_QUERY, thd=0xa7a0730, packet=0xa7fb231 "INSERT INTO v3 (f1) VALUES (1)", packet_length=30)
at sql_parse.cc:1206
#19 0x082a5a01 in do_command (thd=0xa7a0730) at sql_parse.cc:904
#20 0x082a2a7c in handle_
#21 0x00821919 in start_thread () from /lib/libpthread
#22 0x0076acce in clone () from /lib/libc.so.6
test case:
CREATE TABLE t1 ( f1 int );
CREATE TABLE t2 ( f1 int );
CREATE TABLE t3 ( f1 int );
CREATE VIEW v1 AS SELECT t1.f1 FROM t1 JOIN t2 ;
CREATE ALGORITHM=TEMPTABLE VIEW v2 AS SELECT f1 FROM t2;
CREATE VIEW v3 AS SELECT v1.f1 FROM v1 JOIN v2 ;
INSERT INTO v3 (f1) VALUES (1);
bzr version-info
revision-id: <email address hidden>
date: 2011-06-09 00:13:00 -0700
build-date: 2011-06-09 11:17:09 +0300
revno: 3029
branch-nick: maria-5.3-mwl106
Related branches
Changed in maria: | |
milestone: | none → 5.3 |
assignee: | nobody → Igor Babaev (igorb-seattle) |
Changed in maria: | |
importance: | Undecided → Critical |
summary: |
- Crash in st_table::set_table_map in maria-5.3-mwl106 + <multi-table> Crash in st_table::set_table_map in maria-5.3-mwl106 |
Changed in maria: | |
status: | New → Confirmed |
Changed in maria: | |
status: | Confirmed → In Progress |
Changed in maria: | |
status: | In Progress → Fix Committed |
Changed in maria: | |
status: | Fix Committed → Fix Released |