[Mono-osx] Strange Crash on WebView

Victor Hugo hey.zooi at gmail.com
Thu Apr 26 12:23:13 UTC 2012


Hi guys,

I'm working on an app that load a WebView and for some reason, when I try do scroll in the WebView my app (actually seems Mono) crash.
I'm using Mac OS X 10.7.3.
Any idea?
Here is my stacktrace...

User assembly '/Users/victor/Documents/OfficeDrop/git/odsync-winclient/ProgramUpgrader/bin/Debug/OfficeDrop.ProgramUpgrader.exe' is missing. Debugger will now debug all code, not just user code.
Loaded assembly: /Users/victor/Documents/OfficeDrop/git/odsync-winclient/ODWSyncApplication/OfficeDrop.Sync.Mac/bin/Debug/OfficeDrop.Sync.Mac.app/Contents/Resources/OfficeDrop.Sync.Mac.exe
Loaded assembly: /Users/victor/Documents/OfficeDrop/git/odsync-winclient/ODWSyncApplication/OfficeDrop.Sync.Mac/bin/Debug/OfficeDrop.Sync.Mac.app/Contents/Resources/MonoMac.dll
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll
Loaded assembly: ObjCImplementations
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll
Loaded assembly: /Users/victor/Documents/OfficeDrop/git/odsync-winclient/ODWSyncApplication/OfficeDrop.Sync.Mac/bin/Debug/OfficeDrop.Sync.Mac.app/Contents/Resources/OfficeDrop.Sync.Business.dll
Stacktrace:

 at (wrapper managed-to-native) MonoMac.AppKit.NSApplication.NSApplicationMain (int,string[]) <IL 0x0009d, 0xffffffff>
 at MonoMac.AppKit.NSApplication.Main (string[]) [0x00000] in /cvs/monomac/src/AppKit/NSApplication.cs:74
 at OfficeDrop.Sync.Mac.MainClass.Main (string[]) [0x00005] in /Users/victor/Documents/OfficeDrop/git/odsync-winclient/ODWSyncApplication/OfficeDrop.Sync.Mac/Main.cs:14
 at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <IL 0x00050, 0xffffffff>

