Segfault when compiling python 2.3.7

Bug #299466 reported by Boris de Laage
This bug report is a duplicate of:  Bug #286334: gcc crashes python 2.3 in intrepid. Edit Remove
2
Affects Status Importance Assigned to Milestone
Ubuntu
New
Undecided
Unassigned

Bug Description

./configure --prefix=/opt/python2.3 && make :

[.. lot of output ..]

case $MAKEFLAGS in \
 *-s*) CC='gcc -pthread' LDSHARED='gcc -pthread -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py -q build;; \
 *) CC='gcc -pthread' LDSHARED='gcc -pthread -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py build;; \
 esac
*** buffer overflow detected ***: ./python terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0x40172558]
/lib/tls/i686/cmov/libc.so.6[0x40170680]
/lib/tls/i686/cmov/libc.so.6[0x40170de8]
./python(PySys_SetArgv+0x150)[0x80deeb0]
./python(Py_Main+0x324)[0x8056864]
./python(main+0x22)[0x8056512]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0x4008e685]
./python[0x8056451]
======= Memory map: ========
08048000-08119000 r-xp 00000000 08:06 40943621 /home/boris/Zope/archives/Python-2.3.7/python
08119000-0811a000 r--p 000d0000 08:06 40943621 /home/boris/Zope/archives/Python-2.3.7/python
0811a000-08138000 rw-p 000d1000 08:06 40943621 /home/boris/Zope/archives/Python-2.3.7/python
08138000-0813b000 rw-p 08138000 00:00 0
08ce5000-08d54000 rw-p 08ce5000 00:00 0 [heap]
40000000-4001a000 r-xp 00000000 08:01 161619 /lib/ld-2.8.90.so
4001a000-4001b000 r-xp 4001a000 00:00 0 [vdso]
4001b000-4001c000 r--p 0001a000 08:01 161619 /lib/ld-2.8.90.so
4001c000-4001d000 rw-p 0001b000 08:01 161619 /lib/ld-2.8.90.so
4001d000-4001f000 rw-p 4001d000 00:00 0
4001f000-40026000 r--s 00000000 08:01 274963 /usr/lib/gconv/gconv-modules.cache
40030000-40045000 r-xp 00000000 08:01 178490 /lib/tls/i686/cmov/libpthread-2.8.90.so
40045000-40046000 r--p 00014000 08:01 178490 /lib/tls/i686/cmov/libpthread-2.8.90.so
40046000-40047000 rw-p 00015000 08:01 178490 /lib/tls/i686/cmov/libpthread-2.8.90.so
40047000-40049000 rw-p 40047000 00:00 0
40049000-4004b000 r-xp 00000000 08:01 178470 /lib/tls/i686/cmov/libdl-2.8.90.so
4004b000-4004c000 r--p 00001000 08:01 178470 /lib/tls/i686/cmov/libdl-2.8.90.so
4004c000-4004d000 rw-p 00002000 08:01 178470 /lib/tls/i686/cmov/libdl-2.8.90.so
4004d000-4004f000 r-xp 00000000 08:01 178498 /lib/tls/i686/cmov/libutil-2.8.90.so
4004f000-40050000 r--p 00001000 08:01 178498 /lib/tls/i686/cmov/libutil-2.8.90.so
40050000-40051000 rw-p 00002000 08:01 178498 /lib/tls/i686/cmov/libutil-2.8.90.so
40051000-40075000 r-xp 00000000 08:01 178472 /lib/tls/i686/cmov/libm-2.8.90.so
40075000-40076000 r--p 00023000 08:01 178472 /lib/tls/i686/cmov/libm-2.8.90.so
40076000-40077000 rw-p 00024000 08:01 178472 /lib/tls/i686/cmov/libm-2.8.90.so
40077000-40078000 rw-p 40077000 00:00 0
40078000-401d0000 r-xp 00000000 08:01 178464 /lib/tls/i686/cmov/libc-2.8.90.so
401d0000-401d2000 r--p 00158000 08:01 178464 /lib/tls/i686/cmov/libc-2.8.90.so
401d2000-401d3000 rw-p 0015a000 08:01 178464 /lib/tls/i686/cmov/libc-2.8.90.so
401d3000-4031c000 rw-p 401d3000 00:00 0
4031c000-4035b000 r--p 00000000 08:01 412887 /usr/lib/locale/fr_FR.utf8/LC_CTYPE
4036c000-40379000 r-xp 00000000 08:01 161662 /lib/libgcc_s.so.1
40379000-4037a000 r--p 0000c000 08:01 161662 /lib/libgcc_s.so.1
4037a000-4037b000 rw-p 0000d000 08:01 161662 /lib/libgcc_s.so.1
bfed5000-bfeea000 rw-p bffeb000 00:00 0 [stack]
Aborted
make: *** [sharedmods] Erreur 134

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
NonfreeKernelModules: nvidia
Package: gcc 4:4.3.1-1ubuntu2
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=fr_FR.UTF-8
SourcePackage: gcc-defaults
Uname: Linux 2.6.27-7-generic i686

Revision history for this message
Boris de Laage (bbloup) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.