Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83607 - Monodevelop-0.5.1-r3 crashes when creating new file or selecting item in Monodoc-browser
Summary: Monodevelop-0.5.1-r3 crashes when creating new file or selecting item in Mono...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-28 14:18 UTC by Alexander Kaiser
Modified: 2005-03-07 11:55 UTC (History)
0 users

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


Attachments
Patchmonodevelop-0.5.1-iconloader.diff (monodevelop-0.5.1-iconloader.diff,1.23 KB, patch)
2005-03-01 02:03 UTC, Alexander Kaiser
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kaiser 2005-02-28 14:18:00 UTC
When I try to create a new file and when selecting an item in the Monodoc-browser which is shown after I start Monodevelop the program crashes with similar exceptions.

Reproducible: Always
Steps to Reproduce:
1. Start monodevelop
2a. Clicking on item in Monodoc-browser
or 2b. Creating new file

Actual Results:  
2a.: Monodevelop crashes with the following exception:
(MonoDevelop:28001): GdkPixbuf-CRITICAL **: file gdk-pixbuf-scale.c: line 246
(gdk_pixbuf_scale_simple): assertion `src != NULL' failed

Unhandled Exception: System.NullReferenceException: A null value was found where
an object instance was required.
in <0x00182> Gtk.Image:.ctor (Gdk.Pixbuf)
in <0x00094> MonoDevelop.Gui.SdiWorkbenchLayout:ShowView
(MonoDevelop.Gui.IViewContent)
in <0x001fb> MonoDevelop.Gui.DefaultWorkbench:ShowView
(MonoDevelop.Gui.IViewContent)
in <0x0020d> MonoDevelop.Gui.Pads.HelpTree:ShowDocs (string,Monodoc.Node,string)
in <0x0011f> MonoDevelop.Gui.Pads.HelpTree:RowActivated (object,System.EventArgs)
in <0x00045> (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in <0x000bd> GtkSharp.voidObjectSignal:voidObjectCallback (intptr,int)
in <0x00027> (wrapper native-to-managed)
GtkSharp.voidObjectSignal:voidObjectCallback (intptr,int)
in (unmanaged) 0x435932e1
in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in <0x0061a> MonoDevelop.Commands.StartWorkbenchCommand:Run ()
in <0x00876> MonoDevelop.SharpDevelopMain:Main (string[])

2b. Monodevelop crashes with:
(MonoDevelop:28054): GdkPixbuf-CRITICAL **: file gdk-pixbuf-scale.c: line 246
(gdk_pixbuf_scale_simple): assertion `src != NULL' failed

