I have installed mercurial, which has compiled and installed sucessfully however when trying to clone the linux.tv repository it fails. When reverting to gcc 3 to compile the app works as expected. *** glibc detected *** /usr/bin/python: double free or corruption (!prev): 0x00000000005777a0 *** ======= Backtrace: ========= /lib/libc.so.6[0x2ad608f8540d] /lib/libc.so.6(__libc_free+0x6c)[0x2ad608f86a0c] /usr/lib64/python2.4/site-packages/mercurial/bdiff.so[0x2ad60ac3f60b] /usr/lib/libpython2.4.so.1.0(PyEval_EvalFrame+0x4d14)[0x2ad608912ee4] /usr/lib/libpython2.4.so.1.0(PyEval_EvalFrame+0x34cc)[0x2ad60891169c] /usr/lib/libpython2.4.so.1.0(PyEval_EvalFrame+0x34cc)[0x2ad60891169c] /usr/lib/libpython2.4.so.1.0(PyEval_EvalCodeEx+0x81c)[0x2ad60891373c] /usr/lib/libpython2.4.so.1.0(PyEval_EvalFrame+0x3429)[0x2ad6089115f9] /usr/lib/libpython2.4.so.1.0(PyEval_EvalCodeEx+0x81c)[0x2ad60891373c] /usr/lib/libpython2.4.so.1.0(PyEval_EvalFrame+0x3429)[0x2ad6089115f9] /usr/lib/libpython2.4.so.1.0(PyEval_EvalCodeEx+0x81c)[0x2ad60891373c] /usr/lib/libpython2.4.so.1.0(PyEval_EvalFrame+0x3429)[0x2ad6089115f9] /usr/lib/libpython2.4.so.1.0(PyEval_EvalCodeEx+0x81c)[0x2ad60891373c] /usr/lib/libpython2.4.so.1.0(PyEval_EvalFrame+0x3429)[0x2ad6089115f9] /usr/lib/libpython2.4.so.1.0(PyEval_EvalCodeEx+0x81c)[0x2ad60891373c] /usr/lib/libpython2.4.so.1.0[0x2ad6088ce14c] /usr/lib/libpython2.4.so.1.0(PyObject_Call+0x10)[0x2ad6088b8330] /usr/lib/libpython2.4.so.1.0(PyEval_EvalFrame+0x17bb)[0x2ad60890f98b] /usr/lib/libpython2.4.so.1.0(PyEval_EvalCodeEx+0x81c)[0x2ad60891373c] /usr/lib/libpython2.4.so.1.0(PyEval_EvalFrame+0x3429)[0x2ad6089115f9] /usr/lib/libpython2.4.so.1.0(PyEval_EvalCodeEx+0x81c)[0x2ad60891373c] /usr/lib/libpython2.4.so.1.0(PyEval_EvalFrame+0x3429)[0x2ad6089115f9] /usr/lib/libpython2.4.so.1.0(PyEval_EvalFrame+0x34cc)[0x2ad60891169c] /usr/lib/libpython2.4.so.1.0(PyEval_EvalCodeEx+0x81c)[0x2ad60891373c] /usr/lib/libpython2.4.so.1.0(PyEval_EvalCode+0x32)[0x2ad608913862] /usr/lib/libpython2.4.so.1.0[0x2ad60892df39] /usr/lib/libpython2.4.so.1.0(PyRun_SimpleFileExFlags+0x1a8)[0x2ad60892f388] /usr/lib/libpython2.4.so.1.0(Py_Main+0xa78)[0x2ad6089355d8] /lib/libc.so.6(__libc_start_main+0xf4)[0x2ad608f39134] /usr/bin/python[0x400719] ======= Memory map: ======== 00400000-00401000 r-xp 00000000 08:03 140490 /usr/bin/python2.4 00500000-00501000 rw-p 00000000 08:03 140490 /usr/bin/python2.4 00501000-006d1000 rw-p 00501000 00:00 0 [heap] 2ad608766000-2ad608781000 r-xp 00000000 08:03 8317 /lib64/ld-2.4.so 2ad608781000-2ad608782000 rw-p 2ad608781000 00:00 0 2ad60878a000-2ad6087cc000 rw-p 2ad60878a000 00:00 0 2ad6087cd000-2ad60880e000 rw-p 2ad6087cd000 00:00 0 2ad60880f000-2ad608850000 rw-p 2ad60880f000 00:00 0 2ad608880000-2ad608881000 r--p 0001a000 08:03 8317 /lib64/ld-2.4.so 2ad608881000-2ad608882000 rw-p 0001b000 08:03 8317 /lib64/ld-2.4.so 2ad608882000-2ad608977000 r-xp 00000000 08:03 12373 /usr/lib64/libpython2.4.so.1.0 2ad608977000-2ad608a77000 ---p 000f5000 08:03 12373 /usr/lib64/libpython2.4.so.1.0 2ad608a77000-2ad608aa5000 rw-p 000f5000 08:03 12373 /usr/lib64/libpython2.4.so.1.0 2ad608aa5000-2ad608aa9000 rw-p 2ad608aa5000 00:00 0 2ad608aa9000-2ad608ab9000 r-xp 00000000 08:03 8298 /lib64/libpthread-2.4.so 2ad608ab9000-2ad608bb9000 ---p 00010000 08:03 8298 /lib64/libpthread-2.4.so 2ad608bb9000-2ad608bba000 r--p 00010000 08:03 8298 /lib64/libpthread-2.4.so 2ad608bba000-2ad608bbb000 rw-p 00011000 08:03 8298 /lib64/libpthread-2.4.so 2ad608bbb000-2ad608bbf000 rw-p 2ad608bbb000 00:00 0 2ad608bbf000-2ad608bc1000 r-xp 00000000 08:03 8306 /lib64/libdl-2.4.so 2ad608bc1000-2ad608cc1000 ---p 00002000 08:03 8306 /lib64/libdl-2.4.so 2ad608cc1000-2ad608cc3000 rw-p 00002000 08:03 8306 /lib64/libdl-2.4.so 2ad608cc3000-2ad608cc4000 rw-p 2ad608cc3000 00:00 0 2ad608cc4000-2ad608cc6000 r-xp 00000000 08:03 8259 /lib64/libutil-2.4.so 2ad608cc6000-2ad608dc5000 ---p 00002000 08:03 8259 Aborted emerge --info Portage 2.1.1-r1 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.18-gentoo x86_64) ================================================================= System uname: 2.6.18-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ Gentoo Base System version 1.12.1 Last Sync: Tue, 03 Oct 2006 19:00:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -ftracer -fprefetch-loop-arrays -mfpmath=sse -ftree-vectorize -floop-optimize2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=k8 -ftracer -fprefetch-loop-arrays -mfpmath=sse -ftree-vectorize -floop-optimize2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="HEAD X aac alsa amd64 apache2 arts ati avi berkdb bitmap-fonts cairo cdr cli crypt cups dba dbus dlloader dri dts dvb dvd dvdr eds elibc_glibc emboss encode esd fam firefox flac font-server fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 hal howl imon input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux ldap libg++ lirc lirc_devices_devinput live mad matroska mikmod mjpeg mp3 mpeg mysql mythtv ncurses net nls nptl nptlonly nvidia ogg oggvorbis opengl openglsession oss pam pcre pdflib perl php pic png ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session spl ssl symlink tcpd theora tiff transcode truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_nvidia vorbis xlib xml xmmx xorg xv xvid xvmc zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Recompile your python plus mercurial with *sane* flags, like C[XX]FLAGS="-march=k8 -O2 -pipe" and try again.
This has made mercurial work. I only recompiled mercurial. Regards Tim
Closing.