[Mono-bugs] [Bug 680201] New: signal 11: Segmentation fault when running on an iPhone with release build

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Mar 16 12:05:20 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=680201

https://bugzilla.novell.com/show_bug.cgi?id=680201#c0


           Summary: signal 11: Segmentation fault when running on an
                    iPhone with release build
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Runtime
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: clementj at exactmodus.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: DeveloperNet
           Blocker: Yes


Created an attachment (id=419718)
 --> (http://bugzilla.novell.com/attachment.cgi?id=419718)
Repro

Description of Problem:
When running the attached project on an iPhone with a release build a get a
"signal 11: Segmentation fault". When running the same project with a debug
build it works fine.

One important thing to note is that I use a custom native component. The
compiler flags are  -gcc_flags "-force_load
${ProjectDir}/lib/libOfflineMaps_iOS.a -lsqlite3 -framework CoreGraphics
-framework QuartzCore -framework CoreLocation -ObjC" 

libOfflineMaps_iOS.a is build for the device in release mode (Standard
architecture, iOS4.2). 
OfflineMapBinding.dll is the binding produce with btouch.

I also use a custom assembly (helper classes). The assembly is build in
iphone/release with MonoTouch 3.2.4. (the file name is
ExactModusCoreMTouch.dll)

Output trace:
(UIKitApplication:com.exactmodus.apptesting[0x1a2]) Job appears to have
crashed: Segmentation fault
(UIKitApplication:com.exactmodus.apptesting[0x1a2]) Throttling respawn: Will
start in 2147483646 seconds
Application 'MonoTouchOfflineMaps' exited abnormally with signal 11:
Segmentation fault

Steps to reproduce the problem:
1. Build and run the attached project on a device with a release build

How often does this happen?  
Always

Additional info:

What I use:
iPhone Hardware Model: iPhone2,1 
iPhone OS Version: iPhone OS 4.1 (8B117)
MonoTouch 3.2.4
Apple SDK 4.2

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list