Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183551 - dev-util/monodevelop crashes at startup - file exceptions-ppc.c: line 847
Summary: dev-util/monodevelop crashes at startup - file exceptions-ppc.c: line 847
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: PPC Linux
: High critical (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on: 191541
Blocks:
  Show dependency tree
 
Reported: 2007-06-28 16:23 UTC by Christophe Philemotte
Modified: 2007-09-10 19:10 UTC (History)
0 users

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


Attachments
ppc fix memory corruption patch for mono 1.2.4 (ppc_fix_memory_corruption_r81413.patch,1.16 KB, patch)
2007-07-23 14:43 UTC, Christophe Philemotte
Details | Diff
the ebuild 1.2.4 with the patch ppc (mono-1.2.4.ebuild,3.55 KB, text/plain)
2007-07-23 14:47 UTC, Christophe Philemotte
Details
debug trace of monodevelop (output-monodevelop.txt,8.54 KB, text/plain)
2007-07-23 15:00 UTC, Christophe Philemotte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Philemotte 2007-06-28 16:23:10 UTC
emerge monodevelop OK

run monodevelop FAIL

Reproducible: Always

Steps to reproduce: run monodevelop

I've also tried we the dev ebuild monodevelop-0.14 and obtained the same results: crash of monodevelop.
It seems to be the same kind of error of this bug http://bugzilla.ximian.com/show_bug.cgi?id=81852.

If I can try something, tell me.

Christophe

Below the output console during the startup of monodevelop.

** (./MonoDevelop.exe:27103): WARNING **: Exception inside function without unwind info

** ERROR **: file exceptions-ppc.c: line 847 (arch_handle_exception): should not be reached
aborting...
Stacktrace:


Native stacktrace:

	[0x10123c60]
	[0x100380]
	[0x1]
	/lib/libc.so.6(abort+0x23c) [0xfca4e74]
	/usr/lib/libglib-2.0.so.0(g_logv+0x3ec) [0xff288e8]
	/usr/lib/libglib-2.0.so.0(g_log+0x6c) [0xff2895c]
	/usr/lib/libglib-2.0.so.0(g_assert_warning+0x8c) [0xff289f8]
	[0x1012a4bc]
	[0x1012a0c4]
	[0x1012a634]
	[0x100380]
	[(nil)]

Debug info from gdb:

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 805433952 (LWP 27103)]
[New Thread 816485568 (LWP 27117)]
[New Thread 815240384 (LWP 27116)]
0x0fd0fe10 in fork () from /lib/libc.so.6
  3 Thread 815240384 (LWP 27116)  0x0fe9b560 in ?? ()
   from /lib/libpthread.so.0
  2 Thread 816485568 (LWP 27117)  0x0fe96f20 in pthread_cond_wait@@GLIBC_2.3.2
    () from /lib/libpthread.so.0
  1 Thread 805433952 (LWP 27103)  0x0fd0fe10 in fork () from /lib/libc.so.6

Thread 3 (Thread 815240384 (LWP 27116)):
#0  0x0fe9b560 in ?? () from /lib/libpthread.so.0
#1  0x0fe9b54c in ?? () from /lib/libpthread.so.0
#2  0x100b84b0 in ?? ()
#3  0x0fe91bac in start_thread () from /lib/libpthread.so.0
#4  0x0fd44e70 in clone () from /lib/libc.so.6
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 816485568 (LWP 27117)):
#0  0x0fe96f20 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x100bb37c in ?? ()
#2  0x100bdcc0 in ?? ()
#3  0x100bdd50 in ?? ()
#4  0x100cf538 in ?? ()
#5  0x1005bb88 in ?? ()
#6  0x1007ac80 in ?? ()
#7  0x100ce1cc in ?? ()
#8  0x100e7734 in ?? ()
#9  0x0fe91bac in start_thread () from /lib/libpthread.so.0
#10 0x0fd44e70 in clone () from /lib/libc.so.6
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 805433952 (LWP 27103)):
#0  0x0fd0fe10 in fork () from /lib/libc.so.6
#1  0x0fe9dae8 in fork () from /lib/libpthread.so.0
#2  0x0ff515c0 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x0ff52070 in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
#4  0x0ff52540 in g_spawn_command_line_sync () from /usr/lib/libglib-2.0.so.0
#5  0x10123cf4 in ?? ()
#6  <signal handler called>
#7  0x0fca33fc in raise () from /lib/libc.so.6
#8  0x0fca4d2c in abort () from /lib/libc.so.6
#9  0x0ff288e8 in g_logv () from /usr/lib/libglib-2.0.so.0
#10 0x0ff2895c in g_log () from /usr/lib/libglib-2.0.so.0
#11 0x0ff289f8 in g_assert_warning () from /usr/lib/libglib-2.0.so.0
#12 0x1012a4bc in ?? ()
#13 0x1012a0c4 in ?? ()
#14 0x1012a634 in ?? ()
#15 <signal handler called>
#16 0x31a9ace8 in ?? ()
#17 0x31a9ac90 in ?? ()
#18 0x00000000 in ?? ()
#0  0x0fd0fe10 in fork () from /lib/libc.so.6


=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Aborted
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-28 17:56:26 UTC
emerge --info and ebuild version please.
Comment 2 Christophe Philemotte 2007-06-29 09:55:32 UTC
> emerge --info

