mysqlbinlog.exe!memcpy(unsigned char * dst=0x00000000005f3bc8, unsigned char * src=0x00000000000006bc, unsigned long count=0x00000010) Line 381 Asm mysqlbinlog.exe!Query_log_event::Query_log_event(const char * buf=0x000000000206890b, unsigned int event_len=0x000000ab, const Format_description_log_event * description_event=0x00000000020608f8, Log_event_type event_type=QUERY_EVENT) Line 1743 C++ mysqlbinlog.exe!Log_event::read_log_event(const char * buf=0x00000000020688f8, unsigned int event_len=0x000000ab, const char * * error=0x000000000012e4f8, const Format_description_log_event * description_event=0x00000000020608f8) Line 933 + 0x4a bytes C++ mysqlbinlog.exe!Log_event::read_log_event(st_io_cache * file=0x000000000012e5a0, const Format_description_log_event * description_event=0x00000000020608f8) Line 882 + 0x24 bytes C++ mysqlbinlog.exe!dump_local_log_entries(st_print_event_info * print_event_info=0x000000000012f800, const char * logname=0x0000000002014854) Line 1499 + 0x14 bytes C++ mysqlbinlog.exe!dump_log_entries(const char * logname=0x0000000002014854) Line 1041 + 0x38 bytes C++ mysqlbinlog.exe!main(int argc=0x00000000, char * * argv=0x0000000002028900) Line 1602 + 0x34 bytes C++ mysqlbinlog.exe!__tmainCRTStartup() Line 318 + 0x19 bytes C mysqlbinlog.exe!mainCRTStartup() Line 187 C kernel32.dll!BaseProcessStart() + 0x2c bytes [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll] Unhandled exception at 0x00512129 in mysqlbinlog.exe: 0xC0000005: Access violation reading location 0x000000007ffefffd. crash in Query_log_event::Query_log_event if (time_zone_len) copy_str_and_move(&time_zone_str, &start, time_zone_len); /* A 2nd variable part; this is common to all versions */ memcpy((char*) start, end, data_len); // Copy db and query <------------crash start[data_len]= '\0'; // End query with \0 (For safetly) db= (char *)start; query= (char *)(start + db_len + 1); q_len= data_len - db_len -1; DBUG_VOID_RETURN; } Variables: + pos 0x000000000206cb4d "" const unsigned char * + this 0x0000000002068a18 {data_buf=0x000000007fff0098 "" query=0x0000000000000000 catalog=0xa5a5a5a5a5a5a5a5 ...} Query_log_event * const + buf 0x000000000206890b "—xE0A7ECD15B5312A76C0D3FE', '2007-10-17 00:31:12')" const char * event_len 0x000000ab unsigned int + description_event 0x00000000020608f8 {common_header_len='' number_of_event_types='' post_header_len=0x0000000002018a58 "8 " ...} const Format_description_log_event * event_type QUERY_EVENT Log_event_type common_header_len 0x13 '␓' unsigned char + _db_func_ 0x00000000005f31b0 "Log_event::read_log_event(char*,...)" const char * + start 0x000000007fff0098 "" unsigned char * + end 0x000000000206cb4d "" const unsigned char * _db_level_ 0x00000004 unsigned int tmp 0x00000000 unsigned int catalog_nz 0x00000001 int + _db_framep_ 0xcccccccccccccccc char * * + _db_file_ 0x00000000005f3188 "E:\builds\5.1-win-src\sql\log_event.cc" const char * data_len 0xffffbe56 unsigned long post_header_len 0x0d '␍' unsigned char