[Mono-bugs] [Bug 81279][Blo] New - FolderBrowserDialog.ShowDialog() crash
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Mar 31 14:12:49 EDT 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by frederik.carlier at ugent.be.
http://bugzilla.ximian.com/show_bug.cgi?id=81279
--- shadow/81279 2007-03-31 13:12:49.000000000 -0500
+++ shadow/81279.tmp.19881 2007-03-31 13:12:49.000000000 -0500
@@ -0,0 +1,223 @@
+Bug#: 81279
+Product: Mono: Class Libraries
+Version: 1.2
+OS:
+OS Details: Ubuntu Edgy 6.10
+Status: NEW
+Resolution:
+Severity:
+Priority: Blocker
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com
+ReportedBy: frederik.carlier at ugent.be
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: FolderBrowserDialog.ShowDialog() crash
+
+Description of Problem:
+When running the following code,
+ System.Windows.Forms.FolderBrowserDialog dlg = new
+System.Windows.Forms.FolderBrowserDialog();
+ dlg.ShowDialog();
+a crash happens
+
+Steps to reproduce the problem:
+1. gmcs test.cs /r:System.Windows.Forms
+2. mono --debug test.exe
+
+Actual Results:
+fcarlier at col-clt-04:~/test$ mono test.exe
+Stacktrace:
+
+ at (wrapper managed-to-native)
+System.Windows.Forms.GnomeUtil.gtk_icon_theme_load_icon
+(intptr,string,int,System.Windows.Forms.GnomeUtil/GtkIconLookupFlags,intptr&)
+<0x00004>
+ at (wrapper managed-to-native)
+System.Windows.Forms.GnomeUtil.gtk_icon_theme_load_icon
+(intptr,string,int,System.Windows.Forms.GnomeUtil/GtkIconLookupFlags,intptr&)
+<0xffffffff>
+ at System.Windows.Forms.GnomeUtil.GetIcon (string,int) <0x0003f>
+ at System.Windows.Forms.GnomeHandler.AddGnomeIcon (string,string) <0x0004b>
+ at System.Windows.Forms.GnomeHandler.CreateUIIcons () <0x00016>
+ at System.Windows.Forms.GnomeHandler.Start () <0x0000a>
+ at System.Windows.Forms.MimeIconEngine..cctor () <0x0029e>
+ at (wrapper runtime-invoke) System.Object.runtime_invoke_void
+(object,intptr,intptr,intptr) <0xffffffff>
+ at System.Windows.Forms.UnixFileSystem..ctor () <0xffffffff>
+ at System.Windows.Forms.UnixFileSystem..ctor () <0x00114>
+ at System.Windows.Forms.MWFVFS..ctor () <0x00049>
+ at FolderBrowserTreeView..ctor (System.Windows.Forms.FolderBrowserDialog)
+<0x00020>
+ at (wrapper remoting-invoke-with-check) FolderBrowserTreeView..ctor
+(System.Windows.Forms.FolderBrowserDialog) <0xffffffff>
+ at System.Windows.Forms.FolderBrowserDialog..ctor () <0x0035d>
+ at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.FolderBrowserDialog..ctor () <0xffffffff>
+ at Test.Main () <0x00022>
+ at (wrapper runtime-invoke) System.Object.runtime_invoke_void
+(object,intptr,intptr,intptr) <0xffffffff>
+
+Native stacktrace:
+
+ mono [0x8161ece]
+ mono [0x812b8d8]
+ [0xffffe440]
+ /usr/local/lib/libgdiplus.so [0xb6dc8e05]
+ /usr/local/lib/libgdiplus.so(cairo_transform+0x2f) [0xb6dc1fdf]
+ /usr/lib/librsvg-2.so.2 [0xb4242d5c]
+ /usr/lib/librsvg-2.so.2 [0xb4244e99]
+ /usr/lib/librsvg-2.so.2 [0xb423fffe]
+ /usr/lib/librsvg-2.so.2 [0xb4238072]
+ /usr/lib/librsvg-2.so.2 [0xb423864e]
+ /usr/lib/librsvg-2.so.2 [0xb42388aa]
+ /usr/lib/librsvg-2.so.2 [0xb423864e]
+ /usr/lib/librsvg-2.so.2 [0xb42388aa]
+ /usr/lib/librsvg-2.so.2 [0xb423864e]
+ /usr/lib/librsvg-2.so.2 [0xb42390ff]
+ /usr/lib/librsvg-2.so.2 [0xb423864e]
+ /usr/lib/librsvg-2.so.2(rsvg_handle_render_cairo_sub+0x197)
+[0xb4245907]
+ /usr/lib/librsvg-2.so.2(rsvg_handle_get_pixbuf_sub+0xc1) [0xb4245e21]
+ /usr/lib/librsvg-2.so.2(rsvg_handle_get_pixbuf+0x25) [0xb4245ef5]
+ /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so [0xb425fc47]
+ /usr/lib/libgdk_pixbuf-2.0.so.0(gdk_pixbuf_loader_close+0xc8)
+[0xb66ca658]
+ /usr/lib/libgtk-x11-2.0.so.0 [0xb67dc40e]
+ /usr/lib/libgtk-x11-2.0.so.0(gtk_icon_info_load_icon+0x3d) [0xb67dc73d]
+ /usr/lib/libgtk-x11-2.0.so.0(gtk_icon_theme_load_icon+0x9e)
+[0xb67de69e]
+ [0xb632ffba]
+ [0xb632fdd8]
+ [0xb632fa4c]
+ [0xb632f90f]
+ [0xb632f8db]
+ [0xb6327d87]
+ [0xb7944070]
+ mono(mono_runtime_class_init+0x1d5) [0x8092fb5]
+ mono [0x814e423]
+ mono [0x8078dda]
+ [0xb7bb1032]
+ [0xb6326db2]
+ [0xb6326aa1]
+ [0xb6326a32]
+ [0xb7945d46]
+ [0xb79442aa]
+ [0xb79441f3]
+ [0xb7944070]
+ mono(mono_runtime_exec_main+0x62) [0x8094472]
+ mono(mono_runtime_run_main+0x1b9) [0x8094759]
+ mono(mono_main+0xe9e) [0x805904e]
+ mono [0x8057ca2]
+ /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc) [0xb7cf2ebc]
+ mono [0x8057bf1]
+
+Debug info from gdb:
+
+Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
+[Thread debugging using libthread_db enabled]
+[New Thread -1211255072 (LWP 8699)]
+[New Thread -1220666480 (LWP 8701)]
+[New Thread -1214948464 (LWP 8700)]
+0xffffe410 in __kernel_vsyscall ()
+ 3 Thread -1214948464 (LWP 8700) 0xffffe410 in __kernel_vsyscall ()
+ 2 Thread -1220666480 (LWP 8701) 0xffffe410 in __kernel_vsyscall ()
+ 1 Thread -1211255072 (LWP 8699) 0xffffe410 in __kernel_vsyscall ()
+
+Thread 3 (Thread -1214948464 (LWP 8700)):
+#0 0xffffe410 in __kernel_vsyscall ()
+#1 0xb7e52986 in __nanosleep_nocancel ()
+ from /lib/tls/i686/cmov/libpthread.so.0
+#2 0x080fe884 in collection_thread (unused=0x0) at collection.c:34
+#3 0xb7e4b31b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
+#4 0xb7dac3ee in clone () from /lib/tls/i686/cmov/libc.so.6
+
+Thread 2 (Thread -1220666480 (LWP 8701)):
+#0 0xffffe410 in __kernel_vsyscall ()
+#1 0xb7e4f5c6 in pthread_cond_wait@@GLIBC_2.3.2 ()
+ from /lib/tls/i686/cmov/libpthread.so.0
+#2 0x081014ff in timedwait_signal_poll_cond (cond=0xb78bb1dc,
+ mutex=0xb78bb1c4, timeout=0x0, alertable=0) at handles.c:1413
+#3 0x08103d1f in _wapi_handle_timedwait_signal_handle (handle=0x404,
+ timeout=0x0, alertable=0) at handles.c:1493
+#4 0x08103d9c in _wapi_handle_wait_signal_handle (handle=0x404, alertable=0)
+ at handles.c:1453
+#5 0x08113aaf in WaitForSingleObjectEx (handle=0x404, timeout=4294967295,
+ alertable=0) at wait.c:200
+#6 0x080aa61a in finalizer_thread (unused=0x0) at gc.c:835
+#7 0x080c94e4 in start_wrapper (data=0x822a748) at threads.c:308
+#8 0x081128c2 in thread_start_routine (args=0xb77673c0) at threads.c:253
+#9 0x081285b5 in GC_start_routine (arg=0x22f40) at pthread_support.c:1362
+#10 0xb7e4b31b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
+#11 0xb7dac3ee in clone () from /lib/tls/i686/cmov/libc.so.6
+
+Thread 1 (Thread -1211255072 (LWP 8699)):
+#0 0xffffe410 in __kernel_vsyscall ()
+#1 0xb7da5231 in select () from /lib/tls/i686/cmov/libc.so.6
+#2 0xb7eb7d10 in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
+#3 0xb7eb80dc in g_spawn_command_line_sync () from /usr/lib/libglib-2.0.so.0
+#4 0x08161f69 in mono_handle_native_sigsegv (signal=11, ctx=0xbfdfe3fc)
+ at mini-exceptions.c:1065
+#5 0x0812b8d8 in sigsegv_signal_handler (_dummy=11, info=0xbfdfe37c,
+ context=0xbfdfe3fc) at mini.c:11166
+#6 <signal handler called>
+#7 _cairo_gstate_unset_scaled_font (gstate=0x0) at cairo-gstate.c:1180
+#8 0xb6dc8e05 in _cairo_gstate_transform (gstate=0x0, matrix=0xbfdfe7a0)
+ at cairo-gstate.c:587
+#9 0xb6dc1fdf in cairo_transform (cr=0x86831c0, matrix=0xbfdfe7a0)
+ at cairo.c:1191
+#10 0xb4242d5c in rsvg_error_get_type () from /usr/lib/librsvg-2.so.2
+#11 0xb4244e99 in rsvg_error_get_type () from /usr/lib/librsvg-2.so.2
+#12 0xb423fffe in rsvg_set_default_dpi () from /usr/lib/librsvg-2.so.2
+#13 0xb4238072 in rsvg_handle_new_from_data () from /usr/lib/librsvg-2.so.2
+#14 0xb423864e in rsvg_handle_new_from_data () from /usr/lib/librsvg-2.so.2
+#15 0xb42388aa in rsvg_handle_new_from_data () from /usr/lib/librsvg-2.so.2
+#16 0xb423864e in rsvg_handle_new_from_data () from /usr/lib/librsvg-2.so.2
+#17 0xb42388aa in rsvg_handle_new_from_data () from /usr/lib/librsvg-2.so.2
+#18 0xb423864e in rsvg_handle_new_from_data () from /usr/lib/librsvg-2.so.2
+#19 0xb42390ff in rsvg_handle_new_from_data () from /usr/lib/librsvg-2.so.2
+#20 0xb423864e in rsvg_handle_new_from_data () from /usr/lib/librsvg-2.so.2
+#21 0xb4245907 in rsvg_handle_render_cairo_sub () from /usr/lib/librsvg-2.so.2
+#22 0xb4245e21 in rsvg_handle_get_pixbuf_sub () from /usr/lib/librsvg-2.so.2
+#23 0xb4245ef5 in rsvg_handle_get_pixbuf () from /usr/lib/librsvg-2.so.2
+#24 0xb425fc47 in fill_info ()
+ from /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
+#25 0x08513298 in ?? ()
+#26 0x0856c174 in ?? ()
+#27 0xbfdfed90 in ?? ()
+#28 0xb4240ac6 in rsvg_error_quark () from /usr/lib/librsvg-2.so.2
+#29 0xb66ca658 in gdk_pixbuf_loader_close ()
+ from /usr/lib/libgdk_pixbuf-2.0.so.0
+#30 0xb67dc40e in gtk_icon_info_free () from /usr/lib/libgtk-x11-2.0.so.0
+#31 0xb67dc73d in gtk_icon_info_load_icon () from /usr/lib/libgtk-x11-2.0.so.0
+#32 0xb67de69e in gtk_icon_theme_load_icon () from /usr/lib/libgtk-x11-2.0.so.0
+#33 0xb632ffba in ?? ()
+#34 0x08513840 in ?? ()
+#35 0x08656c00 in ?? ()
+#36 0x00000030 in ?? ()
+#37 0x00000004 in ?? ()
+#38 0xbfdfeef0 in ?? ()
+#39 0x00dfeef8 in ?? ()
+#40 0x00000000 in ?? ()
+#0 0xffffe410 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.
+=================================================================
+
+Aborted (core dumped)
+
+
+Expected Results:
+The FolderBrowserDialog to appear.
+
+How often does this happen?
+Always
+
+Additional Information:
+SVN HEAD on Ubuntu Edgy 6.10
More information about the mono-bugs
mailing list