[Mono-bugs] [Bug 537257] New: SIGSEGV when linking with -linksdkonly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Sep 7 19:36:58 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=537257


           Summary: SIGSEGV when linking with -linksdkonly
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Blocker
          Priority: P5 - None
         Component: Runtime
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: fak at kruegersystems.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=317102)
 --> (http://bugzilla.novell.com/attachment.cgi?id=317102)
Project File

Description of Problem:


Steps to reproduce the problem:
1.  Compile the attached project in MD (has -linksdkonly in iPhone Build
options)
2. Run


Actual Results:

Stacktrace:


Native stacktrace:

    0   Db                                  0x000928ea
mono_handle_native_sigsegv + 266
    1   Db                                  0x000065fa
mono_sigsegv_signal_handler + 298
    2   libSystem.B.dylib                   0x900702bb _sigtramp + 43
    3   ???                                 0xffffffff 0x0 + 4294967295

Debug info from gdb:

warning: Trying to remove a section from the ordered section list that did not
exist at 0x2d2000.
warning: Could not find object file
"/var/folders/C7/C7HobBM7HAiDv0Unwiqeqk+++TI/-Tmp-/tmp3ac28364.tmp/main.o" - no
debug information available for
"/var/folders/C7/C7HobBM7HAiDv0Unwiqeqk+++TI/-Tmp-/tmp3ac28364.tmp/main.m".

Symbol file /Users/fak/Library/Application Support/iPhone
Simulator/User/Applications/6418D99A-B368-4F14-B322-06D3EB6E9585/Db.app/mscorlib.dll.mdb
doesn't match image /Users/fak/Library/Application Support/iPhone
Simulator/User/Applications/6418D99A-B368-4F14-B322-06D3EB6E9585/Db.app/mscorlib.dllMissing
method
System.Collections.Generic.Dictionary<System.IntPtr,System.WeakReference>::.ctor()
in assembly /Users/fak/Library/Application Support/iPhone
Simulator/User/Applications/6418D99A-B368-4F14-B322-06D3EB6E9585/Db.app/mscorlib.dll,
referenced in assembly /Users/fak/Library/Application Support/iPhone
Simulator/User/Applications/6418D99A-B368-4F14-B322-06D3EB6E9585/Db.app/monotouch.dllAttaching
to process 5554.
Reading symbols for shared libraries . done
Reading symbols for shared libraries
.......................................................... done
0x90027f95 in read$UNIX2003 ()
  4 process 5554 thread 0x2603  0x900042c2 in semaphore_wait_trap ()
  3 process 5554 thread 0x2203  0x9000b46e in __semwait_signal ()
  2 process 5554 thread 0x1103  0x90004286 in mach_msg_trap ()
* 1 process 5554 thread 0x20b  0x90027f95 in read$UNIX2003 ()

Thread 4 (process 5554 thread 0x2603):
#0  0x900042c2 in semaphore_wait_trap ()
#1  0x000fdf70 in finalizer_thread (unused=0x0) at
./../../../mono/metadata/gc.c:1014
#2  0x0018ef96 in start_wrapper (data=0x14150b0) at
./../../../mono/metadata/threads.c:657
#3  0x001c34f6 in thread_start_routine (args=0x769434) at
./../../../mono/io-layer/wthreads.c:286
#4  0x001eda9c in GC_start_routine (arg=0xf0cf60) at
./../../libgc/pthread_support.c:1390
#5  0x90035155 in _pthread_start ()
#6  0x90035012 in thread_start ()

Thread 3 (process 5554 thread 0x2203):
#0  0x9000b46e in __semwait_signal ()
#1  0x9000b2ef in nanosleep$UNIX2003 ()
#2  0x001a5860 in collection_thread (unused=0x0) at
./../../../mono/io-layer/collection.c:34
#3  0x90035155 in _pthread_start ()
#4  0x90035012 in thread_start ()

Thread 2 (process 5554 thread 0x1103):
#0  0x90004286 in mach_msg_trap ()
#1  0x9000ba7c in mach_msg ()
#2  0x000c5fba in mach_exception_thread (arg=0x0) at
./../../../mono/mini/mini-darwin.c:131
#3  0x001eda9c in GC_start_routine (arg=0xf0cf60) at
./../../libgc/pthread_support.c:1390
#4  0x90035155 in _pthread_start ()
#5  0x90035012 in thread_start ()

Thread 1 (process 5554 thread 0x20b):
#0  0x90027f95 in read$UNIX2003 ()
#1  0x00092a2a in mono_handle_native_sigsegv (signal=11, ctx=0xbfffedf4) at
./../../../mono/mini/mini-exceptions.c:1560
#2  0x000065fa in mono_sigsegv_signal_handler (_dummy=11, info=0xbfffedb4,
context=0xbfffedf4) at ../../../../mono/mini/mini.c:4570
#3  <signal handler called>
#4  0x8fe18c02 in __dyld_misaligned_stack_error ()

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================




Expected Results:


How often does this happen? 

Always


Additional Information:

-- 
Configure bugmail: http://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