Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114739 - dev-util/monodevelop-0.9 fails to start
Summary: dev-util/monodevelop-0.9 fails to start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-07 05:13 UTC by Eduardo González López de Murillas
Modified: 2006-04-07 12:35 UTC (History)
4 users (show)

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


Attachments
output from 'strace monodevelop' (strace_monodevelop,3.88 KB, text/plain)
2005-12-07 11:26 UTC, Eduardo González López de Murillas
Details
content of my /usr/lib/monodevelop dir (monodevelop.tar.gz,1.42 MB, application/gzip)
2005-12-08 03:18 UTC, Eduardo González López de Murillas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eduardo González López de Murillas 2005-12-07 05:13:31 UTC
When I start monodevelop, the splash screen appear, and after a few seconds the
process write this on the terminal and ends:

Unhandled Exception: GLib.GException: Unrecognized image file format
in <0x00084> Gdk.PixbufLoader:Close ()
in <0x00198> Gdk.PixbufLoader:InitFromAssemblyResource
(System.Reflection.Assembly assembly, System.String resource)

I can provide more info (backtraces and such) if needed
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2005-12-07 09:39:06 UTC
Can you please report your 'emerge info' output, and a backtrace if possible?
Thanks.
Comment 2 Eduardo González López de Murillas 2005-12-07 11:26:18 UTC
Created attachment 74244 [details]
output from 'strace monodevelop'
Comment 3 Eduardo González López de Murillas 2005-12-07 11:26:55 UTC
(In reply to comment #1)
> Can you please report your 'emerge info' output, and a backtrace if possible?
> Thanks.

emerge info:

Portage 2.0.51.22-r3 (default-linux/ppc/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14-gentoo-r2 ppc)
=================================================================
System uname: 2.6.14-gentoo-r2 ppc 7447A, altivec supported
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=7450 -maltivec -mabi=altivec -pipe"
CHOST="powerpc-unknown-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.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/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 -mcpu=7450 -maltivec -mabi=altivec -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"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="ES"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/ferdy-overlay /usr/local/overlays/f-spot
/usr/local/overlays/general"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X a52 aac aalib alsa altivec audiofile bash-completion berkdb
bitmap-fonts bluetooth browserplugin bzip2 cdr crypt cups curl directfb dts dv
dvd dvdr dvdread emboss encode ethereal exif expat fam fbcon ffmpeg firefox flac
foomaticdb fortran gd gdbm gif gimpprint glut gmp gnome gpm gstreamer gtk gtk2
idn imagemagick imap imlib irmc java jpeg lcms libcaca libwww lua mad maildir
matroska mikmod mjpeg mng motif mp3 mpeg ncurses nls ogg oggvorbis openal opengl
pam pcre pda pdflib perl png ppds python quicktime readline recode samba sdl
slang speex spell ssl svg tabs tcltk tcpd tetex theora tiff truetype
truetype-fonts type1-fonts udev unicode usb vorbis wmf xgetdefault xine xml2
xprint xv xvid zlib video_cards_radeon linguas_ES userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS


And some backtrace (After of reemerge mono and monodevelop with
FEATURES="nostrip" CFLAGS="-O0 -pipe -ggdb3"):
( ~ ) $ gdb --args mono --debug /usr/lib/monodevelop/bin/MonoDevelop.exe
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "powerpc-unknown-linux-gnu"...Using host libthread_db
library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/mono --debug /usr/lib/monodevelop/bin/MonoDevelop.exe
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 21548)]
[New Thread 32769 (LWP 21551)]
[New Thread 16386 (LWP 21552)]
[New Thread 32771 (LWP 21553)]

Program received signal SIGPWR, Power fail/restart.
[Switching to Thread 32771 (LWP 21553)]
0x0fe42f08 in nanosleep () from /lib/libpthread.so.0
(gdb) bt
#0  0x0fe42f08 in nanosleep () from /lib/libpthread.so.0
#1  0x0fe3ea08 in __pthread_timedsuspend_new () from /lib/libpthread.so.0
#2  0x0fe3b2ac in pthread_cond_timedwait@GLIBC_2.0 () from /lib/libpthread.so.0
#3  0x100e8558 in timedwait_signal_poll_cond (cond=Cannot access memory at
address 0x8
) at handles.c:1180
#4  0x100e88a0 in _wapi_handle_timedwait_signal_handle (handle=0x404, timeout=0x0)
    at handles.c:1249
#5  0x100e867c in _wapi_handle_wait_signal_handle (handle=0x404) at handles.c:1209
#6  0x100fade8 in WaitForSingleObjectEx (handle=0x404, timeout=4294967295,
alertable=1)
    at wait.c:179
