Bug 321885 (MONO79174) - Monodevelop 0.11 crashes at startup (problem with libgtkembedmoz)
Summary: Monodevelop 0.11 crashes at startup (problem with libgtkembedmoz)
Status: RESOLVED MOVED
Alias: MONO79174
Product: MonoDevelop
Classification: Mono
Component: general (show other bugs)
Version: SVN
Hardware: Other Linux
: P3 - Medium : Critical
Target Milestone: ---
Assignee: MD Bugs
QA Contact: MD Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-26 12:21 UTC by Daniel Nauck
Modified: 2007-09-15 21:23 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 20:07:36 UTC


---- Reported by dna@informatik.uni-kiel.de 2006-08-26 05:21:07 MST ----

Description of Problem:
Monodevelop 0.11 crashes at startup.

I'm using the Mono 1.1.16.1_1 Installer on Ubuntu 6.06.

Starting Monodevelop isn't possible because it does not find the firefox
install directory.

Next step:
export MOZILLA_FIVE_HOME=/usr/bin/firefox

dna@dna-laptop:~$ monodevelop

(MonoDevelop:8405): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
allocate widget with width 452 and height -9

(MonoDevelop:8405): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
allocate widget with width 452 and height -9
2006-08-26 10:04:07,369 [-1210328864] ERROR
MonoDevelop.Core.ILoggingService [(null)] -
System.Reflection.TargetInvocationException: Exception has been thrown by
the target of an invocation. ---> System.TypeInitializationException: An
exception was thrown by the type initializer for Gecko.WebControl --->
System.DllNotFoundException: libgtkembedmoz.so
  at (wrapper managed-to-native) Gecko.WebControl:gtk_moz_embed_get_type ()
  at Gecko.WebControl.get_GType () [0x00000]
  at GtkSharp.GeckoSharp.ObjectManager.Initialize () [0x00000]
  at Gecko.WebControl..cctor () [0x00000] --- End of inner exception stack
trace ---

  at <0x00000> <unknown method>
  at MonoDevelop.Components.HtmlControl.MozillaControl..ctor () [0x00000]
  at MonoDevelop.WelcomePage.WelcomePageView..ctor () [0x00000]
  at MonoDevelop.WelcomePage.ShowWelcomePageOnStartUpHandler.Run () [0x00000]
  at <0x00000> <unknown method>
  at (wrapper managed-to-native)
System.Reflection.MonoMethod:InternalInvoke (object,object[])
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] --- End of inner
exception stack trace ---

  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000]
  at System.Reflection.MethodBase.Invoke (System.Object obj,
System.Object[] parameters) [0x00000]
  at MonoDevelop.Ide.Gui.IdeApp.Initialize (IProgressMonitor monitor) [0x00000]
Socket already in use


So libgtkembedmoz.so is not in the ld cache, but Monodevelop starts.

After adding libgtkembedmoz.so to the LD_LIBRARY_PATH oder in the ld cache
Monodevelop crashes:

dna@dna-laptop:~$ monodevelop

(MonoDevelop:8173): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
allocate widget with width 452 and height -9

(MonoDevelop:8173): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
allocate widget with width 452 and height -9

=================================================================
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.Notebook.gtk_notebook_insert_page
(intptr,intptr,intptr,int) <0x00004>
  at (wrapper managed-to-native) Gtk.Notebook.gtk_notebook_insert_page
(intptr,intptr,intptr,int) <0xffffffff>
  at Gtk.Notebook.InsertPage (Gtk.Widget,Gtk.Widget,int) <0x0009d>
  at MonoDevelop.Ide.Gui.SdiWorkbenchLayout.ShowView
(MonoDevelop.Ide.Gui.IViewContent) <0x00265>
  at MonoDevelop.Ide.Gui.DefaultWorkbench.ShowView
(MonoDevelop.Ide.Gui.IViewContent,bool) <0x00218>
  at MonoDevelop.Ide.Gui.Workbench.OpenDocument
(MonoDevelop.Ide.Gui.IViewContent,bool) <0x0001c>
  at MonoDevelop.WelcomePage.ShowWelcomePageOnStartUpHandler.Run () <0x00064>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void
(object,intptr,intptr,intptr) <0xffffffff>
  at (wrapper managed-to-native)
System.Reflection.MonoMethod.InternalInvoke (object,object[]) <0x00004>
  at (wrapper managed-to-native)
System.Reflection.MonoMethod.InternalInvoke (object,object[]) <0xffffffff>
  at System.Reflection.MonoMethod.Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
<0x00090>  at System.Reflection.MethodBase.Invoke (object,object[]) <0x0001a>
  at MonoDevelop.Ide.Gui.IdeApp.Initialize
(MonoDevelop.Core.IProgressMonitor) <0x00557>
  at MonoDevelop.Ide.Gui.IdeStartup.Run (string[]) <0x00b62>
  at MonoDevelop.Core.AddIns.AddInService.StartApplication
(string,string[]) <0x0017c>
  at MonoDevelop.Startup.SharpDevelopMain.Main (string[]) <0x00039>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_int_string[]
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        /home/dna/mono-1.1.16.1/bin/mono(mono_handle_native_sigsegv+0xe6)
[0x81594a6]
        /home/dna/mono-1.1.16.1/bin/mono [0x8143727]
        [0xffffe440]
        /usr/lib/firefox/libgtkembedmoz.so [0xb26dd9e9]
        /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x43)
