Menu

#1193 Dragon Quest IX: intermittent freezing/hanging

SVN past 0.9.8
closed-fixed
nobody
5
2014-08-17
2012-06-26
rg8032
No

Type: freezing / hanging ("not responding")
Initial occurence: after ~10 hours of game play
Rate of occurence: Every 1-30 minutes (average ~4 minutes)
Patterns/associations: none noticed

DeSmuMe freezes/hangs intermittently. This behavior started after ~10 hours of play time. When run from the command line, no abnormal messages commemorate the hanging. Using the "sample process" feature of Activity Monitor, possibly offers some insight. I will attach the output as a file as it is rather bulky. The only line that I found interesting seemed to be doing something with audio:

[BEGIN 'Sample Process' SNIPPET]
+ 861 -[CocoaDSSpeaker handlePortMessage:] (in DeSmuMe) + 92 [0x10016933c]
+ 861 -[CocoaDSSpeaker handleEmuFrameProcessed:] (in DeSmuMe) + 591 [0x1001696df]
+ 861 _ZL12SPU_MixAudiobP10SPU_structi (in DeSmuMe) + 210 [0x100149212]
+ 861 _ZL15_SPU_ChanUpdatebP10SPU_structP14channel_struct (in DeSmuMe) + 2472,2468,... [0x10014a248,0x10014a244,...]
[END SNIPPET]

The following is the output when run from terminal

[BEGIN 'Terminal' OUTPUT]

JDoes-MacBook-Pro:MacOS jdoe$ ./DeSmuMe
Slot 2: NONE
Microphone successfully inited.
DeSmuME 0.9.8 svn
SoftRast Initialized with cores=4
Already decrypted.

ROM game code: YDQE
ROM crc: AACE5E9C
ROM serial: NTR-YDQE-USA
ROM internal name: DRAGONQUEST9

Backup size: 256 Kbit
Load cheats: /Users/ryan/Library/Application Support/DeSmuME/0.9.8/Cheats/Dragon Quest IX - Sentinels of the Starry Skies.dct
Added 0 cheat codes
DEBUG_reset: 000038B0
Backup size: 256 Kbit
Load cheats: /Users/ryan/Library/Application Support/DeSmuME/0.9.8/Cheats/Dragon Quest IX - Sentinels of the Starry Skies.dct
Added 0 cheat codes
COMMAND7: Unhandled Backup Memory command: 01 FROM 03803010
DEBUG_reset: 000038B0
Backup size: 256 Kbit

[END OUTPUT]

Discussion

