drizzled crashes on startup if dead dfe file exists in /tmp/

Bug #440264 reported by Brian Aker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Critical
Brian Aker
Build
Fix Released
Undecided
Unassigned
Trunk
Fix Released
Undecided
Unassigned

Bug Description

Create a file like this:
touch /tmp/#sqlrandom.dfe

Then drizzled will core with the following:
Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:31
31 movdqa (%rdi), %xmm0
Current language: auto; currently asm
(gdb) backtrace
#0 strlen () at ../sysdeps/x86_64/strlen.S:31
#1 0x00000000004f525d in TableShare::init (new_path=<value optimized out>, new_table_name=<value optimized out>,
    key_length=<value optimized out>, key=<value optimized out>, this=<value optimized out>) at ../drizzled/table_share.h:282
#2 TableShare::init (new_path=<value optimized out>, new_table_name=<value optimized out>, key_length=<value optimized out>,
    key=<value optimized out>, this=<value optimized out>) at ../drizzled/table_share.h:266
#3 drizzle_rm_tmp_tables (new_path=<value optimized out>, new_table_name=<value optimized out>, key_length=<value optimized out>,
    key=<value optimized out>, this=<value optimized out>) at sql_base.cc:4579
#4 0x0000000000410fc2 in main (argc=<value optimized out>, argv=<value optimized out>) at drizzled.cc:1549

Brian Aker (brianaker)
Changed in drizzle:
assignee: nobody → Monty Taylor (mordred)
importance: Undecided → Critical
Changed in drizzle:
milestone: none → bell
status: New → Confirmed
Brian Aker (brianaker)
Changed in drizzle:
assignee: Monty Taylor (mordred) → Brian Aker (brianaker)
Changed in drizzle:
status: Confirmed → Fix Released
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.