Re: [hatari-devel] Bug with Falcon Emulation

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Le 05/07/13 14:28, Nicolas Pomarède a écrit :

Looks like memory corruption. Can you build it with debug symbol enabled and run it through gdb to see the stack when the seg fault happens ? (type 'bt' in gdb when you get the seg fault)

Here it is:
It's may be not only SDL MacOsX related. It happen ONLY in Falcon Mode. And, sometime, it's working, sometime not, until people change something -SDL build ? SDL GUI thing ??-.... I think that there is something (a SDL_SURFACE ?) wich is deleted/dealloc during the reset process.

Using -bpp 8 will make things work. But it's not a convenient way, isn't it ?

(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x0000000101714ef8 in SDL_FreeSurface ()
#2  0x0000000101716a4a in SDL_VideoQuit ()
#3  0x000000010171b64f in SDL_QuitSubSystem ()
#4  0x000000010171b686 in SDL_Quit ()
#5  0x00000001000333af in Main_UnInit () at main.c:666
#6  0x0000000100033749 in SDL_main (argc=1, argv=0x101818370) at main.c:799
#7 0x0000000100002073 in -[SDLMain applicationDidFinishLaunching:] (self=0x101e1d520, _cmd=0x7fff8c37b280, note=0x10185c630) at SDLMain.m:321 #8 0x00007fff844fbd0e in __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 ()
#9  0x00007fff8c9eb7ba in _CFXNotificationPost ()
#10 0x00007fff844e7fc3 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
#11 0x00007fff86312e2b in -[NSApplication _postDidFinishNotification] ()
#12 0x00007fff86312b91 in -[NSApplication _sendFinishLaunchingNotification] () #13 0x00007fff86311858 in -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] () #14 0x00007fff863115b9 in -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] () #15 0x00007fff8ca35541 in -[NSObject performSelector:withObject:withObject:] () #16 0x00007fff8451e7c7 in __-[NSAppleEventManager setEventHandler:andSelector:forEventClass:andEventID:]_block_invoke_1 () #17 0x00007fff8451d74e in -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] ()
#18 0x00007fff8451d5dc in _NSAppleEventManagerGenericHandler ()
#19 0x00007fff88ff8c25 in aeDispatchAppleEvent ()
#20 0x00007fff88ff8b03 in dispatchEventAndSendReply ()
#21 0x00007fff88ff89f7 in aeProcessAppleEvent ()
#22 0x00007fff87705b69 in AEProcessAppleEvent ()
#23 0x00007fff8630e9c5 in _DPSNextEvent ()
#24 0x00007fff8630e07d in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#25 0x00007fff8630a9b9 in -[NSApplication run] ()
#26 0x00007fff86586eac in NSApplicationMain ()
#27 0x0000000100004090 in main (argc=1, argv=0x7fff5fbff890) at SDLMain.m:776

Nicolas







Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/