openGeeksLab / codenameone

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

EXC_BAD_ACCESS during marking for garbage collection #1351

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The problem occurs on iOS devices (iPhone and iPad) and within Xcode 6.

In Xcode it appears as EXC_BAD_ACCESS. On a iOS device it shuts it down.

What steps will reproduce the problem?
1. Download and unzip the attached file
2. Add javaSE.jar (I removed it to save space)
3. Build for iOS (I removed my cert/provisioning profile)
4. Run the app either on a iOS device or within Xcode.
5. Click the Run Test button. You may have to run it twice.

The app simply makes multiple web service calls. XML is returned and parsed. 

What is the expected output? What do you see instead?
Device: The app shouldn't shutdown. The should continue to run after multiple 
tests.
Xcode 6: You should not see EXC_BAD_ACCESS. 

Original issue reported on code.google.com by bchar...@go2uti.com on 14 Feb 2015 at 11:41

GoogleCodeExporter commented 8 years ago
The attached file is an Eclipse project. 

Original comment by bchar...@go2uti.com on 14 Feb 2015 at 11:47

GoogleCodeExporter commented 8 years ago
We made a GC fix related to a different issue, can you see if this is still 
happening?

Original comment by shai.almog on 15 Feb 2015 at 10:01

GoogleCodeExporter commented 8 years ago
The issue seems to be fixed. Thanks, but a new issue appeared.

2015-02-16 07:57:24.351 CarrierApp[38483:6045270] java.lang.NullPointerException
    at java_util_Hashtable.put:723
    at com_codename1_impl_ios_IOSImplementation.createSoftWeakRef:2139
    at com_codename1_ui_Display.createSoftWeakRef:2842
    at com_codename1_io_CacheMap.put:126
    at com_codename1_io_CacheMap.get:175
    at com_codename1_io_Storage.readObject:226
    at com_uti_common_StateInfoUtil.getStringValue:220

Original comment by bchar...@go2uti.com on 16 Feb 2015 at 4:14

GoogleCodeExporter commented 8 years ago
That issue was fixed as well. Marking as fixed.

Original comment by shai.almog on 16 Mar 2015 at 6:10