Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105279 - monodevelop crashed while setting references
Summary: monodevelop crashed while setting references
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-08 09:59 UTC by Toralf Goaltenner
Modified: 2005-10-28 00:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Goaltenner 2005-09-08 09:59:46 UTC
I try the webbrowser tutorial to get in touch with glade and c# but after
creating a solution, when I try to change the references monodevelop just
crashes with following output:
2005-09-08 18:44:07,093 [16384] INFO  MonoDevelop.Services.ILoggingService
[(null)] - Reading
/home/madxray/.config/MonoDevelop/CodeCompletionData/mscorlib_1.0.5000.0_b77a5c561934e089.pidb
2005-09-08 18:44:07,189 [16384] INFO  MonoDevelop.Services.ILoggingService
[(null)] - WARNING Could not find stock Icons.16x16.FindPrevIcon
2005-09-08 18:44:07,191 [16384] INFO  MonoDevelop.Services.ILoggingService
[(null)] - WARNING Could not find stock gtk-stop
2005-09-08 18:44:07,219 [16384] INFO  MonoDevelop.Services.ILoggingService
[(null)] - Creating DefaultWorkbench
Socket already in use
2005-09-08 18:44:37,178 [16384] INFO  MonoDevelop.Services.ILoggingService
[(null)] - WARNING Could not find stock gtk-save
2005-09-08 18:44:37,221 [16384] INFO  MonoDevelop.Services.ILoggingService
[(null)] - WARNING Could not find stock gtk-save
2005-09-08 18:44:37,229 [16384] INFO  MonoDevelop.Services.ILoggingService
[(null)] - WARNING Could not find stock gtk-open
2005-09-08 18:44:37,544 [49156] INFO  MonoDevelop.Services.ILoggingService
[(null)] - Reading
/home/madxray/.config/MonoDevelop/CodeCompletionData/gtk-sharp_1.0.0.0_35e10195dab3c99f.pidb
2005-09-08 18:44:37,642 [49156] INFO  MonoDevelop.Services.ILoggingService
[(null)] - Reading
/home/madxray/.config/MonoDevelop/CodeCompletionData/glib-sharp_1.0.0.0_35e10195dab3c99f.pidb
2005-09-08 18:44:37,672 [49156] INFO  MonoDevelop.Services.ILoggingService
[(null)] - Reading
/home/madxray/.config/MonoDevelop/CodeCompletionData/System_1.0.5000.0_b77a5c561934e089.pidb
2005-09-08 18:44:37,743 [49156] INFO  MonoDevelop.Services.ILoggingService
[(null)] - Reading
/home/madxray/.config/MonoDevelop/CodeCompletionData/System.Xml_1.0.5000.0_b77a5c561934e089.pidb
2005-09-08 18:44:37,770 [49156] INFO  MonoDevelop.Services.ILoggingService
[(null)] - Reading
/home/madxray/.config/MonoDevelop/CodeCompletionData/gdk-sharp_1.0.0.0_35e10195dab3c99f.pidb
2005-09-08 18:44:37,807 [49156] INFO  MonoDevelop.Services.ILoggingService
[(null)] - Reading
/home/madxray/.config/MonoDevelop/CodeCompletionData/pango-sharp_1.0.0.0_35e10195dab3c99f.pidb
2005-09-08 18:44:37,832 [49156] INFO  MonoDevelop.Services.ILoggingService
[(null)] - Reading
/home/madxray/.config/MonoDevelop/CodeCompletionData/atk-sharp_1.0.0.0_35e10195dab3c99f.pidb
2005-09-08 18:44:37,915 [49156] INFO  MonoDevelop.Services.ILoggingService
[(null)] - Reading
/home/madxray/.config/MonoDevelop/CodeCompletionData/glade-sharp_1.0.0.0_35e10195dab3c99f.pidb
2005-09-08 18:44:38,147 [16384] INFO  MonoDevelop.Services.ILoggingService
[(null)] - WARNING Could not find stock gtk-save
2005-09-08 18:44:38,299 [16384] INFO  MonoDevelop.Services.ILoggingService
[(null)] - WARNING Could not find stock gtk-open

