I doubt this is a memory problem. I've just had the same problem with
glibc-2.17 and python. I manually went back to glibc-2.16 and everything is
fine again. I then tried re-emerging all the python versions with glibc-2.16
installed and then re-emerged glibc-2.17 and had the same problem.

After running strace on the python2.7. My best guess is that it is a kernel
<> glibc-2.17 incompatiblity. The segfault happens near a mprotect
operation, very early on.

vault ~ # strace python
-- snip -- 
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7462000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb74626c0, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,
seg_not_present:0, useable:1}) = 0
mprotect(0xb7658000, 8192, PROT_READ)   = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault

vault ~ # uname -a
Linux vault 2.6.31-gentoo-r10 #1 SMP Sun Mar 7 14:35:15 EST 2010 i686
Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz GenuineIntel GNU/Linux

I'm upgrading to the latest gentoo-sources. Only thing i'm worried about is
rebooting but all in the life of a gentoo user.



--
View this message in context: 
http://gentoo.2317880.n4.nabble.com/updating-old-box-segfaults-with-python-tp274112p274799.html
Sent from the gentoo-user mailing list archive at Nabble.com.

Reply via email to