iPhone App crashing

Hi there,

we are running the App now on pretty much every iOS device we have in the company and are quite happy with it.

Unfortunately it crashes evertime you select a job. We don´t even know how the sub-menu of a job looks like, as it never worked…

Any tips on how to fix this?

Thanks,

Timor

Hi Timor,

Can you send us a few crash logs from the mobile app? Maybe they will contain some helpful information. Here is a blog that describes how to use iTunes to get the crash logs:
anoshkin.net/blog/2008/09/09 … rash-logs/

Also, enable Pulse verbose logging in the Repository Options if you haven’t done so already, and restart Pulse. If the error is occurring on Pulse’s end, it should appear in the Pulse UI when you click on a job in the mobile app.

Finally, check \your\repository\scripts\Pulse and see if there is a Mobile_GetJobDetails.py script there.

Cheers,

  • Ryan

[code]Incident Identifier: EA11D5A1-1BAA-4833-959E-C6CCD28CE879
CrashReporter Key: b5cb1c03923b626ed0cfde64a0732ffacce0a2c8
Hardware Model: iPhone2,1
Process: Deadline [16990]
Path: /var/mobile/Applications/8443C8DF-4CD8-4F1A-BB57-7964602369EF/Deadline.app/Deadline
Identifier: Deadline
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]

Date/Time: 2010-09-14 23:15:12.284 +0200
OS Version: iPhone OS 4.0.1 (8A306)
Report Version: 104

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0

Thread 0 Crashed:
0 libSystem.B.dylib 0x340c41d0 0x3404b000 + 496080
1 libSystem.B.dylib 0x340c41c0 0x3404b000 + 496064
2 libSystem.B.dylib 0x340c41b2 0x3404b000 + 496050
3 libSystem.B.dylib 0x340d86fa 0x3404b000 + 579322
4 libstdc++.6.dylib 0x34e13a20 0x34dcf000 + 281120
5 libobjc.A.dylib 0x303939ec 0x3038e000 + 23020
6 libstdc++.6.dylib 0x34e11df2 0x34dcf000 + 273906
7 libstdc++.6.dylib 0x34e11e46 0x34dcf000 + 273990
8 libstdc++.6.dylib 0x34e11f16 0x34dcf000 + 274198
9 libobjc.A.dylib 0x303928cc 0x3038e000 + 18636
10 CoreFoundation 0x350c1ef2 0x350a1000 + 134898
11 Deadline 0x00005e7a 0x1000 + 20090
12 Deadline 0x00006b4c 0x1000 + 23372
13 Deadline 0x00006116 0x1000 + 20758
14 UIKit 0x322218f4 0x321bb000 + 420084
15 UIKit 0x322334e4 0x321bb000 + 492772
16 UIKit 0x32233354 0x321bb000 + 492372
17 UIKit 0x32233252 0x321bb000 + 492114
18 UIKit 0x32232cdc 0x321bb000 + 490716
19 UIKit 0x32232b68 0x321bb000 + 490344
20 UIKit 0x32221fa8 0x321bb000 + 421800
21 UIKit 0x32221d40 0x321bb000 + 421184
22 Deadline 0x00003322 0x1000 + 8994
23 Deadline 0x000043d4 0x1000 + 13268
24 Foundation 0x33978422 0x3393b000 + 250914
25 Foundation 0x339783a4 0x3393b000 + 250788
26 CFNetwork 0x3441ae74 0x3440a000 + 69236
27 CFNetwork 0x3440eb70 0x3440a000 + 19312
28 CFNetwork 0x3440ee62 0x3440a000 + 20066
29 CFNetwork 0x3440ee62 0x3440a000 + 20066
30 CFNetwork 0x3440ea60 0x3440a000 + 19040
31 CFNetwork 0x3440ea12 0x3440a000 + 18962
32 CFNetwork 0x3440e990 0x3440a000 + 18832
33 CFNetwork 0x3440e90e 0x3440a000 + 18702
34 CoreFoundation 0x35112a86 0x350a1000 + 465542
35 CoreFoundation 0x35114768 0x350a1000 + 472936
36 CoreFoundation 0x35115504 0x350a1000 + 476420
37 CoreFoundation 0x350be8e4 0x350a1000 + 121060
38 CoreFoundation 0x350be7ec 0x350a1000 + 120812
39 GraphicsServices 0x309776e8 0x30974000 + 14056
40 GraphicsServices 0x30977794 0x30974000 + 14228
41 UIKit 0x321c12a0 0x321bb000 + 25248
42 UIKit 0x321bfe10 0x321bb000 + 19984
43 Deadline 0x00002090 0x1000 + 4240
44 Deadline 0x0000202c 0x1000 + 4140