(MonoDevelop:30892): GnomeCanvas-CRITICAL **: gnome_canvas_request_redraw:
assertion `GNOME_IS_CANVAS (canvas)' failed

(MonoDevelop:30892): GnomeCanvas-CRITICAL **: gnome_canvas_request_redraw:
assertion `GNOME_IS_CANVAS (canvas)' failed

(MonoDevelop:30892): GnomeCanvas-CRITICAL **: gnome_canvas_request_redraw:
assertion `GNOME_IS_CANVAS (canvas)' failed

(MonoDevelop:30892): GnomeCanvas-CRITICAL **: gnome_canvas_request_redraw:
assertion `GNOME_IS_CANVAS (canvas)' failed

(MonoDevelop:30892): GnomeCanvas-CRITICAL **: gnome_canvas_request_redraw:
assertion `GNOME_IS_CANVAS (canvas)' failed

(MonoDevelop:30892): GnomeCanvas-CRITICAL **: gnome_canvas_request_redraw:
assertion `GNOME_IS_CANVAS (canvas)' failed

(MonoDevelop:30892): GnomeCanvas-CRITICAL **: gnome_canvas_request_redraw:
assertion `GNOME_IS_CANVAS (canvas)' failed

(MonoDevelop:30892): GnomeCanvas-CRITICAL **: gnome_canvas_request_redraw:
assertion `GNOME_IS_CANVAS (canvas)' failed

(MonoDevelop:30892): GnomeCanvas-CRITICAL **: gnome_canvas_request_redraw:
assertion `GNOME_IS_CANVAS (canvas)' failed

** (MonoDevelop:30892): WARNING **: Cannot load type 'Pango.UnderlineGType,
pango-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'

** (MonoDevelop:30892): WARNING **: Cannot load type 'Pango.UnderlineGType,
pango-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
Error while loading System.NullReferenceException: Object reference not set to
an instance of an object
in <0x001b0> GLib.GType:op_Explicit (System.Type type)
in <0x00055> GLib.Value:.ctor (System.Object obj)
in <0x00044> Gtk.TextTag:set_Underline (Underline value)
in <0x00223> MonoDevelop.SourceEditor.Gui.SourceEditorBuffer:.ctor ()
in <0x00048> MonoDevelop.SourceEditor.Gui.SourceEditor:.ctor
(MonoDevelop.SourceEditor.Gui.SourceEditorDisplayBindingWrapper bind)
in <0x0016d> MonoDevelop.SourceEditor.Gui.SourceEditorDisplayBindingWrapper:.ctor ()
in <0x0002b>
MonoDevelop.SourceEditor.Gui.SourceEditorDisplayBinding:CreateContentForFile
(System.String fileName)
in <0x00031> MonoDevelop.Services.DefaultFileService+LoadFileWrapper:Invoke
(System.String fileName)
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_string (string)
in <0x00020> MonoDevelop.Core.Services.FileUtilityService+LoadWrapper:Invoke ()
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
in <0x00038> MonoDevelop.Core.Services.FileUtilityService:ObservedLoad
(MonoDevelop.Core.Services.FileOperationDelegate saveFile, System.String
fileName, System.String message, FileErrorPolicy policy)

(MonoDevelop:30892): Gtk-WARNING **: GtkClipboard prematurely finalized

(MonoDevelop:30892): GLib-CRITICAL **: g_main_loop_is_running: assertion `loop
!= NULL' failed

** (MonoDevelop:30892): WARNING **: Cannot load type 'Gtk.OrientationGType,
gtk-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'

** (MonoDevelop:30892): WARNING **: Cannot load type 'Gtk.OrientationGType,
gtk-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'

** (MonoDevelop:30892): WARNING **: Cannot load type 'Gtk.OrientationGType,
gtk-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'

** (MonoDevelop:30892): WARNING **: Cannot load type 'Gtk.OrientationGType,
gtk-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'

** (MonoDevelop:30892): WARNING **: Cannot load type 'Gtk.OrientationGType,
gtk-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'

** (MonoDevelop:30892): WARNING **: Cannot load type 'Gtk.OrientationGType,
gtk-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'

