Hello,
I am experiencing a bug in AppGameKit which forces the interpreter to crash when tweening sprites on screen.
Example code...
FadeOut = CreateTweenSprite(0.75)
SetTweenSpriteAlpha(FadeOut, 255,0, TweenEaseIn1())
for i = 0 to g_iBlockArrayCounter
PlayTweenSprite(FadeOut, g_sprColourBlocksID[i], 0.0)
next i
while (GetTweenSpritePlaying( FadeOut, g_sprColourBlocksID[0]))
UpdateAllTweens( getframetime() )
Sync()
endwhile
DeleteTween(FadeOut)
Process: AppGameKit Player [2499]
Path: /Users/USER/Documents/*/AGKAPP.app/Contents/MacOS/AGK Player
Identifier: com.thegamecreators.AGKTestAppMacOS
Version: 2.0.9 (209)
Code Type: X86 (Native)
Parent Process: geany-bin [957]
Responsible: geany-bin [957]
User ID: 501
Date/Time: 2015-01-28 00:11:49.624 +0000
OS Version: Mac OS X 10.10.2 (14C109)
Report Version: 11
Anonymous UUID: 95C32A95-7A7C-809D-05F1-AC8B353E00BF
Time Awake Since Boot: 20000 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000636f445b
VM Regions Near 0x636f445b:
__LINKEDIT 0000000048ebd000-0000000048f23000 [ 408K] r--/rwx SM=COW /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDriver
-->
MALLOC_TINY 0000000079600000-0000000079700000 [ 1024K] rw-/rwx SM=PRV
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.thegamecreators.AGKTestAppMacOS 0x00059887 AGK::cSprite::CheckTransparency() + 47
1 com.thegamecreators.AGKTestAppMacOS 0x0011de4a AGK::TweenSprite::Update(float, void*, int) + 5190
2 com.thegamecreators.AGKTestAppMacOS 0x00123bff AGK::TweenInstance::Update(float) + 127
3 com.thegamecreators.AGKTestAppMacOS 0x0008fd9c AGK::agk::UpdateAllTweens(float) + 56
4 com.thegamecreators.AGKTestAppMacOS 0x0003ecf1 ProgramData::RunProgram() + 110641
5 com.thegamecreators.AGKTestAppMacOS 0x0001cf58 app::Loop() + 3384
6 com.thegamecreators.AGKTestAppMacOS 0x0001e917 main + 1927
7 com.thegamecreators.AGKTestAppMacOS 0x0001a625 start + 53
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x907f18ce kevent64 + 10
1 libdispatch.dylib 0x9387273f _dispatch_mgr_invoke + 245
2 libdispatch.dylib 0x938723a2 _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x907f0e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x959322b1 _pthread_wqthread + 939
2 libsystem_pthread.dylib 0x9592fe2e start_wqthread + 30
Thread 3:
0 libsystem_kernel.dylib 0x907f0e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x959322b1 _pthread_wqthread + 939
2 libsystem_pthread.dylib 0x9592fe2e start_wqthread + 30
Thread 4:
0 libsystem_kernel.dylib 0x907f0512 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x95932a4a _pthread_cond_wait + 726
2 libsystem_pthread.dylib 0x959361c0 pthread_cond_wait$UNIX2003 + 71
3 com.apple.Foundation 0x9236c1ba -[NSCondition wait] + 274
4 com.thegamecreators.AGKTestAppMacOS 0x000def2e IslandWorkerThread::Run() + 72
5 com.thegamecreators.AGKTestAppMacOS 0x000ba553 StartNewThread(void*) + 85
6 libsystem_pthread.dylib 0x95931e13 _pthread_body + 138
7 libsystem_pthread.dylib 0x95931d89 _pthread_start + 162
8 libsystem_pthread.dylib 0x9592fe52 thread_start + 34
Thread 5:
0 libsystem_kernel.dylib 0x907f0512 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x95932a4a _pthread_cond_wait + 726
2 libsystem_pthread.dylib 0x959361c0 pthread_cond_wait$UNIX2003 + 71
3 com.apple.Foundation 0x9236c1ba -[NSCondition wait] + 274
4 com.thegamecreators.AGKTestAppMacOS 0x000def2e IslandWorkerThread::Run() + 72
5 com.thegamecreators.AGKTestAppMacOS 0x000ba553 StartNewThread(void*) + 85
6 libsystem_pthread.dylib 0x95931e13 _pthread_body + 138
7 libsystem_pthread.dylib 0x95931d89 _pthread_start + 162
8 libsystem_pthread.dylib 0x9592fe52 thread_start + 34
Thread 6:
0 libsystem_kernel.dylib 0x907f0512 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x95932a4a _pthread_cond_wait + 726
2 libsystem_pthread.dylib 0x959361c0 pthread_cond_wait$UNIX2003 + 71
3 com.apple.Foundation 0x9236c1ba -[NSCondition wait] + 274
4 com.thegamecreators.AGKTestAppMacOS 0x000def2e IslandWorkerThread::Run() + 72
5 com.thegamecreators.AGKTestAppMacOS 0x000ba553 StartNewThread(void*) + 85
6 libsystem_pthread.dylib 0x95931e13 _pthread_body + 138
7 libsystem_pthread.dylib 0x95931d89 _pthread_start + 162
8 libsystem_pthread.dylib 0x9592fe52 thread_start + 34
Thread 7:
0 libsystem_kernel.dylib 0x907f0512 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x95932a4a _pthread_cond_wait + 726
2 libsystem_pthread.dylib 0x959361c0 pthread_cond_wait$UNIX2003 + 71
3 com.apple.Foundation 0x9236c1ba -[NSCondition wait] + 274
4 com.thegamecreators.AGKTestAppMacOS 0x000def2e IslandWorkerThread::Run() + 72
5 com.thegamecreators.AGKTestAppMacOS 0x000ba553 StartNewThread(void*) + 85
6 libsystem_pthread.dylib 0x95931e13 _pthread_body + 138
7 libsystem_pthread.dylib 0x95931d89 _pthread_start + 162
8 libsystem_pthread.dylib 0x9592fe52 thread_start + 34
Thread 8:
0 libsystem_kernel.dylib 0x907f0512 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x95932a4a _pthread_cond_wait + 726
2 libsystem_pthread.dylib 0x959361c0 pthread_cond_wait$UNIX2003 + 71
3 com.apple.Foundation 0x9236c1ba -[NSCondition wait] + 274
4 com.thegamecreators.AGKTestAppMacOS 0x000def2e IslandWorkerThread::Run() + 72
5 com.thegamecreators.AGKTestAppMacOS 0x000ba553 StartNewThread(void*) + 85
6 libsystem_pthread.dylib 0x95931e13 _pthread_body + 138
7 libsystem_pthread.dylib 0x95931d89 _pthread_start + 162
8 libsystem_pthread.dylib 0x9592fe52 thread_start + 34
Thread 9:
0 libsystem_kernel.dylib 0x907f0512 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x95932a4a _pthread_cond_wait + 726
2 libsystem_pthread.dylib 0x959361c0 pthread_cond_wait$UNIX2003 + 71
3 com.apple.Foundation 0x9236c1ba -[NSCondition wait] + 274
4 com.thegamecreators.AGKTestAppMacOS 0x000def2e IslandWorkerThread::Run() + 72
5 com.thegamecreators.AGKTestAppMacOS 0x000ba553 StartNewThread(void*) + 85
6 libsystem_pthread.dylib 0x95931e13 _pthread_body + 138
7 libsystem_pthread.dylib 0x95931d89 _pthread_start + 162
8 libsystem_pthread.dylib 0x9592fe52 thread_start + 34
Thread 10:
0 libsystem_kernel.dylib 0x907f0512 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x95932a4a _pthread_cond_wait + 726
2 libsystem_pthread.dylib 0x959361c0 pthread_cond_wait$UNIX2003 + 71
3 com.apple.Foundation 0x9236c1ba -[NSCondition wait] + 274
4 com.thegamecreators.AGKTestAppMacOS 0x000def2e IslandWorkerThread::Run() + 72
5 com.thegamecreators.AGKTestAppMacOS 0x000ba553 StartNewThread(void*) + 85
6 libsystem_pthread.dylib 0x95931e13 _pthread_body + 138
7 libsystem_pthread.dylib 0x95931d89 _pthread_start + 162
8 libsystem_pthread.dylib 0x9592fe52 thread_start + 34
Thread 11:
0 libsystem_kernel.dylib 0x907f0512 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x95932a4a _pthread_cond_wait + 726
2 libsystem_pthread.dylib 0x959361c0 pthread_cond_wait$UNIX2003 + 71
3 com.apple.Foundation 0x9236c1ba -[NSCondition wait] + 274
4 com.thegamecreators.AGKTestAppMacOS 0x000def2e IslandWorkerThread::Run() + 72
5 com.thegamecreators.AGKTestAppMacOS 0x000ba553 StartNewThread(void*) + 85
6 libsystem_pthread.dylib 0x95931e13 _pthread_body + 138
7 libsystem_pthread.dylib 0x95931d89 _pthread_start + 162
8 libsystem_pthread.dylib 0x9592fe52 thread_start + 34
Thread 12:: com.apple.audio.IOThread.client
0 libsystem_kernel.dylib 0x907ea9ce mach_msg_trap + 10
1 libsystem_kernel.dylib 0x907e9a70 mach_msg + 68
2 com.apple.audio.CoreAudio 0x9bf5cc3a HALB_MachPort::SendMessageWithReply(unsigned int, unsigned int, unsigned long, unsigned long, mach_msg_header_t*, bool, unsigned int) + 142
3 com.apple.audio.CoreAudio 0x9bf56a74 HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 72
4 com.apple.audio.CoreAudio 0x9bf5511f HALC_ProxyIOContext::IOWorkLoop() + 1145
5 com.apple.audio.CoreAudio 0x9bf54be8 HALC_ProxyIOContext::IOThreadEntry(void*) + 156
6 com.apple.audio.CoreAudio 0x9bf60277 ___ZN19HALC_ProxyIOContextC2Emj_block_invoke + 20
7 com.apple.audio.CoreAudio 0x9bf54b09 HALB_IOThread::Entry(void*) + 173
8 libsystem_pthread.dylib 0x95931e13 _pthread_body + 138
9 libsystem_pthread.dylib 0x95931d89 _pthread_start + 162
10 libsystem_pthread.dylib 0x9592fe52 thread_start + 34
Thread 13:
0 libsystem_kernel.dylib 0x907f0512 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x95932a4a _pthread_cond_wait + 726
2 libsystem_pthread.dylib 0x959361c0 pthread_cond_wait$UNIX2003 + 71
3 com.apple.Foundation 0x9236c1ba -[NSCondition wait] + 274
4 com.thegamecreators.AGKTestAppMacOS 0x0005660e AGK::ImageCompressor::Run() + 80
5 com.thegamecreators.AGKTestAppMacOS 0x000ba553 StartNewThread(void*) + 85
6 libsystem_pthread.dylib 0x95931e13 _pthread_body + 138
7 libsystem_pthread.dylib 0x95931d89 _pthread_start + 162
8 libsystem_pthread.dylib 0x9592fe52 thread_start + 34
Thread 14:
0 libsystem_kernel.dylib 0x907ea9ce mach_msg_trap + 10
1 libsystem_kernel.dylib 0x907e9a70 mach_msg + 68
2 com.apple.CoreFoundation 0x96b9db16 __CFRunLoopServiceMachPort + 214
3 com.apple.CoreFoundation 0x96b9cf29 __CFRunLoopRun + 1529
4 com.apple.CoreFoundation 0x96b9c6c6 CFRunLoopRunSpecific + 390
5 com.apple.CoreFoundation 0x96b9c52b CFRunLoopRunInMode + 123
6 com.apple.AppKit 0x9708aff1 _NSEventThread + 283
7 libsystem_pthread.dylib 0x95931e13 _pthread_body + 138
8 libsystem_pthread.dylib 0x95931d89 _pthread_start + 162
9 libsystem_pthread.dylib 0x9592fe52 thread_start + 34
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x000000ff ebx: 0x7b0b5cb0 ecx: 0x00000000 edx: 0x636f442f
edi: 0x0011ca12 esi: 0x636f442f ebp: 0xbffe3db8 esp: 0xbffe3dac
ss: 0x00000023 efl: 0x00010202 eip: 0x00059887 cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0x636f445b
Logical CPU: 2
Error Code: 0x00000004
Trap Number: 14
Binary Images:
0x19000 - 0x1f0ff3 +com.thegamecreators.AGKTestAppMacOS (2.0.9 - 209) <3200167F-11C5-386C-85CC-0E72F0E6DD4B>
http://www.wonkypix.com
http://www.appstore.com/jsecconsultancyltd
http://itunes.apple.com/us/app/newtons-nonsense/id473520354?ls=1&amp;mt=8