Thread 1:
0 libSystem.B.dylib 0x34078c4c 0x3404b000 + 187468
1 libSystem.B.dylib 0x34121e44 0x3404b000 + 880196
2 libSystem.B.dylib 0x34121894 0x3404b000 + 878740
3 libSystem.B.dylib 0x34121a34 0x3404b000 + 879156
4 libSystem.B.dylib 0x340c5d82 0x3404b000 + 503170
5 libSystem.B.dylib 0x340befcc 0x3404b000 + 475084

Thread 2:
0 libSystem.B.dylib 0x3404c658 0x3404b000 + 5720
1 libSystem.B.dylib 0x3404e724 0x3404b000 + 14116
2 CoreFoundation 0x351132c8 0x350a1000 + 467656
3 CoreFoundation 0x35115582 0x350a1000 + 476546
4 CoreFoundation 0x350be8e4 0x350a1000 + 121060
5 CoreFoundation 0x350be7ec 0x350a1000 + 120812
6 WebCore 0x31532056 0x3152f000 + 12374
7 libSystem.B.dylib 0x340c5986 0x3404b000 + 502150
8 libSystem.B.dylib 0x340bb0e4 0x3404b000 + 458980

Thread 3:
0 libSystem.B.dylib 0x3404c658 0x3404b000 + 5720
1 libSystem.B.dylib 0x3404e724 0x3404b000 + 14116
2 CoreFoundation 0x351132c8 0x350a1000 + 467656
3 CoreFoundation 0x35115582 0x350a1000 + 476546
4 CoreFoundation 0x350be8e4 0x350a1000 + 121060
5 CoreFoundation 0x350be7ec 0x350a1000 + 120812
6 Foundation 0x3397671e 0x3393b000 + 243486
7 Foundation 0x33946c96 0x3393b000 + 48278
8 Foundation 0x339cb9da 0x3393b000 + 592346
9 libSystem.B.dylib 0x340c5986 0x3404b000 + 502150
10 libSystem.B.dylib 0x340bb0e4 0x3404b000 + 458980

Thread 4:
0 libSystem.B.dylib 0x34070a20 0x3404b000 + 154144
1 CoreFoundation 0x35118e70 0x350a1000 + 491120
2 libSystem.B.dylib 0x340c5986 0x3404b000 + 502150
3 libSystem.B.dylib 0x340bb0e4 0x3404b000 + 458980

Thread 5:
0 libSystem.B.dylib 0x340c685c 0x3404b000 + 505948
1 libSystem.B.dylib 0x340c5e98 0x3404b000 + 503448
2 libSystem.B.dylib 0x340befcc 0x3404b000 + 475084

Thread 0 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x3e70124c
r4: 0x00000006 r5: 0x001c454c r6: 0x2fffe23c r7: 0x2fffe24c
r8: 0x332ca06c r9: 0x00000065 r10: 0x3e8edd5c r11: 0x332d0d58
ip: 0x00000025 sp: 0x2fffe24c lr: 0x340c41c7 pc: 0x340c41d0
cpsr: 0x00000010