** (MonoDevelop:30892): WARNING **: Cannot load type 'Gtk.OrientationGType,
gtk-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'

** (MonoDevelop:30892): WARNING **: Cannot load type 'Gtk.OrientationGType,
gtk-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'

** (MonoDevelop:30892): WARNING **: Cannot load type 'Gtk.OrientationGType,
gtk-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
in (unmanaged) 0x2aaaadf08d70
in <0x0000f> (wrapper managed-to-native) GLib.Object:g_object_unref (intptr)
in <0x0014e> GLib.Object:PerformQueuedUnrefs ()
in <0x00062> (wrapper delegate-invoke) System.MulticastDelegate:invoke_bool ()
in <0x00041> IdleProxy:Handler ()
in <0x0002d> (wrapper native-to-managed) IdleProxy:Handler ()
in (unmanaged) 0x2aaaaaf0c075
in <0x0000f> (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00008> Gtk.Application:Run ()
in <0x0060d> MonoDevelop.Commands.StartWorkbenchCommand:Run ()
in <0x00ca6> MonoDevelop.SharpDevelopMain:Main (string[])

Reproducible: Always
Steps to Reproduce:
1. make new solution
2. rightclick on references

Actual Results:  
monodevelop finished

Expected Results:  
open dialog?

gentoo-source-2.6.13 x86_64
mono 1.1.8.3
monodevelop 0.7.0.0
Glade (GTK+) 2.6.8
Xorg 6.8.2
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2005-09-08 10:20:24 UTC
Please report the output of "emerge info" as well as all the versions of
gtk-sharp and gnome-sharp you have installed. Thanks.
Comment 2 Toralf Goaltenner 2005-09-09 05:27:57 UTC
(In reply to comment #1)
> Please report the output of "emerge info"

# emerge info
Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-gentoo x86_64)
=================================================================
System uname: 2.6.13-gentoo x86_64 AMD Turion(tm) 64 Mobile Technology MT-30
Gentoo Base System version 1.6.13
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts cdr crypt cups curl dvd dvdr eds
emboss encode esd fam foomaticdb fortran gif gpm gstreamer gtk2 hal imagemagick
imlib ipv6 jack java jpeg kde libwww lzw lzw-tiff mad motif mozilla mp3 mpeg
ncurses nls opengl pam pdflib perl png python qt quicktime readline samba sdl
spell ssl tcpd tetex tiff truetype-fonts type1-fonts usb userlocales xine xml2
xmms xpm xv zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS

> as well as all the versions of
> gtk-sharp and gnome-sharp you have installed. Thanks.

gtk-sharp 2.5.90
gnome-sharp 2.5.90
Comment 3 Peter Johanson (RETIRED) gentoo-dev 2005-09-22 22:10:56 UTC
Can you please try upgrading all of your *-sharp stuff to the new 2.5.91, as
well as providing the output of "gacutil -l gnome-sharp" ? Thanks.
Comment 4 Balint Dobai-Pataky 2005-10-06 05:50:26 UTC
i'm having the same problem with 2.5.91, now downgrading to 2.5.90, to see how
is it there.
Comment 5 Balint Dobai-Pataky 2005-10-06 05:55:43 UTC
 qpkg -I -v sharp
dev-dotnet/gtksourceview-sharp-0.10 *
dev-dotnet/gecko-sharp-0.11 *
dev-dotnet/art-sharp-1.0.10 *
dev-dotnet/gtk-sharp-1.0.10 *
dev-dotnet/art-sharp-2.5.90 *
dev-dotnet/gconf-sharp-2.5.91 *
dev-dotnet/gtkhtml-sharp-2.5.90 *
dev-dotnet/glade-sharp-1.0.10 *
dev-dotnet/gnome-sharp-1.0.10 *
dev-dotnet/gtkhtml-sharp-1.0.10 *
dev-dotnet/gtk-sharp-2.5.90 *
dev-dotnet/glade-sharp-2.5.91 *
dev-dotnet/gnome-sharp-2.5.90 *
dev-dotnet/gnomevfs-sharp-2.5.90 *

right-clicking the referene and clicking the edit reference gives a gtk window with:

Error while executing command: AddReference

Exception ocurred: System.Reflection.TargetInvocationException: Exception has
been thrown by the target of an invocation. --- System.NullReferenceException:
Object reference not set to an instance of an object
in 0x000e2 MonoDevelop.Gui.Dialogs.SelectReferenceDialog:.ctor
(MonoDevelop.Internal.Project.Project configureProject)
in 0x00062 MonoDevelop.Services.ProjectService:AddReferenceToProject
(MonoDevelop.Internal.Project.Project project)
in 0x00065
MonoDevelop.Gui.Pads.ProjectPad.ProjectReferenceFolderNodeCommandHandler:AddReferenceToProject
()
in 0x00000 unknown method
in (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(object,object[])
in 0x0008d System.Reflection.MonoMethod:Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture)--- End of inner exception stack trace ---

in 0x0010e System.Reflection.MonoMethod:Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture)
in 0x0001a System.Reflection.MethodBase:Invoke (System.Object obj,
System.Object[] parameters)
in 0x00015 MonoDevelop.Commands.CommandHandlerInfo:Run (System.Object cmdTarget)
in 0x002e0 MonoDevelop.Commands.CommandManager:DispatchCommand (System.Object
commandId, System.Object dataItem)





and in the terminal monodevelop gives:
2005-10-06 15:57:33,628 [-1210738016] INFO  MonoDevelop.Services.ILoggingService
[(null)] - WARNING Could not find stock gtk-save

(MonoDevelop:14554): GLib-GObject-WARNING **: instance of invalid
non-instantiatable type `<invalid>'

(MonoDevelop:14554): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion
`G_TYPE_CHECK_INSTANCE (instance)' failed

(MonoDevelop:14554): GLib-GObject-WARNING **: instance of invalid
non-instantiatable type `(null)'

(MonoDevelop:14554): GLib-GObject-CRITICAL **: g_signal_handlers_destroy:
assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
in <0x00000> <unknown method>
in (wrapper managed-to-native) Gtk.Dialog:gtk_dialog_run (intptr)
in <0x0001d> Gtk.Dialog:Run ()
in <0x000a2> MonoDevelop.Commands.CommandManager:ReportError (System.String
message, System.Exception ex)
in <0x0035a> MonoDevelop.Commands.CommandManager:DispatchCommand (System.Object
commandId, System.Object dataItem)
in <0x00024> MonoDevelop.Commands.CommandMenuItem:OnActivated ()
in <0x00042> Gtk.MenuItem:activated_cb (IntPtr menu_item)
in (wrapper native-to-managed) Gtk.MenuItem:activated_cb (intptr)
in <0x00000> <unknown method>
in (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in <0x00464> MonoDevelop.Commands.StartWorkbenchCommand:Run ()
in <0x00a49> MonoDevelop.SharpDevelopMain:Main (System.String[] args)
Comment 6 Balint Dobai-Pataky 2005-10-06 06:21:02 UTC
i got a solution on a mailinglist (can't find it now)
my project had references to 1.0 sharp stuff, so i started a new solution gtk2
(i was testing it with a gtk-solution), and now i can edit references, even
compile and run.
Comment 7 Balint Dobai-Pataky 2005-10-06 06:22:31 UTC
i just noticed in the terminal where monodevelop was started:
2005-10-06 16:23:06,604 [-1211123040] INFO  MonoDevelop.Services.ILoggingService
[(null)] - WARNING Could not find stock gtk-open
2005-10-06 16:23:06,741 [-1211123040] INFO  MonoDevelop.Services.ILoggingService
[(null)] - WARNING Could not find stock gtk-save

but does not crash
Comment 8 Peter Johanson (RETIRED) gentoo-dev 2005-10-16 01:04:21 UTC
Can everyone please confirm that this is solved with the new monodevelop-0.8?
That includes a fix for projects referencing the old gtk-sharp-1.0.x stuff. Thanks.
Comment 9 Peter Johanson (RETIRED) gentoo-dev 2005-10-28 00:33:38 UTC
Marking NEEDINFO til folks get back to me.