Package: libgecko2.0-cil Version: 0.11-3 In a minimal sid environment, mono will segfault if a WebControl tries to navigate to <http://en.wikipedia.org/wiki/Special:Userlogin>. It does not appear to be related to forms as p.d.o displays fine, as well as the Wikipedia front page.
This may not surface if running in an environment that is not minimal; this is running inside of a sid chroot with only these packages installed: mono libmono1.0-cil libgtk2.0-cil libgecko2.0-cil vnc4server xfonts-base (maybe some others required to get Xvnc working). Test.cs: Test case. It segfaults whether compiled outside of the chroot (on etch) or inside (needed mono-mcs and pkg-config to compile inside). Compiled with `mcs -pkg:gtk-sharp-2.0 -pkg:gecko-sharp-2.0 Test.cs` console.log: Console output example. This may not always be the same from run to run. -- Chris Howie http://www.chrishowie.com -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/IT d-(--) s:- a--->? C++(+++)$> UL++++ P++++$ L+++>++++ E--- W++ N o++ K? w--$ O M- V- PS--(---) PE++ Y+ PGP++ t+ 5? X- R(+)>- tv-(--) b- DI+> D++ G>+++ e>++ h(--)>--- !r>+++ y->+++ ------END GEEK CODE BLOCK------
using System; using Gtk; using Gecko; public class Test { public static void Main() { Application.Init(); Window w = new Window("foo"); w.DeleteEvent += ondelete; WebControl g = new WebControl(); w.Child = g; w.ShowAll(); g.LoadUrl("http://en.wikipedia.org/wiki/Special:Userlogin"); Application.Run(); } private static void ondelete(object o, EventArgs e) { Application.Quit(); } }
================================================================= 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: in (wrapper managed-to-native) Gtk.Application:gtk_main () <0x4> in (wrapper managed-to-native) Gtk.Application:gtk_main () <0xffffffe7> in Gtk.Application:Run () <0x7> in Test:Main () <0xa8> in (wrapper runtime-invoke) System.Object:runtime_invoke_void (object,intptr,intptr,intptr) <0xa3c327> Native stacktrace: /usr/lib/libmono.so.0(mono_handle_native_sigsegv+0xeb) [0xb7db892b] /usr/lib/libmono.so.0 [0xb7d7970d] [0xffffe440] /usr/lib/libxul.so.0d [0xb6743457] /usr/lib/libxul.so.0d [0xb671e484] /usr/lib/libxul.so.0d [0xb5f4f40e] /usr/lib/libxul.so.0d [0xb5f8e2e5] /usr/lib/libxul.so.0d [0xb5f8fbfa] /usr/lib/libxul.so.0d(_Z14CallGetServicePKcRK4nsIDPPv+0x40) [0xb5f4cda0] /usr/lib/libxul.so.0d(_ZNK33nsGetServiceByContractIDWithErrorclERK4nsIDPPv+0x30) [0xb5f4cde0] /usr/lib/libxul.so.0d(_ZN13nsCOMPtr_base36assign_from_gs_contractid_with_errorERK33nsGetServiceByContractIDWithErrorRK4nsID+0x25) [0xb5f4c8c5] /usr/lib/libxul.so.0d(_Z29NS_CreateServicesFromCategoryPKcP11nsISupportsS0_+0x214) [0xb5f88884] /usr/lib/libxul.so.0d [0xb63ee7ca] /usr/lib/libxul.so.0d [0xb63cf53e] /usr/lib/libxul.so.0d [0xb6405159] /usr/lib/libxul.so.0d [0xb643ce05] /usr/lib/libxul.so.0d [0xb643f367] /usr/lib/libxul.so.0d [0xb643f4a6] /usr/lib/libxul.so.0d [0xb613a42a] /usr/lib/libxul.so.0d [0xb613de7f] /usr/lib/libxul.so.0d [0xb613e1b3] /usr/lib/libxul.so.0d [0xb613e6d2] /usr/lib/libxul.so.0d [0xb613b1c4] /usr/lib/libxul.so.0d [0xb61505c2] /usr/lib/libxul.so.0d [0xb615314a] /usr/lib/libxul.so.0d [0xb61522dc] /usr/lib/libxul.so.0d [0xb614f5d5] /usr/lib/libxul.so.0d [0xb6281a9e] /usr/lib/libxul.so.0d [0xb6281ae4] /usr/lib/libxul.so.0d [0xb6281f2f] /usr/lib/libxul.so.0d [0xb628214c] /usr/lib/libxul.so.0d [0xb6061d9a] /usr/lib/libxul.so.0d [0xb6074229] /usr/lib/libxul.so.0d [0xb6060904] /usr/lib/libxul.so.0d [0xb60c53fd] /usr/lib/libxul.so.0d [0xb6045616] /usr/lib/libxul.so.0d [0xb60460e8] /usr/lib/libxul.so.0d [0xb5f7f15c] /usr/lib/libxul.so.0d(PL_HandleEvent+0x27) [0xb5f939f7] /usr/lib/libxul.so.0d(PL_ProcessPendingEvents+0x59) [0xb5f93d09] /usr/lib/libxul.so.0d [0xb5f95b8e] /usr/lib/libxul.so.0d [0xb678f4a5] /usr/lib/libglib-2.0.so.0 [0xb7cfb7ef] /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x16c) [0xb7cd2e2c] /usr/lib/libglib-2.0.so.0 [0xb7cd6176] /usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1b7) [0xb7cd6537] /usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xc1) [0xb6e5e4e1] [0xb7365d3f] [0xb7365d00] [0xb735b349] [0xb735a81e] /usr/lib/libmono.so.0 [0xb7d96b20] /usr/lib/libmono.so.0(mono_runtime_invoke+0x33) [0xb7dfb703] /usr/lib/libmono.so.0(mono_runtime_exec_main+0x6b) [0xb7dfe69b] /usr/lib/libmono.so.0(mono_runtime_run_main+0x18c) [0xb7e01c1c] /usr/lib/libmono.so.0(mono_jit_exec+0x8e) [0xb7da9d6e] /usr/lib/libmono.so.0(mono_main+0x94f) [0xb7daa77f] /lib/tls/libc.so.6(__libc_start_main+0xd0) [0xb7b33eb0] mono [0x8048471] Aborted
signature.asc
Description: OpenPGP digital signature