Binary Images:
0x1000 - 0x18fff +Deadline armv6 <24698a9dc50f7e2e66c5e000df66ddf6> /var/mobile/Applications/8443C8DF-4CD8-4F1A-BB57-7964602369EF/Deadline.app/Deadline
0x40000 - 0x40fff +MobileSubstrate.dylib armv6 /Library/MobileSubstrate/MobileSubstrate.dylib
0x68000 - 0x69fff +MobileLoader.dylib armv6 /Library/MobileSubstrate/MobileLoader.dylib
0x6d000 - 0x6efff dns.so armv7 <240b8d3f07b4fcb234de598f8e67de1a> /usr/lib/info/dns.so
0x89000 - 0x8afff +PDFPatch_CVE-2010-1797.dylib arm /Library/MobileSubstrate/DynamicLibraries/PDFPatch_CVE-2010-1797.dylib
0x8d000 - 0x90fff libsubstrate.dylib armv6 /usr/lib/libsubstrate.dylib
0x2fe00000 - 0x2fe26fff dyld armv7 <697ae459733a7f0b6c439b21ba62b110> /usr/lib/dyld
0x301fc000 - 0x30320fff AudioToolbox armv7 <802e4d5c449b69d9552809e5230baa84> /System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
0x3038e000 - 0x3042efff libobjc.A.dylib armv7 <89553a61e05078fd178ac0ea2081ae40> /usr/lib/libobjc.A.dylib
0x304c9000 - 0x304f7fff AppSupport armv7 <2a64271b39599b2180d0dfd3141027ee> /System/Library/PrivateFrameworks/AppSupport.framework/AppSupport
0x305a1000 - 0x305a4fff libGFXShared.dylib armv7 <12f82e44ff36b29f8d0661878be83554> /System/Library/Frameworks/OpenGLES.framework/libGFXShared.dylib
0x305e1000 - 0x305eefff OpenGLES armv7 /System/Library/Frameworks/OpenGLES.framework/OpenGLES
0x305ef000 - 0x30697fff QuartzCore armv7 <109b4f6a3d2ee5aa1bb5775ab5a489bc> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x30947000 - 0x30947fff vecLib armv7 <85f89752df7814c1b243c26f59388523> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/vecLib
0x30974000 - 0x3097ffff GraphicsServices armv7 <7194df9e594ae0fd9d9c600ccf456a08> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x309b0000 - 0x309eefff libvDSP.dylib armv7 /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvDSP.dylib
0x309ef000 - 0x30a1efff CoreText armv7 <76eb1b63d684c3d21dba9e8129666d2f> /System/Library/Frameworks/CoreText.framework/CoreText
0x30ae4000 - 0x30ae4fff Accelerate armv7 /System/Library/Frameworks/Accelerate.framework/Accelerate
0x30dbb000 - 0x30dbdfff IOMobileFramebuffer armv7 <1fdf9182a63464743901526caf39240a> /System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/IOMobileFramebuffer
0x30e16000 - 0x30e44fff libCGFreetype.A.dylib armv7 /System/Library/Frameworks/CoreGraphics.framework/Resources/libCGFreetype.A.dylib
0x30e72000 - 0x30e78fff liblockdown.dylib armv7 /usr/lib/liblockdown.dylib
0x30f93000 - 0x30fdbfff libBLAS.dylib armv7 <3b4a2849c10d100a178a3c2d9f6af523> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libBLAS.dylib
0x3103e000 - 0x312d8fff libLAPACK.dylib armv7 /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libLAPACK.dylib
0x313b0000 - 0x313b8fff libgcc_s.1.dylib armv7 /usr/lib/libgcc_s.1.dylib
0x3145c000 - 0x31465fff CoreVideo armv7 <58180e899ec56cd8bca00221dea2bc32> /System/Library/Frameworks/CoreVideo.framework/CoreVideo
0x3152f000 - 0x31a80fff WebCore armv7 <859bdd351085819fb4da07d12b41543f> /System/Library/PrivateFrameworks/WebCore.framework/WebCore
0x31aa0000 - 0x31aacfff SpringBoardServices armv7 <7624f0a9e197261f2df43edb86ba0256> /System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoardServices
0x31aed000 - 0x31b27fff IOKit armv7 <5e0169de165c2fd25a2ddac1f3e19d06> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x31f15000 - 0x31fb4fff JavaScriptCore armv7 <894df23ebbc4df713d9519141a61dd19> /System/Library/PrivateFrameworks/JavaScriptCore.framework/JavaScriptCore
0x31fce000 - 0x32007fff MobileCoreServices armv7 /System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices
0x321bb000 - 0x33365fff UIKit armv7 <6c767127e477e6ac7b7f083857ca8064> /System/Library/Frameworks/UIKit.framework/UIKit
0x3338a000 - 0x333a9fff Bom armv7 /System/Library/PrivateFrameworks/Bom.framework/Bom
0x333aa000 - 0x333ecfff CoreTelephony armv7 /System/Library/Frameworks/CoreTelephony.framework/CoreTelephony
0x333f7000 - 0x33510fff libicucore.A.dylib armv7 /usr/lib/libicucore.A.dylib
0x33511000 - 0x33519fff libkxld.dylib armv7 <4ec35c4d1e1e73416aea84537829ce91> /usr/lib/system/libkxld.dylib
0x3351a000 - 0x33559fff libGLImage.dylib armv7 /System/Library/Frameworks/OpenGLES.framework/libGLImage.dylib
0x3359a000 - 0x335c8fff SystemConfiguration armv7 <2b44ac2fc47fc45c4006d08019688dbb> /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
0x3393b000 - 0x33a5afff Foundation armv7 /System/Library/Frameworks/Foundation.framework/Foundation
0x33a8e000 - 0x33a99fff libz.1.dylib armv7 <19a78978d5908bedc6496470fe542936> /usr/lib/libz.1.dylib
0x33e2f000 - 0x33e3cfff libbsm.0.dylib armv7 <27ad6b3a74ce1068586eabd6a553183f> /usr/lib/libbsm.0.dylib
0x3400d000 - 0x34014fff libbz2.1.0.dylib armv7 <5d079712f5a39708647292bccbd4c4e0> /usr/lib/libbz2.1.0.dylib
0x3404b000 - 0x34158fff libSystem.B.dylib armv7 <95600851b7aca75450d596a93c51d858> /usr/lib/libSystem.B.dylib
0x34163000 - 0x3424bfff libGLProgrammability.dylib armv7 <9bcf5fe3e7abc344425e581ff2896579> /System/Library/Frameworks/OpenGLES.framework/libGLProgrammability.dylib
0x3424c000 - 0x3424efff libAccessibility.dylib armv7 <06dd6032c40b1feb094d63eeb2002d6d> /usr/lib/libAccessibility.dylib
0x34322000 - 0x34327fff MobileKeyBag armv7 /System/Library/PrivateFrameworks/MobileKeyBag.framework/MobileKeyBag
0x3436f000 - 0x343fcfff ImageIO armv7 /System/Library/Frameworks/ImageIO.framework/ImageIO
0x3440a000 - 0x344ccfff CFNetwork armv7 <9fdd61632fd1b48d65daba561528946f> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x344cd000 - 0x34503fff Security armv7 <7cea1027f1a381b8d6c5ffae4dae0d22> /System/Library/Frameworks/Security.framework/Security
0x3464e000 - 0x346f7fff libxml2.2.dylib armv7 <1d74fa3a5cec309857503a51cb2df667> /usr/lib/libxml2.2.dylib
0x34719000 - 0x3471cfff IOSurface armv7 <69e41f7996daba75c65b85a4800fd038> /System/Library/PrivateFrameworks/IOSurface.framework/IOSurface
0x34a28000 - 0x34a3efff RawCamera armv7 <78168f60a21e67ce307c5ce30054dba6> /System/Library/CoreServices/RawCamera.bundle/RawCamera
0x34a5a000 - 0x34b78fff CoreGraphics armv7 <4022bbf12f11dd1f6b75662c764e7f7c> /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x34b96000 - 0x34c3cfff WebKit armv7 /System/Library/PrivateFrameworks/WebKit.framework/WebKit
0x34d45000 - 0x34db3fff ProofReader armv7 <479bd40ac65cb7e6c3000d79d649571f> /System/Library/PrivateFrameworks/ProofReader.framework/ProofReader
0x34dcf000 - 0x34e19fff libstdc++.6.dylib armv7 /usr/lib/libstdc++.6.dylib
0x34e1b000 - 0x34e5ffff libsqlite3.dylib armv7 <36b9bc7d02e29c8d321dd0d7bf7e115e> /usr/lib/libsqlite3.dylib
0x34e60000 - 0x34e92fff AddressBook armv7 <3dde743216bbf016019b59f821dda6e3> /System/Library/Frameworks/AddressBook.framework/AddressBook
0x3501e000 - 0x3501ffff CoreSurface armv7 /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface
0x350a1000 - 0x35173fff CoreFoundation armv7 <17c9c36ae8824496b507446869cd4d9d> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x351a0000 - 0x351b8fff libRIP.A.dylib armv7 /System/Library/Frameworks/CoreGraphics.framework/Resources/libRIP.A.dylib
0x351c4000 - 0x35204fff CoreAudio armv7 <1723726845b73efbeca75b33d75f335a> /System/Library/Frameworks/CoreAudio.framework/CoreAudio
0x35338000 - 0x3534dfff libresolv.9.dylib armv7 <1ed920d5a995cd94e71c41631d7c551e> /usr/lib/libresolv.9.dylib
0x3534e000 - 0x35350fff MobileInstallation armv7 <74e2bd725da63513053b4fa41d8cd89c> /System/Library/PrivateFrameworks/MobileInstallation.framework/MobileInstallation
[/code]

and yes, the get mobile details python files is there.

thanks…

Thanks for the crash report. Unfortunately, I don’t see anything obvious in it to explain the problem. Perhaps we have to upgrade our iOS version that we currently target. I’ve logged this as a bug, and hopefully we can figure something out in the near term.

If you would like, we could try connecting to your repository from here and see if we can reproduce (maybe there is badly formatted data coming from Pulse). Of course we understand if this is not possible due to the sensitive data that we would see. But if you do want to go this route, you can email deadline support your connection settings rather than post them on the forum.

Cheers,

  • Ryan

Hi Timor,

We may have tracked down this bug. We found that the Server URL setting under the Server Settings isn’t given an initial value, so if you never change it, it ends up being NULL, which causes some problems. A workaround we found was to set the URL to some dummy value (‘dummy’ works fine), and then set it back to blank again. Give this a try and then try viewing the job details again.

Cheers,

  • Ryan