Native stacktrace:

	0   OfficeDrop.Sync.Mac                 0x0009fdbf mono_handle_native_sigsegv + 287
	1   OfficeDrop.Sync.Mac                 0x00004f6e mono_sigsegv_signal_handler + 334
	2   libsystem_c.dylib                   0x9409959b _sigtramp + 43
	3   ???                                 0xffffffff 0x0 + 4294967295
	4   WebKit                              0x9a1f79c8 _Z14CallUIDelegateP7WebViewP13objc_selectorP11objc_objectj + 40
	5   WebKit                              0x9a1b0c14 -[WebView(WebPrivate) _mouseDidMoveOverElement:modifierFlags:] + 52
	6   WebKit                              0x9a1b0866 _ZN15WebChromeClient23mouseDidMoveOverElementERKN7WebCore13HitTestResultEj + 100
	7   WebCore                             0x9a6dae09 _ZN7WebCore6Chrome23mouseDidMoveOverElementERKNS_13HitTestResultEj + 135
	8   WebCore                             0x9acf862d _ZN7WebCore12EventHandler10mouseMovedERKNS_18PlatformMouseEventEb + 225
	9   WebCore                             0x9a6d6ff4 _ZN7WebCore12EventHandler10mouseMovedEP7NSEvent + 256
	10  WebKit                              0x9a1a7587 -[WebHTMLView(WebPrivate) _updateMouseoverWithEvent:] + 871
	11  WebKit                              0x9a1b0727 -[WebHTMLView mouseMovedNotification:] + 87
	12  Foundation                          0x91e90e25 __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 49
	13  CoreFoundation                      0x98746cb3 ___CFXNotificationPost_block_invoke_1 + 275
	14  CoreFoundation                      0x98711a38 _CFXNotificationPost + 2776
	15  Foundation                          0x91e7c012 -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
	16  AppKit                              0x948c0aee -[NSResponder _postEventNotification:] + 247
	17  AppKit                              0x948c0040 forwardMethod + 242
	18  AppKit                              0x948ef375 -[NSResponder mouseMoved:] + 23
	19  CoreFoundation                      0x9875bde1 -[NSObject performSelector:withObject:] + 65
	20  AppKit                              0x948bffdc forwardMethod + 142
	21  AppKit                              0x948ef375 -[NSResponder mouseMoved:] + 23
	22  CoreFoundation                      0x9875bde1 -[NSObject performSelector:withObject:] + 65
	23  AppKit                              0x948bffdc forwardMethod + 142
	24  AppKit                              0x948ef375 -[NSResponder mouseMoved:] + 23
	25  CoreFoundation                      0x9875bde1 -[NSObject performSelector:withObject:] + 65
	26  AppKit                              0x948bffdc forwardMethod + 142
	27  AppKit                              0x948ef375 -[NSResponder mouseMoved:] + 23
	28  CoreFoundation                      0x9875bde1 -[NSObject performSelector:withObject:] + 65
	29  AppKit                              0x948bffdc forwardMethod + 142
	30  AppKit                              0x948ef375 -[NSResponder mouseMoved:] + 23
	31  CoreFoundation                      0x9875bde1 -[NSObject performSelector:withObject:] + 65
	32  AppKit                              0x948bffdc forwardMethod + 142
	33  AppKit                              0x948ef375 -[NSResponder mouseMoved:] + 23
	34  CoreFoundation                      0x9875bde1 -[NSObject performSelector:withObject:] + 65
	35  AppKit                              0x948bffdc forwardMethod + 142
	36  AppKit                              0x948ef375 -[NSResponder mouseMoved:] + 23
	37  CoreFoundation                      0x9875bde1 -[NSObject performSelector:withObject:] + 65
	38  AppKit                              0x948bffdc forwardMethod + 142
	39  AppKit                              0x948ef375 -[NSResponder mouseMoved:] + 23
	40  AppKit                              0x948b9d23 -[NSWindow sendEvent:] + 7659
	41  AppKit                              0x94852787 -[NSApplication sendEvent:] + 6484
	42  AppKit                              0x947e36d5 -[NSApplication run] + 1007
	43  AppKit                              0x94a77261 NSApplicationMain + 1054
	44  ???                                 0x0300e3d6 0x0 + 50389974
	45  ???                                 0x0300e1d4 0x0 + 50389460
	46  ???                                 0x00558ff8 0x0 + 5607416
	47  ???                                 0x00559156 0x0 + 5607766
	48  OfficeDrop.Sync.Mac                 0x0000ecf4 mono_jit_runtime_invoke + 164
	49  OfficeDrop.Sync.Mac                 0x00184354 mono_runtime_invoke + 68
	50  OfficeDrop.Sync.Mac                 0x0018a41e mono_runtime_exec_main + 238
	51  OfficeDrop.Sync.Mac                 0x0007464d mono_main + 6797
	52  OfficeDrop.Sync.Mac                 0x00001fd6 start + 54
	53  ???                                 0x00000001 0x0 + 1

Debug info from gdb:

Attaching to process 1285.
Reading symbols for shared libraries . done
Reading symbols for shared libraries warning: Trying to remove a section from the ordered section list that did not exist at 0x2ea000.
.................................................................................................................................................................................................... done
0x90192fd5 in __wait4 ()
 11                                  0x9019302e in __workq_kernreturn ()
 10                                  0x9019302e in __workq_kernreturn ()
  9 "JavaScriptCore::BlockFree"      0x9019283e in __psynch_cvwait ()
  8 "com.apple.CFSocket.private"     0x90192b42 in select$DARWIN_EXTSN ()
  7 "com.apple.NSURLConnectionLoade" 0x90190c22 in mach_msg_trap ()
  6 "WebCore: LocalStorage"          0x9019283e in __psynch_cvwait ()
  5 "com.apple.libdispatch-manager"  0x9019390a in kevent ()
  4                                  0x90192a9a in recvfrom$UNIX2003 ()
  3                                  0x90190c5e in semaphore_wait_trap ()
  2                                  0x90190c22 in mach_msg_trap ()
*  1 "com.apple.main-thread"          0x90192fd5 in __wait4 ()

Thread 11 (process 1285):
#0  0x9019302e in __workq_kernreturn ()
#1  0x94043ccf in _pthread_wqthread ()
#2  0x940456fe in start_wqthread ()

