View Single Post
Old 23 April 2017, 00:27   #34
paraj
Registered User
 
paraj's Avatar
 
Join Date: Feb 2017
Location: Denmark
Posts: 1,107
Low priority crash bug report:

In latest beta (3410b7, commit 4009d994ca75b80baec0eff703e9396b54926dd1) and probably earlier it's possible to crash winuae by enabling the visual debugger before dma_record (in debug.cpp) is (re-)initialized.

To reproduce enter the debugger "very quickly" after startup. Easy to do when debugging from MSVC, otherwise chose a (new?) quick start configuration, press "start" and then quickly enter the debugger. In the debugger enter "v -3"<enter>"g"<enter> -> crash.

I can provide dmp-file / other info if needed.

Example callstack on crash (dma_record is {nullptr,nullptr}):
Code:
 	winuae.exe!debug_draw_cycles(unsigned char * buf=0x0e3f8ca0, int bpp=0x00000004, int line, int width=0x00000118, int height, unsigned int * xredcolors=0x04c34578, unsigned int * xgreencolors=0x04c34978, unsigned int * xbluescolors=0x04c34d78) Line 1389	C++
	winuae.exe!debug_draw(unsigned char * buf=0x0e3f8ca0, int bpp=0x00000004, int line=0x00000008, int width=0x000002f0, int height=0x0000023e, unsigned int * xredcolors=0x04c34578, unsigned int * xgreencolors=0x04c34978, unsigned int * xbluescolors=0x04c34d78) Line 1466	C++
 	[Inline Frame] winuae.exe!draw_debug_status_line(int) Line 3497	C++
 	winuae.exe!finish_drawing_frame() Line 3788	C++
 	winuae.exe!vsync_handle_redraw(int long_field, int lof_changed, unsigned short bplcon0p=0x0000, unsigned short bplcon3p=0x0c00) Line 3961	C++
 	winuae.exe!vsync_handler_pre() Line 7801	C++
 	winuae.exe!hsync_handler() Line 8674	C++
 	winuae.exe!do_cycles_slow(unsigned long cycles_to_add=0x00000000) Line 124	C++
 	winuae.exe!m68k_run_1() Line 4192	C++
 	winuae.exe!m68k_go(int may_quit) Line 5615	C++
 	winuae.exe!do_start_program() Line 990	C++
 	winuae.exe!real_main(int argc=0x00000000, wchar_t * * argv=0x06cc69c8) Line 1162	C++
 	winuae.exe!WinMain2(HINSTANCE__ * hInstance=0x000c0000, HINSTANCE__ * hPrevInstance=0x00000000, wchar_t * lpCmdLine=0x06ca29e0, int nCmdShow=0x0000000a) Line 6283	C++
 	winuae.exe!wWinMain(HINSTANCE__ * hInstance=0x000c0000, HINSTANCE__ * hPrevInstance=0x00000000, wchar_t * lpCmdLine=0x06ca29e0, int nCmdShow=0x0000000a) Line 7104	C++
paraj is offline  
 
Page generated in 0.10648 seconds with 11 queries