[Mono-bugs] [Bug 572120] New: Unrecoverable errors in MonoTouch.Dialog Sample

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jan 19 23:26:10 EST 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=572120#c0


           Summary: Unrecoverable errors in MonoTouch.Dialog Sample
    Classification: Mono
           Product: MonoTouch
           Version: SVN
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: gnorton at novell.com
        ReportedBy: martinbowling at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-us)
AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10

I was running the MonoTouch.Dialog Sample and selected the Elements sample
which mimics the iPhone Settings UI, I selected About, saw monotouch.net load,
then selected General and got the following errors

23:14 - 23:14:01
23:14 - 23:14:01
23:14 - 23:14:01
23:14 - 23:14:01
04:14 - 04:14:14
04:14 - 04:14:14
04:14 - 04:14:14
2010-01-19 23:14:38.061 Sample[933:2803] bool _WebTryThreadLock(bool),
0x5154380: Tried to obtain the web lock from a thread other than the main
thread or the web thread. This may be a result of calling to UIKit from a
secondary thread. Crashing now...
Stacktrace:

  at (wrapper managed-to-native)
MonoTouch.ObjCRuntime.Messaging.void_objc_msgSend (intptr,intptr) <0x00004>
  at (wrapper managed-to-native)
MonoTouch.ObjCRuntime.Messaging.void_objc_msgSend (intptr,intptr) <0x00004>
  at MonoTouch.Foundation.NSObject.Release () <0x0001b>
  at MonoTouch.Foundation.NSObject.Dispose (bool) <0x00036>
  at MonoTouch.Foundation.NSObject.Finalize () <0x00016>
  at (wrapper runtime-invoke) object.runtime_invoke_virtual_void__this__
(object,intptr,intptr,intptr) <0x00046>

Native stacktrace:

    0   Sample                              0x000bbed5
mono_handle_native_sigsegv + 367
    1   Sample                              0x0000dc41
mono_sigsegv_signal_handler + 276
    2   libSystem.B.dylib                   0x9608f9bb _sigtramp + 43
    3   ???                                 0xffffffff 0x0 + 4294967295
    4   WebCore                             0x034f60be _ZL18_WebThreadAutoLockv
+ 78
    5   UIKit                               0x011e57b2 -[UIWebView dealloc] +
120
    6   UIKit                               0x0109cd5b -[UIView dealloc] + 325
    7   ???                                 0x050ec562 0x0 + 84854114
    8   ???                                 0x06ef3254 0x0 + 116339284
    9   ???                                 0x06ef31f7 0x0 + 116339191
    10  ???                                 0x050eebb7 0x0 + 84863927
    11  ???                                 0x050eeb37 0x0 + 84863799
    12  Sample                              0x0014f0c7 mono_gc_run_finalize +
933
    13  Sample                              0x00262c7d GC_invoke_finalizers +
141
    14  Sample                              0x0011fe32
mono_gc_invoke_finalizers + 20
    15  Sample                              0x00150fea finalizer_thread + 591
    16  Sample                              0x001f8d53 start_wrapper + 608
    17  Sample                              0x0023bdfc thread_start_routine +
207
    18  Sample                              0x0026c0c3 GC_start_routine + 107
    19  libSystem.B.dylib                   0x96056fbd _pthread_start + 345
    20  libSystem.B.dylib                   0x96056e42 thread_start + 34

Debug info from gdb:

warning: Trying to remove a section from the ordered section list that did not
exist at 0x35a000.
warning: Could not find object file
"/var/folders/cd/cdyKn6ijHIiFm+Of-k3d2++++TI/-Tmp-/tmp6980c3d4.tmp/main.o" - no
debug information available for
"/var/folders/cd/cdyKn6ijHIiFm+Of-k3d2++++TI/-Tmp-/tmp6980c3d4.tmp/main.m".

Attaching to process 933.
Reading symbols for shared libraries . done
Reading symbols for shared libraries
........................................................................................
done
0x960298da in mach_msg_trap ()
  8 port# 0x6207 0x96057806 in __semwait_signal ()
  7 port# 0x6307 0x96048856 in select$DARWIN_EXTSN ()
  6 port# 0x5b33 0x960298da in mach_msg_trap ()
  5 port# 0x3a03 0x960298da in mach_msg_trap ()
  4 port# 0x2803 0x96034bfe in read$UNIX2003 ()
  3 port# 0x2403 0x96057806 in __semwait_signal ()
  2 port# 0x2303 0x960298da in mach_msg_trap ()
* 1 port# 0x207  0x960298da in mach_msg_trap ()

Thread 8 (process 933):
#0  0x96057806 in __semwait_signal ()
#1  0x960574c2 in _pthread_cond_wait ()
#2  0x96059158 in pthread_cond_wait$UNIX2003 ()
#3  0x03a074c0 in WebCore::LocalStorageThread::localStorageThread ()
#4  0x96056fbd in _pthread_start ()
#5  0x96056e42 in thread_start ()

Thread 7 (process 933):
#0  0x96048856 in select$DARWIN_EXTSN ()
#1  0x005d265e in __CFSocketManager ()
#2  0x96056fbd in _pthread_start ()
#3  0x96056e42 in thread_start ()

