[MDEV-2313] LP:601124 - Bug in eliminate_item_equal leads to crash in Item_func::Item_func Created: 2010-07-02 Updated: 2015-02-02 Resolved: 2012-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Philip Stoev (Inactive) | Assignee: | Timour Katchaounov (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
When executing the following query, MariaDB 5.3 (and not 5.2 or mysql-server) crashes as follows: query: SELECT `col_varchar_key` backtrace: #3 0x082776c0 in handle_segfault (sig=11) at mysqld.cc:2683 Notice that b = 0x0 , which gets propagated from eliminate_item_equal() (gdb) list (gdb) print current_sjm (gdb) print current_sjm_head |
| Comments |
| Comment by Philip Stoev (Inactive) [ 2010-07-02 ] |
|
Re: Bug in eliminate_item_equal leads to crash in Item_func::Item_func --disable_warnings CREATE TABLE `CC` ( SELECT `col_varchar_key` DROP TABLE CC; |
| Comment by Philip Stoev (Inactive) [ 2011-02-14 ] |
|
Re: Bug in eliminate_item_equal leads to crash in Item_func::Item_func revision-id: wlad@montyprogram.com-20110212174322-f7ptnc0u32vasdwy |
| Comment by Philip Stoev (Inactive) [ 2011-02-14 ] |
|
Re: Bug in eliminate_item_equal leads to crash in Item_func::Item_func |
| Comment by Philip Stoev (Inactive) [ 2011-02-14 ] |
|
Re: Bug in eliminate_item_equal leads to crash in Item_func::Item_func CREATE TABLE t1 ( f1 int(11), f3 varchar(1)) ; CREATE TABLE t2 ( f2 int(11), f3 varchar(1)) ; CREATE TABLE t3 ( f2 int(11), f3 varchar(1)) ; SELECT * FROM t3 |
| Comment by Timour Katchaounov (Inactive) [ 2011-02-14 ] |
|
Re: Bug in eliminate_item_equal leads to crash in Item_func::Item_func |
| Comment by Timour Katchaounov (Inactive) [ 2011-02-15 ] |
|
Re: Bug in eliminate_item_equal leads to crash in Item_func::Item_func |
| Comment by Rasmus Johansson (Inactive) [ 2011-02-15 ] |
|
Launchpad bug id: 601124 |