Bug 228502

Summary: MonoDevelop crashes after startup on PPC
Product: [openSUSE] openSUSE 10.2 Reporter: Marko Kolar <marko.kolar>
Component: MonoAssignee: Paolo Molaro <lupus>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: edwardsg
Version: Final   
Target Milestone: ---   
Hardware: PowerPC   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Fix applied to mono svn.

Description Marko Kolar 2006-12-14 03:28:54 UTC
MonoDevelop causes a runtime crash shortly after the main window appears on startup. This also happens on openSUSE 10.1 with mono 1.1.18 packages from mono-project.org, but not with 1.1.13 included with the distribution, and seems to be specific to the PPC platform.


Console output:

thunk failed for 0x100ed880 from 0x12139ec8

** ERROR **: file mini-ppc.c: line 1875 (handle_thunk): assertion failed: (pdata.found == 1)
aborting...

=================================================================
Got a SIGABRT 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) System.Object.__icall_wrapper_mono_delegate_to_ftnptr (object) <0xffffffff>
  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_delegate_to_ftnptr (object) <0x00084>
  at (wrapper managed-to-native) GLib.Timeout.g_timeout_add (uint,GLib.TimeoutHandler,intptr) <0x000a4>
  at GLib.Timeout.Add (uint,GLib.TimeoutHandler) <0x00090>
  at <>c__CompilerGenerated2.<>c__AnonymousMethod1 (object,Gtk.ExposeEventArgs) <0x000b4>
  at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_object_ExposeEventArgs (object,Gtk.ExposeEventArgs) <0x00078>
  at Gtk.Widget.ExposeEventSignalCallback (intptr,intptr,intptr) <0x001e4>
  at (wrapper native-to-managed) Gtk.Widget.ExposeEventSignalCallback (intptr,intptr,intptr) <0x0004c>
  at (wrapper managed-to-native) Gtk.Application.gtk_main_iteration_do (bool) <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main_iteration_do (bool) <0x00084>
  at Gtk.Application.RunIteration (bool) <0x00014>
  at MonoDevelop.Ide.Gui.Dialogs.SplashScreenForm.RunMainLoop () <0x00014>
  at MonoDevelop.Ide.Gui.Dialogs.SplashScreenForm.SetProgress (double) <0x00030>
  at MonoDevelop.Ide.Gui.Dialogs.SplashScreenForm.MonoDevelop.Core.IProgressMonitor.EndTask () <0x00044>
  at MonoDevelop.Ide.Gui.IdeApp.Initialize (MonoDevelop.Core.IProgressMonitor) <0x006c8>
  at MonoDevelop.Ide.Gui.IdeStartup.Run (string[]) <0x00ae8>
  at MonoDevelop.Core.AddIns.AddInService.StartApplication (string,string[]) <0x00244>
  at MonoDevelop.Startup.SharpDevelopMain.Main (string[]) <0x00064>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_int_string[] (object,intptr,intptr,intptr) <0x00068>

Native stacktrace:

        /usr/bin/mono [0x10127f70]
        [0x100380]
        [0x7ff14f68]
        /lib/libc.so.6(abort+0x234) [0xfc60760]
        /opt/gnome/lib/libglib-2.0.so.0(g_logv+0x424) [0xff02414]
        /opt/gnome/lib/libglib-2.0.so.0(g_log+0x80) [0xff024a0]
        /opt/gnome/lib/libglib-2.0.so.0(g_assert_warning+0x8c) [0xff0254c]
        /usr/bin/mono [0x1001f528]
        /usr/bin/mono [0x1001fba8]
        /usr/bin/mono [0x100f1aa4]
        /usr/bin/mono [0x1010f008]
        /usr/bin/mono [0x101101bc]
        /usr/bin/mono(mono_compile_method+0x30) [0x10041340]
        /usr/bin/mono [0x10071918]
        [0x31ada3e0]
        [0x31ccd5f8]
        [0x31ccd354]
        [0x35829458]
        [0x3582933c]
        [0x35829158]
        [0x35805ca0]
        /opt/gnome/lib/libgtk-x11-2.0.so.0 [0xf433bb4]
        /opt/gnome/lib/libgobject-2.0.so.0(g_closure_invoke+0x15c) [0xea721cc]
        /opt/gnome/lib/libgobject-2.0.so.0 [0xea87918]
        /opt/gnome/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x61c) [0xea886bc]
        /opt/gnome/lib/libgobject-2.0.so.0(g_signal_emit+0x80) [0xea88b10]
        /opt/gnome/lib/libgtk-x11-2.0.so.0 [0xf57de80]
        /opt/gnome/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x5a4) [0xf42cff4]
        /opt/gnome/lib/libgdk-x11-2.0.so.0 [0xf217230]
        /opt/gnome/lib/libgdk-x11-2.0.so.0(gdk_window_process_all_updates+0xb4) [0xf217514]
        /opt/gnome/lib/libgtk-x11-2.0.so.0 [0xf38104c]
        /opt/gnome/lib/libglib-2.0.so.0 [0xfef56a8]
        /opt/gnome/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1e4) [0xfef7e14]
        /opt/gnome/lib/libglib-2.0.so.0 [0xfefbac8]
        /opt/gnome/lib/libglib-2.0.so.0(g_main_context_iteration+0x88) [0xfefc178]
        /opt/gnome/lib/libgtk-x11-2.0.so.0(gtk_main_iteration_do+0x4c) [0xf42d05c]
        [0x31aecb10]
        [0x31aeca30]
        [0x31aec860]
        [0x31cceb6c]
        [0x31cce728]
        [0x32bde924]
        [0x31ac69ec]
        [0x30f2b1d8]
        [0x309761d0]
        [0x3097608c]
        /usr/bin/mono [0x10110718]
        /usr/bin/mono(mono_runtime_invoke+0x28) [0x10040978]
        /usr/bin/mono(mono_runtime_exec_main+0xd4) [0x10046794]
        /usr/bin/mono(mono_runtime_run_main+0x1e4) [0x10046a84]
        /usr/bin/mono(mono_jit_exec+0xa0) [0x1000fcb0]
        /usr/bin/mono(mono_main+0x10c4) [0x10010db4]
        /usr/bin/mono [0x1000f640]
        /lib/libc.so.6 [0xfc47f60]
        /lib/libc.so.6 [0xfc4818c]
thunk failed for 0x100ed880 from 0x1213b910

** ERROR **: file mini-ppc.c: line 1875 (handle_thunk): assertion failed: (pdata.found == 1)
aborting...
Aborted
Comment 1 Paolo Molaro 2007-01-16 19:16:03 UTC
Created attachment 113195 [details]
Fix applied to mono svn.

This is the fix we applied to mono svn already to fix this bug.
Comment 2 Paolo Molaro 2007-01-16 19:18:38 UTC
Fixed also in the 1-2-2 branch.
Comment 3 Paolo Molaro 2007-01-16 19:19:09 UTC
*** Bug 227002 has been marked as a duplicate of this bug. ***
Comment 4 Greg Edwards 2007-01-22 15:19:57 UTC
Will this fix show up in a 10.2 maintenance update (against the 1.1.18.1 base)?
The crash is reproducible 100% of the time with banshee on my ppc box.