Thread 6 (process 933):
#0  0x960298da in mach_msg_trap ()
#1  0x9602a047 in mach_msg ()
#2  0x00598382 in CFRunLoopRunSpecific ()
#3  0x00597c48 in CFRunLoopRunInMode ()
#4  0x0079980e in +[NSURLConnection(NSURLConnectionReallyInternal)
_resourceLoadLoop:] ()
#5  0x00743f7d in -[NSThread main] ()
#6  0x00743b18 in __NSThread__main__ ()
#7  0x96056fbd in _pthread_start ()
#8  0x96056e42 in thread_start ()

Thread 5 (process 933):
#0  0x960298da in mach_msg_trap ()
#1  0x9602a047 in mach_msg ()
#2  0x00598382 in CFRunLoopRunSpecific ()
#3  0x00597c48 in CFRunLoopRunInMode ()
#4  0x034f5803 in RunWebThread ()
#5  0x96056fbd in _pthread_start ()
#6  0x96056e42 in thread_start ()

Thread 4 (process 933):
#0  0x96034bfe in read$UNIX2003 ()
#1  0x000bc0d0 in mono_handle_native_sigsegv (signal=11, ctx=0xb0186b00) at
./../../../mono/mini/mini-exceptions.c:1817
#2  0x0000dc41 in mono_sigsegv_signal_handler (_dummy=11, info=0xb0186ac0,
context=0xb0186b00) at ../../../../mono/mini/mini.c:4823
#3  <signal handler called>
#4  0x034f596e in _WebTryThreadLock ()
#5  0x034f60be in _WebThreadAutoLock ()
#6  0x011e57b2 in -[UIWebView dealloc] ()
#7  0x0109cd5b in -[UIView dealloc] ()
#8  0x050ec562 in ?? ()
#9  0x06ef3254 in ?? ()
#10 0x06ef31f7 in ?? ()
#11 0x050eebb7 in ?? ()
#12 0x050eeb37 in ?? ()
#13 0x0014f0c7 in mono_gc_run_finalize (obj=0x9a3aaf8, data=0x0) at
./../../../mono/metadata/gc.c:218
#14 0x00262c7d in GC_invoke_finalizers () at ../../../libgc/finalize.c:787
#15 0x0011fe32 in mono_gc_invoke_finalizers () at
./../../../mono/metadata/boehm-gc.c:417
#16 0x00150fea in finalizer_thread (unused=0x0) at
./../../../mono/metadata/gc.c:1052
#17 0x001f8d53 in start_wrapper (data=0x5119c80) at
./../../../mono/metadata/threads.c:662
#18 0x0023bdfc in thread_start_routine (args=0x5823834) at
./../../../mono/io-layer/wthreads.c:286
#19 0x0026c0c3 in GC_start_routine (arg=0x56cbf60) at
./../../libgc/pthread_support.c:1390
#20 0x96056fbd in _pthread_start ()
#21 0x96056e42 in thread_start ()

Thread 3 (process 933):
#0  0x96057806 in __semwait_signal ()
#1  0x96083441 in nanosleep$UNIX2003 ()
#2  0x0021c734 in collection_thread (unused=0x0) at
./../../../mono/io-layer/collection.c:34
#3  0x96056fbd in _pthread_start ()
#4  0x96056e42 in thread_start ()

Thread 2 (process 933):
#0  0x960298da in mach_msg_trap ()
#1  0x9602a047 in mach_msg ()
#2  0x001121c2 in mach_exception_thread (arg=0x0) at
./../../../mono/mini/mini-darwin.c:138
#3  0x96056fbd in _pthread_start ()
#4  0x96056e42 in thread_start ()

Thread 1 (process 933):
#0  0x960298da in mach_msg_trap ()
#1  0x9602a047 in mach_msg ()
#2  0x00598382 in CFRunLoopRunSpecific ()
#3  0x00597c48 in CFRunLoopRunInMode ()
#4  0x032b778d in GSEventRunModal ()
#5  0x032b7852 in GSEventRun ()
#6  0x0107e003 in UIApplicationMain ()
#7  0x050eaab1 in ?? ()
#8  0x050ea9ea in ?? ()
#9  0x050ea24d in ?? ()
#10 0x050ea189 in ?? ()
#11 0x050ea1e4 in ?? ()
#12 0x0000da2a in mono_jit_runtime_invoke (method=0x70290d4, obj=0x0,
params=0xbfffefa8, exc=0x0) at ../../../../mono/mini/mini.c:4717
#13 0x001be6b9 in mono_runtime_invoke (method=0x70290d4, obj=0x0,
params=0xbfffefa8, exc=0x0) at ../../../../mono/metadata/object.c:2606
#14 0x001c0350 in mono_runtime_exec_main (method=0x70290d4, args=0x6da8880,
exc=0x0) at ../../../../mono/metadata/object.c:3548
#15 0x001bfc11 in mono_runtime_run_main (method=0x70290d4, argc=0,
argv=0xbffff150, exc=0x0) at ../../../../mono/metadata/object.c:3322
#16 0x00091d4f in mono_jit_exec (domain=0x50d1e58, assembly=0x5325040, argc=1,
argv=0xbffff14c) at ../../../../mono/mini/driver.c:1094
#17 0x00273d76 in main ()

=================================================================
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.
=================================================================

04:14 - 04:14:14
Error connecting stdout and stderr (127.0.0.1:10001)

Reproducible: Couldn't Reproduce

Steps to Reproduce:
1.
2.
3.

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


More information about the mono-bugs mailing list