Welcome to iPadForums.net Guest - Click Here to Register

Determining cause of crash

This is a discussion on Determining cause of crash within the iPad Development forums, part of the iPad App Store category; Hello, I'm developing an iPad app in Objective-C++. The app works fine under the Xcode debugger - never crashes - but when I run it ...

iPadForums.net is the original Apple iPad Forum! Registered Users do not see these ads. Please Register - It's Free!
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    iPF Noob
    Member #
    Join Date
    Jun 2012
    Mahwah, NJ

    Determining cause of crash

    Hello, I'm developing an iPad app in Objective-C++. The app works fine under the Xcode debugger - never crashes - but when I run it by itself, without the debugger, it crashes about 9 out of 10 times. If I try launching the app, and then connect to the process with the Xcode debugger, it doesn't crash.

    With log messages, I've been able to determine that the crash happens soon after a call to CFStreamCreatePairWithSocketToHost. Not opening the output stream after the call to this function almost prevents the crash, but not entirely.

    Is there some way I can determine the cause of the crash without requiring the use of the debugger? Is there some kind of core dump or something I can load into the debugger after the crash has happened?

    Thank you.

  2. Ads

  3. #2
    iPF Noob
    Member #
    Join Date
    Jun 2012
    Whenever an app crashes it leaves a crash log which you can get via XCode organizer. Log will contain a stack trace (once symbolicated).

    If I had to guess, you are trying to open a network connection on the main thread. This will work on the debugger since the watchdog is disabled, but when you start up the app yourself it will get killed by the watchdog for freezing the UI.

    Could be something else, but that's where I would start.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Similar Threads

  1. App crash
    By Pearlzt in forum iPad Apps
    Replies: 0
    Last Post: 12-28-2011, 08:38 PM
  2. 4od uk crash?
    By Ingoiolo in forum iPad Help
    Replies: 4
    Last Post: 12-04-2011, 06:44 PM
  3. Forum's New look...seems to crash on PC
    By skimonkey in forum Off-Topic
    Replies: 42
    Last Post: 10-04-2011, 07:57 PM
  4. mail app crash
    By yofish in forum iPad Help
    Replies: 3
    Last Post: 08-10-2011, 04:09 PM
  5. After crash
    By 55julie55 in forum iPad General Discussions
    Replies: 6
    Last Post: 03-19-2011, 06:05 PM

Search tags for this page

cfstreamcreatepairwithsockettohost post


cfstreamcreatepairwithsockettohost reconnect outputstream doesn't open


ipad app store crashing


ipad core dump




xcode cfstreamcreatepairwithsockettohost crash


xcode ipad core dump

Click on a term to search for related topics.