Crash/segfault in drizzled::JoinTable::cleanup (this=0x3701cc0) at drizzled/sql_select.cc:1480

Bug #632665 reported by Patrick Crews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Invalid
Undecided
Unassigned

Bug Description

Crashing bug / segfault.
Test case is coming.

Query:
SELECT X . `col_int_key` FROM `c` AS X LEFT JOIN `a` AS Y USING ( `col_enum_key` ) WHERE X . `col_enum_key` = ( SELECT `col_int_not_null_key` FROM `aa` WHERE `pk` = 5 ) LIMIT 8

Backtrace:

#0 0x00000000007c123e in drizzled::JoinTable::cleanup (this=0x2f71508) at drizzled/sql_select.cc:1462
#1 0x00000000006f3f0f in drizzled::Join::cleanup (this=0x2f10a98, full=true) at drizzled/join.cc:1915
#2 0x00000000006f3a68 in drizzled::Join::destroy (this=0x2f10a98) at drizzled/join.cc:1736
#3 0x00000000007ddebf in drizzled::Select_Lex::cleanup (this=0x2e4d118) at drizzled/sql_union.cc:711
#4 0x00000000007be8b9 in drizzled::mysql_select (session=0x2e4c4a0, rref_pointer_array=0x2e4d2d0, tables=0x2e450b0, wild_num=0, fields=..., conds=0x2e46178, og_num=0,
    order=0x0, group=0x0, having=0x0, select_options=2147500032, result=0x2f10a78, unit=0x2e4cf18, select_lex=0x2e4d118) at drizzled/sql_select.cc:439
#5 0x00000000007be0f5 in drizzled::handle_select (session=0x2e4c4a0, lex=0x2e4cef8, result=0x2f10a78, setup_tables_done_option=0) at drizzled/sql_select.cc:146
#6 0x00000000007ba6ff in drizzled::execute_sqlcom_select (session=0x2e4c4a0, all_tables=0x2e450b0) at drizzled/sql_parse.cc:544
#7 0x0000000000813f3f in drizzled::statement::Select::execute (this=0x235d430) at drizzled/statement/select.cc:32
#8 0x00000000007ba28a in mysql_execute_command (session=0x2e4c4a0) at drizzled/sql_parse.cc:479
#9 0x00000000007bb04c in drizzled::mysql_parse (session=0x2e4c4a0,
    inBuf=0x2e87e18 "SELECT X . `col_int_key` FROM `c` AS X LEFT JOIN `a` AS Y USING ( `col_enum_key` ) WHERE X . `col_enum_key` = ( SELECT `col_int_not_null_key` FROM `aa` WHERE `pk` = 5 ) LIMIT 8", length=176) at drizzled/sql_parse.cc:750
#10 0x00000000007b9bde in drizzled::dispatch_command (command=drizzled::COM_QUERY, session=0x2e4c4a0,
    packet=0x2e8e861 "SELECT X . `col_int_key` FROM `c` AS X LEFT JOIN `a` AS Y USING ( `col_enum_key` ) WHERE X . `col_enum_key` = ( SELECT `col_int_not_null_key` FROM `aa` WHERE `pk` = 5 ) LIMIT 8", packet_length=176) at drizzled/sql_parse.cc:224
#11 0x000000000077d367 in drizzled::Session::executeStatement (this=0x2e4c4a0) at drizzled/session.cc:666
#12 0x000000000077cc13 in drizzled::Session::run (this=0x2e4c4a0) at drizzled/session.cc:522
#13 0x00007fbbda963b54 in MultiThreadScheduler::runSession (this=0x2e17b90, session=0x2e4c4a0) at ./plugin/multi_thread/multi_thread.h:67
#14 0x00007fbbda9619e2 in session_thread (arg=0x2e4c4a0) at plugin/multi_thread/multi_thread.cc:52
#15 0x00007fbbde6719ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#16 0x00007fbbde3ce6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Revision history for this message
Patrick Crews (patrick-crews) wrote :

Marking as duplicate - was accidentally testing in a non-patched tree and thought this was a new bug. Was really just detecting the crash in Bug#628419

Changed in drizzle:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.