060822 11:22:00 [Note] /home/miguel/dbs/5.1/libexec/mysqld: ready for connections. Version: '5.1.12-beta-debug-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution [New Thread 1113009072 (LWP 17593)] 060822 11:22:00 [Note] SCHEDULER: Manager thread booting 060822 11:22:00 [Note] SCHEDULER: Loaded 0 events 060822 11:22:00 [Note] SCHEDULER: Suspending operations [New Thread 1113209776 (LWP 17595)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1113209776 (LWP 17595)] 0x082e1b54 in Log_to_csv_event_handler::log_general (this=0x8ee90b8, event_time=1156260148, user_host=0x425a2b03 "root[root] @ localhost []", user_host_len=25, thread_id=2, command_type=0x86a0f95 "Query", command_type_len=5, sql_text=0x425a2703 "flush logs", sql_text_len=10, client_cs=0x8891a00) at log.cc:328 328 table->field[1]->store(user_host, user_host_len, client_cs); (gdb) bt full #0 0x082e1b54 in Log_to_csv_event_handler::log_general (this=0x8ee90b8, event_time=1156260148, user_host=0x425a2b03 "root[root] @ localhost []", user_host_len=25, thread_id=2, command_type=0x86a0f95 "Query", command_type_len=5, sql_text=0x425a2703 "flush logs", sql_text_len=10, client_cs=0x8891a00) at log.cc:328 tmp_disable_binlog__save_options = 2147764736 table = (TABLE *) 0x0 #1 0x082e2a91 in LOGGER::general_log_print (this=0x88a0080, thd=0x8f20fe0, command=COM_QUERY, format=0x86a2207 "%.*b", args=0x425a2d7c "\n") at log.cc:855 user_host_buff = "root[root] @ localhost []\000¶\004@\003\000\000\000\003\000\000\000X+ZB2¤]\b\000\000\000\000\000\000\000\000\000 \000\000\000\000\000\000\000\000\000\000xaô\bh+ZB\206»]\b\000\000\000\000xaô\bx+ZB\206»]\b\000\000\000\000\000\000\000\000\230+ZB9Ò]\b(bô\bxaô\b\230+ZBâÒ]\b\026\000\000\000(bô\bè+ZB¤+ZB\026\000\000\000(bô\bè+ZBJì[\bÜ\000\000\000Ø+ZBÔ+ZBÐ+ZB\003\000\000\000\003\000\000\000è+ZBÐ õ\b\200 õ\b\000\020ò\bè+Z"... sctx = (Security_context *) 0x8f22064 message_buff = "flush logs\000E general_log TO renamed_general_log\000\000xaô\b\000\000\000\000\000\000\000\000l!õ\bØ$õ\b\030#õ\b(!õ\b", '\0' , "À\022ò\b", '\0' , "ÿÿÿ\017", '\0' , "ÿÿÿÿ\000\000\000\000\000\000\000\000\005\000\000\000\023\000\000\000\000\000\001", '\0' , "\001", '\0' , "N¥3\bî7ï\b)vo\b\2300\036@\001\000\000\000\001\000\000\000\000\000\000\000oL\f\bh)ZBHvo\b\000"... id = 2 message_buff_len = 10 user_host_len = 25 current_time = 1156260148 error = false current_handler = (Log_event_handler **) 0x88a00f0 #2 0x082e63a3 in general_log_print (thd=0x8f20fe0, command=COM_QUERY, format=0x86a2207 "%.*b") at log.cc:3475 args = 0x425a2d7c "\n" error = 0 #3 0x0826863a in dispatch_command (command=COM_QUERY, thd=0x8f20fe0, packet=0x8f4a031 "flush logs", packet_length=11) at sql_parse.cc:1824 packet_end = 0x8f5209a "" net = (NET *) 0x8f21840 _db_func_ = 0x8764214 "?func" _db_file_ = 0x876421a "?file" error = false _db_level_ = 1 _db_framep_ = (char **) 0x4 #4 0x082699eb in do_command (thd=0x8f20fe0) at sql_parse.cc:1614 packet = 0x8f4a030 "\003flush logs" old_timeout = 30 packet_length = 11 net = (NET *) 0x8f21840 command = COM_QUERY ---Type to continue, or q to quit--- _db_func_ = 0x8764214 "?func" _db_file_ = 0x876421a "?file" _db_level_ = 1 _db_framep_ = (char **) 0x1010 #5 0x08269ded in handle_one_connection (arg=0x8f20fe0) at sql_parse.cc:1228 error = 0 net = (NET *) 0x8f21840 sctx = (Security_context *) 0x8f22064 thd = (class THD *) 0x8f20fe0 launch_time = 0 set = {__val = {0 }} #6 0x40048297 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #7 0x4018237e in clone () from /lib/tls/libc.so.6 No symbol table info available. #8 0x425a3bb0 in ?? () No symbol table info available. (gdb)