Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83339 - glibc corruption error when closing Mono progs
Summary: glibc corruption error when closing Mono progs
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-25 15:22 UTC by Doug Goldstein (RETIRED)
Modified: 2005-03-07 13:46 UTC (History)
0 users

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


Attachments
labeltest.cs (labeltest.cs,18.20 KB, text/plain)
2005-02-25 15:22 UTC, Doug Goldstein (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Goldstein (RETIRED) gentoo-dev 2005-02-25 15:22:03 UTC
I've installed  mono 1.1.4 from the ebuild available.

Whenever I run a Mono app (compiled with an old version or with the current version) I get an glibc error on exit.

$ mono labeltest.exe
6 keysymbols per a keycode is not supported, setting to 4
done detecting keyboard:  United States keyboard layout (phantom key version)
#region #line XplatUI Constructor called
*** glibc detected *** corrupted double-linked list: 0x0853f280 ***


compile line is as follows:
mcs  -target:exe -out:"labeltest.exe" -r:System.Windows.Forms.dll -r:System.Drawing.dll labeltest.cs

mono labeltest.exe

now if I compile with -g and run it with mono --debug. I don't get the error.

$ emerge info
Portage 2.0.51.16 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.40GHzGentoo Base System version 1.6.9
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 16:39:30)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.2.3-r5, 2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4, 1.5
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fexpensive-optimizations -ffast-math -falign-functions=4 -fforce-addr -funroll-loops -maccumulate-outgoing-args -frerun-loop-opt -fprefetch-loop-arrays -frerun-cse-after-loop -mfpmath=sse -ftracer"
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="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fexpensive-optimizations -ffast-math -falign-functions=4 -fforce-addr -funroll-loops -maccumulate-outgoing-args -frerun-loop-opt -fprefetch-loop-arrays -frerun-cse-after-loop -mfpmath=sse -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs distlocks sandbox sfperms sign"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo/ http://gentoo.osuosl.org"
MAKEOPTS="-j2"
PKGDIR="/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apm audiofile avi bash-completion berkdb bitmap-fonts cairo cdr crypt cups curl dba dmx dvd emboss encode esd faad fam flac font-server foomaticdb footmaticdb gd gdbm gif glitz gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 hal howl imagemagick imlib ipv6 jpeg kde ldap libg++ libwww live mad mikmod mmx motif mozilla moznocompose moznoirc moznomail mozsvg mpeg mysql nas ncurses nogcj nptl nvidia oav oggvorbis opengl oss pam pcmcia pdflib perl php pic png pnp ppds python qt quicktime readline samba sdl slang slp smooth spell sse sse2 ssl svg svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb wmf x86 xml xml2 xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2005-02-25 15:22:46 UTC
Created attachment 52159 [details]
labeltest.cs

Sample Program to test
Comment 2 Peter Johanson (RETIRED) gentoo-dev 2005-02-26 15:02:05 UTC
This seems to be specific to WinForms apps, per our conversation. When you get a useful backtrace, or more info, please post it. Thanks.
Comment 3 Peter Johanson (RETIRED) gentoo-dev 2005-03-07 13:46:33 UTC
Marking NEEDINFO. Please re-open when you've got a useful backtrace of the error (via gdb). The mono-project.com site has info on getting backtraces of mono apps with gdb. Thanks.