rFlex / SCRecorder

iOS camera engine with Vine-like tap to record, animatable filters, slow motion, segments editing
Apache License 2.0
3.06k stars 583 forks source link

Crash after dealloc #290

Open CamilaMoscatelli opened 8 years ago

CamilaMoscatelli commented 8 years ago

I have a pretty hard to track bug. I am opening a view that contains the component and after dealloc´ng I have the following crash.

Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 OpenGLES 0x000000018713b930 +[EAGLContext setCurrentContext:] + 84 1 OpenGLES 0x000000018713b91c +[EAGLContext setCurrentContext:] + 64 2 GLKit 0x000000018d4b08ec -[GLKView dealloc] + 176 3 liboainject.dylib 0x000000010062e52c 0x100628000 + 25900 4 libobjc.A.dylib 0x0000000184a65ae8 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 508 5 liboainject.dylib 0x000000010062d76c 0x100628000 + 22380 6 CoreFoundation 0x00000001852c142c _CFAutoreleasePoolPop + 28 7 CoreFoundation 0x0000000185392a20 __CFRunLoopRun + 1636 8 CoreFoundation 0x00000001852c1680 CFRunLoopRunSpecific + 384 9 GraphicsServices 0x00000001867d0088 GSEventRunModal + 180 10 UIKit 0x000000018a138d90 UIApplicationMain + 204 11 chatterbox-iOS 0x00000001000f50f0 0x100048000 + 708848 12 libdyld.dylib 0x0000000184e628b8 start + 4

Any help or suggestions?

turok commented 8 years ago

I have the same issue. :(

turok commented 8 years ago

@CamilaMoscatelli I found fix - https://github.com/rFlex/SCRecorder/pull/266, seems it works

CamilaMoscatelli commented 8 years ago

@turok Hi! I was just about to tell you the same thing! That works for me too.