100% CPU usage with ST_UNION in maria-5.3-gis
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Fix Released
|
Undecided
|
Alexey Botchkov |
Bug Description
maria-5.3-gis can not calculate the following expression:
SELECT ST_UNION(
the server enters into an endless, unkillable loop:
(gdb) next
1167 while (next)
(gdb)
1169 cur= next;
(gdb)
1170 next= move_upward ? next->up : next->down;
(gdb)
1171 if (!next)
(gdb)
1167 while (next)
bzr version-info
revision-id: <email address hidden>
date: 2011-09-01 11:44:56 +0500
build-date: 2011-09-02 10:30:29 +0300
revno: 2993
branch-nick: maria-5.3-gis
backtrace:
#0 0x08368bbe in Gcalc_operation
#1 0x08368e83 in Gcalc_operation
#2 0x0825c2b6 in Item_func_
#3 0x081dbb51 in Item::send (this=0xac7e248, protocol=0xabcca84, buffer=0xa4772060) at item.cc:5905
#4 0x082894bc in select_
#5 0x0832630c in JOIN::exec (this=0xac83468) at sql_select.cc:2069
#6 0x08328d28 in mysql_select (thd=0xabcc758, rref_pointer_
having=0x0, proc_param=0x0, select_
#7 0x08320bf3 in handle_select (thd=0xabcc758, lex=0xabcde18, result=0xac7e608, setup_tables_
#8 0x082bc323 in execute_
#9 0x082b3127 in mysql_execute_
#10 0x082be95f in mysql_parse (thd=0xabcc758,
rawbuf=
length=128, found_semicolon
#11 0x082b0dc3 in dispatch_command (command=COM_QUERY, thd=0xabcc758, packet=0xac670d1 "", packet_length=128) at sql_parse.cc:1206
#12 0x082b0249 in do_command (thd=0xabcc758) at sql_parse.cc:904
#13 0x082ad2c4 in handle_
#14 0x00821919 in start_thread () from /lib/libpthread
#15 0x00453cce in clone () from /lib/libc.so.6
Related branches
Changed in maria: | |
assignee: | nobody → Alexey Botchkov (holyfoot) |
Changed in maria: | |
status: | New → Fix Committed |
Changed in maria: | |
status: | Fix Committed → Fix Released |