Thread 10 (process 1285):
#0  0x9019302e in __workq_kernreturn ()
#1  0x94043ccf in _pthread_wqthread ()
#2  0x940456fe in start_wqthread ()

Thread 9 (process 1285):
#0  0x9019283e in __psynch_cvwait ()
#1  0x94045e21 in _pthread_cond_wait ()
#2  0x93ff63e0 in pthread_cond_timedwait$UNIX2003 ()
#3  0x984829dc in WTF::ThreadCondition::timedWait ()

Thread 8 (process 1285):
#0  0x90192b42 in select$DARWIN_EXTSN ()
#1  0x9874aee5 in __CFSocketManager ()
#2  0x94041ed9 in _pthread_start ()
#3  0x940456de in thread_start ()

Thread 7 (process 1285):
#0  0x90190c22 in mach_msg_trap ()
#1  0x901901f6 in mach_msg ()
#2  0x986f3c7a in __CFRunLoopServiceMachPort ()
#3  0x986fcda4 in __CFRunLoopRun ()
#4  0x986fc47c in CFRunLoopRunSpecific ()
#5  0x986fc328 in CFRunLoopRunInMode ()
#6  0x91ee50f8 in +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] ()
#7  0x91ed8e59 in -[NSThread main] ()
#8  0x91ed8e09 in __NSThread__main__ ()
#9  0x94041ed9 in _pthread_start ()
#10 0x940456de in thread_start ()

Thread 6 (process 1285):
#0  0x9019283e in __psynch_cvwait ()
#1  0x94045e21 in _pthread_cond_wait ()
#2  0x93ff642c in pthread_cond_wait$UNIX2003 ()
#3  0x98482991 in WTF::ThreadCondition::timedWait ()
#4  0x9a519084 in WebCore::LocalStorageThread::threadEntryPoint ()
#5  0x9a518fe1 in WebCore::LocalStorageThread::threadEntryPointCallback ()
#6  0x94041ed9 in _pthread_start ()
#7  0x940456de in thread_start ()

Thread 5 (process 1285):
#0  0x9019390a in kevent ()
#1  0x982fac58 in _dispatch_mgr_invoke ()
#2  0x982f96a7 in _dispatch_mgr_thread ()

Thread 4 (process 1285):
#0  0x90192a9a in recvfrom$UNIX2003 ()
#1  0x93ff64a2 in recv$UNIX2003 ()
#2  0x000c60d4 in recv_length (fd=3, buf=0xb0284ee1, len=11, flags=0) at debugger-agent.c:997
#3  0x000c7b4d in debugger_thread (arg=0x0) at debugger-agent.c:7156
#4  0x001efa8a in thread_start_routine (args=0x11a492c) at wthreads.c:287
#5  0x002171d4 in GC_start_routine (arg=0x504f60) at pthread_support.c:1468
#6  0x94041ed9 in _pthread_start ()
#7  0x940456de in thread_start ()

Thread 3 (process 1285):
#0  0x90190c5e in semaphore_wait_trap ()
#1  0x001f7eba in mono_sem_wait (sem=0x2c7df0, alertable=1) at mono-semaphore.c:115
#2  0x0012a142 in finalizer_thread (unused=0x0) at gc.c:1066
#3  0x001bd8ec in start_wrapper (data=0x662620) at threads.c:784
#4  0x001efa8a in thread_start_routine (args=0x11a4834) at wthreads.c:287
#5  0x002171d4 in GC_start_routine (arg=0x504f60) at pthread_support.c:1468
#6  0x94041ed9 in _pthread_start ()
#7  0x940456de in thread_start ()

Thread 2 (process 1285):
#0  0x90190c22 in mach_msg_trap ()
#1  0x901901f6 in mach_msg ()
#2  0x000ee0da in mach_exception_thread (arg=0x0) at mini-darwin.c:129
#3  0x002171d4 in GC_start_routine (arg=0x504f60) at pthread_support.c:1468
#4  0x94041ed9 in _pthread_start ()
#5  0x940456de in thread_start ()

