My app was auto Uninstall last night and I spend all day to found how it happened, but found nothing.
Here is the Console log:
Nov 5 20:54:48 CommCenter[62] <Notice>: MessageCenterModel is telling PDP context -1 to go active.
Nov 5 20:54:48 lockdownd[29] <Notice>: 2ff83000 __copy_itunes_value_block_invoke_0: com.apple.mobile.iTunes.store/DSPersonID -> 1110853068
Nov 5 20:54:48 lockdownd[29] <Notice>: 2ff83000 __copy_itunes_value_block_invoke_0: com.apple.mobile.iTunes.store/DSPersonID -> 1110853068
Nov 5 20:54:48 lockdownd[29] <Notice>: 2ff83000 __copy_itunes_value_block_invoke_0: com.apple.mobile.iTunes.store/DSPersonID -> 1110853068
Nov 5 20:54:48 lockdownd[29] <Notice>: 2ff83000 __copy_itunes_value_block_invoke_0: com.apple.mobile.iTunes.store/DSPersonID -> 1110853068
Nov 5 20:54:48 lockdownd[29] <Notice>: 2ff83000 __copy_itunes_value_block_invoke_0: com.apple.mobile.iTunes.store/DSPersonID -> 1110853068
Nov 5 20:54:49 lockdownd[29] <Notice>: 2ff83000 __copy_itunes_value_block_invoke_0: com.apple.mobile.iTunes.store/downloaded-apps -> <CFArray 0x1f533830 [0x3d1f9100]>{type = immutable, count = 9, values = (
0 : <CFString 0x1f54d7e0 [0x3d1f9100]>{contents = "com.magikid.numbersflipbook"}
1 : <CFString 0x1f54d700 [0x3d1f9100]>{contents = "com.angellecho.magikidstage"}
2 : <CFString 0x1f54c1c0 [0x3d1f9100]>{contents = "net.delusionstudio.cocomongslabfree"}
3 : <CFString 0x1f54cdf0 [0x3d1f9100]>{contents = "com.magikid.MagKidTail"}
4 : <CFString 0x1f54b5d0 [0x3d1f9100]>{contents = "com.angellecho.magikid.train"}
5 : <CFString 0x1f5335b0 [0x3d1f9100]>{contents = "com.subsplashstudio34.Church-of-the-Foothills"}
6 : <CFString 0x1f54d910 [0x3d1f9100]>{contents = "com.bingoapp.yzjj.MagicSong"}
7 : <CFString 0x1f54d0c0 [0x3d1f9100]>{contents = "com.trisw.Pinocchio"}
8 : <CFString 0x1f54c3b0 [0x3d1f9100]>{contents = "com.scholarandsaint.paddywhacks"}
)}
Nov 5 20:54:52 lockdownd[29] <Notice>: 2ff83000 __copy_itunes_value_block_invoke_0: com.apple.mobile.iTunes.store/PurchaseTypes -> (null)
Nov 5 20:54:52 lockdownd[29] <Notice>: 2fe93000 set_itunes_value: set com.apple.mobiffle.iTunes.store/LibraryCUID to b4e09adbe3c01c22e1e68d4b6bb09ae5 succeeded
Nov 5 20:55:01 installd[31] <Error>: 0x2ff98000 handle_uninstall: Uninstall requested by atc
Nov 5 20:55:02 installd[31] <Error>: 0x2ff98000 MobileInstallationUninstall_Server: Uninstalling com.**.**
Nov 5 20:55:02 SpringBoard[69] <Warning>: Killing com.**.** for termination assertion
Nov 5 20:55:02 lsd[698] <Warning>: LaunchServices: Could not store lsd-identifiers file
Nov 5 20:55:02 lsd[698] <Warning>: LaunchServices: Could not store lsd-identifiers file
Nov 5 20:55:02 installd[31] <Error>: 0x20e000 __block_global_6: LS failed to unregister application file://localhost/private/var/mobile/Applications/8D93D99D-7D7F-41CE-9093-3C24E1EA3F1C/**.app/ (com.**.**)
Nov 5 20:55:02 SpringBoard[69] <Warning>: Reloading and rendering all application icons.
Nov 5 20:55:02 com.apple.launchd[1] <Notice>: (UIKitApplication:com.**.**[0xf31a]) Exited: Killed: 9
Nov 5 20:55:02 backboardd[52] <Warning>: Application 'UIKitApplication:com.**.**[0xf31a]' exited abnormally with signal 9: Killed: 9
Nov 5 20:55:03 SpringBoard[69] <Warning>: An application that SpringBoard is not tracking with bundle identifier com.**.** just exited.
Nov 5 20:55:03 SpringBoard[69] <Warning>: No transaction in -[SBWorkspace workspace:applicationWillBecomeReceiver:fromApplication:]
Nov 5 20:55:03 SpringBoard[69] <Warning>: No transaction in -[SBWorkspace workspace:applicationDidBecomeReceiver:fromApplication:]
Nov 5 20:55:03 installd[31] <Error>: 0x2ff98000 __MobileInstallationClearUninstalled_Server_block_invoke_0: Removing id com.angellecho.iphone.drluke from uninstalled list
You can see Uninstall requested by atc. I wonder what atc is.
As console log, you can see the system kill my app when it running. When I am back to the desktop, the icon disappeared!
My iPhone is not jailBreak. My app is in compiled in Debugger configuration (according to XCode).
Related
I made a simple sign up application with parse backend. Everything works fine. I have no warnings or error code and I can also see the user in the parse dashboard when i create it. But the application only works at the simulator. When I put it on the device, it starts the application but shows a black screen. I tried with an another sample project, just to make sure that my code signing is valid and the other app works on device just fine. So i checked the console logs but I did not understand a whole lot. So could someone be able to help me with this? Thank you.
Here is the console log
Aug 30 18:16:13 Bla-Bla mobile_house_arrest[1179] <Error>: Max open files: 125
��Aug 30 18:16:15 Bla-Bla installd[54] <Error>: 0x2fe93000 handle_install: Install of "/var/mobile/Media/PublicStaging/Blast.app" requested by mobile_installation_proxy
��Aug 30 18:16:15 Bla-Bla installd[54] <Error>: 0x2fe93000 MobileInstallationInstall_Server: Installing app com.BlaBla.Blast
��Aug 30 18:16:15 Bla-Bla installd[54] <Error>: Aug 30 18:16:15 SecTrustEvaluate [leaf CriticalExtensions IssuerCommonName]
��Aug 30 18:16:16 Bla-Bla SpringBoard[66] <Warning>: Killing com.BlaBla.Blast for termination assertion
��Aug 30 18:16:16 Bla-Bla lsd[89] <Warning>: updating identifier store
��Aug 30 18:16:16 Bla-Bla kernel[0] <Debug>: launchd[1182] Builtin profile: syncdefaultsd (sandbox)
��Aug 30 18:16:16 Bla-Bla installd[54] <Error>: 0x2fe93000 MobileInstallationInstall_Server: Staging: 0.22s; Waiting: 0.00s; Installation: 0.75s; LS Sync: 0.32s; Overall: 1.55s
��Aug 30 18:16:16 Bla-Bla lsd[89] <Warning>: Attempting to store identifiers file
��Aug 30 18:16:23 Bla-Bla CommCenter[37] <Error>: kDataAttachStatusNotification sent, wasAttached: 1 isAttached: 1
��Aug 30 18:16:24 Bla-Bla installd[54] <Error>: 0x201000 filter_attributes: Info.plist keys requested via MobileInstallationLookup/Browse in client Xcode (via mobile_installation_proxy) were not found in MobileInstallation's cache. Please file a bug requesting that these keys be added: <CFBasicHash 0x1cd928e0 [0x3a978100]>{type = mutable set, count = 18,
entries =>
0 : <CFString 0x3a9649f4 [0x3a978100]>{contents = "CFBundlePackageType"}
1 : <CFString 0x1cd73e10 [0x3a978100]>{contents = "BuildMachineOSBuild"}
2 : <CFString 0x3a965a44 [0x3a978100]>{contents = "CFBundleResourceSpecification"}
3 : <CFString 0x1cd897a0 [0x3a978100]>{contents = "DTPlatformBuild"}
4 : <CFString 0x3a962794 [0x3a978100]>{contents = "DTCompiler"}
5 : <CFString 0x3a964564 [0x3a978100]>{contents = "CFBundleSignature"}
6 : <CFString 0x3a965224 [0x3a978100]>{contents = "DTSDKName"}
7 : <CFString 0x1cd6e800 [0x3a978100]>{contents = "NSBundleResolvedPath"}
8 : <CFString 0x3a961eb4 [0x3a978100]>{contents = "UISupportedInterfaceOrientations"}
10 : <CFString 0x3a969e84 [0x3a978100]>{contents = "DTXcode"}
13 : <CFString 0x3a969eb4 [0x3a978100]>{contents = "CFBundleInfoDictionaryVersion"}
16 : <CFString 0x3a967304 [0x3a978100]>{contents = "CFBundleSupportedPlatforms"}
17 : <CFString 0x1cd81c40 [0x3a978100]>{contents = "DTXcodeBuild"}
18 : <CFString 0x1cd6e850 [0x3a978100]>{contents = "UIStatusBarTintParameters"}
19 : <CFString 0x3a965e54 [0x3a978100]>{contents = "DTPlatformVersion"}
20 : <CFString 0x3a968bf4 [0x3a978100]>{contents = "DTPlatformName"}
21 : <CFString 0x3a969c84 [0x3a978100]>{contents = "CFBundleDevelopmentRegion"}
22 : <CFString 0x1cd7f3a0 [0x3a978100]>{contents = "DTSDKBuild"}
}
��Aug 30 18:16:26 Bla-Bla installd[54] <Error>: 0x201000 filter_attributes: Info.plist keys requested via MobileInstallationLookup/Browse in client Xcode (via mobile_installation_proxy) were not found in MobileInstallation's cache. Please file a bug requesting that these keys be added: <CFBasicHash 0x1cd8c720 [0x3a978100]>{type = mutable set, count = 18,
entries =>
0 : <CFString 0x3a9649f4 [0x3a978100]>{contents = "CFBundlePackageType"}
1 : <CFString 0x1cd8ee10 [0x3a978100]>{contents = "BuildMachineOSBuild"}
2 : <CFString 0x3a965a44 [0x3a978100]>{contents = "CFBundleResourceSpecification"}
3 : <CFString 0x1cd8c020 [0x3a978100]>{contents = "DTPlatformBuild"}
4 : <CFString 0x3a962794 [0x3a978100]>{contents = "DTCompiler"}
5 : <CFString 0x3a964564 [0x3a978100]>{contents = "CFBundleSignature"}
6 : <CFString 0x3a965224 [0x3a978100]>{contents = "DTSDKName"}
7 : <CFString 0x1cd7f2d0 [0x3a978100]>{contents = "NSBundleResolvedPath"}
8 : <CFString 0x3a961eb4 [0x3a978100]>{contents = "UISupportedInterfaceOrientations"}
10 : <CFString 0x3a969e84 [0x3a978100]>{contents = "DTXcode"}
13 : <CFString 0x3a969eb4 [0x3a978100]>{contents = "CFBundleInfoDictionaryVersion"}
16 : <CFString 0x3a967304 [0x3a978100]>{contents = "CFBundleSupportedPlatforms"}
17 : <CFString 0x1cd90d80 [0x3a978100]>{contents = "DTXcodeBuild"}
18 : <CFString 0x1cd99040 [0x3a978100]>{contents = "UIStatusBarTintParameters"}
19 : <CFString 0x3a965e54 [0x3a978100]>{contents = "DTPlatformVersion"}
20 : <CFString 0x3a968bf4 [0x3a978100]>{contents = "DTPlatformName"}
21 : <CFString 0x3a969c84 [0x3a978100]>{contents = "CFBundleDevelopmentRegion"}
22 : <CFString 0x1cd7ea20 [0x3a978100]>{contents = "DTSDKBuild"}
}
��Aug 30 18:16:26 Bla-Bla com.apple.debugserver-199[1186] <Warning>: debugserver-199 for armv7.
��Aug 30 18:16:26 Bla-Bla com.apple.debugserver-199[1186] <Warning>: Connecting to com.apple.debugserver service...
��Aug 30 18:16:26 Bla-Bla com.apple.debugserver-199[1186] <Warning>: Got a connection, waiting for process information for launching or attaching.
��Aug 30 18:16:27 Bla-Bla kernel[0] <Debug>: lockbot[1177] Builtin profile: debugserver (sandbox)
��Aug 30 18:16:27 Bla-Bla kernel[0] <Debug>: set_crc_notification_state 0
Aug 30 18:16:27 Bla-Bla backboardd[26] <Notice>: Posting 'com.apple.iokit.hid.displayStatus' notifyState=1
Aug 30 18:16:27 Bla-Bla backboardd[26] <Notice>: MultitouchHID: detection mode: 255->0 (deferring until bootloaded)
��Aug 30 18:16:27 Bla-Bla backboardd[26] <Notice>: MultitouchHID: device bootloaded
��Aug 30 18:16:27 Bla-Bla backboardd[26] <Notice>: MultitouchHID: detection mode: 0->0
��Aug 30 18:16:27 Bla-Bla com.apple.launchd[1] (UIKitApplication:com.BlaBla.Blast[0xa7df][1189]) <Warning>: (UIKitApplication:com.BlaBla.Blast[0xa7df]) Spawned and waiting for the debugger to attach before continuing...
��Aug 30 18:16:27 Bla-Bla kernel[0] <Debug>: ALS: AppleARMBacklight::handleMessageGated - framebufferState -> 1
��Aug 30 18:16:27 Bla-Bla kernel[0] <Debug>: ALS: AppleARMBacklight::setBacklightEnableGated 1 (set level to 0x67a)
��Aug 30 18:16:27 Bla-Bla kernel[0] <Debug>: launchd[1189] Builtin profile: container (sandbox)
��Aug 30 18:16:27 Bla-Bla kernel[0] <Debug>: launchd[1189] Container: /private/var/mobile/Applications/FCCA5177-208D-45C7-A66A-C11372F14E72 (sandbox)
��Aug 30 18:16:27 Bla-Bla com.apple.debugserver-199[1186] <Warning>: Got a connection, waiting for debugger instructions.
��Aug 30 18:16:28 Bla-Bla locationd[46] <Warning>: Launch Services: Registering unknown app identifier com.apple.PassKit failed
��Aug 30 18:16:28 Bla-Bla locationd[46] <Warning>: Launch Services: Unable to find app identifier com.apple.PassKit
��
Here's one thing I noticed, I won't pretend to know a lot about this, but here's what I got:
��Aug 30 18:16:24 Bla-Bla installd[54] <Error>: 0x201000 filter_attributes: Info.plist keys requested via MobileInstallationLookup/Browse in client Xcode (via mobile_installation_proxy) were not found in MobileInstallation's cache. Please file a bug requesting that these keys be added: <CFBasicHash 0x1cd928e0 [0x3a978100]>{type = mutable set, count = 18,
entries =>
I believe this code says that you're missing of Info.Plist keys, all the red text is the keys that your a missing. Below that is trying to send a bug report to apple.
Aug 30 18:16:13 Bla-Bla mobile_house_arrest[1179] <Error>: Max open files: 125
This line seems to me that you have too many files open. I wouldn't know how to fix it, but it might give you something to search.
My app is crashing when the user records a video and then clicks choose. Here is my code:
UIImagePickerController *picker = [[UIImagePickerController alloc] init];
picker.sourceType = UIImagePickerControllerSourceTypeCamera;
picker.mediaTypes = [[NSArray alloc] initWithObjects:(NSString *)kUTTypeMovie, nil];
//picker.mediaTypes = [UIImagePickerController availableMediaTypesForSourceType:picker.sourceType];
picker.allowsEditing = NO;
picker.delegate = self;
picker.videoQuality = UIImagePickerControllerQualityTypeMedium;
[self presentModalViewController:picker animated:YES];
-(void) imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
{
// [self dismissModalViewControllerAnimated:YES];
AppDelegate *del = [[UIApplication sharedApplication]delegate];
NSString *mediaType = [info objectForKey: UIImagePickerControllerMediaType];
moviePath = [[info objectForKey:UIImagePickerControllerMediaURL]path];..//using this for upload
del.globalMoviePath = moviePath;
if (CFStringCompare ((__bridge CFStringRef) mediaType, kUTTypeMovie, 0)== kCFCompareEqualTo)
{
moviePath = [[info objectForKey:UIImagePickerControllerMediaURL] path];
del.globalMoviePath = moviePath;
picker.videoMaximumDuration = 60.0f;
picker.cameraCaptureMode = UIImagePickerControllerCameraCaptureModeVideo;
NSLog(#"nrgkrg===>%#",moviePath);
videoUrl=(NSURL*)[info objectForKey:UIImagePickerControllerMediaURL];
NSLog(#"Urlllll===>%#",videoUrl);
videoData = [NSData dataWithContentsOfURL:videoUrl];
del.globalMoviePath = moviePath;
NSLog(#"video is====>%#",del.globalMoviePath);
MPMoviePlayerController *player = [[MPMoviePlayerController alloc] initWithContentURL:videoUrl];
UIImage *thumbnail = [player thumbnailImageAtTime:1.0 timeOption:MPMovieTimeOptionNearestKeyFrame];
[player stop];
videoImage = [[UIImageView alloc]initWithImage:thumbnail];
//NSLog(#"imegsvideo====>%#",thumbnail);
//if (UIVideoAtPathIsCompatibleWithSavedPhotosAlbum(moviePath))
//{
// UISaveVideoAtPathToSavedPhotosAlbum (moviePath, self, #selector(video:didFinishSavingWithError:contextInfo:), nil);
// }
//MPMoviePlayerController *player = [[MPMoviePlayerController alloc] initWithContentURL:videoUrl];
//UIImage *thumbnail = [player thumbnailImageAtTime:1.0 timeOption:MPMovieTimeOptionNearestKeyFrame];
}
[self dismissModalViewControllerAnimated:YES];
//[[picker parentViewController] dismissModalViewControllerAnimated: YES];
}
When the user records a video and clicks choose app gets crashed but works fine when selected from camera roll.
Please help!!
Here's the log:
Nov 29 20:28:14 ReportCrash[259] <Notice>: Formulating crash report for process [254]
Nov 29 20:28:14 com.apple.launchd[1] <Warning>: (UIKitApplication:[0xcc37]) Job appears to have crashed: Segmentation fault: 11
Nov 29 20:28:14 backboardd[52] <Warning>: Application 'UIKitApplication:[0xcc37]' exited abnormally with signal 11: Segmentation fault: 11
Nov 29 20:28:14 ReportCrash[259] <Error>: libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary
Nov 29 20:28:14 ReportCrash[259] <Notice>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/ using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) mstreamd: Checking on job state for Photo Stream
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) mstreamd: No jobs scheduled for Photo Stream.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) mstreamd: Checking on job state for Shared Stream
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) mstreamd: No jobs scheduled for Shared Stream.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) PS: Media stream daemon stopping.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) AS: <MSIOSAlbumSharingDaemon: 0x1ee72590>: Shared Streams daemon shutting down.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) AS: <MSIOSAlbumSharingDaemon: 0x1ee72590>: Shutting down state machine for personID 1446684163.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) AS: <MSASStateMachine: 0x1ed3e060>: Shutting down uploader.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) AS: <MSASStateMachine: 0x1ed3e060>: Shutting down downloader.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) AS: <MSASStateMachine: 0x1ed3e060>: Shutting down state machine.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) AS: <MSIOSAlbumSharingDaemon: 0x1ee72590>: Shutting down model.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) AS: <MSASServerSideModel: 0x1ed39d50>: Command Queue has shut down.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) AS: <MSIOSAlbumSharingDaemon: 0x1ee72590>: Model has shut down.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) AS: <MSIOSAlbumSharingDaemon: 0x1ee72590>: Shared Streams daemon has shut down.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Note ) mstreamd: <MSPowerBudget: 0x1ed394b0>: Stopping post-foreground timer.
Nov 29 20:28:38 mstreamd[257] <Notice>: (Warn ) mstreamd: mstreamd shutting down.
Nov 29 20:49:16 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state pluggedin_screen_off even though we are not in it, doing nothing
Nov 29 20:49:16 kernel[0] <Debug>: AppleD1881PMUPowerSource: AppleUSBCableDetect 0
Nov 29 20:49:16 kernel[0] <Debug>: AppleD1881PMUPowerSource: AppleUSBCableType Detached
Nov 29 20:49:16 kernel[0] <Debug>: virtual IOReturn AppleUSBDeviceMux::message(UInt32, IOService *, void *) - kMessageInterfaceWasDeActivated
Nov 29 20:49:16 kernel[0] <Debug>: AppleUSBDeviceMux::reportStats: USB mux statistics:
Nov 29 20:49:16 kernel[0] <Debug>: USB mux: 190 reads / 0 errors, 899 writes / 0 errors
Nov 29 20:49:16 kernel[0] <Debug>: USB mux: 0 short packets, 0 dups
Nov 29 20:49:16 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state pluggedin_charging even though we are not in it, doing nothing
Nov 29 20:49:16 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state unplugged_screen_off even though we are not in it, doing nothing
Nov 29 20:49:16 ptpd[104] <Notice>: PTP interface has been deactivated.
Nov 29 20:49:18 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state unplugged_asleep even though we are not in it, doing nothing
Nov 29 20:49:18 kernel[0] <Debug>: AppleD1881PMUPowerSource: AppleUSBCableDetect 1
Nov 29 20:49:18 kernel[0] <Debug>: AppleD1881PMUPowerSource: AppleUSBCableType USBHost
Nov 29 20:49:18 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state unplugged_screen_off even though we are not in it, doing nothing
Nov 29 20:49:18 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state pluggedin_screen_off even though we are not in it, doing nothing
Nov 29 20:49:19 ptpd[104] <Notice>: PTP interface has been activated at high speed.
Nov 29 20:49:56 lockdownd[29] <Notice>: 2fe93000 special_case_get: MGCopyAnswer(kMGQMobileEquipmentIdentifier) returned NULL
Nov 29 20:49:56 lockdownd[29] <Notice>: 2fe93000 copy_phonenumber: CTSettingCopyMyPhoneNumber() returned NULL
Nov 29 20:49:56 mobile_installation_proxy[265] <Error>: 0x3cbd7b88 MobileInstallationSlowLookupBreak: MobileInstallationBrowse was called without specifying an options dictionary containing kLookupReturnAttributesKey. This usage is inefficient and may cause performance problems. Break on MobileInstallationSlowLookupBreak to debug.
Nov 29 20:49:56 mobile_installation_proxy[265] <Error>: 0x3cbd7b88 MobileInstallationSlowLookupBreak: Existing options dictionary: <CFBasicHash 0x1c545b90 [0x3bfb1100]>{type = mutable dict, count = 1,
entries =>
6 : <CFString 0x1c545bc0 [0x3bfb1100]>{contents = "ApplicationType"} = <CFString 0x1c545b30 [0x3bfb1100]>{contents = "User"}
}
Nov 29 20:49:57 mc_mobile_tunnel[267] <Notice>: (Note ) MC: mc_mobile_tunnel starting.
Nov 29 20:49:57 mc_mobile_tunnel[267] <Notice>: (Note ) MC: mc_mobile_tunnel shutting down.
Nov 29 20:49:57 mc_mobile_tunnel[268] <Notice>: (Note ) MC: mc_mobile_tunnel starting.
Nov 29 20:49:57 mc_mobile_tunnel[268] <Notice>: (Note ) MC: mc_mobile_tunnel shutting down.
Nov 29 20:49:57 lockdownd[29] <Notice>: 2fe93000 set_response_error: handle_start_session SessionActive
Nov 29 20:49:57 lockdownd[29] <Notice>: 2fe93000 set_response_error: handle_start_session SessionActive
Nov 29 20:50:03 mc_mobile_tunnel[270] <Notice>: (Note ) MC: mc_mobile_tunnel starting.
Nov 29 20:50:03 mc_mobile_tunnel[270] <Notice>: (Note ) MC: mc_mobile_tunnel shutting down.
Nov 29 20:51:31 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state pluggedin_screen_off even though we are not in it, doing nothing
Nov 29 20:51:31 kernel[0] <Debug>: AppleD1881PMUPowerSource: AppleUSBCableDetect 0
Nov 29 20:51:31 kernel[0] <Debug>: AppleD1881PMUPowerSource: AppleUSBCableType Detached
Nov 29 20:51:31 kernel[0] <Debug>: virtual IOReturn AppleUSBDeviceMux::message(UInt32, IOService *, void *) - kMessageInterfaceWasDeActivated
Nov 29 20:51:31 kernel[0] <Debug>: AppleUSBDeviceMux::reportStats: USB mux statistics:
Nov 29 20:51:31 kernel[0] <Debug>: USB mux: 195 reads / 0 errors, 493 writes / 0 errors
Nov 29 20:51:31 kernel[0] <Debug>: USB mux: 0 short packets, 0 dups
Nov 29 20:51:31 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state pluggedin_charging even though we are not in it, doing nothing
Nov 29 20:51:31 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state unplugged_screen_off even though we are not in it, doing nothing
Nov 29 20:51:31 ptpd[104] <Notice>: PTP interface has been deactivated.
Nov 29 20:51:41 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state unplugged_asleep even though we are not in it, doing nothing
Nov 29 20:51:41 kernel[0] <Debug>: AppleD1881PMUPowerSource: AppleUSBCableDetect 1
Nov 29 20:51:41 kernel[0] <Debug>: AppleD1881PMUPowerSource: AppleUSBCableType USBHost
Nov 29 20:51:41 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state unplugged_screen_off even though we are not in it, doing nothing
Nov 29 20:51:41 UserEventAgent[13] <Warning>: PLAggregateState Error: Leaving state pluggedin_screen_off even though we are not in it, doing nothing
Nov 29 20:51:41 ptpd[272] <Error>: ptpd: startResponder
Nov 29 20:51:41 kernel[0] <Debug>: launchd[272] Builtin profile: ptpd (sandbox)
Nov 29 20:51:42 ptpd[272] <Notice>: PTP interface has been activated at high speed.
Nov 29 20:51:43 lockdownd[29] <Notice>: 2ffcf000 verify_pair_record: The strings don't match. Is this really a UUID?
Nov 29 20:51:43 lockdownd[29] <Notice>: 2ffcf000 store_escrow_record: Creating escrow bag (hash=9263ecf9c114f3a5cecdf7a52df193b4ce25044f) for 30264900-17792825678462560
Nov 29 20:51:52 lockdownd[29] <Notice>: 01442000 verify_pair_record: The strings don't match. Is this really a UUID?
Nov 29 20:51:52 lockdownd[29] <Notice>: 01442000 store_escrow_record: Creating escrow bag (hash=9de39584e1758f58137d28e4bd8c2fd79b5ba0a2) for 30264900-1682617038156454252
Nov 29 20:51:53 lockdownd[29] <Notice>: 01442000 special_case_get: MGCopyAnswer(kMGQMobileEquipmentIdentifier) returned NULL
Nov 29 20:51:53 lockdownd[29] <Notice>: 01442000 copy_phonenumber: CTSettingCopyMyPhoneNumber() returned NULL
Nov 29 20:51:53 mobile_installation_proxy[275] <Error>: 0x3cbd7b88 MobileInstallationSlowLookupBreak: MobileInstallationBrowse was called without specifying an options dictionary containing kLookupReturnAttributesKey. This usage is inefficient and may cause performance problems. Break on MobileInstallationSlowLookupBreak to debug.
Nov 29 20:51:53 mobile_installation_proxy[275] <Error>: 0x3cbd7b88 MobileInstallationSlowLookupBreak: Existing options dictionary: <CFBasicHash 0x1c5119d0 [0x3bfb1100]>{type = mutable dict, count = 1,
entries =>
6 : <CFString 0x1c511a00 [0x3bfb1100]>{contents = "ApplicationType"} = <CFString 0x1c511970 [0x3bfb1100]>{contents = "User"}
}
Nov 29 20:51:53 mc_mobile_tunnel[277] <Notice>: (Note ) MC: mc_mobile_tunnel starting.
Nov 29 20:51:53 mc_mobile_tunnel[277] <Notice>: (Note ) MC: mc_mobile_tunnel shutting down.
Nov 29 20:51:53 mc_mobile_tunnel[278] <Notice>: (Note ) MC: mc_mobile_tunnel starting.
Nov 29 20:51:53 mc_mobile_tunnel[278] <Notice>: (Note ) MC: mc_mobile_tunnel shutting down.
Nov 29 20:51:55 mc_mobile_tunnel[280] <Notice>: (Note ) MC: mc_mobile_tunnel starting.
Nov 29 20:51:55 mc_mobile_tunnel[280] <Notice>: (Note ) MC: mc_mobile_tunnel shutting down.
Nov 29 20:52:01 iPhone4S mc_mobile_tunnel[282] <Notice>: (Note ) MC: mc_mobile_tunnel starting.
Nov 29 20:52:01 iPhone4S mc_mobile_tunnel[282] <Notice>: (Note ) MC: mc_mobile_tunnel shutting down.
this is because may be you are dismissing view just after dismissing picker:
[picker dismissModalViewControllerAnimated:YES];
[self dismissModalViewControllerAnimated:YES];
as you have used animated YES, the picker is not yet dismissed so either use new API
[picker dismissViewControllerAnimated:YES completion:^{
[self dismissModalViewControllerAnimated:YES];
}];
The App is crashes because in iOS6 [self dismissModalViewControllerAnimated:YES];
is deprecated you replace it with [picker dismissViewControllerAnimated:YES completion:nil]; may solve you issue.
i have an app which post and get data using webservice it's working fine but while testing the app rigorously crashes with message Application Exited abnormally with signal 9(Killed) .
Mon Jul 16 21:07:55 unknown MyApp[167] <Warning>: NVVC Dealloc
Mon Jul 16 21:08:23 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.company.MyApp[0xe271]) Bug: launchd_core_logic.c:2688 (24132):10
Mon Jul 16 21:08:23 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.company.MyApp[0xe271]) Working around 5020256. Assuming the job crashed.
Mon Jul 16 21:08:23 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.company.MyApp[0xe271]) Job appears to have crashed: Segmentation
fault
Mon Jul 16 21:08:23 unknown SpringBoard[29] <Warning>: Application 'MyApp' exited abnormally with signal 11: Segmentation fault
Mon Jul 16 21:09:04 unknown lockdownd[20] <Error>: (0x403000) handle_connection: Could not receive USB message #7 from Xcode. Killing connection
Mon Jul 16 22:00:39 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobilemail[0x55fb]) Exited: Killed
Mon Jul 16 22:00:39 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobilephone[0xa13c]) Exited: Killed
Mon Jul 16 22:00:39 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.MyApp.app[0x137]) Exited: Killed
Mon Jul 16 22:00:39 unknown com.apple.launchd[1] <Notice>: (com.apple.accessoryd) Exited: Killed
Mon Jul 16 22:00:41 unknown SpringBoard[29] <Warning>: Application 'Mail' exited abnormally with signal 9: Killed
Mon Jul 16 22:00:41 unknown SpringBoard[29] <Warning>: Memory level is not normal (15%). Delaying auto-relaunch of 'Mail' for 30 seconds. Mon Jul 16 22:00:41 unknown SpringBoard[29] <Warning>: Application 'app' exited abnormally with signal 9: Killed
Mon Jul 16 22:00:42 unknown SpringBoard[29] <Warning>: Application 'Phone' exited abnormally with signal 9: Killed
i googled around but i could not found any solution or reason for killing app.please Help me to resolve the issue.
Edit#2
Here i am adding some code where i am getting crash in my application.
#try {
[UIApplication sharedApplication].networkActivityIndicatorVisible = YES;
NSUserDefaults *defaults2 = [NSUserDefaults standardUserDefaults];
NSString *string = [NSString stringWithFormat:URL];
NSURL *url = [NSURL URLWithString:string];
NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL: url];
// NSURLRequest *request =[NSURLRequest requestWithURL:[NSURL URLWithString:synStr]];
NSURLConnection *connection = [[NSURLConnection alloc] initWithRequest:request delegate:self];
[connection start];
[connection release];
if(label != nil){
progressView = [[ProgressView showHUDAddedTo:self.tabBarController.view animated:YES]retain];
progressView.labelText = label;
}
[request release];
}
#catch (NSException * e) {
}
You're using NSURLConnection incorrectly. If you look here you can see that you are starting an asynchronous connection. It looks like you are releasing the connection object before it has finished, which is causing the segmentation fault.
What does this error mean?
Nov 8 17:57:10 unknown configd[25] <Notice>: jetsam: kernel memory event (91), free: 670, active: 2840, inactive: 2253, purgeable: 0, wired: 15143
Nov 8 17:57:11 unknown SpringBoard[92] <Warning>: Received memory warning. Level=2
Nov 8 17:57:11 unknown MobileMail[6432] <Warning>: Received memory warning. Level=2
Nov 8 17:57:11 unknown configd[25] <Notice>: jetsam: kernel termination snapshot being created
Nov 8 17:57:11 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobileipod[0xe0a1]) Exited: Killed: 9
Nov 8 17:57:11 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobilemail[0xbebe]) Exited: Killed: 9
Nov 8 17:57:11 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:paradigm.PaymentSystemiPad[0x6c80]) Bug: launchd_core_logic.c:3795 (24506):0
Nov 8 17:57:11 unknown DTMobileIS[6377] <Warning>: _memoryNotification : <NSThread: 0x1c5361d0>{name = (null), num = 1}
Nov 8 17:57:11 unknown com.apple.debugserver-50[6480] <Warning>: 1 [1950/1503]: error: ::read ( 4, 0x2ff669f0, 1024 ) => -1 err = Bad file descriptor (0x00000009)
Nov 8 17:57:11 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:paradigm.PaymentSystemiPad[0x6c80]) Bug: launchd_core_logic.c:3794 (24506):3
Nov 8 17:57:11 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:paradigm.PaymentSystemiPad[0x6c80]) Bug: launchd_core_logic.c:3202 (24506):10
Nov 8 17:57:11 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:paradigm.PaymentSystemiPad[0x6c80]) Working around 5020256. Assuming the job crashed.
Nov 8 17:57:11 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:paradigm.PaymentSystemiPad[0x6c80]) Job appears to have crashed: Segmentation fault: 11
Nov 8 17:57:11 unknown SpringBoard[92] <Warning>: Application 'Mail' exited abnormally with signal 9: Killed: 9
Nov 8 17:57:12 unknown DTMobileIS[6377] <Warning>: _memoryNotification : {
OSMemoryNotificationLevel = 0;
timestamp = "2011-11-08 12:27:11 +0000";
}
Nov 8 17:57:12 unknown DTMobileIS[6377] <Warning>: _memoryNotification : <NSThread: 0x1c5361d0>{name = (null), num = 1}
Nov 8 17:57:12 unknown DTMobileIS[6377] <Warning>: _memoryNotification : {
OSMemoryNotificationLevel = 0;
timestamp = "2011-11-08 12:27:12 +0000";
}
Nov 8 17:57:12 unknown SpringBoard[92] <Warning>: Application 'PaymentSystemiPad' exited abnormally with signal 11: Segmentation fault: 11
Nov 8 17:57:12 unknown SpringBoard[92] <Warning>: Application 'iPod' exited abnormally with signal 9: Killed: 9
Nov 8 17:57:12 unknown kernel[0] <Debug>: launchd[6486] Builtin profile: MobileMail (sandbox)
Nov 8 17:57:13 unknown ReportCrash[6485] <Error>: libMobileGestalt loadBasebandMobileEquipmentInfo: CommCenter error: 1:45
Nov 8 17:57:13 unknown ReportCrash[6485] <Error>: libMobileGestalt copyInternationalMobileEquipmentIdentity: Could not get mobile equipment info dictionary
Nov 8 17:57:13 unknown ReportCrash[6485] <Error>: Saved crashreport to /Library/Logs/CrashReporter/LowMemory-2011-11-08-175713.plist using uid: 0 gid: 0, synthetic_euid: 0 egid: 0
Nov 8 17:59:12 unknown SpringBoard[92] <Notice>: MultitouchHID(1f55bf50) uilock state: 0 -> 1
This mean that you have allocated a lot of memory and Received memory warning. I assume you have memory leaks or load many images/resources into memory. Try to research your code and find places where you load resources.
My iPhone app uses UDP to communicate over the cell network.
It generally works, except that sometimes the operating system returns "No route to host" (65) on a sendto call, and it never works from that point onwards -- I just keep getting same error, even if I close and reopen the app. However, if I toggle flight mode (presumably resetting the comms stack) and then go back to app, everything works.
I have WiFi switched off so that I can force it to use the cell network. Also, if I get the phone into this not-working state, and open, say, the Stocks app, it briefly says (for about 1 second) "Network Unavailable", before connecting and updating itself. It feels like there's some code in the Stocks app that recognizes the problem and does some kind of reset and retry. I suppose that app uses TCP/IP to talk to a web service.
Who can tell me what's going on, or how I can do the same "reset and retry" that I think Stocks is doing? Any ideas much appreciated :)
Jade
APP (Udp) IS FUNCTIONING NORMALLY, SENDS REQUEST AND GETS RESPONSE
Fri Sep 3 15:48:56 iPhone-de-Jade-Burton Udp[5866] : JDuplicateFilter received packet: index = 0, group = 0, total = 1
Fri Sep 3 15:48:56 iPhone-de-Jade-Burton Udp[5866] : JDuplicateFilter: got group 0, as expected
Fri Sep 3 15:48:56 iPhone-de-Jade-Burton Udp[5866] : JDuplicateFilter: added one item. 1 item(s) in set, 1 item(s) in queue
Fri Sep 3 15:48:56 iPhone-de-Jade-Burton Udp[5866] : JResender erases packet awaiting ACK: index = 0, group = 0, total = 1
Fri Sep 3 15:48:56 iPhone-de-Jade-Burton Udp[5866] : JMerger: simple 1-packet group, passing through
Fri Sep 3 15:48:56 iPhone-de-Jade-Burton Udp[5866] : response
DEBUG SERVER PHONES HOME
Fri Sep 3 15:49:54 iPhone-de-Jade-Burton com.apple.debugserver-48[5871] : debugserver-48 for armv6 Copyright (c) 2007-2009 Apple, Inc. All Rights Reserved.
Fri Sep 3 15:49:54 iPhone-de-Jade-Burton com.apple.debugserver-48[5871] : Connecting to com.apple.debugserver service...
Fri Sep 3 15:49:55 iPhone-de-Jade-Burton kernel[0] : lockbot[5870] Builtin profile: debugserver (sandbox)
COMMCENTER DEACTIVATES SOMETHING BECAUSE IT HAS NOT BEEN USED FOR 8 MINUTES?
Fri Sep 3 15:57:50 iPhone-de-Jade-Burton CommCenter[31] : Deactivating PDP context 0, because it has gone idle.
Fri Sep 3 15:57:52 iPhone-de-Jade-Burton configd[24] : .519 (+600.896) SCDynamicStore "network" notification
State:/Network/Interface/pdp_ip0/IPv4 : removed
Fri Sep 3 15:57:52 iPhone-de-Jade-Burton CommCenter[31] : Deactivated PDP context 0 that supports connection types 0x1
CONFIGD TELLS US THAT THINGS HAVE CHANGED
Fri Sep 3 15:57:52 iPhone-de-Jade-Burton configd[24] : CaptiveNetworkSupport:CaptiveHandleNetworkChanged:2158 key: State:/Network/Service/3A1DA52C-9DBD-4573-9463-C4FEFAF18AF6/IPv4
Fri Sep 3 15:57:52 iPhone-de-Jade-Burton configd[24] : .670 (+0.151) SCDynamicStore "network" notification
State:/Network/Service/3A1DA52C-9DBD-4573-9463-C4FEFAF18AF6/IPv4 : removed
Fri Sep 3 15:57:52 iPhone-de-Jade-Burton configd[24] : network configuration changed.
Fri Sep 3 15:57:52 iPhone-de-Jade-Burton configd[24] : .948 (+0.278) SCDynamicStore "network" notification
State:/Network/Global/IPv4 : removed
State:/Network/Global/DNS
Fri Sep 3 15:57:52 iPhone-de-Jade-Burton configd[24] : .964 (+0.016) dnsinfo notification
Fri Sep 3 15:57:52 iPhone-de-Jade-Burton configd[24] : .985 (+0.020) Primary service: removed
Fri Sep 3 15:57:53 iPhone-de-Jade-Burton configd[24] : hostname (prefs) = iPhone-de-Jade-Burton
APP (Udp) NO LONGER WORKING, GETS ERROR ON sendto
Fri Sep 3 15:58:39 iPhone-de-Jade-Burton Udp[5866] : JSplitter sending packets
Fri Sep 3 15:58:39 iPhone-de-Jade-Burton Udp[5866] : 16 byte(s), index = 1, group = 1, total = 1
Fri Sep 3 15:58:39 iPhone-de-Jade-Burton Udp[5866] : JResender saved packet. total now: 1
Fri Sep 3 15:58:39 iPhone-de-Jade-Burton Udp[5866] : Socket error 65, No route to host
Fri Sep 3 15:58:43 iPhone-de-Jade-Burton Udp[5866] : JSplitter sending packets
Fri Sep 3 15:58:43 iPhone-de-Jade-Burton Udp[5866] : 16 byte(s), index = 1, group = 2, total = 1
Fri Sep 3 15:58:43 iPhone-de-Jade-Burton Udp[5866] : JResender saved packet. total now: 2
Fri Sep 3 15:58:43 iPhone-de-Jade-Burton Udp[5866] : Socket error 65, No route to host
LAUNCHD LOGGING "BUG"?
Fri Sep 3 15:59:06 iPhone-de-Jade-Burton com.apple.launchd[1] (UIKitApplication:com.yourcompany.Udp[0xeb7c][5866]) : (UIKitApplication:com.yourcompany.Udp[0xeb7c]) Bug: launchd_core_logic.c:2688 (24132):10
Fri Sep 3 15:59:06 iPhone-de-Jade-Burton com.apple.launchd[1] (UIKitApplication:com.yourcompany.Udp[0xeb7c][5866]) : (UIKitApplication:com.yourcompany.Udp[0xeb7c]) Working around 5020256. Assuming the job crashed.
Fri Sep 3 15:59:06 iPhone-de-Jade-Burton com.apple.launchd[1] (UIKitApplication:com.yourcompany.Udp[0xeb7c][5866]) : (UIKitApplication:com.yourcompany.Udp[0xeb7c]) Job appears to have crashed: Segmentation fault
BUG IN MY APP TO DO WITH UNCLEAN SHUT DOWN, NOT RELEVANT RIGHT NOW
Fri Sep 3 15:59:06 iPhone-de-Jade-Burton SpringBoard[39] : Application 'Udp' exited abnormally with signal 11: Segmentation fault
Fri Sep 3 16:03:09 iPhone-de-Jade-Burton SpringBoard[39] : Killing com.yourcompany.Udp activate: deactivate: for app installation
Fri Sep 3 16:03:11 iPhone-de-Jade-Burton SpringBoard[39] : Reloading and rendering all application icons.
DEBUG SERVER PHONES HOME AGAIN
Fri Sep 3 16:03:18 iPhone-de-Jade-Burton com.apple.debugserver-48[5896] : debugserver-48 for armv6 Copyright (c) 2007-2009 Apple, Inc. All Rights Reserved.
Fri Sep 3 16:03:18 iPhone-de-Jade-Burton com.apple.debugserver-48[5896] : Connecting to com.apple.debugserver service...
Fri Sep 3 16:03:19 iPhone-de-Jade-Burton kernel[0] : lockbot[5888] Builtin profile: debugserver (sandbox)
Fri Sep 3 16:03:20 iPhone-de-Jade-Burton com.apple.launchd[1] (UIKitApplication:com.yourcompany.Udp[0x62c6][5897]) : (UIKitApplication:com.yourcompany.Udp[0x62c6]) Spawned and waiting for the debugger to attach before continuing...
Fri Sep 3 16:03:21 iPhone-de-Jade-Burton com.apple.debugserver-48[5896] : Got a connection, waiting for debugger instructions for task "(null)".
Fri Sep 3 16:03:21 iPhone-de-Jade-Burton kernel[0] : launchd[5897] Builtin profile: container (sandbox)
Fri Sep 3 16:03:21 iPhone-de-Jade-Burton kernel[0] : launchd[5897] Container: /private/var/mobile/Applications/B69449D6-EBC4-41E1-AEB0-8D8C91C7EA17 [69] (sandbox)
I RELAUNCH MY APP; STILL NOT WORKING
Fri Sep 3 16:03:40 iPhone-de-Jade-Burton Udp[5897] : JSplitter sending packets
Fri Sep 3 16:03:40 iPhone-de-Jade-Burton Udp[5897] : 16 byte(s), index = 1, group = 0, total = 1
Fri Sep 3 16:03:40 iPhone-de-Jade-Burton Udp[5897] : NOTE: sending group sequence 0
Fri Sep 3 16:03:40 iPhone-de-Jade-Burton Udp[5897] : JResender saved packet. total now: 1
Fri Sep 3 16:03:40 iPhone-de-Jade-Burton Udp[5897] : Socket error 65, No route to host
I QUIT MY APP
Fri Sep 3 16:03:46 iPhone-de-Jade-Burton Udp[5897] : recvfrom returned -1
MORE LAUNCHD "BUG" LOGS
Fri Sep 3 16:03:46 iPhone-de-Jade-Burton com.apple.launchd[1] (UIKitApplication:com.yourcompany.Udp[0x62c6][5897]) : (UIKitApplication:com.yourcompany.Udp[0x62c6]) Bug: launchd_core_logic.c:3270 (24132):0
Fri Sep 3 16:03:46 iPhone-de-Jade-Burton com.apple.debugserver-48[5896] : 1 [1708/1403]: error: ::read ( 6, 0x3809f4, 1024 ) => -1 err = Bad file descriptor (0x00000009)
Fri Sep 3 16:03:46 iPhone-de-Jade-Burton com.apple.launchd[1] (UIKitApplication:com.yourcompany.Udp[0x62c6][5897]) : (UIKitApplication:com.yourcompany.Udp[0x62c6]) Bug: launchd_core_logic.c:799 (24132):3
Fri Sep 3 16:03:46 iPhone-de-Jade-Burton com.apple.launchd[1] (UIKitApplication:com.yourcompany.Udp[0x62c6][5897]) : (UIKitApplication:com.yourcompany.Udp[0x62c6]) Bug: launchd_core_logic.c:2688 (24132):10
Fri Sep 3 16:03:46 iPhone-de-Jade-Burton com.apple.launchd[1] (UIKitApplication:com.yourcompany.Udp[0x62c6][5897]) : (UIKitApplication:com.yourcompany.Udp[0x62c6]) Working around 5020256. Assuming the job crashed.
NOW LAUNCHING "Stocks" APP
Fri Sep 3 16:03:46 iPhone-de-Jade-Burton SpringBoard[39] : Unable to delete job with label UIKitApplication:com.yourcompany.Udp[0x62c6]. Error: No such process
Fri Sep 3 16:03:53 iPhone-de-Jade-Burton Stocks[5900] : CGImageCreateWithImageProvider: invalid image size: 10 x 10.
Fri Sep 3 16:03:53 iPhone-de-Jade-Burton Stocks[5900] : CGImageCreateWithImageProvider: invalid image size: 10 x 10.
Fri Sep 3 16:03:53 iPhone-de-Jade-Burton UIKitApplication:com.apple.stocks[0x680e][5900] : Fri Sep 3 16:03:53 iPhone-de-Jade-Burton Stocks[5900] : CGImageCreateWithImageProvider: invalid image size: 10 x 10.
Fri Sep 3 16:03:53 iPhone-de-Jade-Burton UIKitApplication:com.apple.stocks[0x680e][5900] : Fri Sep 3 16:03:53 iPhone-de-Jade-Burton Stocks[5900] : CGImageCreateWithImageProvider: invalid image size: 10 x 10.
Fri Sep 3 16:03:53 iPhone-de-Jade-Burton configd[24] : CaptiveNetworkSupport:UIAllowedNotifyCallback:70 uiallowed: true
COMMCENTER
Fri Sep 3 16:03:53 iPhone-de-Jade-Burton CommCenter[31] : Client [Stocks] is telling PDP context 0 to go active.
Fri Sep 3 16:03:53 iPhone-de-Jade-Burton CommCenter[31] : forcing connection mask for 0 to be internet because there is no mask
Fri Sep 3 16:03:53 iPhone-de-Jade-Burton CommCenter[31] : Client [Stocks] is telling PDP context 0 to go active.
Fri Sep 3 16:03:53 iPhone-de-Jade-Burton CommCenter[31] : forcing connection mask for 0 to be internet because there is no mask
Fri Sep 3 16:03:54 iPhone-de-Jade-Burton CommCenter[31] : Client [Stocks] is telling PDP context 0 to go active.
Fri Sep 3 16:03:54 iPhone-de-Jade-Burton CommCenter[31] : forcing connection mask for 0 to be internet because there is no mask
Fri Sep 3 16:03:54 iPhone-de-Jade-Burton CommCenter[31] : Client [Stocks] is telling PDP context 0 to go active.
Fri Sep 3 16:03:54 iPhone-de-Jade-Burton CommCenter[31] : forcing connection mask for 0 to be internet because there is no mask
CONFIGD
Fri Sep 3 16:03:55 iPhone-de-Jade-Burton configd[24] : .885 (+362.900) SCDynamicStore "network" notification
State:/Network/Interface/pdp_ip0/IPv4 : {
Addresses : {
0 : 10.165.224.136
}
DestAddresses : {
0 : 10.165.224.136
}
}
Fri Sep 3 16:03:56 iPhone-de-Jade-Burton configd[24] : CaptiveNetworkSupport:CaptiveHandleNetworkChanged:2158 key: State:/Network/Service/3A1DA52C-9DBD-4573-9463-C4FEFAF18AF6/IPv4
Fri Sep 3 16:03:56 iPhone-de-Jade-Burton kernel[0] : AppleSerialMultiplexer: nif::ioctl: MTU set to 1450
Fri Sep 3 16:03:56 iPhone-de-Jade-Burton configd[24] : network configuration changed.
INTERFACE THAT WAS PREVIOUSLY DISABLED HAS BEEN REACTIVATED? NOTE 3 SECONDS AFTER "Stocks" LAUNCHED
Fri Sep 3 16:03:56 iPhone-de-Jade-Burton CommCenter[31] : Activated PDP context 0 that supports connection types 0x1.
CONFIGD TELLS US ABOUT IT
Fri Sep 3 16:03:56 iPhone-de-Jade-Burton configd[24] : .274 (+0.388) SCDynamicStore "network" notification
State:/Network/Service/3A1DA52C-9DBD-4573-9463-C4FEFAF18AF6/IPv4 : {
Addresses : {
0 : 10.165.224.136
}
InterfaceName : pdp_ip0
NetworkSignature : Cellular WAN: pdp_ip0
Router : 10.165.224.136
SubnetMasks : {
0 : 255.255.255.255
}
}
State:/Network/Global/DNS
State:/Network/Global/IPv4 : {
PrimaryInterface : pdp_ip0
PrimaryService : 3A1DA52C-9DBD-4573-9463-C4FEFAF18AF6
Router : 10.165.224.136
}
Fri Sep 3 16:03:56 iPhone-de-Jade-Burton configd[24] : .805 (+0.530) dnsinfo notification
Fri Sep 3 16:03:56 iPhone-de-Jade-Burton configd[24] : .862 (+0.057) Primary service: 3A1DA52C-9DBD-4573-9463-C4FEFAF18AF6 (pdp_ip0)
Fri Sep 3 16:03:56 iPhone-de-Jade-Burton configd[24] : hostname (prefs) = iPhone-de-Jade-Burton
DEBUGSERVER
Fri Sep 3 16:03:58 iPhone-de-Jade-Burton com.apple.debugserver-48[5905] : debugserver-48 for armv6 Copyright (c) 2007-2009 Apple, Inc. All Rights Reserved.
Fri Sep 3 16:03:58 iPhone-de-Jade-Burton com.apple.debugserver-48[5905] : Connecting to com.apple.debugserver service...
Fri Sep 3 16:03:58 iPhone-de-Jade-Burton kernel[0] : lockbot[5904] Builtin profile: debugserver (sandbox)
Fri Sep 3 16:04:05 iPhone-de-Jade-Burton com.apple.debugserver-48[5906] : debugserver-48 for armv6 Copyright (c) 2007-2009 Apple, Inc. All Rights Reserved.
Fri Sep 3 16:04:05 iPhone-de-Jade-Burton com.apple.debugserver-48[5906] : Connecting to com.apple.debugserver service...
Fri Sep 3 16:04:05 iPhone-de-Jade-Burton kernel[0] : lockbot[5904] Builtin profile: debugserver (sandbox)
Fri Sep 3 16:04:10 iPhone-de-Jade-Burton com.apple.debugserver-48[5907] : debugserver-48 for armv6 Copyright (c) 2007-2009 Apple, Inc. All Rights Reserved.
Fri Sep 3 16:04:10 iPhone-de-Jade-Burton com.apple.debugserver-48[5907] : Connecting to com.apple.debugserver service...
Fri Sep 3 16:04:10 iPhone-de-Jade-Burton kernel[0] : lockbot[5904] Builtin profile: debugserver (sandbox)
Fri Sep 3 16:04:16 iPhone-de-Jade-Burton com.apple.debugserver-48[5908] : debugserver-48 for armv6 Copyright (c) 2007-2009 Apple, Inc. All Rights Reserved.
Fri Sep 3 16:04:16 iPhone-de-Jade-Burton com.apple.debugserver-48[5908] : Connecting to com.apple.debugserver service...
Fri Sep 3 16:04:16 iPhone-de-Jade-Burton kernel[0] : lockbot[5904] Builtin profile: debugserver (sandbox)
Fri Sep 3 16:08:53 iPhone-de-Jade-Burton SpringBoard[39] : MultitouchHID(20af10) uilock state: 0 -> 1
Fri Sep 3 16:08:54 iPhone-de-Jade-Burton configd[24] : CaptiveNetworkSupport:UIAllowedNotifyCallback:70 uiallowed: false
It turns out there is some power management going on that can take down the 3G network interface. The API to bring it back up is Apple private.
This seems to crop up most often when using plain vanilla BSD sockets.
Apple has added some code inside of CFSocketStream to check for traffic and keep the network interface up if traffic is still flowing. If it sees no traffic for a minute or so the network interface can be torn down and the antenna turned off to save power. If you send traffic across the CFSocketStream it should come back up. In the case of UDP, you'll probably have to open a CFSocketStream and send some traffic occasionally in order to keep the interface up.