br98p153 ~ # gdb --args /usr/sbin/mysqld --defaults-file=/etc/mysql/my.cnf --basedir=/usr --datadir=/srv/mysql --socket=/var/run/mysqld/mysqld.sock --debug GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "hppa2.0-unknown-linux-gnu"... (gdb) run Starting program: /usr/sbin/mysqld --defaults-file=/etc/mysql/my.cnf --basedir=/usr --datadir=/srv/mysql --socket=/var/run/mysqld/mysqld.sock --debug [Thread debugging using libthread_db enabled] [New Thread 0x40002900 (LWP 18895)] [New Thread 0x4122e480 (LWP 18898)] [Thread 0x4122e480 (LWP 18898) exited] 081024 12:09:32 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295 081024 12:09:32 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295 [New Thread 0x4122e480 (LWP 18899)] [New Thread 0x435c2480 (LWP 18900)] [New Thread 0x43dc2480 (LWP 18901)] [New Thread 0x445c2480 (LWP 18902)] [New Thread 0x451c8480 (LWP 18903)] [New Thread 0x459c8480 (LWP 18904)] [Thread 0x451c8480 (LWP 18903) exited] [New Thread 0x461c8480 (LWP 18905)] [New Thread 0x469c8480 (LWP 18906)] [New Thread 0x40101480 (LWP 18907)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x40002900 (LWP 18895)] 0x0017fda0 in add_to_status (to_var=0x6b7db8, from_var=0x1) at sql_class.cc:516 516 sql_class.cc: No such file or directory. in sql_class.cc (gdb) bt #0 0x0017fda0 in add_to_status (to_var=0x6b7db8, from_var=0x1) at sql_class.cc:516 #1 0x001895c8 in ~THD (this=0xe53f08) at sql_class.cc:460 #2 0x001d8834 in mysql_rm_tmp_tables () at sql_base.cc:5993 #3 0x0019c170 in main (argc=, argv=) at mysqld.cc:3778