Thread 1 (process 1285):
#0  0x90192fd5 in __wait4 ()
#1  0x93ff64ec in waitpid$UNIX2003 ()
#2  0x0009fe9b in mono_handle_native_sigsegv (signal=11, ctx=0xbfffe3e4) at mini-exceptions.c:2192
#3  0x00004f6e in mono_sigsegv_signal_handler (_dummy=10, info=0xbfffe3a4, context=0xbfffe3e4) at mini.c:5917
#4  <signal handler called>
#5  0x91bb4d4b in objc_msgSend ()
#6  0x02dd8580 in ?? ()
#7  0x9a1f79c8 in CallUIDelegate ()
#8  0x9a1b0c14 in -[WebView(WebPrivate) _mouseDidMoveOverElement:modifierFlags:] ()
#9  0x9a1b0866 in WebChromeClient::mouseDidMoveOverElement ()
#10 0x9a6dae09 in WebCore::Chrome::mouseDidMoveOverElement ()
#11 0x9acf862d in WebCore::EventHandler::mouseMoved ()
#12 0x9a6d6ff4 in WebCore::EventHandler::mouseMoved ()
#13 0x9a1a7587 in -[WebHTMLView(WebPrivate) _updateMouseoverWithEvent:] ()
#14 0x9a1b0727 in -[WebHTMLView mouseMovedNotification:] ()
#15 0x91e90e25 in __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 ()
#16 0x98746cb3 in ___CFXNotificationPost_block_invoke_1 ()
#17 0x98711a38 in _CFXNotificationPost ()
#18 0x91e7c012 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
#19 0x948c0aee in -[NSResponder _postEventNotification:] ()
#20 0x948c0040 in forwardMethod ()
#21 0x948ef375 in -[NSResponder mouseMoved:] ()
#22 0x9875bde1 in -[NSObject performSelector:withObject:] ()
#23 0x948bffdc in forwardMethod ()
#24 0x948ef375 in -[NSResponder mouseMoved:] ()
#25 0x9875bde1 in -[NSObject performSelector:withObject:] ()
#26 0x948bffdc in forwardMethod ()
#27 0x948ef375 in -[NSResponder mouseMoved:] ()
#28 0x9875bde1 in -[NSObject performSelector:withObject:] ()
#29 0x948bffdc in forwardMethod ()
#30 0x948ef375 in -[NSResponder mouseMoved:] ()
#31 0x9875bde1 in -[NSObject performSelector:withObject:] ()
#32 0x948bffdc in forwardMethod ()
#33 0x948ef375 in -[NSResponder mouseMoved:] ()
#34 0x9875bde1 in -[NSObject performSelector:withObject:] ()
#35 0x948bffdc in forwardMethod ()
#36 0x948ef375 in -[NSResponder mouseMoved:] ()
#37 0x9875bde1 in -[NSObject performSelector:withObject:] ()
#38 0x948bffdc in forwardMethod ()
#39 0x948ef375 in -[NSResponder mouseMoved:] ()
#40 0x9875bde1 in -[NSObject performSelector:withObject:] ()
#41 0x948bffdc in forwardMethod ()
#42 0x948ef375 in -[NSResponder mouseMoved:] ()
#43 0x948b9d23 in -[NSWindow sendEvent:] ()
#44 0x94852787 in -[NSApplication sendEvent:] ()
#45 0x947e36d5 in -[NSApplication run] ()
#46 0x94a77261 in NSApplicationMain ()
#47 0x0300e3d6 in ?? ()
#48 0x0300e1d4 in ?? ()
#49 0x00558ff8 in ?? ()
#50 0x00559156 in ?? ()
#51 0x0000ecf4 in mono_jit_runtime_invoke (method=0x117481c, obj=0x0, params=0xbffff2dc, exc=0x0) at mini.c:5791
#52 0x00184354 in mono_runtime_invoke (method=0x117481c, obj=0x0, params=0xbffff2dc, exc=0x0) at object.c:2755
#53 0x0018a41e in mono_runtime_exec_main (method=0x117481c, args=0x50dd70, exc=0x0) at object.c:3938
#54 0x0007464d in mono_main (argc=4, argv=0x44f0f0) at driver.c:1003
#55 0x00001fd6 in start ()

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




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-osx/attachments/20120426/ddde3456/attachment-0001.html>


More information about the Mono-osx mailing list