Portage 2.1.3_rc5 (default-linux/ppc/ppc32/2006.1/G4, gcc-4.1.2, glibc-2.5-r2, 2.6.20-gentoo-r5 ppc)
=================================================================
System uname: 2.6.20-gentoo-r5 ppc 7447A, altivec supported
Gentoo Base System release 1.12.10
Timestamp of tree: Thu, 28 Jun 2007 13:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.6, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-mcpu=7450 -maltivec -mabi=altivec -O2 -mtune=powerpc -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-mcpu=7450 -maltivec -mabi=altivec -O2 -mtune=powerpc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mirror.ovh.net/gentoo-distfiles/"
LANG="en_US.UTF8"
LC_ALL="en_US.UTF8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="X a52 aac alsa altivec apache2 bash-completion bcmath berkdb bitmap-fonts bluetooth bonobo bzip2 cdparanoia cdr cli cracklib crypt ctype cups dbus divx4linux dri dts dvd dvdr dvdread eds emboss encode fbcon ffmpeg fftw firefox fontconfig fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml iconv icq ieee1394 imagemagick imap ipv6 isdnlog jabber java javascript jpeg jpeg2k kde lapack ldap libg++ libwww mad maildir matroska midi mikmod mime motif mozilla mozilla-firefox mp3 mpeg mpi msn mudflap musepack ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf pdflib perl php plotutils png posix ppc ppds pppd python qt3 qt4 quicktime readline recode reflection ruby sdl session sharedmem sockets source spell spl ssl svg symlink tcltk tcpd tetex threads tiff tokenizer truetype truetype-fonts type1-fonts unicode usb v4l vorbis wifi wma wxwindows xml xml2 xorg xosd xpm xprint xv xvid zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

>ebuild version

monodevelop-0.12.ebuild
Comment 3 Jurek Bartuszek (RETIRED) gentoo-dev 2007-06-29 11:44:04 UTC
AFAIK upstream is aware of this bug and I don't think we can do anything in this matter until they fix it.
Comment 4 Christophe Philemotte 2007-06-29 11:56:13 UTC
(In reply to comment #3)
> AFAIK upstream is aware of this bug and I don't think we can do anything in
> this matter until they fix it.
> 

OK, thanks for answering me :).

I you need some testers, tell me.
Comment 5 Christophe Philemotte 2007-07-23 14:43:20 UTC
Created attachment 125746 [details, diff]
ppc fix memory corruption patch for mono 1.2.4
Comment 6 Christophe Philemotte 2007-07-23 14:47:41 UTC
Created attachment 125747 [details]
the ebuild 1.2.4 with the patch ppc
Comment 7 Christophe Philemotte 2007-07-23 14:56:23 UTC
I've found a solution in this thread 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=428190

Finally, it was a bug of mono.

I've applied to mono-1.2.4 and it works, here the two attachments
- the ebuild 1.2.4 with the patch ppc
- ppc fix memory corruption patch for mono 1.2.4

I've tried it on monodevelop-0.14 (~ppc). Now, I don't have a direct crash at startup. Please see the next comments for trace and emerge --info
Comment 8 Christophe Philemotte 2007-07-23 14:57:34 UTC
emerge --info

Portage 2.1.3_rc9 (default-linux/ppc/ppc32/2006.1/G4, gcc-4.1.2, glibc-2.5-r2, 2.6.20-gentoo-r5daneel ppc)
=================================================================
System uname: 2.6.20-gentoo-r5daneel ppc 7447A, altivec supported
Gentoo Base System release 1.12.10
Timestamp of tree: Mon, 23 Jul 2007 11:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.6-r2, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r1
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-mcpu=7450 -maltivec -mabi=altivec -O2 -mtune=powerpc -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-mcpu=7450 -maltivec -mabi=altivec -O2 -mtune=powerpc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mirror.ovh.net/gentoo-distfiles/"
LANG="en_US.UTF8"
LC_ALL="en_US.UTF8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="X a52 aac alsa altivec apache2 bash-completion bcmath berkdb bitmap-fonts bluetooth bonobo bzip2 cdparanoia cdr cli cracklib crypt ctype cups dbus divx4linux dri dts dvd dvdr dvdread eds emboss encode fbcon ffmpeg fftw firefox fontconfig fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml iconv icq ieee1394 imagemagick imap ipv6 isdnlog jabber java javascript jpeg jpeg2k kde lapack ldap libg++ libwww mad maildir matroska midi mikmod mime motif mozilla mozilla-firefox mp3 mpeg mpi msn mudflap musepack ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf pdflib perl php plotutils png posix ppc ppds pppd python qt3 qt4 quicktime readline recode reflection ruby sdl session sharedmem sockets source spell spl ssl svg symlink tcltk tcpd tetex threads tiff tokenizer truetype truetype-fonts type1-fonts unicode usb v4l vorbis wifi wma wxwindows xml xml2 xorg xosd xpm xprint xv xvid zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Christophe Philemotte 2007-07-23 15:00:08 UTC
Created attachment 125749 [details]
debug trace of monodevelop
Comment 10 dario 2007-08-28 07:41:40 UTC
This patch is necessary on ppc, can it be put in portage?
Comment 11 Jurek Bartuszek (RETIRED) gentoo-dev 2007-09-09 18:40:44 UTC
this is already fixed in 1.2.5, wait until it hits portage
Comment 12 Jurek Bartuszek (RETIRED) gentoo-dev 2007-09-10 19:10:55 UTC
1.2.5 is in portage now, closing