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

Bug #440264 reported by Brian Aker on 2009-10-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Critical
Brian Aker
Build
Undecided
Unassigned
Trunk
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) on 2009-10-01
Changed in drizzle:
assignee: nobody → Monty Taylor (mordred)
importance: Undecided → Critical
Lee Bieber (kalebral) on 2009-11-04
Changed in drizzle:
milestone: none → bell
status: New → Confirmed
Brian Aker (brianaker) on 2009-11-06
Changed in drizzle:
assignee: Monty Taylor (mordred) → Brian Aker (brianaker)
Lee Bieber (kalebral) on 2009-12-04
Changed in drizzle:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers