openGeeksLab / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

Crash in new iOS VM #1282

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
My mobile app communicates with my desktop app and transfers data from the 
desktop. Using the new iOS VM this sometimes works and sometimes crashes the 
VM. It seems to be data related but consistent, the datasets that work, always 
work, the datasets that fail always fail at the same point. 

I am focusing on one dataset where it consistently crashes the VM at the same 
point in the app.

I have successfully transferred the exact same data using the old VM, Android 
and in simulator. I also tried building my app sources in Xcode and running it 
on my Mac, it completed normally. The only place it crashes is on the device 
when I build with the new VM. My app is running displaying a progress bar, then 
I am back on the home screen.

I cleared out all the logs from my device. Then I ran my app to reproduce the 
problem. When I reconnected my device, there were two new logs, both with the 
same date and time. I only ran the app the one time, I don't know why there are 
two logs.

The logs are meaningless to me.

I can't produce a test case for this as it does require my app running on the 
desktop with a particular set of data.

I have attached both logs, I hope you can get something from them. I have run 
my app under the debugger in the simulator, there doesn't appear to be anything 
unusual going on.

Original issue reported on code.google.com by mwarn...@readerware.com on 14 Jan 2015 at 1:49

Attachments:

GoogleCodeExporter commented 8 years ago
We made improvements to the GC which should hopefully fix that

Original comment by shai.almog on 18 Jan 2015 at 2:10

GoogleCodeExporter commented 8 years ago
I still have the problem unfortunately. I rebuilt and the app is crashing in 
the exact same spot. The same two crash logs are created on the device. I have 
attached them.

There is a bit of history to this problem. I first ran into it just before you 
released the 1.0.81 plugin. When the new plugin came out I retried the problem 
and it seemed to work better. It would sometimes crash but sometimes complete 
and I was able to transfer the full dataset after a couple of tries. After you 
marked this as fixed I rebuilt and now I am back to crashing every time at the 
exact same spot in the application.

Original comment by mwarn...@readerware.com on 20 Jan 2015 at 8:02

Attachments:

GoogleCodeExporter commented 8 years ago
That work is now following in Issue 1304

Original comment by shai.almog on 1 Feb 2015 at 6:56