Unhandled Exception: System.Reflection.TargetInvocationException: Exception has
been thrown by the target of an invocation. ---> System.NullReferenceException:
A null value was found where an object instance was required.
in <0x00182> Gtk.Image:.ctor (Gdk.Pixbuf)
in <0x00094> MonoDevelop.Gui.SdiWorkbenchLayout:ShowView
(MonoDevelop.Gui.IViewContent)
in <0x001fb> MonoDevelop.Gui.DefaultWorkbench:ShowView
(MonoDevelop.Gui.IViewContent)
in <0x000c9> MonoDevelop.Services.DefaultFileService:NewFile (string,string,string)
in <0x00099> MonoDevelop.Gui.Dialogs.NewFileDialog:SaveFile
(string,string,string,bool)
in <0x00106> MonoDevelop.Gui.Dialogs.NewFileDialog:OpenEvent
(object,System.EventArgs)
in <0x00045> (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in <0x000a7> MonoDevelop.Gui.Widgets.IconView:HandleIconSelected
(object,Gnome.IconSelectedArgs)
in (unmanaged) 0x808ad2f
in <0x00004> (wrapper managed-to-native)
System.Reflection.MonoMethod:InternalInvoke (object,object[])
in <0x0005d> System.Reflection.MonoMethod:Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
--- End of inner exception stack trace ---

in <0x000cd> System.Reflection.MonoMethod:Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
in <0x00017> System.Reflection.MethodBase:Invoke (object,object[])
in <0x000b3> System.Delegate:DynamicInvokeImpl (object[])
in <0x00028> System.MulticastDelegate:DynamicInvokeImpl (object[])
in <0x0000e> System.Delegate:DynamicInvoke (object[])
in <0x001a2> GnomeSharp.voidObjectintEventSignal:voidObjectintEventCallback
(intptr,int,intptr,int)
in <0x0003b> (wrapper native-to-managed)
GnomeSharp.voidObjectintEventSignal:voidObjectintEventCallback
(intptr,int,intptr,int)
in (unmanaged) 0xb73df036
in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in <0x0061a> MonoDevelop.Commands.StartWorkbenchCommand:Run ()
in <0x00876> MonoDevelop.SharpDevelopMain:Main (string[])


Expected Results:  
Opening Monodoc-item or new file in workbench.

Portage 2.0.51-r15 (default-linux/x86/2005.0, gcc-3.4.3,
glibc-2.3.4.20040808-r1, 2.6.11-rc4-nitro1 i686)
=================================================================
System uname: 2.6.11-rc4-nitro1 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 15:21:05)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.7.9-r1, 1.6.3, 1.5, 1.4_p6, 1.9.4, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2, 2.6.8.1-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/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="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
http://ftp.easynet.nl/mirror/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib alsa apache2 apm arts avi berkdb bitmap-fonts cdparanoia
cdr crypt cups curl directfb dvd emboss encode esd f77 fam fftw flac foomaticdb
fortran gd gdbm gif gimpprint gpm gstreamer gtk gtk2 guile hal imagemagick imlib
java jce jpeg junit kde kdeenablefinal libg++ libwww lirc mad mikmod mmx motif
mozilla mp3 mpeg ncurses nls nntp nptl oggvorbis opengl oss pam pdflib perl png
python qt quicktime readline sasl scanner sdl slang speex spell sqlite sse ssl
svgatcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb xine xml xml2
xmms xprint xv zlib linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS

Installed mono-libs:
====================
dev-util/monodevelop-0.5.1-r3
dev-dotnet/gnome-sharp-1.0.6
dev-dotnet/gtk-sharp-1.0.6
dev-dotnet/art-sharp-1.0.6
dev-dotnet/mono-1.1.4
dev-dotnet/gtksourceview-sharp-0.5-r1
dev-dotnet/gtkhtml-sharp-1.0.6
dev-dotnet/glade-sharp-1.0.6
dev-dotnet/gconf-sharp-1.0.6
dev-dotnet/gecko-sharp-0.6
Comment 1 Alex Howells (RETIRED) gentoo-dev 2005-02-28 14:21:00 UTC
Assigning to the team responsible for monodevelop.
Comment 2 Alexander Kaiser 2005-02-28 14:46:58 UTC
Ok, http://lists.ximian.com/archives/public/monodevelop-list/2005-February/001700.html helped a bit. The problem disappeared by switching to a different icon-theme in XFCE4 but it still exists in KDE. How do I change GTK-icon-theme in KDE??
Comment 3 Alexander Kaiser 2005-03-01 02:03:56 UTC
Created attachment 52360 [details, diff]
Patchmonodevelop-0.5.1-iconloader.diff
Comment 4 Alexander Kaiser 2005-03-01 02:06:00 UTC
http://bugzilla.ximian.com/show_bug.cgi?id=70997 solved the problem. With the patch attached to that bug the problem disappeared and I now can create new files. I attached the patch which worked for my ebuild also to this ebuild.

But still the question: How can I change the gnome-icon-theme under KDE?
Comment 5 Peter Johanson (RETIRED) gentoo-dev 2005-03-01 07:10:52 UTC
Don't close it til we actually resolve this in portage. (: Reopening.
Comment 6 Andreas Simon 2005-03-07 06:11:20 UTC
This patch works fine, thanks.
Comment 7 Peter Johanson (RETIRED) gentoo-dev 2005-03-07 11:55:07 UTC
Ok, i've just commited monodevelop-0.5.1-r4 which includes this patch. Thanks all for the report and info. Marking FIXED.