MrLoick / zengl

Automatically exported from code.google.com/p/zengl
0 stars 0 forks source link

iOS - Crash on Memory Warning #69

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
My game seems to crash everytime iOS shows a Memory Warning!

I commented this line and the problems seems to be gone! Does this make any 
sence?

procedure zglCAppDelegate.applicationDidReceiveMemoryWarning;
begin
  //app_PMemoryWarn();
end;

Original issue reported on code.google.com by wagenhei...@gmail.com on 3 May 2012 at 1:04

GoogleCodeExporter commented 8 years ago
I also got some SIGKILL with this backtrace (this seems to happens only on 
simulator, but i'm not sure).

#0  0x0436665e in WebCore::CompositeEditCommand::applyCommandToComposite ()
#1  0x04d0c23d in WebCore::TypingCommand::insertTextRunWithoutNewlines ()
#2  0x04d0c440 in WebCore::TypingCommand::insertText ()
#3  0x04d0901d in WebCore::TypingCommand::doApply ()
#4  0x044efdf0 in WebCore::EditCommand::apply ()
#5  0x044efee3 in WebCore::applyCommand ()
#6  0x04d0d119 in WebCore::TypingCommand::insertText ()
#7  0x0450884d in WebCore::Editor::insertTextWithoutSendingTextEvent ()
#8  0x04508b32 in WebCore::Editor::handleTextEvent ()
#9  0x0451ce12 in WebCore::EventHandler::defaultTextInputEventHandler ()
#10 0x04a820f7 in WebCore::Node::defaultEventHandler ()
#11 0x0451b245 in WebCore::EventDispatcher::dispatchEvent ()
#12 0x0451a1f2 in WebCore::EventDispatchMediator::dispatchEvent ()
#13 0x0451a8fb in WebCore::EventDispatcher::dispatchEvent ()
#14 0x04a81ca4 in WebCore::Node::dispatchEvent ()
#15 0x0452f64e in WebCore::EventTarget::dispatchEvent ()
#16 0x0451d0a0 in WebCore::EventHandler::handleTextInputEvent ()
#17 0x044ffa0a in WebCore::Editor::insertText ()
#18 0x0416aad9 in -[WebHTMLView(WebNSTextInputSupport) insertText:] ()
#19 0x026a6e72 in -[NSObject performSelector:withObject:] ()
#20 0x04d295bc in -[WAKResponder tryToPerform:with:] ()
#21 0x041917f9 in -[WebView(WebViewEditingActions) 
_performResponderOperation:with:] ()
#22 0x0419387f in -[WebView(WebViewEditingActions) insertText:] ()
#23 0x00907e03 in -[UIWebDocumentView insertText:] ()
#24 0x008cb792 in -[UIKeyboardImpl insertText:] ()
#25 0x008cc944 in -[UIKeyboardImpl addInputString:fromVariantKey:] ()
#26 0x008cb6b6 in -[UIKeyboardImpl handleStringInput:fromVariantKey:] ()
#27 0x008d4f09 in -[UIKeyboardImpl handleKeyEvent:] ()
#28 0x00776406 in -[UIApplication _handleKeyEvent:] ()
#29 0x0085414a in -[UIResponder(Internal) _handleKeyEvent:] ()
#30 0x0085414a in -[UIResponder(Internal) _handleKeyEvent:] ()
#31 0x00776460 in -[UIApplication handleKeyEvent:] ()
#32 0x00a09819 in -[UIKeyboardLayoutStar 
sendStringAction:forKey:isPopupVariant:] ()
#33 0x00a11227 in -[UIKeyboardLayoutStar touchUp:] ()
#34 0x008e15ea in -[UIKeyboardLayout touchesEnded:withEvent:] ()
#35 0x0078fa30 in -[UIWindow _sendTouchesForEvent:] ()
#36 0x0078fc56 in -[UIWindow sendEvent:] ()
#37 0x00776384 in -[UIApplication sendEvent:] ()
#38 0x00769aa9 in _UIApplicationHandleEvent ()
#39 0x03943fa9 in PurpleEventCallback ()
#40 0x026791c5 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ ()
#41 0x025de022 in __CFRunLoopDoSource1 ()
#42 0x025dc90a in __CFRunLoopRun ()
#43 0x025dbdb4 in CFRunLoopRunSpecific ()
#44 0x025dbccb in CFRunLoopRunInMode ()
#45 0x03942879 in GSEventRunModal ()
#46 0x0394293e in GSEventRun ()
#47 0x00767a9b in UIApplicationMain ()
#48 0x002484d5 in ZGL_INIT (FSAA=168, STENCILBITS=224) at 
../../../ZenGL/src/zgl_main.pas:255
#49 0x000ac43a in STARTIOS () at DreamsOfaGeisha.dpr:479
#50 0x000ac492 in PASCALMAIN () at DreamsOfaGeisha.dpr:485
#51 0x00002b85 in start ()

Original comment by wagenhei...@gmail.com on 3 May 2012 at 1:30

GoogleCodeExporter commented 8 years ago

Original comment by dr.andru@gmail.com on 3 May 2012 at 2:06