Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3363] Windows Phone 8.1 App Crash - Disconnected from app

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNeeds more info
Resolution Date2016-04-18T05:44:20.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsAlloy, Studio, Titanium SDK & CLI
LabelsWindows, crashing
ReporterParmeet Singh
AssigneeShak Hossain
Created2016-03-14T15:14:12.000+0000
Updated2016-04-18T05:44:20.000+0000

Description

I created an app and its running fine on emulator but as I try to run it on Windows Phone Device it crashes after sometime and at random screens and I am unable to log as it only gives "Disconnected from app" in log window. My app has Table Views that are getting data from API's and there are no database used. Is there any way to get the logs to monitor the Crashes?

Attachments

FileDateSize
Screen Shot 2016-04-07 at 12.00.41 AM.png2016-04-06T18:03:12.000+00008891
studio.txt2016-04-07T15:35:30.000+000010790

Comments

  1. Jebun Naher 2016-03-16

    Hello [~paramsb], Thanks for your report. Does this crash happen for a simple tableView app? We need a reproducible test case and steps so we can investigate this issue. Please share with us the structure of your code or similar. Regards
  2. Parmeet Singh 2016-03-17

    Hi Jebun, I have mailed you my code, hope you find it well. Waiting for your response. Thanks.
  3. jmarty 2016-03-31

    Operating System Name = Microsoft Windows 10 Professionnel Version = 10.0.10586 Architecture = 32bit CPUs = 8 Memory = 7.9GB Node.js Node.js Version = 0.12.7 npm Version = 2.11.3 Titanium CLI CLI Version = 5.0.6 node-appc Version = 0.2.31 Titanium SDKs 5.4.0.v20160321025856 Version = 5.4.0 Install Location = C:\ProgramData\Titanium\mobilesdk\win32\5.4.0.v20160321025856 Platforms = android, mobileweb, windows git Hash = 4e05aa0 git Timestamp = 03/21/16 02:58 node-appc Version = 0.2.35 Microsoft (R) Visual Studio 14.0 (selected) CLR Version = v4.0.30319 MSBuild Version = v14.0.24730.2 SmartPhone Device : Windows Phone 8.1, Nokia Lumia 930 This bug reproduce on real device but work fine on emulator. Maybe cause to the windows memory limitation : https://msdn.microsoft.com/fr-fr/library/windows/apps/jj681682(v=vs.105).aspx When I execute my code the first time it works fine. But when I open app for a second time, I have a message : "Disconnected from app" without more information... I have already clear heap size in Appcelerator Studio but nothing changed. When app crashed, I can't re-run my app. Is there way to find more log on the crash ? It can be a memory leak ? This bug reproduced alternatively, sometimes it work during 2 or 3 execution and sometimes I can't run one time. This same apps works fine on Android and iOS with Titanium Studio with sdk 3.3.0.GA but this project was build with SDK 5.4.0.v20160321025856
  4. Sharif AbuDarda 2016-04-06

    Hello, The issue is not regeneratable in our end. I would suggest building the app in device without liveview enabled. Also, make sure you have enough memory space in your device. It's better to use the official GA release of the SDK for building the app in device. Current SDK is 5.2.1.GA. Regards, Sharif
  5. jmarty 2016-04-06

    How to building the app in device without liveview enabled ? Thanks
  6. Sharif AbuDarda 2016-04-06

    Make sure you are not running the project in device with liveview enabled. See the atatchment. If you see exactly like the picture (Clicked). Unclick it. And run the project.
  7. jmarty 2016-04-07

    Yes my liveview is disabled. Is there way to see log more detailed ?
  8. Sharif AbuDarda 2016-04-07

    Hello, Go to studio/help/studio/Run diagnostic test. This will open in a dialog with the log. Copy the contain to a text file and attach the text file in this ticket. Regards, Sharif

JSON Source