GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Needs more info |
Resolution Date | 2016-04-18T05:44:20.000+0000 |
Affected Version/s | Appcelerator Studio 4.5.0 |
Fix Version/s | n/a |
Components | Alloy, Studio, Titanium SDK & CLI |
Labels | Windows, crashing |
Reporter | Parmeet Singh |
Assignee | Shak Hossain |
Created | 2016-03-14T15:14:12.000+0000 |
Updated | 2016-04-18T05:44:20.000+0000 |
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?
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
Hi Jebun, I have mailed you my code, hope you find it well. Waiting for your response. Thanks.
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
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
How to building the app in device without liveview enabled ? Thanks
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.
Yes my liveview is disabled. Is there way to see log more detailed ?
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