{"action":"created","issue":{"url":"https://api.github.com/repos/openfl/lime/issues/348","labels_url":"https://api.github.com/repos/openfl/lime/issues/348/labels{/name}","comments_url":"https://api.github.com/repos/openfl/lime/issues/348/comments","events_url":"https://api.github.com/repos/openfl/lime/issues/348/events","html_url":"https://github.com/openfl/lime/issues/348","id":58691003,"number":348,"title":"iOS SEGV_ACCERR in libGPUSupportMercury.dylib via nme::Stage::RenderStage()","user":{"login":"cbatson","id":8151661,"avatar_url":"https://avatars.githubusercontent.com/u/8151661?v=3","gravatar_id":"","url":"https://api.github.com/users/cbatson","html_url":"https://github.com/cbatson","followers_url":"https://api.github.com/users/cbatson/followers","following_url":"https://api.github.com/users/cbatson/following{/other_user}","gists_url":"https://api.github.com/users/cbatson/gists{/gist_id}","starred_url":"https://api.github.com/users/cbatson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbatson/subscriptions","organizations_url":"https://api.github.com/users/cbatson/orgs","repos_url":"https://api.github.com/users/cbatson/repos","events_url":"https://api.github.com/users/cbatson/events{/privacy}","received_events_url":"https://api.github.com/users/cbatson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-24T04:07:32Z","updated_at":"2015-02-24T16:58:32Z","closed_at":null,"body":"I'm seeing occasional crashes like the one below. The crashes are out \"in the wild\" and sadly I don't know anything else about it -- no repro steps or clues.  Just documenting it here in case anyone else runs into this or knows something about it.\r\n\r\n```\r\nException Type: SIGSEGV\r\nException Codes: SEGV_ACCERR at 0x1\r\nCrashed Thread: 0\r\n\r\nThread 0 Crashed:\r\n0 libGPUSupportMercury.dylib 0x357498f6 gpus_ReturnNotPermittedKillClient + 10\r\n1 IMGSGX543GLDriver 0x2f9de86f SubmitPackets + 123\r\n2 GLEngine 0x32f04a01 gliPresentViewES_Exec + 173\r\n3 GLEngine 0x32f0490f gliPresentViewES + 135\r\n4 OpenGLES 0x32f0f0cd -[EAGLContext presentRenderbuffer:] + 65\r\n5 parakeet 0x00066519 nme::Stage::RenderStage() + 417\r\n6 parakeet 0x0007433b nme_render_stage(_value*) + 75\r\n7 parakeet 0x00412c23 ExternalPrimitive::__run(Dynamic const&) (Lib.cpp:122)\r\n8 parakeet 0x003c48eb openfl::_v2::display::Stage_obj::__render(bool) (Dynamic.h:176)\r\n9 parakeet 0x003bfaeb openfl::_v2::display::Stage_obj::__checkRender() (Stage.cpp:724)\r\n10 parakeet 0x003c46d1 openfl::_v2::display::Stage_obj::__pollTimers() (Stage.cpp:2606)\r\n11 parakeet 0x003c4b07 openfl::_v2::display::Stage_obj::__setActive(bool) (Stage.cpp:2723)\r\n12 parakeet 0x003c01af openfl::_v2::display::Stage_obj::__doProcessStageEvent(Dynamic) (Stage.cpp:1019)\r\n13 parakeet 0x003c0a8d openfl::_v2::display::Stage_obj::__processStageEvent(Dynamic) (Stage.cpp:1145)\r\n14 parakeet 0x003c0b0d openfl::_v2::display::__Stage_obj__processStageEvent(hx::Object*, Dynamic const&) (Stage.cpp:1151)\r\n15 parakeet 0x0041c7bd hx::CMemberFunction1::__run(Dynamic const&) (DynamicImpl.h:138)\r\n16 parakeet 0x003fac59 val_call1 (CFFI.cpp:602)\r\n17 parakeet 0x00073ce3 external_handler(nme::Event&, void*) + 543\r\n18 parakeet 0x00065f35 nme::Stage::HandleEvent(nme::Event&) + 1125\r\n19 parakeet 0x00032a53 -[NMEAppDelegate setActive:] + 123\r\n20 UIKit 0x335086bb -[UIApplication _stopDeactivatingForReason:] + 375\r\n21 UIKit 0x33690221 -[UIApplication _handleApplicationResumeEvent:] + 1289\r\n22 UIKit 0x3348f065 -[UIApplication handleEvent:withNewEvent:] + 1873\r\n23 UIKit 0x3348e851 -[UIApplication sendEvent:] + 73\r\n24 UIKit 0x334f2ca9 _UIApplicationHandleEvent + 617\r\n25 GraphicsServices 0x35afbaed _PurpleEventCallback + 609\r\n26 CoreFoundation 0x30c3820b __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15\r\n27 CoreFoundation 0x30c37761 __CFRunLoopDoSources0 + 341\r\n28 CoreFoundation 0x30c35ecf __CFRunLoopRun + 623\r\n29 CoreFoundation 0x30ba0ebf CFRunLoopRunSpecific + 523\r\n30 CoreFoundation 0x30ba0ca3 CFRunLoopRunInMode + 107\r\n31 GraphicsServices 0x35afa663 GSEventRunModal + 139\r\n32 UIKit 0x334ed14d UIApplicationMain + 1137\r\n33 parakeet 0x00032d89 nme::CreateMainFrame(void (*)(nme::Frame*), int, int, unsigned int, char const*, nme::Surface*) + 201\r\n34 parakeet 0x00073989 nme_create_main_frame(_value**, int) + 333\r\n35 parakeet 0x004128c5 ExternalPrimitive::__Run(Array<Dynamic> const&) (Lib.cpp:159)\r\n36 parakeet 0x0041ae8b Dynamic::operator()(Dynamic const&, Dynamic const&, Dynamic const&, Dynamic const&, Dynamic const&, Dynamic const&) (DynamicImpl.h:542)\r\n37 parakeet 0x003ea969 openfl::_v2::Lib_obj::create(Dynamic, int, int, hx::Null<double>, hx::Null<int>, hx::Null<int>, String, hx::ObjectPtr<openfl::_v2::display::BitmapData_obj>, hx::ObjectPtr<Class_obj>) (Lib.cpp:378)\r\n38 parakeet 0x003f8981 ApplicationMain_obj::main() (ApplicationMain.cpp:304)\r\n39 parakeet 0x003f9e7b __hxcpp_lib_main (__lib__.cpp:13)\r\n40 parakeet 0x00416ca7 hxRunLibrary (RunLibs.cpp:29)\r\n41 parakeet 0x0001ef8d main (Main.mm:65)\r\n42 parakeet 0x0001ef68 start + 40\r\n```\r\n\r\nI've seen this with\r\n```\r\nHardware Model: iPhone4,1\r\nOS Version: iPhone OS 7.1.2 (11D257)\r\n```\r\nas well as\r\n```\r\nHardware Model: iPad2,5\r\nOS Version: iPhone OS 8.0.2 (12A405)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/openfl/lime/issues/comments/75796357","html_url":"https://github.com/openfl/lime/issues/348#issuecomment-75796357","issue_url":"https://api.github.com/repos/openfl/lime/issues/348","id":75796357,"user":{"login":"cbatson","id":8151661,"avatar_url":"https://avatars.githubusercontent.com/u/8151661?v=3","gravatar_id":"","url":"https://api.github.com/users/cbatson","html_url":"https://github.com/cbatson","followers_url":"https://api.github.com/users/cbatson/followers","following_url":"https://api.github.com/users/cbatson/following{/other_user}","gists_url":"https://api.github.com/users/cbatson/gists{/gist_id}","starred_url":"https://api.github.com/users/cbatson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbatson/subscriptions","organizations_url":"https://api.github.com/users/cbatson/orgs","repos_url":"https://api.github.com/users/cbatson/repos","events_url":"https://api.github.com/users/cbatson/events{/privacy}","received_events_url":"https://api.github.com/users/cbatson/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T16:58:32Z","updated_at":"2015-02-24T16:58:32Z","body":"It looks like it'll be easy to implement item 3.  I'll give it a try, update the app, and report back on what happens.  If it works out I can submit a pull request."}}