[0xb6373423]
        /usr/lib/libgobject-2.0.so.0 [0xb636716f]
        /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x11e) [0xb636779f]
        /usr/lib/libgobject-2.0.so.0 [0xb63765cc]
        /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x6b0) [0xb6377b19]
        /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0xb6377e89]
        /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_realize+0xa9) [0xb68e23d1]
        /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_map+0xd1) [0xb68e258f]
        /usr/lib/libgtk-x11-2.0.so.0 [0xb67724a7]
        /usr/lib/libgtk-x11-2.0.so.0 [0xb67bbfc5]
        /usr/lib/libgtk-x11-2.0.so.0(gtk_container_forall+0x65) [0xb6770c36]
        /usr/lib/libgtk-x11-2.0.so.0 [0xb67724e0]
        /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x43)
[0xb6373423]
        /usr/lib/libgobject-2.0.so.0 [0xb636716f]
        /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x11e) [0xb636779f]
        /usr/lib/libgobject-2.0.so.0 [0xb63765cc]
        /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x6b0) [0xb6377b19]
        /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0xb6377e89]
        /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_map+0x72) [0xb68e2530]
        /usr/lib/libgtk-x11-2.0.so.0 [0xb67724a7]
        /usr/lib/libgtk-x11-2.0.so.0 [0xb67bbfc5]
        /usr/lib/libgtk-x11-2.0.so.0(gtk_container_forall+0x65) [0xb6770c36]
        /usr/lib/libgtk-x11-2.0.so.0 [0xb67724e0]
        /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x43)
[0xb6373423]
        /usr/lib/libgobject-2.0.so.0 [0xb636716f]
        /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x11e) [0xb636779f]
        /usr/lib/libgobject-2.0.so.0 [0xb63765cc]
        /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x6b0) [0xb6377b19]
        /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0xb6377e89]
        /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_map+0x72) [0xb68e2530]
        /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_set_parent+0x257) [0xb68e2ab0]
        /usr/lib/libgtk-x11-2.0.so.0(gtk_notebook_insert_page_menu+0x20a)
[0xb6814a17]
        /usr/lib/libgtk-x11-2.0.so.0(gtk_notebook_insert_page+0xeb)
[0xb6814cee]
        [0xb2b68a74]
        [0xb2b68a16]
        [0xb24075fe]
        [0xb2406fc9]
        [0xb2406d85]
        [0xb27fe44d]
        [0xb4da7ac9]
        /home/dna/mono-1.1.16.1/bin/mono [0x81435d0]
        /home/dna/mono-1.1.16.1/bin/mono(mono_runtime_invoke+0x27) [0x80db577]
        /home/dna/mono-1.1.16.1/bin/mono(mono_runtime_invoke_array+0x268)
[0x80dcae8]
        /home/dna/mono-1.1.16.1/bin/mono [0x80ca240]
        [0xb71b32e2]
        [0xb71b2f29]
        [0xb6d8880b]
        [0xb4fe9020]
        [0xb6d8122b]
        [0xb71bf485]
        [0xb7512892]
        [0xb75127d4]
        /home/dna/mono-1.1.16.1/bin/mono [0x81435d0]
        /home/dna/mono-1.1.16.1/bin/mono(mono_runtime_invoke+0x27) [0x80db577]
        /home/dna/mono-1.1.16.1/bin/mono(mono_runtime_exec_main+0xa3)
[0x80dc773]
        /home/dna/mono-1.1.16.1/bin/mono(mono_runtime_run_main+0x182)
[0x80dc312]
        /home/dna/mono-1.1.16.1/bin/mono(strftime+0x1bbe) [0x805c962]
        /home/dna/mono-1.1.16.1/bin/mono(mono_main+0x857) [0x805d347]
        /home/dna/mono-1.1.16.1/bin/mono(__fxstat64+0x137) [0x805bd0b]
        /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd2) [0xb7d92ea2]
        /home/dna/mono-1.1.16.1/bin/mono(sinh+0x4d) [0x805bc61]
Aborted



This is maybe a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO78590, but the file date is older then the
SVN fix date and it is a newer version.



---- Additional Comments From dna@informatik.uni-kiel.de 2006-08-26 05:23:38 MST ----

Firefox version:

1.5.dfsg+1.5.0.3-0ubuntu3




---- Additional Comments From lluis@ximian.com 2006-08-29 08:57:19 MST ----

Yes, it is a dup.

*** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO78590 ***



---- Additional Comments From dna@informatik.uni-kiel.de 2006-08-29 09:02:16 MST ----

Is that fix from:

[QUOTE]
------- Additional Comments From Lluis Sanchez 2006-07-11 15:01 -------
This should now be fixed in SVN.
[/QUOTE]

not in Version 0.11 ? https://bugzilla.novell.com/show_bug.cgi?id=MONO78590 was Version 0.10.



---- Additional Comments From lluis@ximian.com 2006-08-29 13:57:36 MST ----

It's fixed in SVN, not in version 0.11.


Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>Ubuntu 6.06 (dapper)</cf_op_sys_details>
This bug was marked DUPLICATE in the database it was moved from.
    Changing resolution to "MOVED"