[Pkg-mono-devel] System.Windows.Forms.WebBrowser error

Chris Capon ttabyss at gmail.com
Mon Jul 27 12:03:21 UTC 2009


On a Debian system with the mono-2.0 packages installed, my application 
fails at run time when trying to create a new instance of:

            this.webBrowser = new System.Windows.Forms.WebBrowser();

The mono project page says this class has been implemented:

            http://mono-project.com/WebBrowser

Have I missed installing something or perhaps some configuration option?

Thanks in advance,
Chris.

-----

Stacktrace:

  at (wrapper managed-to-native) 
Mono.Mozilla.Base.gluezilla_createBrowserWindow 
(intptr,intptr,int,int,string,string,Mono.WebBrowser.Platform) <0x00004>
  at (wrapper managed-to-native) 
Mono.Mozilla.Base.gluezilla_createBrowserWindow 
(intptr,intptr,int,int,string,string,Mono.WebBrowser.Platform) <0xffffffff>
  at Mono.Mozilla.Base.Bind (Mono.Mozilla.WebBrowser,intptr,int,int) 
<0x000f7>
  at Mono.Mozilla.WebBrowser.Load (intptr,int,int) <0x0001c>
  at System.Windows.Forms.WebBrowserBase..ctor () <0x0008f>
  at System.Windows.Forms.WebBrowser..ctor () <0x00014>
  at (wrapper remoting-invoke-with-check) 
System.Windows.Forms.WebBrowser..ctor () <0xffffffff>
  at TVListings.FormMain.InitializeComponent () [0x00063] in 
/home/cc/develop/TVListings/FormMain.Designer.cs:40
  at TVListings.FormMain..ctor () [0x0003b] in 
/home/cc/develop/TVListings/FormMain.cs:32
  at (wrapper remoting-invoke-with-check) TVListings.FormMain..ctor () 
<0xffffffff>
  at TVListings.Program.Main () [0x0000b] in 
/home/cc/develop/TVListings/Program.cs:17
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void 
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

    /usr/bin/mono [0x806cff9]
    /usr/bin/mono [0x8085b6b]
    [0xb7f1740c]
    /usr/lib/libgluezilla.so(gluezilla_createBrowserWindow+0x53) 
[0xb6296a43]
    [0xb62ef145]
    [0xb62edd90]
    [0xb62edc6d]
    [0xb6930728]
    [0xb6930605]
    [0xb69305ca]
    [0xb633631e]
    [0xb695d7bb]
    [0xb695d6fa]
    [0xb79d2246]
    [0xb79d21ae]
    /usr/bin/mono(mono_runtime_exec_main+0xe5) [0x80b0705]
    /usr/bin/mono(mono_runtime_run_main+0x16b) [0x80b0e7b]
    /usr/bin/mono(mono_main+0x16df) [0x805c7bf]
    /usr/bin/mono [0x805ab62]
    /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7ca3775]
    /usr/bin/mono [0x805aaa1]

Debug info from gdb:

(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb7c5b8f0 (LWP 23776)]
[New Thread 0xb60f6b90 (LWP 23925)]
[New Thread 0xb75cfb90 (LWP 23780)]
[New Thread 0xb7ef9b90 (LWP 23779)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xb7f17424 in __kernel_vsyscall ()
  4 Thread 0xb7ef9b90 (LWP 23779)  0xb7f17424 in __kernel_vsyscall ()
  3 Thread 0xb75cfb90 (LWP 23780)  0xb7f17424 in __kernel_vsyscall ()
  2 Thread 0xb60f6b90 (LWP 23925)  0xb7f17424 in __kernel_vsyscall ()
  1 Thread 0xb7c5b8f0 (LWP 23776)  0xb7f17424 in __kernel_vsyscall ()

Thread 4 (Thread 0xb7ef9b90 (LWP 23779)):
#0  0xb7f17424 in __kernel_vsyscall ()
#1  0xb7e217c6 in nanosleep () from /lib/i686/cmov/libpthread.so.0
#2  0x08152c48 in ?? ()
#3  0xb7ef9394 in ?? ()
#4  0x00000000 in ?? ()

Thread 3 (Thread 0xb75cfb90 (LWP 23780)):
#0  0xb7f17424 in __kernel_vsyscall ()
#1  0xb7e1dfb5 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/i686/cmov/libpthread.so.0
#2  0x0814afe7 in ?? ()
#3  0x09b2e22c in ?? ()
#4  0x09b2e214 in ?? ()
#5  0x00005ce4 in ?? ()
#6  0x00000000 in ?? ()

Thread 2 (Thread 0xb60f6b90 (LWP 23925)):
#0  0xb7f17424 in __kernel_vsyscall ()
#1  0xb7d65b17 in poll () from /lib/i686/cmov/libc.so.6
#2  0xb7e841bb in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb7e76c42 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x0a1ca320 in ?? ()
#5  0x00000002 in ?? ()
#6  0xffffffff in ?? ()
#7  0x0a1ca320 in ?? ()
#8  0x00000002 in ?? ()
#9  0x0a1c6128 in ?? ()
#10 0xb7eef558 in ?? () from /usr/lib/libglib-2.0.so.0
#11 0xb7eef580 in ?? () from /usr/lib/libglib-2.0.so.0
#12 0xb60f6294 in ?? ()
#13 0xb7eef558 in ?? () from /usr/lib/libglib-2.0.so.0
#14 0xb7eef580 in ?? () from /usr/lib/libglib-2.0.so.0
#15 0x09f6a0c4 in ?? ()
#16 0x00000001 in ?? ()
#17 0x09f6a0c0 in ?? ()
#18 0x0a1ca320 in ?? ()
#19 0xb7e84190 in ?? () from /usr/lib/libglib-2.0.so.0
#20 0xb7e1d370 in ?? () from /lib/i686/cmov/libpthread.so.0
#21 0xb7e1b890 in ?? () from /lib/i686/cmov/libpthread.so.0
#22 0x09f6a0c4 in ?? ()
#23 0x09f2e3a8 in ?? ()
#24 0xb60f62d0 in ?? ()
#25 0xffffffff in ?? ()
#26 0x7fffffff in ?? ()
#27 0xb7eef184 in ?? () from /usr/lib/libglib-2.0.so.0
#28 0x09eec288 in ?? ()
#29 0xb7e1b890 in ?? () from /lib/i686/cmov/libpthread.so.0
#30 0xb60f62e8 in ?? ()
#31 0xb7e7727a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
Backtrace stopped: frame did not save the PC

Thread 1 (Thread 0xb7c5b8f0 (LWP 23776)):
#0  0xb7f17424 in __kernel_vsyscall ()
#1  0xb7d6c117 in syscall () from /lib/i686/cmov/libc.so.6
#2  0x0806d086 in ?? ()
#3  0x00000002 in ?? ()
#4  0x081ce883 in ?? ()
#5  0x0a1d93d0 in ?? ()
#6  0xb7de9560 in ?? () from /lib/i686/cmov/libc.so.6
#7  0x00000000 in ?? ()
#0  0xb7f17424 in __kernel_vsyscall ()

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


The application was terminated by a signal: SIGABRT






More information about the Pkg-mono-devel mailing list