EasyRPG / Player

RPG Maker 2000/2003 and EasyRPG games interpreter
https://easyrpg.org/player/
GNU General Public License v3.0
1.01k stars 194 forks source link

Crash in Aedemphia #1037

Closed BlisterB closed 8 years ago

BlisterB commented 8 years ago

Name of the game:

Aedemphia

Player platform:

Windows and MacOS

Attach files (as a .zip archive or link them)

Save01.lsd.zip easyrpg_log.txt

Describe the issue in detail and how to reproduce it:

The game crashs on Windows when you go to the map at the bottom of the current map. On MacOS it crashs when you go to the map at the bottom of the current map, and next to the map to the left.

Here is the rapport from MacOS :

Process:               easyrpg-player [21155]
Path:                  /Users/USER/Downloads/*/easyrpg-player
Identifier:            easyrpg-player
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        zsh [21129]
Responsible:           Terminal [19468]
User ID:               501

Date/Time:             2016-09-18 16:33:01.228 +0200
OS Version:            Mac OS X 10.11.6 (15G1004)
Report Version:        11
Anonymous UUID:        58675858-6C36-FD67-C52A-3E0846618403

Sleep/Wake UUID:       97B7E0EB-A92F-4124-BD73-79BA8F0CECF1

Time Awake Since Boot: 23000 seconds
Time Since Wake:       1000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called
*** error for object 0x7fc0339bac36: pointer being freed was not allocated

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff8e87ef06 __pthread_kill + 10
1   libsystem_pthread.dylib         0x00007fff8e2024ec pthread_kill + 90
2   libsystem_c.dylib               0x00007fff89caf6df abort + 129
3   libsystem_malloc.dylib          0x00007fff8b521041 free + 425
4   easyrpg-player                  0x000000010c7760b4 std::__1::__vector_base<RPG::EventPage, std::__1::allocator<RPG::EventPage> >::~__vector_base() + 132 (rpg_eventcommand.h:20)
5   easyrpg-player                  0x000000010c775ef4 RPG::Map::~Map() + 68 (rpg_event.h:21)
6   easyrpg-player                  0x000000010c76ffe1 Game_Map::Dispose() + 145 (memory:2516)
7   easyrpg-player                  0x000000010c77063b Game_Map::SetupCommon(int) + 27 (game_map.cpp:225)
8   easyrpg-player                  0x000000010c7700b6 Game_Map::Setup(int) + 22 (memory:2693)
9   easyrpg-player                  0x000000010c77b9c4 Game_Player::PerformTeleport() + 68 (game_player.cpp:241)
10  easyrpg-player                  0x000000010c8016b7 Scene_Map::FinishTeleportPlayer() + 39 (scene_map.cpp:225)
11  easyrpg-player                  0x000000010c79405a Player::Update(bool) + 458 (player.cpp:337)
12  easyrpg-player                  0x000000010c7fa032 Scene::MainFunction() + 34 (memory:4008)
13  easyrpg-player                  0x000000010c793d4b Player::MainLoop() + 27 (vector:641)
14  easyrpg-player                  0x000000010c793bf5 Player::Run() + 229 (player.cpp:253)
15  easyrpg-player                  0x000000010c72dee8 main + 24 (main.cpp:35)
16  libdyld.dylib                   0x00007fff92d875ad start + 1

Thread 1:: SDLTimer
0   libsystem_kernel.dylib          0x00007fff8e87edb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib         0x00007fff8e200728 _pthread_cond_wait + 767
2   libSDL2-2.0.0.dylib             0x000000010ea034de SDL_CondWaitTimeout_REAL + 141
3   libSDL2-2.0.0.dylib             0x000000010ea0313c SDL_SemWaitTimeout_REAL + 75
4   libSDL2-2.0.0.dylib             0x000000010e9c9260 SDL_TimerThread + 79
5   libSDL2-2.0.0.dylib             0x000000010e9c8eae SDL_RunThread + 60
6   libSDL2-2.0.0.dylib             0x000000010ea02ebe RunThread + 9
7   libsystem_pthread.dylib         0x00007fff8e1ff99d _pthread_body + 131
8   libsystem_pthread.dylib         0x00007fff8e1ff91a _pthread_start + 168
9   libsystem_pthread.dylib         0x00007fff8e1fd351 thread_start + 13

Thread 2:
0   libsystem_kernel.dylib          0x00007fff8e87f5e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff8e1ff578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib         0x00007fff8e1fd341 start_wqthread + 13

Thread 3:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib          0x00007fff8e87fefa kevent_qos + 10
1   libdispatch.dylib               0x00007fff9155d165 _dispatch_mgr_invoke + 216
2   libdispatch.dylib               0x00007fff9155cdcd _dispatch_mgr_thread + 52

Thread 4:: com.apple.NSEventThread
0   libsystem_kernel.dylib          0x00007fff8e878f72 mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff8e8783b3 mach_msg + 55
2   com.apple.CoreFoundation        0x00007fff925581c4 __CFRunLoopServiceMachPort + 212
3   com.apple.CoreFoundation        0x00007fff9255768c __CFRunLoopRun + 1356
4   com.apple.CoreFoundation        0x00007fff92556ed8 CFRunLoopRunSpecific + 296
5   com.apple.AppKit                0x00007fff94f34d95 _NSEventThread + 149
6   libsystem_pthread.dylib         0x00007fff8e1ff99d _pthread_body + 131
7   libsystem_pthread.dylib         0x00007fff8e1ff91a _pthread_start + 168
8   libsystem_pthread.dylib         0x00007fff8e1fd351 thread_start + 13

Thread 5:: com.apple.audio.IOThread.client
0   libsystem_kernel.dylib          0x00007fff8e878f72 mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff8e8783b3 mach_msg + 55
2   com.apple.audio.CoreAudio       0x00007fff8ec6935e HALB_MachPort::SendMessageWithReply(unsigned int, unsigned int, unsigned int, unsigned int, mach_msg_header_t*, bool, unsigned int) + 98
3   com.apple.audio.CoreAudio       0x00007fff8ec692ec HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 42
4   com.apple.audio.CoreAudio       0x00007fff8ec676a9 HALC_ProxyIOContext::IOWorkLoop() + 1149
5   com.apple.audio.CoreAudio       0x00007fff8ec6715e HALC_ProxyIOContext::IOThreadEntry(void*) + 88
6   com.apple.audio.CoreAudio       0x00007fff8ec67033 HALB_IOThread::Entry(void*) + 75
7   libsystem_pthread.dylib         0x00007fff8e1ff99d _pthread_body + 131
8   libsystem_pthread.dylib         0x00007fff8e1ff91a _pthread_start + 168
9   libsystem_pthread.dylib         0x00007fff8e1fd351 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x00007fff534d2398  rdx: 0x0000000000000000
  rdi: 0x000000000000050f  rsi: 0x0000000000000006  rbp: 0x00007fff534d23c0  rsp: 0x00007fff534d2398
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000008000000  r11: 0x0000000000000206
  r12: 0x000000010cbc6000  r13: 0x0000000000000005  r14: 0x00007fff7936c000  r15: 0x0000000000000000
  rip: 0x00007fff8e87ef06  rfl: 0x0000000000000206  cr2: 0x00007fff780e1008

Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133

Binary Images:
       0x10c72d000 -        0x10c8bcfff +easyrpg-player (0) <D74B7427-35D7-38FE-83CB-9E4707B38E62> /Users/USER/Downloads/*/easyrpg-player
       0x10c9ec000 -        0x10ca90fff +liblcf.0.dylib (0) <7B5DDD7A-E077-3D15-BCF1-CCE3238B56AF> /usr/local/lib/liblcf.0.dylib
       0x10cbc9000 -        0x10cbe2ff3 +libexpat.1.dylib (0) <5C571941-0A49-3D8B-A544-E8A7B314F597> /usr/local/opt/expat/lib/libexpat.1.dylib
       0x10cbef000 -        0x10cd49ff3 +libicui18n.57.dylib (0) <3078A55D-C089-3A86-ADCD-AB87B1714BFD> /usr/local/opt/icu4c/lib/libicui18n.57.dylib
       0x10ce29000 -        0x10cf27ff3 +libicuuc.57.dylib (0) <EDEADEB2-8566-31F3-A064-0FA6717A9BC2> /usr/local/opt/icu4c/lib/libicuuc.57.dylib
       0x10cf96000 -        0x10e811fff +libicudata.57.1.dylib (0) <712A2580-726D-3126-A7F9-25954F3FB07C> /usr/local/opt/icu4c/lib/libicudata.57.1.dylib
       0x10e817000 -        0x10e882ff7 +libpixman-1.0.dylib (0) <7FF17FB2-D66B-30B7-882F-50354AB4C6C5> /usr/local/opt/pixman/lib/libpixman-1.0.dylib
       0x10e897000 -        0x10e909ff3 +libfreetype.6.dylib (0) <C158D19B-FD0A-33A2-89F7-87B7FEFB48FF> /usr/local/opt/freetype/lib/libfreetype.6.dylib
       0x10e923000 -        0x10e939ff7 +libSDL2_mixer-2.0.0.dylib (0) <51FF7BEC-7F8E-3086-8E69-57925DC0C59E> /usr/local/opt/sdl2_mixer/lib/libSDL2_mixer-2.0.0.dylib
       0x10e96e000 -        0x10ea17fff +libSDL2-2.0.0.dylib (0) <9DEE749C-1D92-39D7-9E99-A80942190916> /usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib
       0x10ea51000 -        0x10ea74ffb +libpng16.16.dylib (0) <CE7C1194-70A6-3499-B66A-DCE31A4DB50C> /usr/local/opt/libpng/lib/libpng16.16.dylib
       0x10ea7d000 -        0x10ea82fff +libvorbisfile.3.dylib (0) <0E942679-E6DE-3154-B31F-E8CF37C0F2CB> /usr/local/opt/libvorbis/lib/libvorbisfile.3.dylib
       0x10ea86000 -        0x10ea88fff  com.apple.ForceFeedback (1.0.6 - 1.0.6) <2CCA0B39-2B72-3B89-B698-42A57FE59E27> /System/Library/Frameworks/ForceFeedback.framework/Versions/A/ForceFeedback
       0x10ea90000 -        0x10ea90fe7 +cl_kernels (???) <E39FDF12-D69E-44EC-88F5-CF5556BB7935> cl_kernels
       0x10ea92000 -        0x10eab6fff +libvorbis.0.dylib (0) <137712A7-9E52-3B1C-AC00-F470A20C4C29> /usr/local/Cellar/libvorbis/1.3.5/lib/libvorbis.0.dylib
       0x10eabe000 -        0x10eac1fff +libogg.0.dylib (0) <A3D6D749-3CD7-3E5B-A3A2-CC6E41A50E84> /usr/local/lib/libogg.0.dylib
       0x10edb1000 -        0x10eddaffb  libRIP.A.dylib (960.3) <702967FB-D16C-38C7-A3CC-0EC336740A69> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
       0x10edf3000 -        0x10edf5fff  libCGXType.A.dylib (960.3) <70FA6D91-53BC-3DA6-92F3-7FEB33C73948> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
       0x11430b000 -        0x114371ff7  com.apple.driver.AppleIntelHD5000GraphicsMTLDriver (10.14.73 - 10.1.4) <1D604442-B038-314D-84DE-476AC925C578> /System/Library/Extensions/AppleIntelHD5000GraphicsMTLDriver.bundle/Contents/MacOS/AppleIntelHD5000GraphicsMTLDriver
       0x11473e000 -        0x114742fff  com.apple.audio.AppleHDAHALPlugIn (274.12 - 274.12) <F5E4849C-6A2D-3D2C-AB3F-F608C0E49FD5> /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn
       0x1182c1000 -        0x118818ff7  com.apple.driver.AppleIntelHD5000GraphicsGLDriver (10.14.73 - 10.1.4) <E8CF8529-C823-3D05-AF03-9E2B594A42FF> /System/Library/Extensions/AppleIntelHD5000GraphicsGLDriver.bundle/Contents/MacOS/AppleIntelHD5000GraphicsGLDriver
       0x118a10000 -        0x118b40ffb  com.apple.audio.units.Components (1.13 - 1.13) <69FC51F9-E779-3940-AA27-8F97A9849D51> /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
    0x7fff66edd000 -     0x7fff66f14a47  dyld (360.22) <DC81CC9D-651A-3A45-8809-928282052BD3> /usr/lib/dyld
    0x7fff87439000 -     0x7fff874f3fff  com.apple.DiscRecording (9.0.1 - 9010.4.3) <540853B2-B123-3560-8023-C92EE229051A> /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
    0x7fff8751e000 -     0x7fff8752efff  libbsm.0.dylib (34) <7E14504C-A8B0-3574-B6EB-5D5FABC72926> /usr/lib/libbsm.0.dylib
    0x7fff87532000 -     0x7fff87556fff  libJPEG.dylib (1459) <B274689A-56C5-3DBE-9E4E-049608BBD50B> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x7fff87630000 -     0x7fff87722ff7  libiconv.2.dylib (44) <F05A0A5A-92A9-3668-8F20-F27CBDA26BE9> /usr/lib/libiconv.2.dylib
    0x7fff88050000 -     0x7fff881fbffb  GLEngine (12.1) <299D9296-2984-3967-9049-A842B99E5D43> /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLEngine.bundle/GLEngine
    0x7fff887a7000 -     0x7fff88834dd7  com.apple.AppleJPEG (1.0 - 1) <BF7EDBDB-A52D-37F7-BDE4-EAD49310D7A9> /System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG
    0x7fff88863000 -     0x7fff888d1ff7  com.apple.ApplicationServices.ATS (377 - 394.4) <9779E916-0788-3CAC-B1EC-F68BCB12A2B6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
    0x7fff888d2000 -     0x7fff888dbff3  libsystem_notify.dylib (150.40.1) <D48BDE34-0F7E-34CA-A0FF-C578E39987CC> /usr/lib/system/libsystem_notify.dylib
    0x7fff888dc000 -     0x7fff888dfff7  com.apple.help (1.3.3 - 46) <35DA4D48-0BC2-35A1-8D7C-40905CDF4F64> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
    0x7fff888e0000 -     0x7fff888e5fff  com.apple.DiskArbitration (2.7 - 2.7) <F55902AA-5316-3255-A701-FDED5B553065> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x7fff888e6000 -     0x7fff8891dff7  com.apple.LDAPFramework (2.4.28 - 194.5) <9AE33BF2-FB17-342D-8F1E-5F83C6E6EB69> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
    0x7fff8894a000 -     0x7fff88be0fff  libmecabra.dylib (696.5) <EF6C0BD4-5FE8-34FB-8ADF-69A53CEC97A9> /usr/lib/libmecabra.dylib
    0x7fff88be7000 -     0x7fff88db5ff3  com.apple.QuartzCore (1.11 - 410.14) <076BDE58-8AED-3D47-84FD-548CF8E8EDB9> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x7fff88db6000 -     0x7fff88dbcfff  com.apple.IOAccelerator (205.11 - 205.11) <C51BF724-F8E8-3B9F-806E-A00C65056445> /System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelerator
    0x7fff892b3000 -     0x7fff892b4fff  liblangid.dylib (122) <9CC4F0D1-5C51-3B69-BC8F-EE3A51FD0822> /usr/lib/liblangid.dylib
    0x7fff892b5000 -     0x7fff89329ff3  com.apple.securityfoundation (6.0 - 55126) <DAA4FDD0-7F84-30AA-BE6F-96BB9F871F07> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
    0x7fff893ba000 -     0x7fff893bbffb  libSystem.B.dylib (1226.10.1) <012548CD-614D-3AF0-B3B1-676F427D2CD6> /usr/lib/libSystem.B.dylib
    0x7fff8945e000 -     0x7fff89465ff7  libcompiler_rt.dylib (62) <A13ECF69-F59F-38AE-8609-7B731450FBCD> /usr/lib/system/libcompiler_rt.dylib
    0x7fff894bb000 -     0x7fff894bcfff  com.apple.TrustEvaluationAgent (2.0 - 25) <0239494E-FEFE-39BC-9FC7-E251BA5128F1> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
    0x7fff894bd000 -     0x7fff8951bfff  com.apple.CoreServices.OSServices (728.13 - 728.13) <27C12B92-7845-38DD-B82D-DC5B678352D6> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
    0x7fff89577000 -     0x7fff89599ff7  com.apple.Sharing (442.13.6 - 442.13.6) <DDD2811C-6ECB-32F2-8EE1-69BF9657B4A8> /System/Library/PrivateFrameworks/Sharing.framework/Versions/A/Sharing
    0x7fff89699000 -     0x7fff896a5ff7  com.apple.OpenDirectory (10.11 - 194) <31A67AD5-5CC2-350A-96D7-821DF4BC4196> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
    0x7fff898d0000 -     0x7fff89a4efff  com.apple.UIFoundation (1.0 - 436.1) <AABB5267-E7B7-3D75-B051-E665BDA8DEF4> /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation
    0x7fff89c3f000 -     0x7fff89c41fff  libsystem_coreservices.dylib (19.2) <1B3F5AFC-FFCD-3ECB-8B9A-5538366FB20D> /usr/lib/system/libsystem_coreservices.dylib
    0x7fff89c4d000 -     0x7fff89c50fff  com.apple.IOSurface (108.2.3 - 108.2.3) <52E51D16-42E9-3DDB-A16C-48225EF262C4> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
    0x7fff89c51000 -     0x7fff89cdefef  libsystem_c.dylib (1082.60.1) <28733D22-553E-3CBC-8D2C-EDCEB46E46AF> /usr/lib/system/libsystem_c.dylib
    0x7fff89cdf000 -     0x7fff8a041f3f  libobjc.A.dylib (680) <7489D2D6-1EFD-3414-B18D-2AECCCC90286> /usr/lib/libobjc.A.dylib
    0x7fff8a042000 -     0x7fff8a131ff7  libxml2.2.dylib (29.10) <B3B03292-7E1A-34AB-888C-3D49D63D60C6> /usr/lib/libxml2.2.dylib
    0x7fff8a179000 -     0x7fff8a179fff  com.apple.Cocoa (6.11 - 22) <807787AB-D231-3F51-A99B-A9314623C571> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x7fff8a18a000 -     0x7fff8a1b8ff7  com.apple.CoreServicesInternal (248.2 - 248.2) <6E111F0A-D7F1-3738-ADE7-CF983BD4EC8B> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal
    0x7fff8a1b9000 -     0x7fff8a440fff  com.apple.CFNetwork (760.6.3 - 760.6.3) <8CB9CB2E-D0FB-31D4-A1AE-2A5FE028AD6B> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7fff8a441000 -     0x7fff8a454fff  com.apple.CoreBluetooth (1.0 - 1) <E54CA9A2-A5C6-30C5-9D6E-8472DBA9371E> /System/Library/Frameworks/CoreBluetooth.framework/Versions/A/CoreBluetooth
    0x7fff8a455000 -     0x7fff8a45afff  com.apple.ImageCapture (9.0 - 9.0) <ACECF0B7-7D92-3A22-BF47-E8FADF4C5378> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
    0x7fff8a60d000 -     0x7fff8a613ff7  com.apple.speech.recognition.framework (5.1.1 - 5.1.1) <9E5A980A-F455-32D5-BBEE-3BD6018CC45E> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
    0x7fff8b51d000 -     0x7fff8b539ff7  libsystem_malloc.dylib (67.40.1) <5748E8B2-F81C-34C6-8B13-456213127678> /usr/lib/system/libsystem_malloc.dylib
    0x7fff8c366000 -     0x7fff8c382ff7  libextension.dylib (78) <FD952DA6-BBEC-3CB6-98B3-E1D111C5C54E> /usr/lib/libextension.dylib
    0x7fff8c3e1000 -     0x7fff8c3e9fff  com.apple.frameworks.CoreDaemon (1.3 - 1.3) <CC53DC12-9231-3C4F-921B-9A770D463323> /System/Library/PrivateFrameworks/CoreDaemon.framework/Versions/B/CoreDaemon
    0x7fff8c74f000 -     0x7fff8c7e5fff  com.apple.ColorSync (4.9.0 - 4.9.0) <8FC37E20-6579-3CB2-9D49-BC39FC38DF87> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
    0x7fff8cc82000 -     0x7fff8cd11ff7  libCoreStorage.dylib (517.50.1) <E6283FE9-B5AC-3110-8D4C-8E2BF185983E> /usr/lib/libCoreStorage.dylib
    0x7fff8cd77000 -     0x7fff8cdb5ff7  libGLImage.dylib (12.1) <BB1F1A93-5101-3906-AB17-8D83FCB200F9> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
    0x7fff8cdb6000 -     0x7fff8cdcdff7  libsystem_asl.dylib (323.50.1) <41F8E11F-1BD0-3F1D-BA3A-AA1577ED98A9> /usr/lib/system/libsystem_asl.dylib
    0x7fff8cdce000 -     0x7fff8cdceff7  libkeymgr.dylib (28) <8371CE54-5FDD-3CE9-B3DF-E98C761B6FE0> /usr/lib/system/libkeymgr.dylib
    0x7fff8cde7000 -     0x7fff8ce5efeb  libcorecrypto.dylib (335.50.1) <B5C05FD7-A540-345A-87BF-8E41848A3C17> /usr/lib/system/libcorecrypto.dylib
    0x7fff8cf2d000 -     0x7fff8cf89fff  libTIFF.dylib (1459) <1E1839C3-2C99-38B8-A729-788459576858> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x7fff8cf8a000 -     0x7fff8cf93fff  com.apple.icloud.FindMyDevice (1.0 - 1) <B9C741F2-6FAC-3BA7-B6E0-9A910C6E8D4E> /System/Library/PrivateFrameworks/FindMyDevice.framework/Versions/A/FindMyDevice
    0x7fff8cf94000 -     0x7fff8cfa2fff  libxar.1.dylib (302) <03207F66-2C4A-3DBD-8D81-70F4C85903C4> /usr/lib/libxar.1.dylib
    0x7fff8cfa3000 -     0x7fff8cfa5ff7  com.apple.securityhi (9.0 - 55006) <1E7BE52B-97EA-371A-AECA-1EE2AD246D8A> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
    0x7fff8d018000 -     0x7fff8d01cfff  libcache.dylib (75) <9548AAE9-2AB7-3525-9ECE-A2A7C4688447> /usr/lib/system/libcache.dylib
    0x7fff8d04b000 -     0x7fff8d0a0fff  com.apple.AE (701 - 701) <AD492742-F884-386B-A450-FAC281B9FFA4> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
    0x7fff8d0a2000 -     0x7fff8d12afff  com.apple.CoreSymbolication (3.1 - 58048.1) <4730422E-4178-34F9-8550-BB92F2A4F44B> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
    0x7fff8d945000 -     0x7fff8d961fff  com.apple.GenerationalStorage (2.0 - 239.1) <8C821448-4294-3736-9CEF-467C93785CB9> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
    0x7fff8da27000 -     0x7fff8da38fff  libSparseBLAS.dylib (1162.2) <EBEB3848-3468-342A-91A6-5C47F2369CD9> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib
    0x7fff8da53000 -     0x7fff8da53fff  com.apple.CoreServices (728.13 - 728.13) <E3DFECD2-ECEA-3242-972D-95B9646B57B8> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fff8da54000 -     0x7fff8dc75ff7  com.apple.CoreImage (11.4.0 - 366.4.19) <F5B7B115-E43A-3C61-A6AD-EFCDE7FC43A1> /System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage
    0x7fff8dc76000 -     0x7fff8dc92ff3  libresolv.9.dylib (60) <A650B5C8-1950-36A0-86D1-0B2465318BFA> /usr/lib/libresolv.9.dylib
    0x7fff8dd92000 -     0x7fff8dde1ff7  com.apple.opencl (2.7.0 - 2.7.0) <39581F1A-04FE-3CCA-9118-E9BB9053F7A1> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
    0x7fff8ddea000 -     0x7fff8ddf5fff  libGPUSupportMercury.dylib (12.1) <9D35C668-4F21-31C8-890C-CC1F45905194> /System/Library/PrivateFrameworks/GPUSupport.framework/Versions/A/Libraries/libGPUSupportMercury.dylib
    0x7fff8ddf6000 -     0x7fff8df40ff7  com.apple.coreui (2.1 - 366.1) <8138636F-A0A7-31C7-896C-5F5747FA1B2A> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
    0x7fff8df4d000 -     0x7fff8df5eff7  libz.1.dylib (61.20.1) <B3EBB42F-48E3-3287-9F0D-308E04D407AC> /usr/lib/libz.1.dylib
    0x7fff8e016000 -     0x7fff8e021fff  libkxld.dylib (3248.60.11) <9F422A08-0212-36E1-BFF8-1491C70EBFCA> /usr/lib/system/libkxld.dylib
    0x7fff8e022000 -     0x7fff8e02cfff  com.apple.NetAuth (6.0 - 6.0) <D692B1EF-534F-3892-8E2F-2BBA7C8AFD74> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
    0x7fff8e14f000 -     0x7fff8e154ff7  libheimdal-asn1.dylib (453.40.10) <981DE40B-FA16-36F7-BE92-8C8A115D6CD9> /usr/lib/libheimdal-asn1.dylib
    0x7fff8e155000 -     0x7fff8e157fff  libCVMSPluginSupport.dylib (12.1) <D81B3D8D-B83F-3918-BD4B-6C794A30AF9F> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
    0x7fff8e1fc000 -     0x7fff8e205ff7  libsystem_pthread.dylib (138.10.4) <3DD1EF4C-1D1B-3ABF-8CC6-B3B1CEEE9559> /usr/lib/system/libsystem_pthread.dylib
    0x7fff8e38f000 -     0x7fff8e475fef  unorm8_bgra.dylib (2.7.3) <B315AE9C-9E09-3D9F-9513-EC2195908516> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/ImageFormats/unorm8_bgra.dylib
    0x7fff8e476000 -     0x7fff8e48ffff  com.apple.openscripting (1.7.1 - 169.1) <36EBF6A7-334A-3197-838F-E8C7B27FCDBB> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
    0x7fff8e5cf000 -     0x7fff8e5d0ffb  libremovefile.dylib (41) <552EF39E-14D7-363E-9059-4565AC2F894E> /usr/lib/system/libremovefile.dylib
    0x7fff8e868000 -     0x7fff8e886ff7  libsystem_kernel.dylib (3248.60.11) <A3F069EA-6A41-35CA-BDF8-187E0209B3E2> /usr/lib/system/libsystem_kernel.dylib
    0x7fff8e9e8000 -     0x7fff8e9f0fef  libcldcpuengine.dylib (2.7.3) <385BE8CE-16D8-3FCB-8558-8EB744D3DFE6> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libcldcpuengine.dylib
    0x7fff8ea2d000 -     0x7fff8ea5efff  com.apple.GSS (4.0 - 2.0) <B490333A-3B3E-397A-AD75-68846E9A9140> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
    0x7fff8ea5f000 -     0x7fff8eaabffb  com.apple.HIServices (1.22 - 550) <6B76B41C-CF5A-34C4-89F4-EFD7CA3D1C9D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
    0x7fff8eadb000 -     0x7fff8eae3fff  libcopyfile.dylib (127) <A48637BC-F3F2-34F2-BB68-4C65FD012832> /usr/lib/system/libcopyfile.dylib
    0x7fff8eae4000 -     0x7fff8eb0eff7  GLRendererFloat (12.1) <BE957AC5-82C2-3620-A625-56C9BE7B853F> /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLRendererFloat.bundle/GLRendererFloat
    0x7fff8eb2f000 -     0x7fff8ebd6fff  com.apple.LanguageModeling (1.0 - 1) <58C18A47-BDE7-3CBE-81C0-797029D170A1> /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling
    0x7fff8ebdd000 -     0x7fff8ec29fff  com.apple.print.framework.PrintCore (11.2 - 472.2) <5AE8AA6B-CE09-397D-B0D4-0F9CCBF1F77D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
    0x7fff8ec3f000 -     0x7fff8ec90fff  com.apple.audio.CoreAudio (4.3.0 - 4.3.0) <EA7D4F3B-062B-3C81-A98C-C89264D00D48> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x7fff8ec91000 -     0x7fff8eda0fe7  libvDSP.dylib (563.5) <9AB6CA3C-4F0E-35E6-9184-9DF86E7C3DAD> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
    0x7fff8eda4000 -     0x7fff8edb3ffb  com.apple.LangAnalysis (1.7.0 - 1.7.0) <18D21123-A3E7-3851-974A-08E5D4540475> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
    0x7fff8edb4000 -     0x7fff8ee1bfff  com.apple.framework.CoreWiFi (11.0 - 1101.20) <993592F1-B3F1-3FAD-87BD-EA83C361BCCF> /System/Library/PrivateFrameworks/CoreWiFi.framework/Versions/A/CoreWiFi
    0x7fff8eeb5000 -     0x7fff8f2b1fff  libLAPACK.dylib (1162.2) <987E42B0-5108-3065-87F0-9DF7616A8A06> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
    0x7fff8f2ea000 -     0x7fff8f311fff  com.apple.ChunkingLibrary (167 - 167) <AD7F285C-005E-36BB-98A3-5826413533BE> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary
    0x7fff8f313000 -     0x7fff8f31bfff  libGFXShared.dylib (12.1) <5A0C2493-200C-30BE-97D5-8E8C0B8E604D> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
    0x7fff8f31c000 -     0x7fff8f3ccfe7  libvMisc.dylib (563.5) <6D73C20D-D1C4-3BA5-809B-4B597C15AA86> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
    0x7fff8f3cd000 -     0x7fff8f3e3ff7  libLinearAlgebra.dylib (1162.2) <FFE54EDF-F06F-3C0A-864A-4CA7BBFD4B2D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib
    0x7fff8f416000 -     0x7fff8f416fff  com.apple.Accelerate.vecLib (3.10 - vecLib 3.10) <054DFE32-737D-3211-9A14-0FC5E1A880E3> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff8f417000 -     0x7fff8f417fff  com.apple.ApplicationServices (48 - 48) <ADD57D3A-142F-3EF5-BFD8-EACD82164884> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    0x7fff8f418000 -     0x7fff8f41dff7  libmacho.dylib (875.1) <318264FA-58F1-39D8-8285-1F6254EE410E> /usr/lib/system/libmacho.dylib
    0x7fff8f799000 -     0x7fff8f7a4fff  libcsfde.dylib (517.50.1) <52F0DB6A-13B8-355E-ADFD-72834D3CA183> /usr/lib/libcsfde.dylib
    0x7fff8f7af000 -     0x7fff8f7b1ffb  libutil.dylib (43) <4C9BFE8B-563B-3EEA-A323-8F4F14E0A46C> /usr/lib/libutil.dylib
    0x7fff8fbe4000 -     0x7fff8fc18ff7  com.apple.CoreVideo (1.8 - 191.3) <1AA24A1B-CB84-3F6B-B6DE-11494542649C> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x7fff8fc96000 -     0x7fff8fca7ff7  libsystem_trace.dylib (201.10.3) <E9311C03-9E61-3B13-AF3F-A64956FFF269> /usr/lib/system/libsystem_trace.dylib
    0x7fff8fca8000 -     0x7fff8fcb4fff  com.apple.speech.synthesis.framework (5.4.12 - 5.4.12) <71DA00B8-5EA2-326B-8814-59DB25512F65> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x7fff8fd19000 -     0x7fff8fd1dfff  libGIF.dylib (1459) <7C84B660-04BC-3D05-8C02-A7FBE51FD77B> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x7fff8fd1e000 -     0x7fff8fd3dff7  com.apple.framework.Apple80211 (11.0 - 1121.34.2) <90477FAE-B835-3931-80FB-FDFF02B21D9D> /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
    0x7fff8fd3e000 -     0x7fff8fd69ffb  libarchive.2.dylib (33.20.2) <6C370A21-63FD-3A68-B4B3-5333F24B770B> /usr/lib/libarchive.2.dylib
    0x7fff8fd7b000 -     0x7fff8fdccff7  libcups.2.dylib (435.2) <91584A40-214D-33E8-A613-CE22289037C8> /usr/lib/libcups.2.dylib
    0x7fff8fdcd000 -     0x7fff8fdcfff7  libquarantine.dylib (80) <0F4169F0-0C84-3A25-B3AE-E47B3586D908> /usr/lib/system/libquarantine.dylib
    0x7fff8fdd0000 -     0x7fff8fdf5ff7  libPng.dylib (1459) <F3A3BCAD-244C-3014-9D44-5ED179BD391D> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x7fff8fdf6000 -     0x7fff8fe10ff3  liblzma.5.dylib (10) <CC03591B-FA57-3CA5-AC81-0D76033AC0CE> /usr/lib/liblzma.5.dylib
    0x7fff8fe11000 -     0x7fff9023ffff  com.apple.vision.FaceCore (3.3.1 - 3.3.1) <E54028EA-4217-3078-A2B1-C52E4214D59E> /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
    0x7fff90240000 -     0x7fff902b5fff  com.apple.framework.IOKit (2.0.2 - 1179.50.2) <A509D3AE-9D48-31B7-89C7-326A7A2007B2> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff90455000 -     0x7fff906fbff7  com.apple.CoreData (120 - 641.3) <A29A5491-6169-372B-828F-84EE0CFD4BC4> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x7fff907e8000 -     0x7fff907e8ff7  liblaunch.dylib (765.50.8) <834ED605-5114-3641-AA4D-ECF31B801C50> /usr/lib/system/liblaunch.dylib
    0x7fff907fa000 -     0x7fff90805ff7  libChineseTokenizer.dylib (16) <79B8C67A-3061-3C78-92CD-4650719E68D4> /usr/lib/libChineseTokenizer.dylib
    0x7fff90907000 -     0x7fff90920fff  com.apple.CFOpenDirectory (10.11 - 194) <11F95672-55E0-3F9D-9171-5E8C56AEE948> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
    0x7fff90921000 -     0x7fff90926fff  com.apple.TCC (1.0 - 1) <F5EEB2D3-9517-3975-97BE-22CB8E11B8A3> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
    0x7fff90936000 -     0x7fff90958fff  com.apple.IconServices (68.1 - 68.1) <CDEEDBE6-F53B-3BA1-82D4-23BCA3DD8949> /System/Library/PrivateFrameworks/IconServices.framework/Versions/A/IconServices
    0x7fff9096f000 -     0x7fff9097afff  com.apple.CrashReporterSupport (10.11 - 718) <05892B57-F2CD-3C84-B984-0417F6B361DB> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport
    0x7fff90aa9000 -     0x7fff90ab1fef  libsystem_platform.dylib (74.40.2) <29A905EF-6777-3C33-82B0-6C3A88C4BA15> /usr/lib/system/libsystem_platform.dylib
    0x7fff90d45000 -     0x7fff90ed1ff7  libGLProgrammability.dylib (12.1) <BCFFBF6B-9717-3456-B6F9-6AE46644B076> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
    0x7fff90f0f000 -     0x7fff91036fff  com.apple.LaunchServices (728.13 - 728.13) <DF9A69C3-06AD-3062-A40A-50ED12CA18CA> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
    0x7fff91193000 -     0x7fff914e7fff  com.apple.Foundation (6.9 - 1259) <71A9D3A0-0B1F-3E3A-86F3-1486365A6EF2> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff914f7000 -     0x7fff914f7ff7  libunc.dylib (29) <DDB1E947-C775-33B8-B461-63E5EB698F0E> /usr/lib/system/libunc.dylib
    0x7fff914f8000 -     0x7fff91503ff7  libcommonCrypto.dylib (60075.50.1) <93732261-34B4-3914-B7A2-90A81A182DBA> /usr/lib/system/libcommonCrypto.dylib
    0x7fff91555000 -     0x7fff91582fff  libdispatch.dylib (501.40.12) <C7499857-61A5-3D7D-A5EA-65DCC8C3DF92> /usr/lib/system/libdispatch.dylib
    0x7fff91809000 -     0x7fff91859ff7  com.apple.Symbolication (1.4 - 58044) <F70BF765-FBE9-3F1E-85CA-BB2F8E53E8C2> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
    0x7fff91902000 -     0x7fff919a2fff  com.apple.Metadata (10.7.0 - 972.34) <A58195C5-5D5C-32D5-8BBB-F4D32201E5AA> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
    0x7fff919a3000 -     0x7fff919a3fff  com.apple.audio.units.AudioUnit (1.13 - 1.13) <378B5292-F216-32AB-B628-8C33A72D7052> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x7fff919a4000 -     0x7fff919a8fff  com.apple.CommonPanels (1.2.6 - 96) <4AE7E5AE-55B3-37FA-9BDE-B23147ADA2E9> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
    0x7fff919a9000 -     0x7fff91c43ff3  com.apple.security (7.0 - 57337.60.2) <E2E553E7-28C4-3296-B3B6-BB1B3CA73943> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff91cf9000 -     0x7fff91d01fff  com.apple.NetFS (6.0 - 4.0) <842A5346-24C3-3F22-9ECF-E586A10EA1F2> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x7fff91d02000 -     0x7fff91d02fff  com.apple.Carbon (154 - 157) <8F6ED602-5943-3E29-A793-BC331E2C183D> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x7fff91d63000 -     0x7fff91d92ffb  libsystem_m.dylib (3105) <08E1A4B2-6448-3DFE-A58C-ACC7335BE7E4> /usr/lib/system/libsystem_m.dylib
    0x7fff924ce000 -     0x7fff92944fff  com.apple.CoreFoundation (6.9 - 1258.1) <943A1383-DA6A-3DC0-ABCD-D9AEB3D0D34D> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff92962000 -     0x7fff929f7fff  com.apple.ink.framework (10.9 - 214) <1F76CF36-3F79-36B8-BC37-C540AF34B338> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
    0x7fff92d1a000 -     0x7fff92d1cff7  libRadiance.dylib (1459) <43B09AB2-B747-3EA0-A0AF-9A33B3A449D2> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x7fff92d84000 -     0x7fff92d87ffb  libdyld.dylib (360.22) <25D28225-99AE-3A04-B98C-ACFF47D6D9B0> /usr/lib/system/libdyld.dylib
    0x7fff92dca000 -     0x7fff92dd8fff  com.apple.opengl (12.1.0 - 12.1.0) <0718DB60-BA4F-3CF7-A117-10A2515D931F> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x7fff92dd9000 -     0x7fff92ddafff  libsystem_blocks.dylib (65) <1244D9D5-F6AA-35BB-B307-86851C24B8E5> /usr/lib/system/libsystem_blocks.dylib
    0x7fff92e82000 -     0x7fff92e84fff  com.apple.EFILogin (2.0 - 2) <38150198-DD7F-3C73-BCAA-C74BB376393A> /System/Library/PrivateFrameworks/EFILogin.framework/Versions/A/EFILogin
    0x7fff93944000 -     0x7fff93956fff  libsasl2.2.dylib (209) <11C7D200-0CA5-30F4-A19A-178CA81D48FE> /usr/lib/libsasl2.2.dylib
    0x7fff93c7c000 -     0x7fff93c7dff3  com.apple.print.framework.Print (10.0 - 266) <3E85F70C-D7D4-34E1-B88A-C1F503F99CDA> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
    0x7fff93cc6000 -     0x7fff93cc9ff7  libCoreFSCache.dylib (119.5) <2389D7DA-B8EF-3EB4-AAAF-FBEDE01CDECA> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib
    0x7fff93e8c000 -     0x7fff93ea0fe3  libCGInterfaces.dylib (317.9) <5079DE4F-3717-32FF-B76A-77F53236D17D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/Libraries/libCGInterfaces.dylib
    0x7fff93f06000 -     0x7fff93f40ff7  com.apple.DebugSymbols (132 - 132) <23A42C53-B941-3871-9EE2-4C87A46005B5> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
    0x7fff93f41000 -     0x7fff93f49ffb  libsystem_dnssd.dylib (625.60.4) <80189998-32B0-316C-B5C5-53857486713D> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff9405d000 -     0x7fff9416bff3  com.apple.desktopservices (1.10.3 - 1.10.3) <3A6906D4-C0B8-30D1-B589-0466E5E42B69> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
    0x7fff94324000 -     0x7fff94330fff  com.apple.SpeechRecognitionCore (2.2.7 - 2.2.7) <6BA06290-D4A3-351C-87F9-B61EF61FF055> /System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore
    0x7fff94cad000 -     0x7fff94cc4ff7  libsystem_coretls.dylib (83.40.5) <C90DAE38-4082-381C-A185-2A6A8B677628> /usr/lib/system/libsystem_coretls.dylib
    0x7fff94cc5000 -     0x7fff94d18ff7  libc++.1.dylib (120.1) <8FC3D139-8055-3498-9AC5-6467CB7F4D14> /usr/lib/libc++.1.dylib
    0x7fff94d19000 -     0x7fff94d8dff7  com.apple.Heimdal (4.0 - 2.0) <5D365381-8B5E-3259-8867-FC4A7D307BDE> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
    0x7fff94d96000 -     0x7fff959bfff7  com.apple.AppKit (6.9 - 1404.47) <F3411F6E-DD87-34D0-8C68-C69B2205E41D> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7fff95a6d000 -     0x7fff95a70fff  libCoreVMClient.dylib (119.5) <560D70FB-709F-3030-96C9-F249FCB7DA6D> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
    0x7fff95b54000 -     0x7fff95b55fff  libDiagnosticMessagesClient.dylib (100) <4243B6B4-21E9-355B-9C5A-95A216233B96> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff95b5a000 -     0x7fff95bc0ff7  libsystem_network.dylib (583.50.1) <B52DAB73-92DC-3DA7-B9F4-B899D66445C1> /usr/lib/system/libsystem_network.dylib
    0x7fff95bc1000 -     0x7fff95c03ff7  com.apple.Metal (56.6 - 56.6) <30518711-8D00-3759-AA19-800D3C88E693> /System/Library/Frameworks/Metal.framework/Versions/A/Metal
    0x7fff95c07000 -     0x7fff95dadff7  com.apple.audio.toolbox.AudioToolbox (1.13 - 1.13) <370E95BC-956C-3962-86CC-0A14CF6A0389> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x7fff95dae000 -     0x7fff95db9fff  libGL.dylib (12.1) <70D51643-04AC-3400-8F11-A6FC25985289> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x7fff95dba000 -     0x7fff95eaaff7  libJP2.dylib (1459) <5212E346-B7FC-31F4-B4F7-CF1DD9BBAFBB> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x7fff95eb8000 -     0x7fff95eebff7  com.apple.MediaKit (16 - 809) <BF8032FE-6645-37F6-A622-BC7EEE3EAABF> /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
    0x7fff96356000 -     0x7fff9638eff7  com.apple.RemoteViewServices (2.0 - 101) <B2881449-8CFE-3D1C-B4BF-155640392533> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
    0x7fff96a40000 -     0x7fff96a42fff  com.apple.loginsupport (1.0 - 1) <9B2F5F9B-ED38-313F-B798-D2B667BCD6B5> /System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsupport.framework/Versions/A/loginsupport
    0x7fff96a43000 -     0x7fff96a6cfff  libsystem_info.dylib (477.50.4) <FAA9226D-64DE-3769-A6D8-6CABA4B7FF4D> /usr/lib/system/libsystem_info.dylib
    0x7fff96a6d000 -     0x7fff96c33ff7  com.apple.ImageIO.framework (3.3.0 - 1459) <228306DC-0C7F-3D69-92FA-B2E46E47AA9F> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
    0x7fff96c9c000 -     0x7fff96e03fff  libBLAS.dylib (1162.2) <A1398FE0-39D2-33EA-9A0F-B2644EEA29A0> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    0x7fff96e38000 -     0x7fff96edcfff  com.apple.Bluetooth (4.4.6 - 4.4.6f1) <F8E54D34-DAAB-319F-8AE7-F3C55CA0CC68> /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth
    0x7fff96edd000 -     0x7fff970eafff  libicucore.A.dylib (551.51.4) <3899B146-3840-3D4A-8C4A-FE391D5D25C7> /usr/lib/libicucore.A.dylib
    0x7fff970eb000 -     0x7fff970f3fff  com.apple.CoreServices.FSEvents (1223.10.1 - 1223.10.1) <7F5B7A23-BC1D-3FA9-A9B8-D534F1E1979A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents
    0x7fff970f4000 -     0x7fff973e9fff  com.apple.HIToolbox (2.1.1 - 807.2) <36413C45-36AF-34EF-9C0E-F18B31D1E565> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7fff973ea000 -     0x7fff973f3ff7  com.apple.CommonAuth (4.0 - 2.0) <4B8673E1-3697-3FE2-8D30-AC7AC5D4F8BF> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
    0x7fff973f4000 -     0x7fff974d4ff7  unorm8_rgba.dylib (2.7.3) <9EB6C346-CFF6-32D7-B4A1-2409DFBCB216> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/ImageFormats/unorm8_rgba.dylib
    0x7fff974d5000 -     0x7fff974d8ffb  libScreenReader.dylib (426.42) <16FC79D1-4573-3E90-945F-CBA22D5185FD> /usr/lib/libScreenReader.dylib
    0x7fff974d9000 -     0x7fff9751aff7  libGLU.dylib (12.1) <CD7A5916-3E3C-3EF3-A275-B281016B99CB> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x7fff9751b000 -     0x7fff9751efff  libsystem_sandbox.dylib (460.60.2) <2A68B39C-B786-3A05-87A2-56E688469FB8> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff9757c000 -     0x7fff975b6fff  com.apple.QD (3.12 - 302) <0FE53180-2895-3D14-A1E7-F82DE1D106E1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
    0x7fff975b7000 -     0x7fff975dbfff  com.apple.MultitouchSupport.framework (304.12 - 304.12) <65CB7653-EACD-3ADB-ABB6-2E0671708301> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
    0x7fff979f1000 -     0x7fff979f1fff  libenergytrace.dylib (10.40.1) <0A491CA7-3451-3FD5-999A-58AB4362682B> /usr/lib/libenergytrace.dylib
    0x7fff979f2000 -     0x7fff97a61fff  com.apple.datadetectorscore (7.0 - 460) <E8616F01-90AC-3863-B18C-426E6DD1ACDE> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
    0x7fff97a74000 -     0x7fff97a7cfff  libsystem_networkextension.dylib (385.40.36) <66095DC7-6539-38F2-95EE-458F15F6D014> /usr/lib/system/libsystem_networkextension.dylib
    0x7fff97aa8000 -     0x7fff97b31ff7  com.apple.PerformanceAnalysis (1.0 - 1) <9EF745B2-ECD5-33F8-912F-E96771C9E6F8> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
    0x7fff97b32000 -     0x7fff97b77ff7  com.apple.coreservices.SharedFileList (24.4 - 24.5) <1D2AD77B-778F-3253-A295-3D0A32A8121C> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList
    0x7fff97b78000 -     0x7fff97ba1ff7  libxslt.1.dylib (14.4) <72CD1CA4-1FBD-3672-ADCE-A89AB741689A> /usr/lib/libxslt.1.dylib
    0x7fff97e67000 -     0x7fff97e78fff  libcmph.dylib (6) <BA4BF2C6-7F4E-33B8-9DD7-619C9EB83ECF> /usr/lib/libcmph.dylib
    0x7fff97e79000 -     0x7fff97e93fff  com.apple.Kerberos (3.0 - 1) <1B4744BF-E5AE-38E2-AA56-E22D3270F2E8> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x7fff97e94000 -     0x7fff97e99ff3  libunwind.dylib (35.3) <F6EB48E5-4D12-359A-AB54-C937FBBE9043> /usr/lib/system/libunwind.dylib
    0x7fff97ecd000 -     0x7fff97ef6ff7  libxpc.dylib (765.50.8) <54D1328E-054E-3DAA-89E2-375722F9D18F> /usr/lib/system/libxpc.dylib
    0x7fff97f0d000 -     0x7fff9803aff3  com.apple.CoreText (352.0 - 494.12) <ADBE8355-D4F5-3316-A6C4-D641D615CEC4> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
    0x7fff98082000 -     0x7fff980abfff  com.apple.ProtectedCloudStorage (1.0 - 1) <7436B2B3-943A-3500-B099-80F133B3E002> /System/Library/PrivateFrameworks/ProtectedCloudStorage.framework/Versions/A/ProtectedCloudStorage
    0x7fff98116000 -     0x7fff98133ff7  com.apple.AppleVPAFramework (2.1.2 - 2.1.2) <41378C0B-B56A-3A73-9BD0-E06FA1F87B8C> /System/Library/PrivateFrameworks/AppleVPA.framework/Versions/A/AppleVPA
    0x7fff98134000 -     0x7fff98138fff  libpam.2.dylib (20) <CFCD19BD-87BC-3F2B-BB1C-4C23E8E55F1A> /usr/lib/libpam.2.dylib
    0x7fff98146000 -     0x7fff981b5fff  com.apple.SearchKit (1.4.0 - 1.4.0) <F159A888-34CA-36F1-AC8E-EB1B38C9DFB3> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
    0x7fff98219000 -     0x7fff98315ff7  libFontParser.dylib (158.6) <267A9AE4-4138-3112-8D73-BDFDC96568FF> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
    0x7fff98316000 -     0x7fff99561feb  com.apple.CoreGraphics (1.600.0 - 960.3) <407FA367-204F-389E-8E33-0435E3B56D40> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    0x7fff99720000 -     0x7fff9974aff7  libc++abi.dylib (307.2) <922EFB36-0E9E-315B-8270-E81AC43472C0> /usr/lib/libc++abi.dylib
    0x7fff99804000 -     0x7fff99806ff7  libsystem_configuration.dylib (802.40.13) <3DEB7DF9-6804-37E1-BC83-0166882FF0FF> /usr/lib/system/libsystem_configuration.dylib
    0x7fff99811000 -     0x7fff9985ffff  libcurl.4.dylib (90) <12E01E4B-24C9-394C-9D2C-85CF85D5F459> /usr/lib/libcurl.4.dylib
    0x7fff999d6000 -     0x7fff999d8ff7  com.apple.xpc.ServiceManagement (1.0 - 1) <D96D7A6D-EDEB-35EE-B5D9-E33A3BF011B5> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
    0x7fff999d9000 -     0x7fff99a37fff  com.apple.SystemConfiguration (1.14 - 1.14) <D801FAD7-5A2D-3E5E-9F44-B6C9B8BEA747> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fff99b6a000 -     0x7fff99b78ff7  libbz2.1.0.dylib (38) <28E54258-C0FE-38D4-AB76-1734CACCB344> /usr/lib/libbz2.1.0.dylib
    0x7fff99e84000 -     0x7fff99e85fff  libsystem_secinit.dylib (20) <32B1A8C6-DC84-3F4F-B8CE-9A52B47C3E6B> /usr/lib/system/libsystem_secinit.dylib
    0x7fff99e86000 -     0x7fff9a091fff  libFosl_dynamic.dylib (16.24) <5F9DB82D-FD4B-3952-8531-CE020F93ED49> /usr/lib/libFosl_dynamic.dylib
    0x7fff9a092000 -     0x7fff9a377ffb  com.apple.CoreServices.CarbonCore (1136.2 - 1136.2) <2DBAFC9A-6CD6-351D-B1F4-87D81AA6D640> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
    0x7fff9ac19000 -     0x7fff9ac5fff7  libauto.dylib (186) <999E610F-41FC-32A3-ADCA-5EC049B65DFB> /usr/lib/libauto.dylib
    0x7fff9acdb000 -     0x7fff9acf3fef  libcompression.dylib (28) <E7601B62-1053-369D-8A9E-91CF86239220> /usr/lib/libcompression.dylib
    0x7fff9acf4000 -     0x7fff9acf4fff  com.apple.Accelerate (1.10 - Accelerate 1.10) <185EC96A-5AF0-3620-A4ED-4D3654D25B39> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x7fff9ae8f000 -     0x7fff9aea6fff  libmarisa.dylib (4) <E4919B03-D9BD-3AF8-B436-C415C98E3F0A> /usr/lib/libmarisa.dylib
    0x7fff9aea7000 -     0x7fff9aea7fff  libOpenScriptingUtil.dylib (169.1) <AD0DAC8A-9849-3077-999F-9AEC6112BDAB> /usr/lib/libOpenScriptingUtil.dylib
    0x7fff9aebb000 -     0x7fff9aeeaff7  com.apple.DictionaryServices (1.2 - 250.3) <30250542-CBAA-39C1-91AA-B57A5DE17594> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
    0x7fff9b5cd000 -     0x7fff9b6a3ffb  com.apple.DiskImagesFramework (10.11.4 - 417.4) <B9525D22-6F0D-39C5-BA9B-9DF195FE1968> /System/Library/PrivateFrameworks/DiskImages.framework/Versions/A/DiskImages
    0x7fff9b6a4000 -     0x7fff9ba39fdb  com.apple.vImage (8.0 - 8.0) <4BAC9B6F-7482-3580-8787-AB0A5B4D331B> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
    0x7fff9ba3a000 -     0x7fff9baeafff  com.apple.backup.framework (1.7.4 - 1.7.4) <F304E9D1-991A-379E-9659-BF85C35B4808> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
    0x7fff9bbc7000 -     0x7fff9bbcffff  com.apple.AppleSRP (5.0 - 1) <840A5C20-6452-36BB-ACF7-29BA6CBF7C48> /System/Library/PrivateFrameworks/AppleSRP.framework/Versions/A/AppleSRP
    0x7fff9bc0f000 -     0x7fff9bc7aff7  com.apple.framework.CoreWLAN (11.0 - 1101.20) <3B35C543-7FCE-333F-80C1-432FA41DDCDE> /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN
    0x7fff9d5a3000 -     0x7fff9d5a3fff  libmetal_timestamp.dylib (600.0.44.2) <DEEA1127-7A5D-3EF2-A4B2-AE125CBA5DB5> /System/Library/PrivateFrameworks/GPUCompiler.framework/libmetal_timestamp.dylib
    0x7fff9d619000 -     0x7fff9d65eff3  libFontRegistry.dylib (155.2) <A70DD497-35F3-34DA-9C19-F4B90080E961> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
    0x7fff9d663000 -     0x7fff9d749ff7  libcrypto.0.9.8.dylib (59.60.1) <D68067AD-D1E0-3196-9796-51BE9B969C8E> /usr/lib/libcrypto.0.9.8.dylib
    0x7fff9d854000 -     0x7fff9d978fff  libsqlite3.dylib (216.4) <280D67B8-F93D-3587-A146-19F36C817548> /usr/lib/libsqlite3.dylib
    0x7fff9d979000 -     0x7fff9d994ff7  libCRFSuite.dylib (34) <078B4CD8-6A8C-3067-B2BA-0C2A0BAB8AC3> /usr/lib/libCRFSuite.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 1
    thread_create: 0
    thread_set_state: 0
  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: 9312
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=263.7M resident=0K(0%) swapped_out_or_unallocated=263.7M(100%)
Writable regions: Total=266.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=266.9M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate.framework               128K        2 
Activity Tracing                  2048K        2 
CG backing stores                 16.5M        4 
CG image                            84K        9 
CG shared images                   304K        9 
CoreAnimation                      136K       14 
CoreUI image data                 1588K        9 
CoreUI image file                  320K        5 
Dispatch continuations            8192K        2 
Foundation                          28K        3 
IOKit                             34.4M       19 
Image IO                             4K        2 
Kernel Alloc Once                    8K        3 
MALLOC                           184.5M       43 
MALLOC guard page                   32K        7 
MALLOC_LARGE (reserved)            300K        2         reserved VM address space (unallocated)
Memory Tag 242                      12K        2 
Memory Tag 249                     156K        3 
OpenCL                               8K        2 
OpenGL GLSL                        256K        4 
STACK GUARD                       56.0M        7 
Stack                             10.1M        7 
VM_ALLOCATE                        316K       11 
VM_ALLOCATE (reserved)              36K        2         reserved VM address space (unallocated)
__DATA                            18.9M      232 
__GLSLBUILTINS                    2588K        2 
__IMAGE                            528K        2 
__LINKEDIT                        97.3M       26 
__TEXT                           166.4M      232 
__UNICODE                          552K        2 
mapped file                       48.6M       15 
shared memory                     16.4M       13 
===========                     =======  ======= 
TOTAL                            666.4M      665 
TOTAL, minus reserved VM space   666.0M      665 

Model: MacBookPro11,1, BootROM MBP111.0138.B17, 2 processors, Intel Core i5, 2,6 GHz, 8 GB, SMC 2.16f68
Graphics: Intel Iris, Intel Iris, Built-In
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 0x384B54463531323634485A2D314736453120
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 0x384B54463531323634485A2D314736453120
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x112), Broadcom BCM43xx 1.0 (7.21.95.175.1a6)
Bluetooth: Version 4.4.6f1 17910, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0512F, 500,28 GB
USB Device: USB 3.0 Bus
USB Device: Card Reader
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 17.2
Ghabry commented 8 years ago

Probably memory corruption.

Will check this on Monday because I can't download 1.1 GB through my mobile contract, makes me poor.

Ghabry commented 8 years ago

Looks like another corner case in my new Tone blit code :( Fortunately this doesn't seem to affect many games, 0 crashes reported in Android yet.

==10835== Conditional jump or move depends on uninitialised value(s)
==10835==    at 0x8ACEE5: Bitmap::ToneBlit(int, int, Bitmap const&, Rect const&, Tone const&, Opacity const&) (bitmap.cpp:1029)
==10835==    by 0x860761: Sprite::Refresh(Rect&) (sprite.cpp:163)
==10835==    by 0x85FEDB: Sprite::BlitScreen() (sprite.cpp:84)
==10835==    by 0x85FE3C: Sprite::Draw() (sprite.cpp:75)
==10835==    by 0x80D495: Graphics::DrawFrame() (graphics.cpp:185)
==10835==    by 0x80D221: Graphics::Update(bool) (graphics.cpp:114)
==10835==    by 0x81CCFE: Player::Update(bool) (player.cpp:302)
==10835==    by 0x8344A1: Scene::MainFunction() (scene.cpp:100)
==10835==    by 0x81CA87: Player::MainLoop() (player.cpp:259)
==10835==    by 0x81C921: Player::Run() (player.cpp:254)
==10835==    by 0x80CF20: main (main.cpp:33)
==10835== 
Ghabry commented 8 years ago

The sanitizing code in Refresh looks incorrect btw.

    if (zoom_x_effect != 1.0 && zoom_y_effect != 1.0 && angle_effect != 0.0 && waver_effect_depth != 0) {
        // TODO: Out of bounds check adjustments for zoom, angle and waver
        // but even without this will catch most of the cases
        if (Rect(x - ox, y - ox, GetWidth(), GetHeight()).IsOutOfBounds(Rect(0, 0, SCREEN_TARGET_WIDTH, SCREEN_TARGET_HEIGHT))) {
            return BitmapRef();
        };
    }

rect.Adjust(bitmap->GetWidth(), bitmap->GetHeight());

The out of bounds check adjustments have wrong logic. They check if any effect is applied, but the TODO says it only works when no effect is applied. Which means we do lots of useless draw calls.

rect.Adjust does not adjust the rect correctly.

And I will add sanity checks to the new Tone blit...

Ghabry commented 8 years ago

I think this function here has an obvious bug. One case for x and y is not handled.

void Rect::Adjust(int max_width, int max_height) {
    if (x < 0) {
        width += x;
        x = 0;
    }
    if (y < 0) {
        height += y;
        y = 0;
    }
    if (x < max_width && y < max_height) {
        if (max_width < x + width) width = max_width - x;
        if (max_height < y + height) height = max_height - y;
    }
}
Ghabry commented 8 years ago

Fixed by #1044 1044