#7  0x100781fc in finalizer_thread (unused=0x0) at gc.c:750
#8  0x100905b8 in start_wrapper (data=0x102aa310) at threads.c:305
#9  0x100f9dc4 in timed_thread_start_routine (args=0x102aa650) at timed-thread.c:134
#10 0x1011cb24 in GC_start_routine (arg=0x10256f00) at pthread_support.c:1318
#11 0x0fe3bd20 in pthread_start_thread () from /lib/libpthread.so.0
#12 0x0fe3bda0 in pthread_start_thread_event () from /lib/libpthread.so.0
#13 0x0fce40f8 in clone () from /lib/libc.so.6
Previous frame inner to this frame (corrupt stack?)
(gdb) 

I have attached last lines of strace monodevelop.
Comment 4 Peter Johanson (RETIRED) gentoo-dev 2005-12-07 12:48:16 UTC
AHA! I suspected emerge info would show you being on PPC. I've seen someone in
#monodevelop getting the same issue on PPC, and i don't think they got it resolved.

Concerning the backtrace, the SIGPWR isn't actually where this is dying. libgc
uses SIGPWR internally for doing garbage collection. You need to add some
~/.gdbinit lines to ignore those. See http://mono-project.com/Debugging for more
details on how to do that.

My guess is there are endian issues with getting images from embedded resources,
either in the *encoding* of the resources, or in the decoding them at runtime.
We can narrow that down if you wouldn't mind tarring up the contents of
/usr/lib/monodevelop and attaching it to this bug. If it runs fine on my x86 box
here, it's a runtime decoding of things, if it bombs, then the embedded
resources are being borked when monodevelop is being compiled.

Thanks.
Comment 5 Eduardo González López de Murillas 2005-12-08 03:18:18 UTC
Created attachment 74287 [details]
content of my /usr/lib/monodevelop dir
Comment 6 Peter Johanson (RETIRED) gentoo-dev 2005-12-14 18:01:04 UTC
Well, I can confirm that removing my /usr/lib/monodevelop and dropping in yours
makes MD still start fine (and if you trojaned your stuff, you've probably just
successfully at least gained local non priveleged access to my laptop and are
currently using a local root exploit to own me).

This means in all likely hood this is a runtime issue on PPC with embedded
resources.

I'll try to see if i can gain access to one of the dev PPC boxes to do some
poking, and if all else fails we'll gather enough info to submit a good bug
report upstream about this issue.
Comment 7 Nicolas Mainil 2005-12-26 12:15:34 UTC
I'm also on ppc and I got the same error at startup. Note that I also got this error with Banshee. I can't get it working altough someone else on ppc (see bug #115865) successfully did.

I'm using mono-1.1.12.1 and here's my emerge --info.

Gentoo Base System version 1.6.13
Portage 2.0.53 (default-linux/ppc/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r3 ppc)
=================================================================
System uname: 2.6.13-gentoo-r3 ppc 7447A, altivec supported
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -pipe -fno-strict-aliasing"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -pipe -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://mirror.nutsmaas.nl/gentoo/ http://mirror.switch.ch/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo http://gentoo.mirror.solnet.ch http://mir.zyrianes.net/gentoo/ ftp://mir.zyrianes.net/gentoo/"
LANG="en_US.utf8"
LINGUAS="en fr nl"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/etc/portage/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="ppc X a52 aac aalib alsa altivec apm audiofile berkdb bitmap-fonts bzip2 cairo ccache cdda cddb cdparanoia cdr cjk crypt cups curl dbus dts dv dvd dvdr dvdread dvi emboss encode esd ethereal exif expat fam fbcon ffmpeg firefox foomatic foomaticdb fortran gd gif gimp gimpprint ginac glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk+ gtk2 gtkhtml hal howl httpd idn ieee1394 imagemagick imlib ipv6 java javascript jpeg kdeenablefinal lcms libwww mad matroska md5sum mng mono motif mp3 mpeg mpeg2 mysql nautilus ncurses network nfs nls nsplugin ogg oggvorbis opengl oss pam pcre pdflib perl plotutils png ppds python qhull qt quicktime readline recode rle samba scanner sdl speex spell sqlite ssl stream svg t1lib tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 vorbis wmf wxwindows xine xml2 xmms xosd xprint xv xvid zlib linguas_en linguas_fr linguas_nl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, MAKEOPTS
Comment 8 ziegs 2006-02-01 13:58:51 UTC
this only seems to be a problem prior to gtk-sharp 2.8.0.  i was having the same issue with 2.4/2.6, but i just finished merging 2.8.0 and monodevelop runs fine.
Comment 9 Tobias Scherbaum (RETIRED) gentoo-dev 2006-04-07 12:35:00 UTC
Works on ppc using the latest gtk-sharp-2.8, closing.