1 2 > >> (Page 1 of 2)
  • rg8032

    rg8032 - 2012-06-26

    Output of 'Sample Process' from Activity Monitor at time of hang/freeze

     
  • rogerman

    rogerman - 2012-06-28

    Cannot reproduce any freezing behavior after about 3 hrs of gameplay (after starting a new game) on the following configuration:
    Mac Model: MacPro3,1
    Operating System: Mac OS X 10.6.8 (10K549)

    This issue might be related specifically to Lion. If I can't reproduce the issue on Snow Leopard, I'll try again using the following configuration:
    Mac Model: MacBookPro5,1
    Operating System: Mac OS X 10.7.4 (11E53)

    But I'm suspecting that the issue shows up after a certain point in the game. Please provide a description of the sections of the game where the freezing starts to occur. I'll play up to that point and try to reproduce the issue. Don't worry, I don't care about any spoilers. :-)

    Also, do you know if this is a patched ROM or not? I noticed that there were both patched and unpatched versions of this game floating around, so I want to make sure I'm matching your configuration as closely as possible.

     
  • zeromus

    zeromus - 2012-06-28

    a simple test to determine whether its likely got to do with the OS at all would be to take a savestate before it freezes and then restart the emulator and see if it gets past that point. It's hard to understand how the OS could make desmume freeze under ChanUpdate()...

     
  • rg8032

    rg8032 - 2012-07-01

    I have been able to reproduce the freezing behavior from a new game. I have tried pulling the rom back out of the same archive to ensure that I had not somehow damaged it and the problem persists. I am not sure why it initially took so long to manifest.

    The first time it happened was shortly after leaving the first area and arriving in Stornway.

    I am going to reinstall DeSmuMe and see if that resolves the issue.

     
  • rg8032

    rg8032 - 2012-07-01

    I grabbed to latest (4297 - 6/28/2012) trunk tarball last night.

    I did some debugging last night and got Xcode to catch the crash right where I thought it was happening. The log in Xcode screams "WARNING! 8BIT DMA ACCESS" about 100 times (I believe this is coming from MMU.h - class TRegister_32.- write() and read()) I don't know if this is related. I was using the latest trunk from svn on my MacbookPro8,2 running 10.7.4.

    Thread 10 generates and EXC_BAD_ACCESS (code=2, address=0x10ccf4000) the line of code reads:

    return MMU.MMU_MEM[ARMCPU_ARM7][adr>>20][adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20]];

    This is line 4301 in the file Core/MMU.cpp the function prototype is:

    u8 FASTCALL _MMU_ARM7_read08(u32 adr);

    This is all way over my coding head and would take me at least a month or two with which to come to terms without some guidance.

     
  • rg8032

    rg8032 - 2012-07-01

    The closest I have come to grabbing a save state before a freeze is about 5 seconds. After restarting, DeSmuMe will load the state and continue on its merry way for another few minutes, happily bypassing the point of the original freeze.

    The thing that really confuses me is it always eats 100% of a CPU when it is frozen and, according to Activity Monitor, it spends all of its time in:

    _ZL15_SPU_ChanUpdatebP10SPU_structP14channel_struct (in DeSmuMe)

     
  • rg8032

    rg8032 - 2012-07-01

    Here is the latest crash log. It reports thread 5 as the offender here.

    Process: DeSmuME (Debug) [2319]
    Path: /Users/USER/Library/Developer/Xcode/DerivedData/DeSmuME_(XCode_4)-avajakoqdbabkhakzfqxnmokdxda/Build/Products/Debug/DeSmuME (Debug).app/Contents/MacOS/DeSmuME (Debug)
    Identifier: org.desmume.DeSmuME
    Version: v0.9.9 [Debug] (0.9.9)
    Code Type: X86-64 (Native)
    Parent Process: ??? [1]

    Date/Time: 2012-07-01 10:37:20.011 -0400
    OS Version: Mac OS X 10.7.4 (11E53)
    Report Version: 9

    Interval Since Last Report: 278592 sec
    Crashes Since Last Report: 9
    Per-App Interval Since Last Report: 1994 sec
    Per-App Crashes Since Last Report: 1
    Anonymous UUID: 28C49677-DFF9-44A3-9574-BF709DEB61B3

    Crashed Thread: 5

    Exception Type: EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x000000010ccf4000

    External Modification Warnings:
    Debugger attached to process.

    VM Regions Near 0x10ccf4000:
    __LINKEDIT 000000010ccf1000-000000010ccf4000 [ 12K] r--/rwx SM=COW /Applications/Xcode.app/Contents/PlugIns/DebuggerFoundation.ideplugin/Contents/Resources/DebuggerIntrospectionSupport.dylib
    --> MALLOC guard page 000000010ccf4000-000000010ccf5000 [ 4K] ---/rwx SM=NUL
    MALLOC metadata 000000010ccf5000-000000010cd0a000 [ 84K] rw-/rwx SM=PRV

    Application Specific Information:
    objc[2319]: garbage collection is OFF

    Thread 0:: Dispatch queue: com.apple.main-thread
    0 libsystem_kernel.dylib 0x00007fff907ddbf2 __psynch_mutexwait + 10
    1 libsystem_c.dylib 0x00007fff9373a1a1 pthread_mutex_lock + 545
    2 org.desmume.DeSmuME 0x000000010a3091aa -[CocoaDSCore coreState] + 42 (cocoa_core.mm:490)
    3 org.desmume.DeSmuME 0x000000010a33c117 -[EmuWindowDelegate validateUserInterfaceItem:] + 711 (emuWindowDelegate.mm:1393)
    4 com.apple.AppKit 0x00007fff8d640025 -[NSToolbarItem _validateAsCommonItem:] + 192
    5 com.apple.AppKit 0x00007fff8d0b53d1 -[NSToolbarItem validate] + 123
    6 com.apple.AppKit 0x00007fff8d0b5049 -[NSToolbar validateVisibleItems] + 192
    7 com.apple.AppKit 0x00007fff8d0b4f15 -[NSToolbar _autovalidateVisibleToolbarItems] + 86
    8 com.apple.AppKit 0x00007fff8d0b4e93 __-[NSToolbarView _scheduleDelayedValidationAfterTime:]_block_invoke_1 + 144
    9 libdispatch.dylib 0x00007fff8c357a86 _dispatch_call_block_and_release + 18
    10 libdispatch.dylib 0x00007fff8c359dd3 _dispatch_after_timer_callback + 16
    11 libdispatch.dylib 0x00007fff8c35c497 _dispatch_source_invoke + 649
    12 libdispatch.dylib 0x00007fff8c359143 _dispatch_queue_invoke + 71
    13 libdispatch.dylib 0x00007fff8c3598c3 _dispatch_main_queue_callback_4CF + 257
    14 com.apple.CoreFoundation 0x00007fff8828ae7c __CFRunLoopRun + 1724
    15 com.apple.CoreFoundation 0x00007fff8828a486 CFRunLoopRunSpecific + 230
    16 com.apple.HIToolbox 0x00007fff9038e4d3 RunCurrentEventLoopInMode + 277
    17 com.apple.HIToolbox 0x00007fff90395781 ReceiveNextEventCommon + 355
    18 com.apple.HIToolbox 0x00007fff9039560e BlockUntilNextEventMatchingListInMode + 62
    19 com.apple.AppKit 0x00007fff8cfebe31 _DPSNextEvent + 659
    20 com.apple.AppKit 0x00007fff8cfeb735 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
    21 com.apple.AppKit 0x00007fff8cfe8071 -[NSApplication run] + 470
    22 com.apple.AppKit 0x00007fff8d264244 NSApplicationMain + 867
    23 org.desmume.DeSmuME 0x000000010a3019d2 main + 34 (main.m:24)
    24 org.desmume.DeSmuME 0x0000000109fc8cf4 start + 52

    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0 libsystem_kernel.dylib 0x00007fff907de192 __workq_kernreturn + 10
    1 libsystem_c.dylib 0x00007fff9373b2ea pick_nextworkqueue_droplock + 778
    2 libsystem_c.dylib 0x00007fff9373b567 pthread_workqueue_additem_np + 319
    3 libdispatch.dylib 0x00007fff8c35814d _dispatch_queue_wakeup_global + 117
    4 libdispatch.dylib 0x00007fff8c358e62 _dispatch_wakeup + 25
    5 libdispatch.dylib 0x00007fff8c358eef _dispatch_queue_push_list_slow + 33
    6 libdispatch.dylib 0x00007fff8c358ecc _dispatch_wakeup + 131
    7 libdispatch.dylib 0x00007fff8c35d81b _dispatch_run_timers + 261
    8 libdispatch.dylib 0x00007fff8c35974c _dispatch_mgr_invoke + 861
    9 libdispatch.dylib 0x00007fff8c35831a _dispatch_mgr_thread + 54

    Thread 2:
    0 libsystem_kernel.dylib 0x00007fff907dc67a mach_msg_trap + 10
    1 libsystem_kernel.dylib 0x00007fff907dbda1 mach_msg + 121
    2 com.apple.Foundation 0x00007fff8de18fb2 +[NSMachPort sendBeforeTime:streamData:components:to:from:msgid:reserved:] + 1374
    3 com.apple.Foundation 0x00007fff8de18a42 -[NSMachPort sendBeforeDate:msgid:components:from:reserved:] + 99
    4 com.apple.Foundation 0x00007fff8de76799 -[NSPortMessage sendBeforeDate:] + 71
    5 org.desmume.DeSmuME 0x000000010a326781 +[CocoaDSUtil messageSendOneWay:msgID:] + 161 (cocoa_util.mm:35)
    6 org.desmume.DeSmuME 0x000000010a31b646 -[CocoaDSOutput doCoreEmuFrame] + 86 (cocoa_output.mm:99)
    7 org.desmume.DeSmuME 0x000000010a308143 _ZL13RunCoreThreadPv + 851 (cocoa_core.mm:711)
    8 libsystem_c.dylib 0x00007fff9373b8bf _pthread_start + 335
    9 libsystem_c.dylib 0x00007fff9373eb75 thread_start + 13

    Thread 3:
    0 libsystem_kernel.dylib 0x00007fff907dc67a mach_msg_trap + 10
    1 libsystem_kernel.dylib 0x00007fff907dbdda mach_msg + 178
    2 com.apple.CoreFoundation 0x00007fff8828250c __CFRunLoopServiceMachPort + 188
    3 com.apple.CoreFoundation 0x00007fff8828ac74 __CFRunLoopRun + 1204
    4 com.apple.CoreFoundation 0x00007fff8828a486 CFRunLoopRunSpecific + 230
    5 com.apple.Foundation 0x00007fff8de00f7b -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 267
    6 com.apple.Foundation 0x00007fff8de84b56 -[NSRunLoop(NSRunLoop) runUntilDate:] + 66
    7 org.desmume.DeSmuME 0x000000010a3272d2 -[CocoaDSThread runThread:] + 386 (cocoa_util.mm:194)
    8 org.desmume.DeSmuME 0x000000010a309b57 -[CocoaDSCore runThread:] + 103 (cocoa_core.mm:643)
    9 com.apple.Foundation 0x00007fff8de4f72a -[NSThread main] + 68
    10 com.apple.Foundation 0x00007fff8de4f6a2 __NSThread__main__ + 1575
    11 libsystem_c.dylib 0x00007fff9373b8bf _pthread_start + 335
    12 libsystem_c.dylib 0x00007fff9373eb75 thread_start + 13

    Thread 4:
    0 libsystem_kernel.dylib 0x00007fff907dc67a mach_msg_trap + 10
    1 libsystem_kernel.dylib 0x00007fff907dbdda mach_msg + 178
    2 com.apple.CoreFoundation 0x00007fff8828250c __CFRunLoopServiceMachPort + 188
    3 com.apple.CoreFoundation 0x00007fff8828ac74 __CFRunLoopRun + 1204
    4 com.apple.CoreFoundation 0x00007fff8828a486 CFRunLoopRunSpecific + 230
    5 com.apple.Foundation 0x00007fff8de00f7b -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 267
    6 com.apple.Foundation 0x00007fff8de84b56 -[NSRunLoop(NSRunLoop) runUntilDate:] + 66
    7 org.desmume.DeSmuME 0x000000010a3272d2 -[CocoaDSThread runThread:] + 386 (cocoa_util.mm:194)
    8 org.desmume.DeSmuME 0x000000010a31ff15 -[CocoaDSDisplay runThread:] + 197 (cocoa_output.mm:996)
    9 com.apple.Foundation 0x00007fff8de4f72a -[NSThread main] + 68
    10 com.apple.Foundation 0x00007fff8de4f6a2 __NSThread__main__ + 1575
    11 libsystem_c.dylib 0x00007fff9373b8bf _pthread_start + 335
    12 libsystem_c.dylib 0x00007fff9373eb75 thread_start + 13

    Thread 5 Crashed:
    0 org.desmume.DeSmuME 0x000000010a2798ff _MMU_ARM7_read08(unsigned int) + 735 (MMU.cpp:4301)
    1 org.desmume.DeSmuME 0x000000010a2cdb7c _ZL6read08j + 380 (MMU.h:668)
    2 org.desmume.DeSmuME 0x000000010a2d4e21 _ZL14FetchADPCMDataIL20SPUInterpolationMode0EEvP14channel_structPi + 305 (SPU.cpp:887)
    3 org.desmume.DeSmuME 0x000000010a2d4cb0 _ZL18____SPU_ChanUpdateILi2EL20SPUInterpolationMode0ELi1EEvP10SPU_structP14channel_struct + 48 (SPU.cpp:1063)
    4 org.desmume.DeSmuME 0x000000010a2d48cd _ZL17___SPU_ChanUpdateILi2EL20SPUInterpolationMode0EEvbP10SPU_structP14channel_struct + 141 (SPU.cpp:1085)
    5 org.desmume.DeSmuME 0x000000010a2d1a98 _ZL16__SPU_ChanUpdateIL20SPUInterpolationMode0EEvbP10SPU_structP14channel_struct + 136 (SPU.cpp:1094)
    6 org.desmume.DeSmuME 0x000000010a2d19ac _ZL15_SPU_ChanUpdatebP10SPU_structP14channel_struct + 108 (SPU.cpp:1104)
    7 org.desmume.DeSmuME 0x000000010a2cf3aa _ZL12SPU_MixAudiobP10SPU_structi + 346 (SPU.cpp:1348)
    8 org.desmume.DeSmuME 0x000000010a2cf6c6 SPU_Emulate_user(bool) + 422 (SPU.cpp:1433)
    9 org.desmume.DeSmuME 0x000000010a31cc70 -[CocoaDSSpeaker handleEmuFrameProcessed:] + 32 (cocoa_output.mm:388)
    10 org.desmume.DeSmuME 0x000000010a31ca66 -[CocoaDSSpeaker handlePortMessage:] + 198 (cocoa_output.mm:354)
    11 com.apple.Foundation 0x00007fff8de13c27 __NSFireMachPort + 259
    12 com.apple.CoreFoundation 0x00007fff88254c52 __CFMachPortPerform + 386
    13 com.apple.CoreFoundation 0x00007fff88254abc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 44
    14 com.apple.CoreFoundation 0x00007fff882547eb __CFRunLoopDoSource1 + 155
    15 com.apple.CoreFoundation 0x00007fff8828af27 __CFRunLoopRun + 1895
    16 com.apple.CoreFoundation 0x00007fff8828a486 CFRunLoopRunSpecific + 230
    17 com.apple.Foundation 0x00007fff8de00f7b -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 267
    18 com.apple.Foundation 0x00007fff8de84b56 -[NSRunLoop(NSRunLoop) runUntilDate:] + 66
    19 org.desmume.DeSmuME 0x000000010a3272d2 -[CocoaDSThread runThread:] + 386 (cocoa_util.mm:194)
    20 com.apple.Foundation 0x00007fff8de4f72a -[NSThread main] + 68
    21 com.apple.Foundation 0x00007fff8de4f6a2 __NSThread__main__ + 1575
    22 libsystem_c.dylib 0x00007fff9373b8bf _pthread_start + 335
    23 libsystem_c.dylib 0x00007fff9373eb75 thread_start + 13

    Thread 6:
    0 libsystem_kernel.dylib 0x00007fff907ddbca __psynch_cvwait + 10
    1 libsystem_c.dylib 0x00007fff9373f274 _pthread_cond_wait + 840
    2 org.desmume.DeSmuME 0x000000010a2d7ac3 _ZL8taskProcPv + 131 (task.cpp:188)
    3 libsystem_c.dylib 0x00007fff9373b8bf _pthread_start + 335
    4 libsystem_c.dylib 0x00007fff9373eb75 thread_start + 13

    Thread 7:
    0 libsystem_kernel.dylib 0x00007fff907ddbca __psynch_cvwait + 10
    1 libsystem_c.dylib 0x00007fff9373f274 _pthread_cond_wait + 840
    2 org.desmume.DeSmuME 0x000000010a2d7ac3 _ZL8taskProcPv + 131 (task.cpp:188)
    3 libsystem_c.dylib 0x00007fff9373b8bf _pthread_start + 335
    4 libsystem_c.dylib 0x00007fff9373eb75 thread_start + 13

    Thread 8:
    0 libsystem_kernel.dylib 0x00007fff907ddbca __psynch_cvwait + 10
    1 libsystem_c.dylib 0x00007fff9373f274 _pthread_cond_wait + 840
    2 org.desmume.DeSmuME 0x000000010a2d7ac3 _ZL8taskProcPv + 131 (task.cpp:188)
    3 libsystem_c.dylib 0x00007fff9373b8bf _pthread_start + 335
    4 libsystem_c.dylib 0x00007fff9373eb75 thread_start + 13

    Thread 9:
    0 libsystem_kernel.dylib 0x00007fff907ddbca __psynch_cvwait + 10
    1 libsystem_c.dylib 0x00007fff9373f274 _pthread_cond_wait + 840
    2 org.desmume.DeSmuME 0x000000010a2d7ac3 _ZL8taskProcPv + 131 (task.cpp:188)
    3 libsystem_c.dylib 0x00007fff9373b8bf _pthread_start + 335
    4 libsystem_c.dylib 0x00007fff9373eb75 thread_start + 13

    Thread 10:: com.apple.audio.IOThread.client
    0 libsystem_c.dylib 0x00007fff9373adb0 pthread_once + 0
    1 com.apple.audio.CoreAudio 0x00007fff928afaa5 HALObjectMap::RetainObject(HALObject*) + 35
    2 com.apple.audio.CoreAudio 0x00007fff928b819e HALPlugInManagement::CopyPlugIn(AudioHardwarePlugInInterface**) + 50
    3 com.apple.audio.CoreAudio 0x00007fff928d1400 AudioObjectPropertiesChanged + 168
    4 com.apple.audio.CoreAudio 0x00007fff928d0610 HALC_ProxyIOContext::IOWorkLoop() + 1056
    5 com.apple.audio.CoreAudio 0x00007fff928d0151 HALC_ProxyIOContext::IOThreadEntry(void*) + 73
    6 com.apple.audio.CoreAudio 0x00007fff928d000c HALB_IOThread::Entry(void*) + 78
    7 libsystem_c.dylib 0x00007fff9373b8bf _pthread_start + 335
    8 libsystem_c.dylib 0x00007fff9373eb75 thread_start + 13

    Thread 11:: com.apple.CFSocket.private
    0 libsystem_kernel.dylib 0x00007fff907dddf2 __select + 10
    1 com.apple.CoreFoundation 0x00007fff882d3c8b __CFSocketManager + 1355
    2 libsystem_c.dylib 0x00007fff9373b8bf _pthread_start + 335
    3 libsystem_c.dylib 0x00007fff9373eb75 thread_start + 13

    Thread 12:
    0 libsystem_kernel.dylib 0x00007fff907dc67a mach_msg_trap + 10
    1 libsystem_kernel.dylib 0x00007fff907dbd71 mach_msg + 73
    2 libsystem_notify.dylib 0x00007fff877562e4 _notify_server_cancel + 131
    3 libsystem_notify.dylib 0x00007fff8775a086 notify_cancel + 114
    4 libsystem_c.dylib 0x00007fff9376968b asl_close + 109
    5 com.apple.SystemConfiguration 0x00007fff8f2fd032 __SCThreadSpecificDataFinalize + 30
    6 libsystem_c.dylib 0x00007fff937818cb _pthread_tsd_cleanup + 111
    7 libsystem_c.dylib 0x00007fff9373cf7c _pthread_exit + 142
    8 libsystem_c.dylib 0x00007fff9373d59e _pthread_wqthread + 768
    9 libsystem_c.dylib 0x00007fff9373eb85 start_wqthread + 13

    Thread 13:
    0 libsystem_kernel.dylib 0x00007fff907dc67a mach_msg_trap + 10
    1 libsystem_kernel.dylib 0x00007fff907dbd71 mach_msg + 73
    2 libsystem_kernel.dylib 0x00007fff907d60af semaphore_destroy + 88
    3 libdispatch.dylib 0x00007fff8c35ab57 _dispatch_thread_semaphore_dispose + 22
    4 libsystem_c.dylib 0x00007fff93781942 _pthread_tsd_cleanup + 230
    5 libsystem_c.dylib 0x00007fff9373cf7c _pthread_exit + 142
    6 libsystem_c.dylib 0x00007fff9373d59e _pthread_wqthread + 768
    7 libsystem_c.dylib 0x00007fff9373eb85 start_wqthread + 13

    Thread 14:
    0 libsystem_c.dylib 0x00007fff9373eb78 start_wqthread + 0

    Thread 5 crashed with X86 Thread State (64-bit):
    rax: 0x000000010cb94060 rbx: 0x00007fae10ca7fff rcx: 0x000000000015ffa0 rdx: 0x0000000000000041
    rdi: 0x0000000000000041 rsi: 0x0000000000000041 rbp: 0x0000000119dc6920 rsp: 0x0000000119dc68e0
    r8: 0x00007fae1112dfe8 r9: 0x0000000000000004 r10: 0x000000010a71a8a0 r11: 0x000000010a71a8a0
    r12: 0x00007fae158000d0 r13: 0x00007fae1437be18 r14: 0x00007fae16001050 r15: 0x0000000119dc6f28
    rip: 0x000000010a2798ff rfl: 0x0000000000010206 cr2: 0x000000010ccf4000
    Logical CPU: 7

    Binary Images:
    0x109fc7000 - 0x10a3bffe7 +org.desmume.DeSmuME (v0.9.9 [Debug] - 0.9.9) <3C08AFCB-34DE-339B-B59A-32C58E9DD5F1> /Users/USER/Library/Developer/Xcode/DerivedData/DeSmuME_(XCode_4)-avajakoqdbabkhakzfqxnmokdxda/Build/Products/Debug/DeSmuME (Debug).app/Contents/MacOS/DeSmuME (Debug)
    0x10ccec000 - 0x10cceffff +DebuggerIntrospectionSupport.dylib (??? - ???) <DB826089-D67C-309D-B8FF-2E4C08229E75> /Applications/Xcode.app/Contents/PlugIns/DebuggerFoundation.ideplugin/Contents/Resources/DebuggerIntrospectionSupport.dylib
    0x111d36000 - 0x111d44ff7 com.apple.iokit.IOHIDLib (1.7.1 - 1.7.1) <F32A4AFC-EAA4-3230-8153-CCBE88CD5B86> /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib
    0x111d62000 - 0x111d63ffc +cl_kernels (??? - ???) <20A20A04-1EDD-4538-BCA5-61A247CDE512> cl_kernels
    0x111df0000 - 0x111df0ff1 +cl_kernels (??? - ???) <13B2ED18-8E9C-407A-B812-6FF6BA9EEDF5> cl_kernels
    0x112f94000 - 0x112f94ff5 +cl_kernels (??? - ???) <1B8EDBFF-C21F-47BD-8FE7-53CA2EE67F77> cl_kernels
    0x113002000 - 0x113003ff3 +cl_kernels (??? - ???) <04E17E00-3531-490E-96FB-CA681F1DFF42> cl_kernels
    0x1156c6000 - 0x1156ccfef libcldcpuengine.dylib (1.50.69 - compatibility 1.0.0) <303313AD-2D57-37A5-922B-3194C5DCD007> /System/Library/Frameworks/OpenCL.framework/Libraries/libcldcpuengine.dylib
    0x115d47000 - 0x115d4aff7 libCoreFSCache.dylib (??? - ???) <70D5EB80-24F5-3837-9302-EBD4CFCE5CBA> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib
    0x115d7c000 - 0x115d7dff3 +cl_kernels (??? - ???) <47CDEE14-22EC-42C5-8FAE-08BB480641A5> cl_kernels
    0x115d88000 - 0x115d88ff5 +cl_kernels (??? - ???) <88A133B3-5D72-4995-AFAB-168E0EBDBA5B> cl_kernels
    0x115d8a000 - 0x115e1dff7 unorm8_bgra.dylib (1.50.69 - compatibility 1.0.0) <5FB796A4-1AD0-3B4D-AA83-F8A46E039224> /System/Library/Frameworks/OpenCL.framework/Libraries/ImageFormats/unorm8_bgra.dylib
    0x1160fd000 - 0x1160fdffd +cl_kernels (??? - ???) <6FC0E6A7-3A69-475C-BEB2-0A155BBA5F2D> cl_kernels
    0x119dca000 - 0x119f63fff GLEngine (??? - ???) <61484217-C41D-3A65-86BD-397ACC0D069F> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
    0x119f97000 - 0x11a090fff libGLProgrammability.dylib (??? - ???) <7396EE13-5FA6-3E78-88D0-2502CFE79A97> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
    0x11a0b6000 - 0x11a37eff7 com.apple.ATIRadeonX3000GLDriver (7.18.18 - 7.1.8) <337EB117-0CB0-3C9E-AEE8-76BCB3CB9371> /System/Library/Extensions/ATIRadeonX3000GLDriver.bundle/Contents/MacOS/ATIRadeonX3000GLDriver
    0x11a3c9000 - 0x11a7d4ff7 com.apple.driver.AppleIntelHD3000GraphicsGLDriver (7.18.18 - 7.1.8) <20ACFA77-6847-3053-A3D8-498150E8FC62> /System/Library/Extensions/AppleIntelHD3000GraphicsGLDriver.bundle/Contents/MacOS/AppleIntelHD3000GraphicsGLDriver
    0x11a9b0000 - 0x11a9deff7 GLRendererFloat (??? - ???) <E33704BC-AA25-3279-A585-ABC6B3176D3E> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GLRendererFloat
    0x11ad94000 - 0x11aedfff7 com.apple.audio.units.Components (1.7.2 - 1.7.2) <DC2BA4BE-E91A-3680-A88A-D8A709C48909> /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
    0x11af53000 - 0x11af57fff com.apple.audio.AudioIPCPlugIn (1.2.2 - 1.2.2) <D4D40031-05D5-3D8B-A9A5-490D9483E188> /System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn
    0x11af5c000 - 0x11af61fff com.apple.audio.AppleHDAHALPlugIn (2.2.0 - 2.2.0f3) <4EC4981B-68AE-357E-960F-3D4603A61E9F> /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn
    0x12e614000 - 0x12e6a7ff7 unorm8_argb.dylib (1.50.69 - compatibility 1.0.0) <62C3F70B-9B04-39BD-BE29-582A1DE89A90> /System/Library/Frameworks/OpenCL.framework/Libraries/ImageFormats/unorm8_argb.dylib
    0x7fff69bc7000 - 0x7fff69bfbbaf dyld (195.6 - ???) <0CD1B35B-A28F-32DA-B72E-452EAD609613> /usr/lib/dyld
    0x7fff87293000 - 0x7fff8763cfef com.apple.MediaToolbox (1.0 - 705.78) <A4DF8258-0CB9-3244-BF12-3AD02B1952B0> /System/Library/PrivateFrameworks/MediaToolbox.framework/Versions/A/MediaToolbox
    0x7fff876b1000 - 0x7fff876f8ff7 com.apple.CoreMedia (1.0 - 705.78) <F6EA2328-FD3E-3057-80C7-C9845837F863> /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
    0x7fff87754000 - 0x7fff8775dff7 libsystem_notify.dylib (80.1.0 - compatibility 1.0.0) <A4D651E3-D1C6-3934-AD49-7A104FD14596> /usr/lib/system/libsystem_notify.dylib
    0x7fff8776c000 - 0x7fff8784bff7 com.apple.ImageIO.framework (3.1.2 - 3.1.2) <FFA7532B-336A-3F0B-9AB9-2A35B56ED887> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
    0x7fff87887000 - 0x7fff87ca4ff7 com.apple.SceneKit (125.3 - 125.4) <12AD6DBE-F3A3-34D6-BA01-B211BEAFD48F> /System/Library/PrivateFrameworks/SceneKit.framework/Versions/A/SceneKit
    0x7fff87ca5000 - 0x7fff87ca7fff libquarantine.dylib (36.6.0 - compatibility 1.0.0) <0EBF714B-4B69-3E1F-9A7D-6BBC2AACB310> /usr/lib/system/libquarantine.dylib
    0x7fff87ca8000 - 0x7fff87caeff7 libunwind.dylib (30.0.0 - compatibility 1.0.0) <1E9C6C8C-CBE8-3F4B-A5B5-E03E3AB53231> /usr/lib/system/libunwind.dylib
    0x7fff87caf000 - 0x7fff87cb6fff libCGXCoreImage.A.dylib (600.0.0 - compatibility 64.0.0) <B3F07872-63B1-3AAF-A313-9B2886822C58> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXCoreImage.A.dylib
    0x7fff87cb7000 - 0x7fff87ce0fff libJPEG.dylib (??? - ???) <64D079F9-256A-323B-A837-84628B172F21> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x7fff87ce1000 - 0x7fff87cfdfff com.apple.frameworks.preferencepanes (15.0 - 15.0) <A1ABA9DB-2C8A-3C96-976A-21E63194F7B2> /System/Library/Frameworks/PreferencePanes.framework/Versions/A/PreferencePanes
    0x7fff87cfe000 - 0x7fff87d1bfff libxpc.dylib (77.19.0 - compatibility 1.0.0) <9F57891B-D7EF-3050-BEDD-21E7C6668248> /usr/lib/system/libxpc.dylib
    0x7fff87d1c000 - 0x7fff87d1dfff libDiagnosticMessagesClient.dylib (??? - ???) <3DCF577B-F126-302B-BCE2-4DB9A95B8598> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff87d1e000 - 0x7fff87d33fff com.apple.speech.synthesis.framework (4.0.74 - 4.0.74) <C061ECBB-7061-3A43-8A18-90633F943295> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x7fff87e29000 - 0x7fff87e37fff com.apple.NetAuth (3.1 - 3.1) <FE7EC4D7-5632-3B8D-9094-A0AC8D60EDEE> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
    0x7fff87e38000 - 0x7fff87e4ffff com.apple.MultitouchSupport.framework (231.4 - 231.4) <10A978D1-8781-33F0-BE45-60C9171F7278> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
    0x7fff87e50000 - 0x7fff87ef1ff7 com.apple.LaunchServices (480.33 - 480.33) <45EF2044-3396-3910-9B5B-C8F7777D5F56> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
    0x7fff88154000 - 0x7fff88192fff com.apple.bom (11.0 - 183) <F300B9EC-995E-33A7-9175-9F07D4B68F16> /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
    0x7fff88193000 - 0x7fff881a9ff7 com.apple.ImageCapture (7.0.1 - 7.0.1) <BF4EC1CC-C998-3529-A69F-765774C66A6F> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
    0x7fff881aa000 - 0x7fff88202fff libTIFF.dylib (??? - ???) <A0FF68DE-2935-30E7-B61C-4D9D70E14AD0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x7fff88224000 - 0x7fff88251fe7 libSystem.B.dylib (159.1.0 - compatibility 1.0.0) <7BEBB139-50BB-3112-947A-F4AA168F991C> /usr/lib/libSystem.B.dylib
    0x7fff88252000 - 0x7fff88426ff7 com.apple.CoreFoundation (6.7.2 - 635.21) <62A3402E-A4E7-391F-AD20-1EF20236CE1B> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff88427000 - 0x7fff8843bff7 com.apple.LangAnalysis (1.7.0 - 1.7.0) <04C31EF0-912A-3004-A08F-CEC27030E0B2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
    0x7fff8843c000 - 0x7fff88441ff7 libsystem_network.dylib (??? - ???) <5DE7024E-1D2D-34A2-80F4-08326331A75B> /usr/lib/system/libsystem_network.dylib
    0x7fff88442000 - 0x7fff88547fff libFontParser.dylib (??? - ???) <759645F2-8CB1-358C-AF41-BA3797CD0F60> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
    0x7fff88571000 - 0x7fff88574ff7 com.apple.securityhi (4.0 - 1) <7146CB8E-B754-3B0E-A74E-77E9138A81C5> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
    0x7fff885bd000 - 0x7fff885c4fff com.apple.NetFS (4.0 - 4.0) <433EEE54-E383-3505-9154-45B909FD3AF0> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x7fff885c5000 - 0x7fff8883aff7 com.apple.imageKit (2.1.2 - 1.0) <5BAA52A9-F359-31E4-8109-74EBCEB626B4> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.framework/Versions/A/ImageKit
    0x7fff889dd000 - 0x7fff88d01fff com.apple.AddressBook.framework (6.1.2 - 1090) <65FE6A36-F3F8-37FE-8B88-50F20F278779> /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
    0x7fff88d5f000 - 0x7fff88d98fe7 libssl.0.9.8.dylib (44.0.0 - compatibility 0.9.8) <79AAEC98-1258-3DA4-B1C0-4120049D390B> /usr/lib/libssl.0.9.8.dylib
    0x7fff88d99000 - 0x7fff88e04ff7 com.apple.framework.IOKit (2.0 - ???) <6C604894-7F61-3130-8499-20791D14577F> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff88e05000 - 0x7fff88ee9fff com.apple.CoreServices.OSServices (478.46 - 478.46) <70BEE269-8F4D-3FDC-B1AD-A591C0CB37E5> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
    0x7fff88eea000 - 0x7fff894cefff libBLAS.dylib (??? - ???) <C34F6D88-187F-33DC-8A68-C0C9D1FA36DF> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    0x7fff894cf000 - 0x7fff894d1ff7 com.apple.print.framework.Print (7.4 - 247.3) <626C58D5-2841-3329-8C32-9F4A8353F3E7> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
    0x7fff894ee000 - 0x7fff89761fff com.apple.CoreImage (7.98 - 1.0.1) <73485E4E-1407-3913-AB3C-B54986A3E01C> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage
    0x7fff89762000 - 0x7fff89762fff com.apple.ApplicationServices (41 - 41) <89B6AD5B-5C75-3E83-8C2B-AA7F4C55E400> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    0x7fff89763000 - 0x7fff89808fff com.apple.ink.framework (1.4 - 110) <F93B76B3-E57C-3805-B20D-03717A3F91DD> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
    0x7fff89809000 - 0x7fff89839ff7 com.apple.DictionaryServices (1.2.1 - 158.2) <3FC86118-7553-38F7-8916-B329D2E94476> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
    0x7fff89ae8000 - 0x7fff89b13ff7 com.apple.CoreServicesInternal (113.17 - 113.17) <B1DF81C3-9C23-3BAE-9DE8-21EAFEEB97B8> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal
    0x7fff89b14000 - 0x7fff89b17fff libRadiance.dylib (??? - ???) <CD89D70D-F177-3BAE-8A26-644EA7D5E28E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x7fff89b18000 - 0x7fff89fdffff FaceCoreLight (1.4.7 - compatibility 1.0.0) <BDD0E1DE-CF33-3AF8-B33B-4D1574CCC19D> /System/Library/PrivateFrameworks/FaceCoreLight.framework/Versions/A/FaceCoreLight
    0x7fff89fe0000 - 0x7fff89fe6fff libGFXShared.dylib (??? - ???) <8A61FA67-EB3C-319D-AE3C-64936FB26BAC> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
    0x7fff89fe7000 - 0x7fff8a11dfff com.apple.vImage (5.1 - 5.1) <A08B7582-67BC-3EED-813A-4833645964A7> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
    0x7fff8a11e000 - 0x7fff8a14bfff com.apple.quartzfilters (1.7.0 - 1.7.0) <CE1EDD58-7273-38F9-AD33-871A8BA7ABF3> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzFilters.framework/Versions/A/QuartzFilters
    0x7fff8a14c000 - 0x7fff8a19afff libauto.dylib (??? - ???) <D8AC8458-DDD0-3939-8B96-B6CED81613EF> /usr/lib/libauto.dylib
    0x7fff8a19b000 - 0x7fff8a19bfff com.apple.Cocoa (6.6 - ???) <7EC4D759-B2A6-3A99-AC75-809FED1500C6> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x7fff8a19c000 - 0x7fff8a1b8ff7 com.apple.GenerationalStorage (1.0 - 126.1) <509F52ED-E54B-3FEF-B3C2-759387B826E6> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
    0x7fff8aef1000 - 0x7fff8b213fe7 com.apple.JavaScriptCore (7534.56 - 7534.56.6) <675725F8-37C4-3B80-ADB0-7B6AE908A908> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
    0x7fff8b214000 - 0x7fff8b216fff libCVMSPluginSupport.dylib (??? - ???) <1C73D331-6F6C-3872-A011-1C41FBF49F2A> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
    0x7fff8b261000 - 0x7fff8b27eff7 com.apple.openscripting (1.3.3 - ???) <BDCCCBA9-F440-30BD-8378-FAB5AF685A5D> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
    0x7fff8b27f000 - 0x7fff8b282fff com.apple.AppleSystemInfo (1.0 - 1) <111B6F69-3FBD-3860-BCF8-1DF02D9BED28> /System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/AppleSystemInfo
    0x7fff8b283000 - 0x7fff8b2c7ff7 libRIP.A.dylib (600.0.0 - compatibility 64.0.0) <22B2A10A-34B5-3787-88C9-B2722FE79504> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
    0x7fff8b49a000 - 0x7fff8b4a7ff7 libbz2.1.0.dylib (1.0.5 - compatibility 1.0.0) <3373D310-3B10-3DD1-B754-B7B138CD448D> /usr/lib/libbz2.1.0.dylib
    0x7fff8b4a8000 - 0x7fff8b4aefff libmacho.dylib (800.0.0 - compatibility 1.0.0) <165514D7-1BFA-38EF-A151-676DCD21FB64> /usr/lib/system/libmacho.dylib
    0x7fff8b4af000 - 0x7fff8b518fff com.apple.coreui (1.2.2 - 165.10) <F427BF39-3E01-3DC6-A63D-BFC50FE6C72E> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
    0x7fff8b552000 - 0x7fff8bce6fef com.apple.CoreAUC (6.16.11 - 6.16.11) <3D40FEA5-AFE7-3752-A52E-D0F80304320A> /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC
    0x7fff8bce7000 - 0x7fff8bd26fff com.apple.AE (527.7 - 527.7) <B82F7ABC-AC8B-3507-B029-969DD5CA813D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
    0x7fff8bd27000 - 0x7fff8bd35ff7 com.apple.AppleFSCompression (37 - 1.0) <B6B7A560-DD9E-3601-8ACE-42C1FA738843> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression
    0x7fff8bd36000 - 0x7fff8bdb1ff7 com.apple.print.framework.PrintCore (7.1 - 366.3) <C5F39A82-0E77-3AD6-906A-20DD2EE8D374> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
    0x7fff8be4d000 - 0x7fff8be4ffff com.apple.TrustEvaluationAgent (2.0 - 1) <1F31CAFF-C1C6-33D3-94E9-11B721761DDF> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
    0x7fff8be5d000 - 0x7fff8beb7ff7 com.apple.ImageCaptureCore (3.0.3 - 3.0.3) <12C722EE-3A13-3937-ABDF-EDC922F4C299> /System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/ImageCaptureCore
    0x7fff8beb8000 - 0x7fff8bef7ff7 libGLImage.dylib (??? - ???) <49BB4404-68F1-3839-A5C9-983405B59F52> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
    0x7fff8c17e000 - 0x7fff8c17ffff libunc.dylib (24.0.0 - compatibility 1.0.0) <337960EE-0A85-3DD0-A760-7134CF4C0AFF> /usr/lib/system/libunc.dylib
    0x7fff8c180000 - 0x7fff8c181ff7 libremovefile.dylib (21.1.0 - compatibility 1.0.0) <739E6C83-AA52-3C6C-A680-B37FE2888A04> /usr/lib/system/libremovefile.dylib
    0x7fff8c19a000 - 0x7fff8c19ffff libpam.2.dylib (3.0.0 - compatibility 3.0.0) <D952F17B-200A-3A23-B9B2-7C1F7AC19189> /usr/lib/libpam.2.dylib
    0x7fff8c1a0000 - 0x7fff8c202ff7 com.apple.Symbolication (1.3 - 91) <B072970E-9EC1-3495-A1FA-D344C6E74A13> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
    0x7fff8c203000 - 0x7fff8c288ff7 com.apple.Heimdal (2.2 - 2.0) <FF0BD9A4-6FB0-31E3-ABFB-563FBBEC45FC> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
    0x7fff8c289000 - 0x7fff8c2befff com.apple.securityinterface (5.0 - 55022.4) <09EC371E-0B6E-3849-A6C9-F8E9DB17BBCD> /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInterface
    0x7fff8c2bf000 - 0x7fff8c355ff7 libvMisc.dylib (325.4.0 - compatibility 1.0.0) <642D8D54-F9F5-3FBB-A96C-EEFE94C6278B> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
    0x7fff8c356000 - 0x7fff8c364fff libdispatch.dylib (187.9.0 - compatibility 1.0.0) <1D5BE322-A9B9-3BCE-8FAC-076FB07CF54A> /usr/lib/system/libdispatch.dylib
    0x7fff8c3bc000 - 0x7fff8c3c0fff libmathCommon.A.dylib (2026.0.0 - compatibility 1.0.0) <FF83AFF7-42B2-306E-90AF-D539C51A4542> /usr/lib/system/libmathCommon.A.dylib
    0x7fff8c3c5000 - 0x7fff8c4ccfe7 libsqlite3.dylib (9.6.0 - compatibility 9.0.0) <EE02BB01-64C9-304D-9719-A35F5CD6D04C> /usr/lib/libsqlite3.dylib
    0x7fff8c4cd000 - 0x7fff8c5dafff libJP2.dylib (??? - ???) <5BE8CFA7-00C2-3BDE-BC20-5FF6DC18B415> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x7fff8c5db000 - 0x7fff8c68eff7 com.apple.CoreText (220.20.0 - ???) <0E979362-15E4-3955-BF54-B5961361D1CC> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
    0x7fff8c68f000 - 0x7fff8c789ff7 com.apple.DiskImagesFramework (10.7.4 - 331.6) <C7860B00-E1CF-3851-9A3B-9F145B7F498F> /System/Library/PrivateFrameworks/DiskImages.framework/Versions/A/DiskImages
    0x7fff8cb4a000 - 0x7fff8cb9efff libFontRegistry.dylib (??? - ???) <822DD341-C735-36C9-9521-E8E98807D09D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
    0x7fff8cb9f000 - 0x7fff8cbadff7 libkxld.dylib (??? - ???) <C2FC894F-3716-32C3-967E-6AD5E2697045> /usr/lib/system/libkxld.dylib
    0x7fff8cbae000 - 0x7fff8cbbbfff libCSync.A.dylib (600.0.0 - compatibility 64.0.0) <528BAA66-C38C-3093-84B5-92A7832CE7BC> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
    0x7fff8cbbc000 - 0x7fff8cc56ff7 com.apple.SearchKit (1.4.0 - 1.4.0) <4E70C394-773E-3A4B-A93C-59A88ABA9509> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
    0x7fff8cc57000 - 0x7fff8cf73fff com.apple.CoreServices.CarbonCore (960.24 - 960.24) <6F99A26B-788F-37B9-860F-508906EC06D7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
    0x7fff8cf74000 - 0x7fff8cf7bfff libcopyfile.dylib (85.1.0 - compatibility 1.0.0) <0AB51EE2-E914-358C-AC19-47BC024BDAE7> /usr/lib/system/libcopyfile.dylib
    0x7fff8cfe3000 - 0x7fff8dbe9ff7 com.apple.AppKit (6.7.3 - 1138.47) <CAF5783F-F80B-30E7-929F-BBA6D96C5C44> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7fff8dbea000 - 0x7fff8dc33ff7 com.apple.framework.CoreWLAN (2.1.2 - 212.2) <5E421E2D-50EA-340E-A5EE-C848DD6FC34F> /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN
    0x7fff8dc34000 - 0x7fff8dd12fff com.apple.DiscRecording (6.0.4 - 6040.4.1) <E6D5835F-EE3C-3814-A2EE-6962B5570EF1> /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
    0x7fff8dd3f000 - 0x7fff8dd65fff com.apple.framework.familycontrols (3.0 - 300) <93828BC1-3D83-3A93-99A5-F0E7951AFC6C> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls
    0x7fff8ddba000 - 0x7fff8ddf4fe7 com.apple.DebugSymbols (2.1 - 87) <ED2B177C-4146-3715-91DF-D99A8ED5449A> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
    0x7fff8ddf5000 - 0x7fff8e10efff com.apple.Foundation (6.7.2 - 833.25) <22AAC369-B63C-3C55-8AC6-C3ECBA44DA7B> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff8e10f000 - 0x7fff8e129fff com.apple.CoreMediaAuthoring (2.0 - 891) <C7A92C52-AD9F-3CF1-86D5-C0714118935C> /System/Library/PrivateFrameworks/CoreMediaAuthoring.framework/Versions/A/CoreMediaAuthoring
    0x7fff8e170000 - 0x7fff8e212fff com.apple.securityfoundation (5.0 - 55116) <A9311EF6-B7F7-3DA5-84E8-21BC9B2C3C69> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
    0x7fff8e213000 - 0x7fff8e646ff7 com.apple.VideoToolbox (1.0 - 705.78) <7F115540-88CF-3087-951A-7073F7D58F4D> /System/Library/PrivateFrameworks/VideoToolbox.framework/Versions/A/VideoToolbox
    0x7fff8e68e000 - 0x7fff8e8fcff7 com.apple.QuartzComposer (5.0 - 236.7) <D556126B-3D67-3E37-82E0-D06532DE0C89> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzComposer.framework/Versions/A/QuartzComposer
    0x7fff8ea6a000 - 0x7fff8ea91fff com.apple.framework.internetaccounts (1.2 - 3) <483427CA-8140-355D-B668-78F5A5F1A1D6> /System/Library/PrivateFrameworks/InternetAccounts.framework/Versions/A/InternetAccounts
    0x7fff8ea92000 - 0x7fff8eaa4ff7 libbsm.0.dylib (??? - ???) <349BB16F-75FA-363F-8D98-7A9C3FA90A0D> /usr/lib/libbsm.0.dylib
    0x7fff8eaa5000 - 0x7fff8eaafff7 liblaunch.dylib (392.38.0 - compatibility 1.0.0) <6ECB7F19-B384-32C1-8652-2463C1CF4815> /usr/lib/system/liblaunch.dylib
    0x7fff8eab0000 - 0x7fff8eac0ff7 com.apple.opengl (1.7.7 - 1.7.7) <0CA11278-746C-353A-923B-BCC0047190C3> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x7fff8eac1000 - 0x7fff8eac1fff com.apple.quartzframework (1.5 - 1.5) <2C13AE76-C86B-3D48-A583-121689190F74> /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
    0x7fff8eac2000 - 0x7fff8eb06ff7 com.apple.MediaKit (12 - 602) <0C2CBEDA-412F-3DDF-9C74-44114E5E0DB9> /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
    0x7fff8eb0a000 - 0x7fff8eb2afff libPng.dylib (??? - ???) <F4D84592-C450-3076-88E9-8E6517C7EF33> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x7fff8eb33000 - 0x7fff8eba6fff libstdc++.6.dylib (52.0.0 - compatibility 7.0.0) <6BDD43E4-A4B1-379E-9ED5-8C713653DFF2> /usr/lib/libstdc++.6.dylib
    0x7fff8eba7000 - 0x7fff8ebb3fff com.apple.DirectoryService.Framework (10.7 - 146) <65C78AE3-89B8-3372-8359-31FD520781D5> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService
    0x7fff8ebba000 - 0x7fff8ebbeff7 com.apple.CommonPanels (1.2.5 - 94) <37C6540B-F8D1-355A-806C-F93D8FB522AB> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
    0x7fff8ebbf000 - 0x7fff8ef12fff com.apple.FinderKit (1.0.3 - 1.0.3) <D0BF82AD-69D6-3190-804C-6CF061BA22EF> /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit
    0x7fff8ef13000 - 0x7fff8ef2afff com.apple.CFOpenDirectory (10.7 - 146) <E71AE4A2-F72B-35F2-9043-9F45CF75F11A> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
    0x7fff8ef2b000 - 0x7fff8ef2ffff libCGXType.A.dylib (600.0.0 - compatibility 64.0.0) <2B1215A0-1B43-39C3-B4F4-392D71D08FFA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
    0x7fff8ef30000 - 0x7fff8ef70fff libtidy.A.dylib (??? - ???) <E500CDB9-C010-3B1A-B995-774EE64F39BE> /usr/lib/libtidy.A.dylib
    0x7fff8ef71000 - 0x7fff8efc4fff com.apple.AppleVAFramework (5.0.14 - 5.0.14) <E3FE9B47-2276-3316-B2D2-85784AD2D9B3> /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA
    0x7fff8efc5000 - 0x7fff8f03bfff com.apple.CoreSymbolication (2.2 - 73.2) <126415E3-3A35-315B-B4B7-507CDBED0D58> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
    0x7fff8f03c000 - 0x7fff8f09cfff libvDSP.dylib (325.4.0 - compatibility 1.0.0) <3A7521E6-5510-3FA7-AB65-79693A7A5839> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
    0x7fff8f09d000 - 0x7fff8f0a2fff libGIF.dylib (??? - ???) <8763F67F-A881-30B6-B20E-D395B4D9FD58> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x7fff8f0a3000 - 0x7fff8f0a3fff com.apple.audio.units.AudioUnit (1.7.2 - 1.7.2) <04C10813-CCE5-3333-8C72-E8E35E417B3B> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x7fff8f0f7000 - 0x7fff8f0fcfff libcache.dylib (47.0.0 - compatibility 1.0.0) <1571C3AB-BCB2-38CD-B3B2-C5FC3F927C6A> /usr/lib/system/libcache.dylib
    0x7fff8f0fd000 - 0x7fff8f1fffff libxml2.2.dylib (10.3.0 - compatibility 10.0.0) <AFBB22B7-07AE-3F2E-B88C-70BEEBFB8A86> /usr/lib/libxml2.2.dylib
    0x7fff8f200000 - 0x7fff8f276fff libc++.1.dylib (28.1.0 - compatibility 1.0.0) <DA22E4D6-7F20-3BEA-9B89-2FBA735C2EE1> /usr/lib/libc++.1.dylib
    0x7fff8f2a8000 - 0x7fff8f2e3fff libsystem_info.dylib (??? - ???) <35F90252-2AE1-32C5-8D34-782C614D9639> /usr/lib/system/libsystem_info.dylib
    0x7fff8f2f9000 - 0x7fff8f345ff7 com.apple.SystemConfiguration (1.11.3 - 1.11) <0A7F1982-B4EA-3424-A0C7-FE46C6224F03> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fff8f38c000 - 0x7fff8f453ff7 com.apple.ColorSync (4.7.4 - 4.7.4) <590AFCDA-F10E-31FE-9B01-DA5FFE74C2BB> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
    0x7fff8f454000 - 0x7fff8f881fff libLAPACK.dylib (??? - ???) <4F2E1055-2207-340B-BB45-E4F16171EE0D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
    0x7fff8f882000 - 0x7fff8f8d9fff com.apple.Suggestions (1.1 - 85.1) <DE511C42-D2F2-309C-80EE-53862245DE22> /System/Library/PrivateFrameworks/Suggestions.framework/Versions/A/Suggestions
    0x7fff8f923000 - 0x7fff8f923fff com.apple.Accelerate (1.7 - Accelerate 1.7) <82DDF6F5-FBC3-323D-B71D-CF7ABC5CF568> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x7fff8f924000 - 0x7fff8f99afff com.apple.ISSupport (1.9.8 - 56) <2BEEF162-893F-356C-BD4E-8668F044A917> /System/Library/PrivateFrameworks/ISSupport.framework/Versions/A/ISSupport
    0x7fff8f99b000 - 0x7fff8f9c6ff7 libxslt.1.dylib (3.24.0 - compatibility 3.0.0) <E71220D3-8015-38EC-B97D-7FDB383C2BDC> /usr/lib/libxslt.1.dylib
    0x7fff8f9c7000 - 0x7fff8f9cdff7 com.apple.phonenumbers (1.0 - 47) <BC6C2FE2-99C0-3AD6-AA9C-C88780FFFCCF> /System/Library/PrivateFrameworks/PhoneNumbers.framework/Versions/A/PhoneNumbers
    0x7fff8f9ce000 - 0x7fff9036bc9f com.apple.CoreGraphics (1.600.0 - ???) <1DB9C92C-DFA8-36ED-B513-998134462148> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    0x7fff9036c000 - 0x7fff90377ff7 libc++abi.dylib (14.0.0 - compatibility 1.0.0) <8FF3D766-D678-36F6-84AC-423C878E6D14> /usr/lib/libc++abi.dylib
    0x7fff90378000 - 0x7fff9038bff7 libCRFSuite.dylib (??? - ???) <0B76941F-218E-30C8-B6DE-E15919F8DBEB> /usr/lib/libCRFSuite.dylib
    0x7fff9038c000 - 0x7fff906b8ff7 com.apple.HIToolbox (1.9 - ???) <B7D2A06B-7BE5-3355-BF7D-8139100B9B97> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7fff906e1000 - 0x7fff906e4fff com.apple.help (1.3.2 - 42) <BF14DE49-F7E8-336F-81FB-BBDF2DB3AC09> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
    0x7fff90726000 - 0x7fff9072dff7 com.apple.CommerceCore (1.0 - 17) <3894FE48-EDCE-30E9-9796-E2F959D92704> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore
    0x7fff9072e000 - 0x7fff9072ffff libdnsinfo.dylib (395.11.0 - compatibility 1.0.0) <853BAAA5-270F-3FDC-B025-D448DB72E1C3> /usr/lib/system/libdnsinfo.dylib
    0x7fff90730000 - 0x7fff90746fff libGL.dylib (??? - ???) <6A473BF9-4D35-34C6-9F8B-86B68091A9AF> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x7fff90747000 - 0x7fff90788fff com.apple.QD (3.40 - ???) <47674D2C-BE88-388E-B1B0-03F08BFFE5FD> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
    0x7fff90795000 - 0x7fff907a7ff7 libz.1.dylib (1.2.5 - compatibility 1.0.0) <30CBEF15-4978-3DED-8629-7109880A19D4> /usr/lib/libz.1.dylib
    0x7fff907c7000 - 0x7fff907e7fff libsystem_kernel.dylib (1699.26.8 - compatibility 1.0.0) <1DDC0B0F-DB2A-34D6-895D-E5B2B5618946> /usr/lib/system/libsystem_kernel.dylib
    0x7fff907e8000 - 0x7fff907eefff com.apple.DiskArbitration (2.4.1 - 2.4.1) <CEA34337-63DE-302E-81AA-10D717E1F699> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x7fff907ef000 - 0x7fff90813fff com.apple.Kerberos (1.0 - 1) <1F826BCE-DA8F-381D-9C4C-A36AA0EA1CB9> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x7fff90814000 - 0x7fff909b3ff7 com.apple.QuartzCore (1.7 - 270.4) <97E20A5F-652B-3E85-8C46-DCB777248ECD> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x7fff909b4000 - 0x7fff909c2fff com.apple.HelpData (2.1.2 - 72.2) <363E36C5-F7C0-34A6-83D3-97C8FB6511F0> /System/Library/PrivateFrameworks/HelpData.framework/Versions/A/HelpData
    0x7fff90a02000 - 0x7fff90b1bfff com.apple.DesktopServices (1.6.3 - 1.6.3) <20812ECE-CACC-3D44-8108-025EF6B45C14> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
    0x7fff911f8000 - 0x7fff9120aff7 libsasl2.2.dylib (3.15.0 - compatibility 3.0.0) <6245B497-784B-355C-98EF-2DC6B45BF05C> /usr/lib/libsasl2.2.dylib
    0x7fff9120b000 - 0x7fff9120cff7 libsystem_sandbox.dylib (??? - ???) <96D38E74-F18F-3CCB-A20B-E8E3ADC4E166> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff9120d000 - 0x7fff91240ff7 com.apple.GSS (2.2 - 2.0) <971395D0-B9D0-3FDE-B23F-6F9D0A2FB95F> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
    0x7fff912a3000 - 0x7fff91387e5f libobjc.A.dylib (228.0.0 - compatibility 1.0.0) <871E688B-CF57-3BC7-80D6-F6476DFF109B> /usr/lib/libobjc.A.dylib
    0x7fff91388000 - 0x7fff91388fff libkeymgr.dylib (23.0.0 - compatibility 1.0.0) <61EFED6A-A407-301E-B454-CD18314F0075> /usr/lib/system/libkeymgr.dylib
    0x7fff91389000 - 0x7fff9138ffff IOSurface (??? - ???) <77C6757B-D357-3E34-9424-48F962B5CC9C> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
    0x7fff91390000 - 0x7fff913bffff com.apple.shortcut (2.1 - 2.1) <43C186C0-6B0F-39FA-976A-C307CC410495> /System/Library/PrivateFrameworks/Shortcut.framework/Versions/A/Shortcut
    0x7fff913cb000 - 0x7fff916b4ff7 com.apple.security (7.0 - 55148.1) <E9C46204-1336-3D90-BC67-5162FC7079D2> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff916c1000 - 0x7fff9181afff com.apple.audio.toolbox.AudioToolbox (1.7.2 - 1.7.2) <0AD8197C-1BA9-30CD-98F1-4CA2C6559BA8> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x7fff9181b000 - 0x7fff9191bfff com.apple.QuickLookUIFramework (3.2 - 500.16) <0BACF8C4-5A7B-31EE-B4AA-3CCF8615C9A8> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.framework/Versions/A/QuickLookUI
    0x7fff9191c000 - 0x7fff91927ff7 com.apple.DisplayServicesFW (2.5.4 - 323.3) <5E7F7A88-9313-3C31-87BD-80F3361DA338> /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayServices
    0x7fff91928000 - 0x7fff9196efff libcurl.4.dylib (7.0.0 - compatibility 7.0.0) <2C442396-1006-3765-92D2-60869D4641CE> /usr/lib/libcurl.4.dylib
    0x7fff91974000 - 0x7fff91975fff liblangid.dylib (??? - ???) <CACBE3C3-2F7B-3EED-B50E-EDB73F473B77> /usr/lib/liblangid.dylib
    0x7fff91976000 - 0x7fff91995fff libresolv.9.dylib (46.1.0 - compatibility 1.0.0) <0635C52D-DD53-3721-A488-4C6E95607A74> /usr/lib/libresolv.9.dylib
    0x7fff919b2000 - 0x7fff91a44ff7 com.apple.CorePDF (3.1 - 3.1) <F81F99A9-7FF6-3A6A-92C7-78C76BA35777> /System/Library/PrivateFrameworks/CorePDF.framework/Versions/A/CorePDF
    0x7fff91a45000 - 0x7fff91a5afff com.apple.FileSync.framework (6.0.1 - 502.2) <65A5CD1B-766D-33F8-8AC1-0984499838E9> /System/Library/PrivateFrameworks/FileSync.framework/Versions/A/FileSync
    0x7fff91a5b000 - 0x7fff91a66fff com.apple.CommonAuth (2.2 - 2.0) <77E6F0D0-85B6-30B5-B99C-F57104DD2EBA> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
    0x7fff91adc000 - 0x7fff91fdffe7 com.apple.RawCamera.bundle (3.13.0 - 627) <4593B038-1A60-5ADB-565D-5BDFA28A53F2> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
    0x7fff91fe0000 - 0x7fff921e2fff libicucore.A.dylib (46.1.0 - compatibility 1.0.0) <38CD6ED3-C8E4-3CCD-89AC-9C3198803101> /usr/lib/libicucore.A.dylib
    0x7fff921e3000 - 0x7fff9240dfe7 com.apple.CoreData (104.1 - 358.14) <6BB64605-8DA7-337D-A2AB-A3346A421CBD> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x7fff9240e000 - 0x7fff92412fff libdyld.dylib (195.5.0 - compatibility 1.0.0) <380C3F44-0CA7-3514-8080-46D1C9DF4FCD> /usr/lib/system/libdyld.dylib
    0x7fff92413000 - 0x7fff92413fff com.apple.Accelerate.vecLib (3.7 - vecLib 3.7) <C06A140F-6114-3B8B-B080-E509303145B8> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff92414000 - 0x7fff9259efff com.apple.QTKit (7.7.1 - 2330) <4B5363D4-4854-342F-8B95-DE6559075B46> /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit
    0x7fff9259f000 - 0x7fff9269cff7 com.apple.avfoundation (2.0 - 180.40) <ED3DCB15-7E88-34FD-9E56-4ECAD10A6E7E> /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation
    0x7fff9269d000 - 0x7fff926acff7 libxar-nossl.dylib (??? - ???) <A6ABBFB9-E4ED-38AD-BBBB-F9958B9CEFB5> /usr/lib/libxar-nossl.dylib
    0x7fff926ad000 - 0x7fff926b5fff libsystem_dnssd.dylib (??? - ???) <D9BB1F87-A42B-3CBC-9DC2-FC07FCEF0016> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff92768000 - 0x7fff92790fff com.apple.PerformanceAnalysis (1.11 - 11) <8D4C6382-DD92-37A2-BCFC-E89951320848> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
    0x7fff92791000 - 0x7fff927ccfff com.apple.LDAPFramework (3.2 - 120.2) <A2675243-9122-308D-A5C8-9C1C4FE7639D> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
    0x7fff927cd000 - 0x7fff92829ff7 com.apple.HIServices (1.21 - ???) <9645CFA8-63BE-3A0D-A636-56D9827E6C8C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
    0x7fff92885000 - 0x7fff928a9fff com.apple.RemoteViewServices (1.4 - 44.1) <EA3837DF-A3A3-37FF-AE11-D50048D5F21A> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
    0x7fff928aa000 - 0x7fff92912ff7 com.apple.audio.CoreAudio (4.0.2 - 4.0.2) <DFD8F4DE-3B45-3A2E-9CBE-FD8D5DD30923> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x7fff92913000 - 0x7fff92997ff7 com.apple.ApplicationServices.ATS (317.11.0 - ???) <082DEAFE-8A93-3AF2-B4E5-30012E725929> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
    0x7fff92998000 - 0x7fff929c5ff7 com.apple.opencl (1.50.69 - 1.50.69) <57939F7D-3626-30E2-883D-8A7CCB3F8763> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
    0x7fff929cb000 - 0x7fff92a0bff7 libcups.2.dylib (2.9.0 - compatibility 2.0.0) <5328C0AB-F169-3786-A3EC-9E82E960CAAF> /usr/lib/libcups.2.dylib
    0x7fff92e9f000 - 0x7fff92ef3ff7 com.apple.ScalableUserInterface (1.0 - 1) <33563775-C662-313D-B7FA-3D575A9F3D41> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableUserInterface.framework/Versions/A/ScalableUserInterface
    0x7fff92efe000 - 0x7fff92f27fff com.apple.CoreVideo (1.7 - 70.3) <9A9D4058-9935-3B0A-B1A6-27EB78D02249> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x7fff92f75000 - 0x7fff92f80ff7 com.apple.speech.recognition.framework (4.0.21 - 4.0.21) <6540EAF2-E3BF-3D2E-B4C1-F106180D6F20> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
    0x7fff92f81000 - 0x7fff92f82ff7 libsystem_blocks.dylib (53.0.0 - compatibility 1.0.0) <8BCA214A-8992-34B2-A8B9-B74DEACA1869> /usr/lib/system/libsystem_blocks.dylib
    0x7fff92f83000 - 0x7fff92fd4ff7 com.apple.CoreMediaIO (212.0 - 3199.1.1) <D8C364AF-A1E8-3215-ABF5-188B50A80B18> /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/CoreMediaIO
    0x7fff92fd5000 - 0x7fff92fd8fff libCoreVMClient.dylib (??? - ???) <934D0D11-C34F-3C06-A352-21BB8FFE9774> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
    0x7fff92fd9000 - 0x7fff93049fff com.apple.datadetectorscore (3.0 - 179.4) <9C01D16F-75A9-3BDD-B91A-F0F32261A2E7> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
    0x7fff9304a000 - 0x7fff930ddff7 com.apple.PDFKit (2.6.3 - 2.6.3) <49BF9CDC-E902-3CAC-9C04-3302545907D5> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framework/Versions/A/PDFKit
    0x7fff930fb000 - 0x7fff9313dff7 libcommonCrypto.dylib (55010.0.0 - compatibility 1.0.0) <BB770C22-8C57-365A-8716-4A3C36AE7BFB> /usr/lib/system/libcommonCrypto.dylib
    0x7fff9313e000 - 0x7fff93228fff com.apple.backup.framework (1.3.3 - 1.3.3) <6C49FBCF-D6AF-3351-BBBF-A98A622CA517> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
    0x7fff93301000 - 0x7fff933f6fff libiconv.2.dylib (7.0.0 - compatibility 7.0.0) <5C40E880-0706-378F-B864-3C2BD922D926> /usr/lib/libiconv.2.dylib
    0x7fff934fa000 - 0x7fff93606fff libcrypto.0.9.8.dylib (44.0.0 - compatibility 0.9.8) <3A8E1F89-5E26-3C8B-B538-81F5D61DBF8A> /usr/lib/libcrypto.0.9.8.dylib
    0x7fff93607000 - 0x7fff93664ff7 com.apple.QuickLookFramework (3.2 - 500.16) <46017A4B-9E2B-329C-A8D9-2C11DE6C1A47> /System/Library/Frameworks/QuickLook.framework/Versions/A/QuickLook
    0x7fff93665000 - 0x7fff936e8fef com.apple.Metadata (10.7.0 - 627.32) <38735923-2EB5-3133-BE36-BDD65A7E47DB> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
    0x7fff936ed000 - 0x7fff937cafef libsystem_c.dylib (763.13.0 - compatibility 1.0.0) <41B43515-2806-3FBC-ACF1-A16F35B7E290> /usr/lib/system/libsystem_c.dylib
    0x7fff937d4000 - 0x7fff937d9fff com.apple.OpenDirectory (10.7 - 146) <A674AB55-6E3D-39AE-9F9B-9865D0193020> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
    0x7fff93993000 - 0x7fff93993fff com.apple.CoreServices (53 - 53) <043C8026-8EDD-3241-B090-F589E24062EF> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fff93994000 - 0x7fff939bffff libpcre.0.dylib (1.1.0 - compatibility 1.0.0) <7D3CDB0A-840F-3856-8F84-B4A50E66431B> /usr/lib/libpcre.0.dylib
    0x7fff939c0000 - 0x7fff939c0fff com.apple.Carbon (153 - 153) <C1A30E01-E113-38A0-95CA-99360F92A37A> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x7fff940fa000 - 0x7fff94123ff7 com.apple.framework.Apple80211 (7.2.1 - 721.3) <4BA49D6F-373B-3F4E-A2B3-453C2ED66318> /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
    0x7fff94136000 - 0x7fff94188ff7 libGLU.dylib (??? - ???) <E2EF0336-3A5F-3532-AEB0-6CCF04851B72> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x7fff94189000 - 0x7fff9418efff libcompiler_rt.dylib (6.0.0 - compatibility 1.0.0) <98ECD5F6-E85C-32A5-98CD-8911230CB66A> /usr/lib/system/libcompiler_rt.dylib
    0x7fff9418f000 - 0x7fff942f6fff com.apple.CFNetwork (520.4.3 - 520.4.3) <31D7A595-375E-341A-8E97-21E73CC62E4A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7fff942f7000 - 0x7fff942f7fff com.apple.vecLib (3.7 - vecLib 3.7) <9A58105C-B36E-35B5-812C-4ED693F2618F> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib

    External Modification Summary:
    Calls made by other processes targeting this process:
    task_for_pid: 16
    thread_create: 0
    thread_set_state: 105
    Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
    Calls made by all processes on this machine:
    task_for_pid: 7507
    thread_create: 0
    thread_set_state: 105

    VM Region Summary:
    ReadOnly portion of Libraries: Total=213.8M resident=138.0M(65%) swapped_out_or_unallocated=75.8M(35%)
    Writable regions: Total=590.0M written=376.7M(64%) resident=409.7M(69%) swapped_out=0K(0%) unallocated=180.4M(31%)

    REGION TYPE VIRTUAL
    =========== =======
    CG backing stores 3992K
    CG image 372K
    CG raster data 968K
    CG shared images 3448K
    CoreGraphics 16K
    CoreImage 8K
    CoreServices 2520K
    IOKit 12.3M
    IOKit (reserved) 512K reserved VM address space (unallocated)
    MALLOC 496.4M
    MALLOC guard page 32K
    Memory tag=242 12K
    Memory tag=249 156K
    Memory tag=251 72K
    OpenCL 68K
    STACK GUARD 56.1M
    Stack 14.7M
    VM_ALLOCATE 16.4M
    __CI_BITMAP 80K
    __DATA 59.6M
    __IMAGE 528K
    __LINKEDIT 51.5M
    __RC_CAMERAS 248K
    __TEXT 162.3M
    __UNICODE 544K
    mapped file 46.6M
    shared memory 16.6M
    =========== =======
    TOTAL 945.6M
    TOTAL, minus reserved VM space 945.1M

    Model: MacBookPro8,2, BootROM MBP81.0047.B27, 4 processors, Intel Core i7, 2.5 GHz, 8 GB, SMC 1.69f3
    Graphics: AMD Radeon HD 6770M, AMD Radeon HD 6770M, PCIe, 1024 MB
    Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 512 MB
    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x04CD, 0x46332D3130363636434C392D344742535100
    Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x04CD, 0x46332D3130363636434C392D344742535100
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (5.106.198.4.20)
    Bluetooth: Version 4.0.5f11, 2 service, 18 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: Hitachi HTS727575A9E362, 750.16 GB
    Serial ATA Device: HL-DT-ST DVDRW GS31N
    USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0xfa200000 / 3
    USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfa100000 / 2
    USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0252, 0xfa120000 / 5
    USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821a, 0xfa113000 / 8
    USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd110000 / 3

     
  • zeromus

    zeromus - 2012-07-01

    desmume may be freezing in your case due to some synchronization from the main thread unable to proceed since the sound thread crashed.
    the latest bug report seems to suggest that a sound channel is running out of control and accessing an invalid memory address that desmume isn't prepared to handle. i'm disappointed that desmume has memory addresses that can crash it, but it doesnt surprise me too much. if you can debug it and see what the argument is to _MMU_ARM7_read08() when it crashes, then we might could fix it easily (or we might just be fixing the immediate cause of the crash, but not the true bug that made it run out of control)

     
  • rg8032

    rg8032 - 2012-07-02

    I assume MMU stands for Memory Management Unit and is the bit of code that emulates the MMU hardware on-board the DS. Please correct me if I am wrong.

    The most-likely-to-be-culpable thread call-stack (starting after CFRunLoop related calls):

    19 __NSFireMachPort
    18 -[CocoaDSSpeaker handlePortMessage:]
    17 -[CocoaDSSpeaker handleEmuFrameProcessed:]
    16 SPU_Emulate_user(bool)
    15 SPU_MixAudio
    14 _SPU_ChanUpdate
    13 __SPU_ChanUpdate
    12 ___SPU_ChanUpdate
    11 ____SPU_ChanUpdate
    10 FetchADPCMData
    09 read08
    08 unsigned char _MMU_read08<1, (MMU_ACCESS_TYPE)4>(unsigned int) [inlined]
    07 _MMU_read08(int, MMU_ACCESS_TYPE, unsigned int) [inlined]
    06 _MMU_ARM7_read08(unsigned int)
    [...] **<-- ostream stuff from the logging I did in _MMU_ARM7_read08(unsigned int) > not present in unedited r4297-->**

    The argument sent to u8 FASTCALL _MMU_ARM7_read08(u32 adr) changes. When the program locks up, it repeatedly calls _MMU_ARM7_read08(u32 adr). adr increments every two calls. The value of adr at program load and upon initial and subsequent "load state" is 0x4000300 (dec:67109632). What parts of the code frequently call this function or the static inline u8 read08(u32 addr) function (from Core/SPU.cpp:46 - this can end up calling _MMU_ARM7_read08(u32 adr))?

    The offending section of _MMU_ARM7_read08(u32 adr) is called when the program starts, when I load a save state, and repeatedly when it freezes. I put in some code to help me visualise. It outputs the address (adr) that is passed to the function and then it outputs the indexes that are being requested in the array for the return call (line 4301 from r4297). Here is some output from some code I slipped in that function that displays adr and the values that are inserted into the return line where it is geeking:

    *************************************************************************************
    adr = 0x 4000000
    = 67108864

    about to return:
    MMU.MMU_MEM[ARMCPU_ARM7][adr>>20][adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20]]
    MMU.MMU_MEM[ 1][ 64][adr&MMU.MMU_MASK[ 1][ 64]]

    adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20] = 4227858432

    *************************************************************************************
    adr = 0x 4000000
    = 67108864

    about to return:
    MMU.MMU_MEM[ARMCPU_ARM7][adr>>20][adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20]]
    MMU.MMU_MEM[ 1][ 64][adr&MMU.MMU_MASK[ 1][ 64]]

    adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20] = 4227858432

    *************************************************************************************
    adr = 0x 4000001
    = 67108865

    about to return:
    MMU.MMU_MEM[ARMCPU_ARM7][adr>>20][adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20]]
    MMU.MMU_MEM[ 1][ 64][adr&MMU.MMU_MASK[ 1][ 64]]

    adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20] = 4244635647

    *************************************************************************************
    adr = 0x 4000001
    = 67108865

    about to return:
    MMU.MMU_MEM[ARMCPU_ARM7][adr>>20][adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20]]
    MMU.MMU_MEM[ 1][ 64][adr&MMU.MMU_MASK[ 1][ 64]]

    adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20] = 4244635647

    *************************************************************************************
    adr = 0x 40007af
    = 67110831

    about to return:
    MMU.MMU_MEM[ARMCPU_ARM7][adr>>20][adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20]]
    MMU.MMU_MEM[ 1][ 64][adr&MMU.MMU_MASK[ 1][ 64]]

    adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20] = 2868901969

    *************************************************************************************
    adr = 0x 40007af
    = 67110831

    about to return:
    MMU.MMU_MEM[ARMCPU_ARM7][adr>>20][adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20]]
    MMU.MMU_MEM[ 1][ 64][adr&MMU.MMU_MASK[ 1][ 64]]

    adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20] = 2868901969

    *************************************************************************************
    adr = 0x 40007b0
    = 67110832

    about to return:
    MMU.MMU_MEM[ARMCPU_ARM7][adr>>20][adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20]]
    MMU.MMU_MEM[ 1][ 64][adr&MMU.MMU_MASK[ 1][ 64]]

    adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20] = 2885679184

    *************************************************************************************
    adr = 0x 40007b0
    = 67110832

    about to return:
    MMU.MMU_MEM[ARMCPU_ARM7][adr>>20][adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20]]
    MMU.MMU_MEM[ 1][ 64][adr&MMU.MMU_MASK[ 1][ 64]]

    adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20] = 2885679184

    *************************************************************************************
    adr = 0x 40007b1
    = 67110833

    about to return:
    MMU.MMU_MEM[ARMCPU_ARM7][adr>>20][adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20]]
    MMU.MMU_MEM[ 1][ 64][adr&MMU.MMU_MASK[ 1][ 64]]

    adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20] = 2902456399

    *************************************************************************************
    adr = 0x 40007b1
    = 67110833

    about to return:
    MMU.MMU_MEM[ARMCPU_ARM7][adr>>20][adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20]]
    MMU.MMU_MEM[ 1][ 64][adr&MMU.MMU_MASK[ 1][ 64]]

    adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20] = 2902456399

    *************************************************************************************
    adr = 0x 40007b2
    = 67110834

    about to return:
    MMU.MMU_MEM[ARMCPU_ARM7][adr>>20][adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20]]
    MMU.MMU_MEM[ 1][ 64][adr&MMU.MMU_MASK[ 1][ 64]]

    adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20] = 2919233614

    *************************************************************************************
    adr = 0x 40007b2
    = 67110834

    about to return:
    MMU.MMU_MEM[ARMCPU_ARM7][adr>>20][adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20]]
    MMU.MMU_MEM[ 1][ 64][adr&MMU.MMU_MASK[ 1][ 64]]

    adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20] = 2919233614

    *************************************************************************************
    adr = 0x 40007b3
    = 67110835

    about to return:
    MMU.MMU_MEM[ARMCPU_ARM7][adr>>20][adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20]]
    MMU.MMU_MEM[ 1][ 64][adr&MMU.MMU_MASK[ 1][ 64]]

    adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20] = 2936010829

     
  • rg8032

    rg8032 - 2012-07-02

    I was wrong in my previous comment. I forgot to put a log statement at the top of _MMU_ARM7_read08. The function is called constantly. The lockup is happening in the if( adr >>24 == 4) scope near the end of the file.

    u8 FASTCALL _MMU_ARM7_read08(u32 adr)
    {
    adr &= 0x0FFFFFFF;

    [...] **<--Large amount of code omitted-->**[...]

    if (adr >> 24 == 4)
    {
    if(MMU_new.is_dma(adr)) return MMU_new.read_dma(ARMCPU_ARM7,8,adr);

    // Address is an IO register

    switch(adr)
    {
    case REG_IF: return MMU.gen_IF<ARMCPU_ARM7>();
    case REG_IF+1: return (MMU.gen_IF<ARMCPU_ARM7>()>>8);
    case REG_IF+2: return (MMU.gen_IF<ARMCPU_ARM7>()>>16);
    case REG_IF+3: return (MMU.gen_IF<ARMCPU_ARM7>()>>24);

    case REG_DISPx_VCOUNT: return nds.VCount&0xFF;
    case REG_DISPx_VCOUNT+1: return (nds.VCount>>8)&0xFF;
    }

    return MMU.MMU_MEM[ARMCPU_ARM7][adr>>20][adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20]];**<--I think this (Core/MMU.cpp:~4301) has something to do with it-->**
    }

    bool unmapped, restricted;
    adr = MMU_LCDmap<ARMCPU_ARM7>(adr,unmapped, restricted);
    if(unmapped) return 0;

    return MMU.MMU_MEM[ARMCPU_ARM7][adr>>20][adr&MMU.MMU_MASK[ARMCPU_ARM7][adr>>20]];
    }

     
  • zeromus

    zeromus - 2012-07-02

    i need to know what adr is when its locking up / crashing that thread.

     
  • rg8032

    rg8032 - 2012-07-03

    @zeromus
    The first time adr is printed after locking up it is always 0x4000000. As it cycles through it increments every other cycle .

    For example:
    4000000 <- locks up here
    4000000
    4000001
    4000001
    4000002
    4000002
    4000003
    4000003

    I have found a temporary work around. Switching "Audio Output Engine" from "Core Audio" to "none" has resulted in extended periods of playtime with no crashing. This has also stop the crashing I have experienced with most of the other Dragon Quest games and a few other titles. The crashing in the others was not nearly as frequent as in DQIX.

     
  • rogerman

    rogerman - 2012-07-03

    Just want to add that on the Cocoa port, changing the Audio Output Engine from Core Audio to None is equivalent to changing the Sound Core to None in Sound Settings on the Windows port.

    So I'm not surprised that turning disabling the sound has stopped your crashing.

     
  • zeromus

    zeromus - 2012-07-03

    that's definitely a channel running out of control and into a range no sound could possibly play from. could very plausibly be crashing the emulator, but the real bug is why it got there to begin with.

    which other games? but if this is happening to you for a handful of games then thats more evidence that it is OS-related or compiler-related, because that increases the odds that we'd heard of this before. maybe some buggy auto-vectorization in your compiler. doubles are involved here. try using the 098 public release instead of your own build.

     
  • rg8032

    rg8032 - 2012-07-03

    I have all these problems with the 0.9.8 public release. I am using my own build now so I can do some real debugging.

     
  • rg8032

    rg8032 - 2012-07-03

    In FetchADPCMData endExclusive (Core/SPU.cpp:883 - used as the end point for a for-loop's control variable) is always set absurdly high. I am assuming that after waiting this loop out the game may resume, but it would likely takes days if it worked at all.

    Ok. I think I am on to something. In channel_struct 'double sampcnt' is declared. A floor function is called on it to compare it to 'u32 lastSampCnt

     
  • rg8032

    rg8032 - 2012-07-03

    In FetchADPCMData endExclusive (Core/SPU.cpp:883 - used as the end point for a for-loop's control variable) is always set absurdly high. I am assuming that after waiting this loop out the game may resume, but it would likely takes days if it worked at all.

    Ok. I think I am on to something. In channel_struct 'double sampcnt' is declared. A floor function is called on it to compare it to 'u32 lastSampCnt

     
  • rg8032

    rg8032 - 2012-07-03

    In FetchADPCMData endExclusive (Core/SPU.cpp:883 - used as the end point for a for-loop's control variable) is always set absurdly high. I am assuming that after waiting this loop out the game may resume, but it would likely takes days if it worked at all.

    Ok. I think I am on to something. In channel_struct 'double sampcnt' is declared. A floor function (u32 sputrunc(double)) is called on it to compare it to channel_struct's 'u32 lastsampcnt'. The distance between the two determines how many times the following for loop iterates. If you recursively trace the definition of sputrunc, you will eventually find the following comment:

    //these functions are an unreliable, inaccurate floor.
    //it should only be used for positive numbers
    //this isnt as fast as it could be if we used a visual c++ intrinsic, but those appear not to be universally available

    When the program goes into freak mode, sampcnt is negative. I assume that this causes sampcnt to take on an odd value and the calculated distance between sampcnt and lastsamptcnt becomes astronomical. The program enters into a pseudo-infinite loop. If I new exactly what the loop was doing I would goof around with a very poor-quality workaround for personal use. Maybe later.

    Sorry for the double post. I accidentally clicked the update button twice when shifting focus from xcode.

     
  • rg8032

    rg8032 - 2012-07-03

    The other games this has happened to me with is DQ V-VI and DQ Monsters Joker. It doesn't happen very often in them. It has only happened twice in DQ VI. I have had other similar issues in other games. While the behavior was identical, I am not confident that the cause was the same.

    It seems that in FetchADPCMData sampcnt is making it passed the initial if statement with a value of -3. The if statements wants it to zero the data variable and end the function if sampcnt is LESS THAN 8. I am really unsure as to how this is happening.

    It seems to happen with channels 8 and 10 mostly, but I caught channel 14 doing it once.

     
  • zeromus

    zeromus - 2012-07-03

    the channel number isnt significant.
    one way it could make it in there with a negative value is by it being an invalid value. thatll get floored to some other value (not likely to be -3 though) which will be valid since it will be going through the integer math.
    it could also be negative by overflowing, in sputrunc, if the double had a very large value.
    but if youre sure its getting in there with exactly -3, then........ thats one hell of a weird bug. is smpinc turning into something weird?

     
  • rg8032

    rg8032 - 2012-07-04

    if (chan->sampcnt < 8)
    {
    *data = 0;
    return;
    }

    sampcnt is equal to -3 and somehow avoids going through here. This is the first set of statements in the function. This only occurs when it's behaving oddly. -3 is the initial value of sampcnt. Usually when it goes through this code, with sampcnt = -3, it behaves as expected.

    I am nearly certain that the value is -3 is weaseling past somehow. I would be certain if it weren't so damn odd. I find the whole thing very confusing. The only time sputrunc gets run on a negative value is when -3 somehow avoids the return in the if block posted above.

    Re: sputrunc
    I assume that casting the two's-complement negative representation of -3 as an unsigned 32-bit integer is responsible for the whacky incredibly large numbers.

     
  • zeromus

    zeromus - 2012-07-04

    try pastebinning the disassembly for that method, may be some clues in there.

     
  • rg8032

    rg8032 - 2012-07-04

    http://pastebin.com/pPYb9AD4

    Assembly of Core/SPU.cpp:872-913 (DeSmuMe r4297)(Xcode 4.3.1) from function FetchADPCMData(channel_struct*, s32*)

     
  • zeromus

    zeromus - 2012-07-04

    i cant spy anything too fishy in there, but im not an expert at that kind of analysis. the check against 8 (ucomisd 40(%rax), %xmm0) isnt conditional on anything else which could have gone wrong. now i would try catching chan->sampcnt < 0 in a spot where it shouldnt be in a breakpoint, and then setting the IP to the beginning of this function and stepping through it to see how it escaped the check.

     
  • rg8032

    rg8032 - 2012-07-04

    I added a second conditional block:

    if (chan->sampcnt < 8)
    {
    *data = 0;
    return;
    }

    Added the following immediately after the above code (should NEVER trigger):
    if (chan->sampcnt < 8)
    {
    printf("bypassed conditional with value: %f\n", chan->sampcnt);
    return;
    }

    The second block triggers sometimes. I have yet to get the pseudo-infinite looping, but I do get more WARNING! 8BIT DMA ACCESS warnings followed by a hard crash (EXC_BAD_ACCESS code=2, address=0x10ac73000) Very bizarre.

    The asm for the two conditional statements is seems to be identical. I spent the last five hours trying to learn enough asm to try and understand this.

    I'm not sure what to make of this. I had at one point checked to make sure that sampcnt>8 before the rest of the function was executed and it passed that with -3 as well. Something is fishy here.

     
1 2 > >> (Page 1 of 2)

Anonymous
Anonymous

Add attachments
Cancel