[MonoTouch] App is crashing at random - the app completely freezes indefinitely

MilkyJoe leigh.bowers at curvenet.co.uk
Tue Mar 6 23:42:12 UTC 2012


Hi. Sorry for the delayed response. I had to add a number of new features to
the app, but I'm back to trying to get to the bottom of this now. It hasn't
frozen for a few days, but it just did with:

Mar  6 22:52:30 unknown
UIKitApplication:com.company.MilkyJoeApp[0xb009][4417] <Notice>: [CWEB-INFO]
HomeScreen.ViewDidAppear()
Mar  6 22:52:33 unknown
UIKitApplication:com.company.MilkyJoeApp[0xb009][4417] <Notice>: [CWEB-INFO]
ArticleScreen.ViewDidLoad()
Mar  6 22:52:33 unknown
UIKitApplication:com.company.MilkyJoeApp[0xb009][4417] <Notice>: [CWEB-INFO]
ArticleScreen.ViewWillAppear(), ArticleId: 23
Mar  6 22:52:33 unknown
UIKitApplication:com.company.MilkyJoeApp[0xb009][4417] <Notice>: [CWEB-INFO]
ArticleScreen.webView.ShouldStartLoad():
file:///private/var/mobile/Applications/E570F685-302D-44F0-A445-C6F6AA1FE757/Documents/Article/article.html/
Mar  6 22:52:33 unknown
UIKitApplication:com.company.MilkyJoeApp[0xb009][4417] <Notice>: [CWEB-INFO]
ArticleScreen.webView.LoadStarted()
Mar  6 22:52:33 unknown
UIKitApplication:com.company.MilkyJoeApp[0xb009][4417] <Notice>: [CWEB-INFO]
HomeScreen.ViewDidDisappear()
Mar  6 22:52:34 unknown
UIKitApplication:com.company.MilkyJoeApp[0xb009][4417] <Notice>: [CWEB-INFO]
ArticleScreen.webView.LoadFinished()
Mar  6 22:52:34 unknown com.apple.launchd[1] <Notice>:
(UIKitApplication:uk.co.bbc.newsuk[0x996b]) Exited: Killed: 9
Mar  6 22:52:34 unknown UserEventAgent[12] <Notice>: jetsam: kernel
termination snapshot being created
Mar  6 22:52:34 unknown
UIKitApplication:com.company.MilkyJoeApp[0xb009][4417] <Notice>: [CWEB-INFO]
ArticleScreen.ViewWillDisappear()
Mar  6 22:52:34 unknown
UIKitApplication:com.company.MilkyJoeApp[0xb009][4417] <Notice>: [CWEB-INFO]
HomeScreen.ViewWillAppear()
Mar  6 22:52:34 unknown SpringBoard[15] <Warning>: Application 'BBC News'
exited abnormally with signal 9: Killed: 9
Mar  6 22:52:34 unknown MobileMail[4293] <Warning>: Received memory warning.
Mar  6 22:52:35 unknown AppName[4417] <Warning>: Received memory warning.
Mar  6 22:52:36 unknown SpringBoard[15] <Warning>: Received memory warning.
Mar  6 22:52:36 unknown ReportCrash[4420] <Error>: Failed to save memory
report to /Library/Logs/CrashReporter/LowMemory-2012-03-06-225236.plist
using uid: 0 gid: 0, euid: 0 egid: 0. 100 logs already present.
Mar  6 22:52:36 unknown ReportCrash[4420] <Error>: Error: 2 No such file or
directory
Mar  6 22:56:07 unknown SpringBoard[15] <Notice>: Posting
'com.apple.iokit.hid.displayStatus' notifyState=0
Mar  6 22:56:07 unknown SpringBoard[15] <Notice>: MultitouchHID: detection
mode: 0->255
Mar  6 22:56:10 unknown SpringBoard[15] <Notice>: Posting
'com.apple.iokit.hid.displayStatus' notifyState=1
Mar  6 22:56:11 unknown SpringBoard[15] <Notice>: MultitouchHID: detection
mode: 255->0 (deferring until bootloaded)
Mar  6 22:56:11 unknown SpringBoard[15] <Notice>: MultitouchHID: device
bootloaded
Mar  6 22:56:11 unknown SpringBoard[15] <Notice>: MultitouchHID: detection
mode: 0->0
Mar  6 22:56:11 unknown kernel[0] <Debug>: set_crc_notification_state 0
Mar  6 22:56:23 unknown SpringBoard[15] <Warning>: com.company.MilkyJoeApp
failed to resume in time
Mar  6 22:56:23 unknown SpringBoard[15] <Warning>: Forcing crash report of
AppName[4417]...
Mar  6 22:56:24 unknown SpringBoard[15] <Warning>: Finished crash reporting.
Mar  6 22:56:24 unknown com.apple.launchd[1] <Notice>:
(UIKitApplication:com.company.MilkyJoeApp[0xb009]) Exited: Killed: 9
Mar  6 22:56:24 unknown SpringBoard[15] <Warning>: Application 'CMSO Forum'
exited abnormally with signal 9: Killed: 9
Mar  6 22:56:24 unknown com.apple.networkd[4424] <Notice>: main:212
networkd.4424 built Nov  2 2011 20:21:54

I log the View events, so that I can determine at which point the app locks
up. It looks to be triggered by low memory, but I can't figure out what if
causing the problem.

>Also, if you google for the warning you'll see that it looks related to
UIWebView.

Which phrase did you google on Rolf?

I didn't seem to be able to get the symbolicated version of the log. The
previous extract is how it looked it XCode.

--
View this message in context: http://monotouch.2284126.n4.nabble.com/App-is-crashing-at-random-the-app-completely-freezes-indefinitely-tp4436796p4451729.html
Sent from the MonoTouch mailing list archive at Nabble.com.


More information about the MonoTouch mailing list