lnxdb1:/usr/local# gdb /usr/local/mysql/libexec/mysqld GNU gdb 6.4-debian Copyright 2005 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) run --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql --pid-file=/usr/local/mysql/var/mysql.pid --skip-locking --log=/usr/local/mysql/var/mysql.log Starting program: /usr/local/mysql-5.0.20a/libexec/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql --pid-file=/usr/local/mysql/var/mysql.pid --skip-locking --log=/usr/local/mysql/var/mysql.log [Thread debugging using libthread_db enabled] [New Thread -1210517824 (LWP 31417)] [New Thread -1222284368 (LWP 31420)] [New Thread -1230677072 (LWP 31421)] [New Thread -1239069776 (LWP 31422)] [New Thread -1247462480 (LWP 31423)] [New Thread -1260635216 (LWP 31424)] [New Thread -1269027920 (LWP 31425)] [New Thread -1277449296 (LWP 31426)] [Thread -1260635216 (zombie) exited] [New Thread -1285887056 (LWP 31427)] 060502 16:07:30 InnoDB: Started; log sequence number 0 778581 [New Thread -1256793168 (LWP 31428)] 060502 16:07:30 [Note] /usr/local/mysql-5.0.20a/libexec/mysqld: ready for connections. Version: '5.0.20a-debug-log' socket: '/usr/local/mysql/tmp/mysql.sock' port: 3306 Source distribution [New Thread -1256993872 (LWP 31429)] [New Thread -1257325648 (LWP 31439)] [Thread -1256993872 (zombie) exited] [New Thread -1256993872 (LWP 31440)] [New Thread -1257526352 (LWP 31441)] [New Thread -1257727056 (LWP 31442)] [New Thread -1257927760 (LWP 31443)] [Thread -1256993872 (zombie) exited] [New Thread -1256993872 (LWP 31444)] [New Thread -1258128464 (LWP 31445)] [New Thread -1302721616 (LWP 31446)] [Thread -1257927760 (zombie) exited] [New Thread -1257927760 (LWP 31447)] [New Thread -1302922320 (LWP 31448)] [Thread -1258128464 (zombie) exited] [New Thread -1258128464 (LWP 31449)] [New Thread -1303123024 (LWP 31450)] [Thread -1302922320 (zombie) exited] [New Thread -1302922320 (LWP 31451)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1257927760 (LWP 31447)] 0x081af678 in check_table_access (thd=0xb24c6220, want_access=8, tables=0x8bd69f0, no_errors=false) at sql_parse.cc:5190 5190 if (tables->derived || tables->schema_table || tables->belong_to_view || (gdb) bt #0 0x081af678 in check_table_access (thd=0xb24c6220, want_access=8, tables=0x8bd69f0, no_errors=false) at sql_parse.cc:5190 #1 0x081af9a0 in multi_delete_precheck (thd=0xb24c6220, tables=0x8bd6bd0) at sql_parse.cc:7005 #2 0x081b7794 in mysql_execute_command (thd=0xb24c6220) at sql_parse.cc:3382 #3 0x08224d09 in Prepared_statement::execute (this=0x8d9fde8, expanded_query=0xb5057f98, open_cursor=false) at sql_prepare.cc:2912 #4 0x08225276 in mysql_stmt_execute (thd=0xb24c6220, packet_arg=0xb2209ff9 "\006", packet_length=22) at sql_prepare.cc:2239 #5 0x081bdcf1 in dispatch_command (command=COM_STMT_EXECUTE, thd=0xb24c6220, packet=0xb2209ff9 "\006", packet_length=22) at sql_parse.cc:1681 #6 0x081bf3d3 in do_command (thd=0xb24c6220) at sql_parse.cc:1516 #7 0x081bf7d6 in handle_one_connection (arg=0xb24c6220) at sql_parse.cc:1159 #8 0xb7f38e60 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #9 0xb7e628ce in clone () from /lib/tls/i686/cmov/libc.so.6 (gdb)