[Mono-list] Problem with gecko-sharp and sample applications

Marcin Zajączkowski mszpak at wp.pl
Fri Jul 6 07:22:51 EDT 2007


On 2007-07-03 13:18, Marcin Zajączkowski wrote:
> Hi,
> 
> 
> I'm unable to run sample applications for gecko-sharp. It gets SIGSEGV 
> (stack trace below - if it needed I probably could add some debug 
> symbols for it).

Guys, I don't believe that anyone didn't use it. If someone, please let
me know which version (and taken from) of libgtkembedmoz.so you used.
I tried also with .so compiled from source tarball 
(seamonkey-1.1.2.source.tar.bz2), but with the same effect (SIGSEGV).

Btw, if there is more suitable mailing list related to gecko-sharp 
please let me know.


Regards
Marcin


> I tried with gecko-sharp-2.0-0.11 (installed on my system from RPM - 
> Fedora Core 6) and sample applications from gecko-sharp-2.0-0.11 
> tarball. I modified compilation command to have:
> 
> [marcinz at bolger sample]$ /usr/bin/mcs -unsafe 
> -lib:/usr/lib/firefox-1.5.0.12/ 
> -r:/usr/lib/mono/gecko-sharp-2.0/gecko-sharp.dll -lib:/usr/lib 
> -pkg:gtk-sharp-2.0 -out:WebThumbnailer.exe ./WebThumbnailer.cs
> 
> libgtkembedmoz.so was taken from firefox-1.5.0.12 (and from 
> thunderbird-1.5.0.12) (also from RPM). I seems to be linked with gtk2:
> 
> [marcinz at bolger gecko-sharp-2.0-0.11]$ ldd 
> /usr/lib/firefox-1.5.0.12/libgtkembedmoz.so | grep gtk
>         libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x06b19000)
> 
> I tried also with that lib taken from esc (Enterprise Security Client) 
> which didn't get SIGSEGV, but I only saw white window.
> 
> 
> Could it be problem with libgtkemedmoz.so? I so, where can I download 
> its "working" version?
> 
> 
> Thanks for help
> Marcin
> 
> 
> <STACKTRACE>
> [marcinz at bolger sample]$ LD_LIBRARY_PATH=/usr/lib/firefox-1.5.0.12/ mono 
> WebThumbnailer.exe http://www.google.pl/
> 
> =================================================================
> 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.
> =================================================================
> 
> Stacktrace:
> 
>   at (wrapper managed-to-native) Gtk.Widget.gtk_widget_show_all (intptr) 
> <0x00004>
>   at (wrapper managed-to-native) Gtk.Widget.gtk_widget_show_all (intptr) 
> <0xffffffff>
>   at Gtk.Widget.ShowAll () <0x0001a>
>   at X.Main (string[]) <0x002ad>
>   at (wrapper runtime-invoke) System.Object.runtime_invoke_void_string[] 
> (object,intptr,intptr,intptr) <0xffffffff>
> 
> Native stacktrace:
> 
>         mono(mono_handle_native_sigsegv+0xe6) [0x814f9b6]
>         mono [0x811bad8]
>         [0xd6f440]
>         /usr/lib/firefox-1.5.0.12/libgtkembedmoz.so [0xa322b1]
>         /usr/lib/firefox-1.5.0.12/libgtkembedmoz.so [0xa2fc9b]
>         /lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x49) [0x8850f9]
>         /lib/libgobject-2.0.so.0 [0x876589]
>         /lib/libgobject-2.0.so.0(g_closure_invoke+0x12b) [0x877d9b]
>         /lib/libgobject-2.0.so.0 [0x8888ca]
>         /lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7) [0x889957]
>         /lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0x889b19]
>         /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_realize+0xba) [0x6d681ea]
>         /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_map+0xd9) [0x6d684d9]
>         /usr/lib/libgtk-x11-2.0.so.0 [0x6d77d95]
>         /lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x49) [0x8850f9]
>         /lib/libgobject-2.0.so.0 [0x876589]
>         /lib/libgobject-2.0.so.0(g_closure_invoke+0x12b) [0x877d9b]
>         /lib/libgobject-2.0.so.0 [0x8888ca]
>         /lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7) [0x889957]
>         /lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0x889b19]
>         /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_map+0x71) [0x6d68471]
>         /usr/lib/libgtk-x11-2.0.so.0 [0x6d77dde]
>         /lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x49) [0x8850f9]
>         /lib/libgobject-2.0.so.0 [0x876589]
>         /lib/libgobject-2.0.so.0(g_closure_invoke+0x12b) [0x877d9b]
>         /lib/libgobject-2.0.so.0 [0x8888ca]
>         /lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7) [0x889957]
>         /lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0x889b19]
>         /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_show+0x98) [0x6d68be8]
>         /usr/lib/libgtk-x11-2.0.so.0 [0x6bb7cfb]
>         /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_show_all+0x4d) [0x6d6891d]
>         [0x1282b4]
>         [0x12826b]
>         [0x11d526]
>         [0x11c7c3]
>         mono(mono_runtime_exec_main+0x62) [0x80e5b72]
>         mono(mono_runtime_run_main+0x1b9) [0x80e5e59]
>         mono(mono_main+0xe5e) [0x805d36e]
>         mono [0x805c002]
>         /lib/libc.so.6(__libc_start_main+0xdc) [0x4fef2c]
>         mono [0x805bf51]
> Aborted
> </STACKTRACE>



More information about the Mono-list mailing list