[Mono-dev] Webbrowser in mono hangs

Roberto Bufadel jjzd2w at gmail.com
Thu Jul 12 03:31:37 UTC 2012


   
Im triying to crear a litle aplication to suse  a object 
system.windows.forms.webbrowser  , the Thing is  while i'm debug a method 
Navegate(Uri url) this process  have a exit  and the debugin is a lot extrange 
well Please !! Help me!!
the code in the aplication is 
http://www.java2s.com/Tutorial/CSharp/0460__GUI-Windows-
Forms/AsimpleBrowser.htm

Dump 
Loaded assembly: 
/home/rbs/Projects/DemoNetMono/DestopAplicationWinforms/bin/Debug/DestopAplicationWinforms.exe
Loaded assembly: 
/usr/lib/mono/gac/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll 
[External]
Loaded assembly: /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll 
[External]
Loaded assembly: 
/usr/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll 
[External]
Loaded assembly: 
/usr/lib/mono/gac/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll 
[External]
Resolved pending breakpoint at 
'/home/rbs/Projects/DemoNetMono/DestopAplicationWinforms/windowsForm.cs:15' to 
Void WebBrowserDemo:Main () [0x00005].
Loaded assembly: 
/usr/lib/mono/gac/Mono.Posix/2.0.0.0__0738eb9f132ed756/Mono.Posix.dll 
[External]
Loaded assembly: 
/usr/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll 
[External]
Loaded assembly: 
/usr/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll 
[External]
Loaded assembly: 
/usr/lib/mono/gac/Mono.WebBrowser/2.0.0.0__0738eb9f132ed756/Mono.WebBrowser.dll 
[External]

Native stacktrace:

        /usr/bin/mono() [0x80e1dfc]
        /usr/bin/mono() [0x8060114]
        [0xb77ff40c]
        /usr/lib/libgluezilla.so(_ZN13BrowserWindow13SetDimensionsEjiiii+0x7b) 
[0xb6010ccb]
        /usr/lib/libgluezilla.so(_ZN6Widget6ResizeEjj+0x4e) [0xb601379e]
        /usr/lib/libgluezilla.so(_ZN6Widget6ResizeEP6Params+0x2e) [0xb601726e]
        /usr/lib/libgluezilla.so(+0xdf03) [0xb6013f03]
        /lib/libglib-2.0.so.0() [0x43c985d1]
        /lib/libglib-2.0.so.0(g_main_context_dispatch+0x1df) [0x43c9c5bf]
        /lib/libglib-2.0.so.0() [0x43c9cd30]
        /lib/libglib-2.0.so.0(g_main_loop_run+0x187) [0x43c9d457]
        /usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xaf) [0x4368b8df]
        /usr/lib/libgluezilla.so(_Z11gtk_startupPv+0x52) [0xb6015ec2]
        /lib/libglib-2.0.so.0() [0x43cc4535]
        /lib/libpthread.so.0() [0x43bb6a2e]
        /lib/libc.so.6(clone+0x5e) [0x43af581e]

Debug info from gdb:

Mono support loaded.
[Thread debugging using libthread_db enabled]
[New Thread 0xb6005b70 (LWP 2765)]
[New Thread 0xb6fbeb70 (LWP 2760)]
[New Thread 0xb70bfb70 (LWP 2759)]
0xb77ff424 in __kernel_vsyscall ()
  Id   Target Id         Frame 
  4    Thread 0xb70bfb70 (LWP 2759) "mono" 0xb77ff424 in __kernel_vsyscall ()
  3    Thread 0xb6fbeb70 (LWP 2760) "mono" 0xb77ff424 in __kernel_vsyscall ()
  2    Thread 0xb6005b70 (LWP 2765) "mono" 0xb77ff424 in __kernel_vsyscall ()
* 1    Thread 0xb77db8f0 (LWP 2757) "mono" 0xb77ff424 in __kernel_vsyscall ()

