Crash/segfault - in drizzled::DTCollation::set (this=0x60, dt=...) at drizzled/dtcollation.cc:51 51 collation= dt.collation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Medium
|
PrafullaT | ||
Dexter |
Fix Released
|
Medium
|
PrafullaT |
Bug Description
Crashing bug - segfault:
in drizzled:
51 collation= dt.collation
Triggered by this query:
SELECT table2 . `col_enum_
Working on a test case for the test suite.
Related branches
- Drizzle Merge Team: Pending requested
-
Diff: 163 lines (+122/-4)3 files modifieddrizzled/sql_select.cc (+2/-4)
tests/r/optimizer.result (+55/-0)
tests/t/optimizer.test (+65/-0)
Changed in drizzle: | |
status: | New → Confirmed |
tags: | added: crash |
Changed in drizzle: | |
status: | Fix Committed → Confirmed |
importance: | Undecided → Medium |
Changed in drizzle: | |
status: | Confirmed → Fix Released |
Backtrace.
Produced via ./configure --with-debug
Program terminated with signal 11, Segmentation fault. :DTCollation: :set (this=0x60, dt=...) at drizzled/ dtcollation. cc:51 :DTCollation: :set (this=0x60, dt=...) at drizzled/ dtcollation. cc:51 cond_ref_ to_const (session=<value optimized out>, save_list=..., and_father=<value optimized out>, cond=0x224bfd0, field=<value optimized out>, value=0x239fb20) sql_select. cc:2658 cond_ref_ to_const (session=0x22761f0, save_list=..., and_father=<value optimized out>, cond=0x23a02b0, field=0x239fbf8, value=0x239fb20) sql_select. cc:2616 cond_constants (session=0x22761f0, save_list=..., and_father= 0x23a02b0, cond=0x239fcd0) at drizzled/ sql_select. cc:2764 cond_constants (session=0x22761f0, save_list=<value optimized out>, and_father=<value optimized out>, cond=0x23a02b0) at drizzled/ sql_select. cc:2723 :optimize_ cond (join=<value optimized out>, conds=<value optimized out>, join_list=<value optimized out>, cond_value= 0x239a4b8) at drizzled/ sql_select. cc:2926 :Join:: optimize (this=0x2398ed8) at drizzled/ join.cc: 476 :subselect_ single_ select_ engine: :exec (this=0x224c290) at drizzled/ item/subselect. cc:2148 :Item_subselect ::exec (this=0x224c150) at drizzled/ item/subselect. cc:299 :Item_in_ subselect: :exec (this=0x224c150) at drizzled/ item/subselect. cc:348 :Item_in_ subselect: :val_bool (this=0x224c150) at drizzled/ item/subselect. cc:907 :Item_in_ optimizer: :val_int (this=0x22b9490) at drizzled/ item/cmpfunc. cc:1597 :Item_cache_ int::store (this=0x23a0a98, item=0x224bf38) at drizzled/ item/cache_ int.cc: 29 :Item:: cache_const_ expr_transforme r (this=0x23a0a98, arg=<value optimized out>) at drizzled/ item.cc: 1319 :Item_func: :compile (this=<value optimized out>, analyzer=&virtual table offset 560, arg_p=0x7fb2b51 d7418, transformer= &virtual table offset 568, t=0x7fb2b51d756 f "") at drizzled/ function/ func.cc: 335 :Item_cond: :compile (this=<value optimized out>, analyzer=&virtual table offset 560, arg_p=0x7fb2b51 d74a8, transformer= &virtual table offset 568, t=0x7fb2b51d756 f "") at drizzled/ item/cmpfunc. cc:4058 :Item_cond: :compile (this=<value optimized out>, analyzer=&virtual table offset 560, arg_p=0x7fb2b51 d7560, transformer= &virtual table offset 568, t=0x7fb2b51d756 f "") at drizzled/ item/cmpfunc. cc:4058 :Join:: cache_const_ exprs (this=0x2396ef8) at drizzled/ join.cc: 2440 :Join:: optimize (this=0x2396ef8) at drizzled/ join.cc: 851 :mysql_ s...
#0 0x0000000000511cd3 in drizzled:
51 collation= dt.collation;
(gdb) backtrace
#0 0x0000000000511cd3 in drizzled:
#1 0x000000000062c7ac in change_
at drizzled/
#2 0x000000000062c6bf in change_
at drizzled/
#3 0x000000000062ca86 in propagate_
#4 0x000000000062cb16 in propagate_
#5 0x000000000062cc4e in drizzled:
#6 0x00000000005a464e in drizzled:
#7 0x0000000000585cc2 in drizzled:
#8 0x0000000000587c18 in drizzled:
#9 drizzled:
#10 0x0000000000585567 in drizzled:
#11 0x0000000000562f6c in drizzled:
#12 0x000000000055e950 in drizzled:
#13 0x0000000000559582 in drizzled:
#14 0x000000000052b5fa in drizzled:
arg_
#15 0x00000000005625f8 in drizzled:
arg_
#16 0x00000000005625f8 in drizzled:
arg_
#17 0x000000000059aa46 in drizzled:
#18 0x00000000005a5796 in drizzled:
#19 0x0000000000625035 in drizzled: