Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dead cycle of createmutex and mutex. #4

Closed
yaxinhoo opened this issue Mar 4, 2013 · 1 comment
Closed

dead cycle of createmutex and mutex. #4

yaxinhoo opened this issue Mar 4, 2013 · 1 comment

Comments

@yaxinhoo
Copy link

yaxinhoo commented Mar 4, 2013

i build the new version . then went to run on simulator. i got 261823 of dead cycle of SDL_createMutex & SDL_createSemaphore. log like this . i use xcode 4.6.1 , which version do you use ?

Thread 1, Queue : com.apple.main-thread
#0 0x977a1923 in tiny_malloc_from_free_list ()
#1 0x977a2903 in szone_malloc_should_clear ()
#2 0x977a366b in szone_malloc ()
#3 0x977d9962 in malloc_zone_malloc ()
#4 0x977da882 in malloc ()
#5 0x010171b0 in SDL_CreateSemaphore at /Volumes/MacData/Work/War-Of-Kingdom/kingdom-src/Lib/Xcode-iPhoneOS/SDL/SDL/../../../SDL-1.3.0-6217/src/thread/generic/SDL_syssem.c:94
#261818 0x01016f7e in SDL_CreateMutex at /Volumes/MacData/Work/War-Of-Kingdom/kingdom-src/Lib/Xcode-iPhoneOS/SDL/SDL/../../../SDL-1.3.0-6217/src/thread/generic/SDL_sysmutex.c:46
#261819 0x010171f7 in SDL_CreateSemaphore at /Volumes/MacData/Work/War-Of-Kingdom/kingdom-src/Lib/Xcode-iPhoneOS/SDL/SDL/../../../SDL-1.3.0-6217/src/thread/generic/SDL_syssem.c:102
#261820 0x01016f7e in SDL_CreateMutex at /Volumes/MacData/Work/War-Of-Kingdom/kingdom-src/Lib/Xcode-iPhoneOS/SDL/SDL/../../../SDL-1.3.0-6217/src/thread/generic/SDL_sysmutex.c:46
#261821 0x010171f7 in SDL_CreateSemaphore at /Volumes/MacData/Work/War-Of-Kingdom/kingdom-src/Lib/Xcode-iPhoneOS/SDL/SDL/../../../SDL-1.3.0-6217/src/thread/generic/SDL_syssem.c:102
#261822 0x008946c3 in __cxx_global_var_init at /Volumes/MacData/Work/War-Of-Kingdom/kingdom-src/kingdom/projectfiles/Xcode-iPhoneOS/../../src/save_blocker.cpp:20
#261823 0x008946eb in _GLOBAL__I_a at /Volumes/MacData/Work/War-Of-Kingdom/kingdom-src/kingdom/projectfiles/Xcode-iPhoneOS/../../src/save_blocker.cpp:60

@yaxinhoo yaxinhoo closed this as completed Mar 4, 2013
@ancientcc
Copy link
Member

How to compile on misc OS, can reference to http://www.freeors.com/en/compile.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants