Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57642 - monodevelop crashes upon startup : System.Reflection.TargetInvocationException
Summary: monodevelop crashes upon startup : System.Reflection.TargetInvocationException
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-19 14:39 UTC by Zumo Zumoton
Modified: 2004-07-20 12:14 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 Zumo Zumoton 2004-07-19 14:39:10 UTC
after i emerge monodevelop and attempt to start the program via "monodevelop" it crashes.  the program DOES work if i execute as root, however.

Reproducible: Always
Steps to Reproduce:
1.monodevelop
2.
3.

Actual Results:  
Creating DefaultWorkbench
Loading error, please reinstall :
System.Reflection.TargetInvocationException: Exception has been thrown by the
target of an invocation. ---> GLib.GException: Failed to open file
'/usr/share/icons/gnome/48x48/mimetypes/gnome-mime-text-x-sh.png': No such file
or directory
in <0x000a4> Gdk.Pixbuf:.ctor (string)
in [0x00074] (at
/var/tmp/portage/monodevelop-0.5/work/monodevelop-0.5/src/Libraries/MonoDevelop.Gui.Utils/FileIcons/FileIconLoader.cs:58)
MonoDevelop.Gui.Utils.FileIconLoader:GetPixbufForType (string)
in [0x00046] (at
/var/tmp/portage/monodevelop-0.5/work/monodevelop-0.5/src/Libraries/MonoDevelop.Gui.Utils/FileIcons/FileIconLoader.cs:40)
MonoDevelop.Gui.Utils.FileIconLoader:GetPixbufForFile (string,int,int)
in [0x00066] (at
/var/tmp/portage/monodevelop-0.5/work/monodevelop-0.5/src/Main/Base/Gui/Pads/FileScout/FileListItem.cs:78)
MonoDevelop.Gui.Pads.FileListItem:.ctor (string)
in [0x0006d] (at
/var/tmp/portage/monodevelop-0.5/work/monodevelop-0.5/src/Main/Base/Gui/Pads/FileScout/FileScout.cs:74)
MonoDevelop.Gui.Pads.FileScout:OnDirChanged (string)
in [0x000a9] (at
/var/tmp/portage/monodevelop-0.5/work/monodevelop-0.5/src/Main/Base/Gui/Pads/FileScout/FileScout.cs:58)
MonoDevelop.Gui.Pads.FileScout:.ctor ()
in (unmanaged) (wrapper managed-to-native)
System.Reflection.MonoCMethod:InternalInvoke (object,object[])
in <0x00004> (wrapper managed-to-native)
System.Reflection.MonoCMethod:InternalInvoke (object,object[])
in [0x00033] (at /cvs/mcs/class/corlib/System.Reflection/MonoMethod.cs:280)
System.Reflection.MonoCMethod:Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
--- End of inner exception stack trace ---

in [0x00052] (at /cvs/mcs/class/corlib/System.Reflection/MonoMethod.cs:284)
System.Reflection.MonoCMethod:Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
in [0x00007] (at /cvs/mcs/class/corlib/System.Reflection/MonoMethod.cs:289)
System.Reflection.MonoCMethod:Invoke
(System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
in [0x00017] (at /cvs/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:62)
System.Reflection.ConstructorInfo:Invoke (object[])
in [0x00074] (at /cvs/mcs/class/corlib/System/Activator.cs:260)
System.Activator:CreateInstance (System.Type,bool)
in [0x00002] (at /cvs/mcs/class/corlib/System/Activator.cs:151)
System.Activator:CreateInstance (System.Type)
in [0x00013] (at /cvs/mcs/class/corlib/System.Reflection/Assembly.cs:468)
System.Reflection.Assembly:CreateInstance (string,bool)
in [0x00003] (at /cvs/mcs/class/corlib/System.Reflection/Assembly.cs:459)
System.Reflection.Assembly:CreateInstance (string)
in [0x00035] (at
/var/tmp/portage/monodevelop-0.5/work/monodevelop-0.5/src/Libraries/MonoDevelop.Core/AddIns/AddIn.cs:432)
MonoDevelop.Core.AddIns.AddIn:CreateObject (string)
in [0x0000c] (at
/var/tmp/portage/monodevelop-0.5/work/monodevelop-0.5/src/Libraries/MonoDevelop.Core/AddIns/Codons/ClassCodon.cs:27)
MonoDevelop.Core.AddIns.Codons.ClassCodon:BuildItem
(object,System.Collections.ArrayList,MonoDevelop.Core.AddIns.Conditions.ConditionCollection)
in [0x00058] (at
/var/tmp/portage/monodevelop-0.5/work/monodevelop-0.5/src/Libraries/MonoDevelop.Core/AddIns/DefaultAddInTreeNode.cs:180)
MonoDevelop.Core.AddIns.DefaultAddInTreeNode:BuildChildItems (object)
in [0x00010] (at
/var/tmp/portage/monodevelop-0.5/work/monodevelop-0.5/src/Main/Base/Gui/Workbench/DefaultWorkbench.cs:612)
MonoDevelop.Gui.DefaultWorkbench:UpdateViews (object,System.EventArgs)
in [0x00015] (at
/var/tmp/portage/monodevelop-0.5/work/monodevelop-0.5/src/Main/Base/Commands/AutostartCommands.cs:41)
MonoDevelop.Commands.InitializeWorkbenchCommand:Run ()
in [0x001d2] (at
/var/tmp/portage/monodevelop-0.5/work/monodevelop-0.5/src/Main/StartUp/MonoDevelopMain.cs:115)
MonoDevelop.SharpDevelopMain:Main (string[])


Expected Results:  
should have popped up a gui

Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.6)
=================================================================
System uname: 2.6.6 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.3.10
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://gentoo.noved.org/ ftp://gentoo.mirrors.pair.com/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm arts avi berkdb bonobo cdr crypt cups dvd encode esd
foomaticdb gdbm gif gpm imlib java jpeg kde libg++ libwww mad mikmod mmx motif
mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt
quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex truetype
video_cards_radeon x86 xml2 xmms xv zlib"
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2004-07-19 15:48:14 UTC
Okay, first, do you have that PNG file it mentions? that comes from gnome-icon-theme or somesuch.

2nd, are you using the same theme for root and for the normal user?
Comment 2 Zumo Zumoton 2004-07-20 12:14:16 UTC
emerging to gnome-icon-theme 1.2.3 worked. i had 1.2.1 or something installed.