Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23979] iOS Debug: The app crashes on launch during debug on iOS device without wifi connection

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2019-08-27T16:24:32.000+0000
Affected Version/sRelease 6.0.0
Fix Version/sn/a
ComponentsiOS
Labelsqe-6.0.0
ReporterSatyam Sekhri
AssigneeUnknown
Created2016-10-04T08:57:55.000+0000
Updated2020-01-28T18:56:48.000+0000

Description

When trying to debug an application on an iOS device that does not have connectivity (the test device did not had sim so tested with no wifi) then the app crashes on launch This is not a regression as the same behavior is seen in previous SDK versions as well. * The issue happens for both alloy and classic apps * This issue was found while testing the debug with TiCore framework Steps to Reproduce: 1. Create a new project 2. Add a breakpoint 3. Debug the project on iOS device that is not connected to wifi 4. Once installed try to launch the app on device Actual Result: The app crashes. Below are the console logs. Also the crash report is attached.
Oct  3 12:20:18 iPhone5S-Sale iOSDebugClassicAppPreprod[218] <Error>: assertion failed: 12A405: libxpc.dylib + 71820 [4BC9CA3D-4DEE-314C-ADBF-53BDCEEFE45C]: 0x7d
Oct  3 12:20:18 iPhone5S-Sale Unknown[218] <Error>:
Oct  3 12:20:18 iPhone5S-Sale iOSDebugClassicAppPreprod[218] <Warning>: [DEBUG] Reading stylesheet from: /private/var/mobile/Containers/Bundle/Application/F5371CB5-4DB5-440E-984D-775B5C726F76/iOSDebugClassicAppPreprod.app/stylesheet.plist
Oct  3 12:20:18 iPhone5S-Sale iOSDebugClassicAppPreprod[218] <Warning>: [INFO] iOSDebugClassicAppPreprod/1.0 (0.0.0.b18727f)
Oct  3 12:20:18 iPhone5S-Sale ReportCrash[219] <Error>: task_set_exception_ports(B07, 400, D03, 0, 0) failed with error (4: (os/kern) invalid argument)
Oct  3 12:20:18 iPhone5S-Sale ReportCrash[219] <Notice>: ReportCrash acting against PID 218
Oct  3 12:20:18 iPhone5S-Sale ReportCrash[219] <Notice>: Formulating crash report for process iOSDebugClassicAppPreprod[218]
Oct  3 12:20:18 iPhone5S-Sale com.apple.xpc.launchd[1] (UIKitApplication:com.appcelerator.sg.iosClassicPreprod[0x321a][218]) <Notice>: Service exited due to signal: Trace/BPT trap: 5
Oct  3 12:20:18 iPhone5S-Sale ReportCrash[219] <Notice>: Saved report to /var/mobile/Library/Logs/CrashReporter/iOSDebugClassicAppPreprod_2016-10-03-122018_iPhone5S-Sale.ips
Oct  3 12:20:18 iPhone5S-Sale SpringBoard[48] <Warning>: Application 'UIKitApplication:com.appcelerator.sg.iosClassicPreprod[0x321a]' crashed.
Oct  3 12:20:18 iPhone5S-Sale assertiond[58] <Warning>: pid_suspend failed for <BKNewProcess: 0x15461aea0; com.appcelerator.sg.iosClassicPreprod; pid: 218>: Unknown error: -1, Unknown error: -1
Oct  3 12:20:18 iPhone5S-Sale assertiond[58] <Warning>: Could not set priority of <BKNewProcess: 0x15461aea0; com.appcelerator.sg.iosClassicPreprod; pid: 218> to 2, priority: No such process
Oct  3 12:20:18 iPhone5S-Sale assertiond[58] <Warning>: Could not set priority of <BKNewProcess: 0x15461aea0; com.appcelerator.sg.iosClassicPreprod; pid: 218> to 4096, priority: No such process

Attachments

FileDateSize
iOSDebugClassicAppPreprod 10-3-16, 12-20 PM.crash2016-10-04T08:56:48.000+000042786

Comments

  1. Alan Hutton 2019-08-08

    Unable to reproduce the issue on 8.0.2.GA SDK.
  2. Alan Hutton 2019-08-27

    Unable to reproduce the issue on 8.0.2.GA SDK.
  3. Hans Knöchel 2020-01-28

    Hi, this is not fixed and this is reproducible by using our app (available to Axway) with the "Network Link Conditioner" and the "100 % loss" simulation enabled. It's even reproducible every time, please fix this.
  4. Hans Knöchel 2020-01-28

    EDIT (I can't edit the initial comment in a closed ticket): It's even reproducible in the Titanium.xcconfig project, so it should be easy to debug.

JSON Source