Crash / assertion failed - in drizzled::Diagnostics_area::set_eof_status (this=0x7f9f3c2c4258, session=0x7f9f3c2c3b10) at drizzled/diagnostics_area.cc:120

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

Bug Description

Assertion failed:
Crash occurred in a two-connection scenario. Still working to be able to create this regularly, documenting with as much information as available to facilitate further research.

Connection1: data_dictionary queries against all D_D tables, including SHOW commands

Connection2: Drizzledump + restore randgen testing - creating schemas and tables, altering tables, dumping and restoring said tables and doing table-table comparisons

Last queries:
Conn1:
SELECT TABLES . TABLE_COMMENT FROM tables , columns WHERE tables. table_name = columns . table_name

Conn2:
# 2010-09-02T10:57:11 Running Query--> SELECT 1
# 2010-09-02T10:57:11 drizzledump file is: /tmp//dump_6020_9306.sql
# 2010-09-02T10:57:11 Running Query--> DROP DATABASE IF EXISTS drizzledump_db
# 2010-09-02T10:57:11 Running Query--> DROP DATABASE IF EXISTS drizzledump_db_restore
# 2010-09-02T10:57:11 Running Query--> CREATE DATABASE drizzledump_db

Backtrace:
#0 0x00007f9f558d5a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007f9f558d95c0 in *__GI_abort () at abort.c:92
#2 0x00007f9f558ce941 in *__GI___assert_fail (assertion=0xa61bba "! is_set()", file=<value optimized out>, line=120,
    function=0xa61d80 "void drizzled::Diagnostics_area::set_eof_status(drizzled::Session*)") at assert.c:81
#3 0x000000000061f0c9 in drizzled::Diagnostics_area::set_eof_status (this=0x7f9f3c2c4258, session=0x7f9f3c2c3b10) at drizzled/diagnostics_area.cc:120
#4 0x0000000000796432 in drizzled::Session::my_eof (this=0x7f9f3c2c3b10) at ./drizzled/session.h:1393
#5 0x00000000007bd8aa in drizzled::select_send::send_eof (this=0x2c5bf88) at ./drizzled/select_send.h:55
#6 0x00000000007c5601 in drizzled::do_select (join=0x2c5bfa8, fields=0x7f9f3c2c4880, table=0x0) at drizzled/sql_select.cc:3355
#7 0x00000000006f37d7 in drizzled::Join::exec (this=0x2c5bfa8) at drizzled/join.cc:1695
#8 0x00000000007be7cd in drizzled::mysql_select (session=0x7f9f3c2c3b10, rref_pointer_array=0x7f9f3c2c4940, tables=0x2c5b8d0, wild_num=0, fields=..., conds=0x2c5bd78,
    og_num=0, order=0x0, group=0x0, having=0x0, select_options=2147500032, result=0x2c5bf88, unit=0x7f9f3c2c4588, select_lex=0x7f9f3c2c4788)
    at drizzled/sql_select.cc:427
#9 0x00000000007be081 in drizzled::handle_select (session=0x7f9f3c2c3b10, lex=0x7f9f3c2c4568, result=0x2c5bf88, setup_tables_done_option=0)
    at drizzled/sql_select.cc:146
#10 0x00000000007ba68b in drizzled::execute_sqlcom_select (session=0x7f9f3c2c3b10, all_tables=0x2c5b8d0) at drizzled/sql_parse.cc:544
#11 0x0000000000813ecb in drizzled::statement::Select::execute (this=0x2ea0c00) at drizzled/statement/select.cc:32
#12 0x00000000007ba216 in mysql_execute_command (session=0x7f9f3c2c3b10) at drizzled/sql_parse.cc:479
#13 0x00000000007bafd8 in drizzled::mysql_parse (session=0x7f9f3c2c3b10,
    inBuf=0x2c6ba88 "SELECT TABLES . TABLE_COMMENT FROM tables , columns WHERE tables. table_name = columns . table_name", length=99) at drizzled/sql_parse.cc:750
#14 0x00000000007b9b6a in drizzled::dispatch_command (command=drizzled::COM_QUERY, session=0x7f9f3c2c3b10, packet=0x7f9f3c2b47d1 "", packet_length=100)
    at drizzled/sql_parse.cc:224
#15 0x000000000077d2f3 in drizzled::Session::executeStatement (this=0x7f9f3c2c3b10) at drizzled/session.cc:666
#16 0x000000000077cb9f in drizzled::Session::run (this=0x7f9f3c2c3b10) at drizzled/session.cc:522
#17 0x00007f9f51f1db54 in MultiThreadScheduler::runSession (this=0x7f9f3c27cf10, session=0x7f9f3c2c3b10) at ./plugin/multi_thread/multi_thread.h:67
#18 0x00007f9f51f1b9e2 in session_thread (arg=0x7f9f3c2c3b10) at plugin/multi_thread/multi_thread.cc:52
#19 0x00007f9f55c2b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#20 0x00007f9f559886fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#21 0x0000000000000000 in ?? ()

Changed in drizzle:
status: New → Confirmed
assignee: nobody → Patrick Crews (patrick-crews)
Revision history for this message
Patrick Crews (patrick-crews) wrote :

Closing this out. Repeated tests with multiple data_dictionary threads hitting the tables during drizzledump testing were fine.

Suspect Andrews' fixes for other bugs with concurrency have corrected this crash.

Changed in drizzle:
status: Confirmed → Invalid
milestone: none → 2011-01-17
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.