Thread 4 (Thread 0xb70bfb70 (LWP 2759)):
#0  0xb77ff424 in __kernel_vsyscall ()
#1  0x43bbc475 in sem_wait@@GLIBC_2.1 () from /lib/libpthread.so.0
#2  0x0820e828 in mono_sem_wait ()
#3  0x08151fed in ?? ()
#4  0x081db90e in ?? ()
#5  0x08208cf2 in ?? ()
#6  0x0822a21d in ?? ()
#7  0x43bb6a2e in start_thread () from /lib/libpthread.so.0
#8  0x43af581e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb6fbeb70 (LWP 2760)):
#0  0xb77ff424 in __kernel_vsyscall ()
#1  0x43bbd3d8 in recv () from /lib/libpthread.so.0
#2  0x0810029a in ?? ()
#3  0x0810403e in ?? ()
#4  0x08208cf2 in ?? ()
#5  0x0822a21d in ?? ()
#6  0x43bb6a2e in start_thread () from /lib/libpthread.so.0
#7  0x43af581e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb6005b70 (LWP 2765)):
#0  0xb77ff424 in __kernel_vsyscall ()
#1  0x43bbd0cb in read () from /lib/libpthread.so.0
#2  0x080e1fdf in ?? ()
#3  0x08060114 in ?? ()
#4  <signal handler called>
#5  0xb6010ccb in BrowserWindow::SetDimensions(unsigned int, int, int, int, 
int) () from /usr/lib/libgluezilla.so
#6  0xb601379e in Widget::Resize(unsigned int, unsigned int) () from 
/usr/lib/libgluezilla.so
#7  0xb601726e in Widget::Resize(Params*) () from /usr/lib/libgluezilla.so
#8  0xb6013f03 in ?? () from /usr/lib/libgluezilla.so
#9  0x43c985d1 in ?? () from /lib/libglib-2.0.so.0
#10 0x43c9c5bf in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#11 0x43c9cd30 in ?? () from /lib/libglib-2.0.so.0
#12 0x43c9d457 in g_main_loop_run () from /lib/libglib-2.0.so.0
#13 0x4368b8df in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#14 0xb6015ec2 in gtk_startup(void*) () from /usr/lib/libgluezilla.so
#15 0x43cc4535 in ?? () from /lib/libglib-2.0.so.0
#16 0x43bb6a2e in start_thread () from /lib/libpthread.so.0
#17 0x43af581e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb77db8f0 (LWP 2757)):
#0  0xb77ff424 in __kernel_vsyscall ()
#1  0x43bba14c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x43c6fb70 in ?? () from /lib/libglib-2.0.so.0
#3  0x43c7028f in g_async_queue_pop () from /lib/libglib-2.0.so.0
#4  0xb60140aa in Widget::BeginInvoke(Params*, int) () from 
/usr/lib/libgluezilla.so
#5  0xb601415c in Widget::BeginInvoke(Params*) () from 
/usr/lib/libgluezilla.so
#6  0xb60161bf in gluezilla_resize () from /usr/lib/libgluezilla.so
#7  0xb5716b9e in ?? ()
#8  0xb5716af8 in ?? ()
#9  0xb57167b4 in ?? ()
#10 0xb57165cc in ?? ()
#11 0xb5716515 in ?? ()
#12 0xb5716488 in ?? ()
#13 0xb571640c in ?? ()
#14 0xb6c915c8 in ?? ()
#15 0xb6ce6938 in ?? ()
#16 0xb6ce68c8 in ?? ()
#17 0xb70de1b8 in ?? ()
#18 0xb70de321 in ?? ()
#19 0x08064d5f in ?? ()
#20 0x081a5e70 in mono_runtime_invoke ()
#21 0x081a8c67 in mono_runtime_exec_main ()
#22 0x080bb552 in mono_main ()
#23 0x08059a5f in ?? ()
#24 0x43a343f3 in __libc_start_main () from /lib/libc.so.6
#25 0x08059b25 in ?? ()
Backtrace stopped: Not enough registers or memory available to unwind further

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



More information about the Mono-devel-list mailing list