glibc 2.3.4 on DEC Alpha segfaults

Andrew A. Gill superluser at frontiernet.net
Mon Apr 11 05:50:41 CEST 2005


glibc is segfaulting on DEC Alpha for me.

The last version that works is glibc-2.3.4-0.20040603.1.  The
later CVS versions and glibc-2.3.4-[12] fail.  gdb won't let me
do a backtrace (``no stack''), but I've got the following bits
from ltrace (strace is attached):

xfce4-panel (4.2.0-1):

DEBUG: process_event.c:89: process_event(): event: sysret
(SYS_osf_syscall [0])
DEBUG: process_event.c:73: process_event(): event: signal
(SIGSEGV [11])

dillo 0.8.4 (compiled against the new glibc):

DEBUG: process_event.c:89: process_event(): event: sysret
(SYS_osf_syscall [0])
DEBUG: process_event.c:85: process_event(): event: syscall
(SYS_clone [312])
DEBUG: breakpoints.c:103: disable_all_breakpoints(): Disabling
breakpoints for
pid 32336...
DEBUG: process_event.c:89: process_event(): event: sysret
(SYS_-1 [-1])
DEBUG: process_event.c:81: process_event(): event: exit signal
(SIGSEGV [11])

I'm not sure what's causing this--it may just be that my kernel
(2.6.11) isn't configured for NPTL (glibc-2.3.4-[12].alpha uses
NPTL, right?), or something easy.

Or it could be something hard.  I really don't want to compile
glibc on my system.  Help?

-- 
|Andrew A. Gill                       |I posted to Silent-Tristero and|
|<superluser at frontiernet.net>         |all I got was this stupid sig! |
|alt.tv.simpsons CBG-FAQ author       |                               |
|                          (Report all obscene mail to Le Maitre Pots)|
|Yet: <http://www.needsfoodbadly.com>                 Temporary sig: --

Please?
-------------- next part --------------
Here's what looks like the relevant part of what dillo was doing:


read(3, "\5\1\314\10~\3564\1&\0\0\0p\0\340\1q\0\340\1\250\2h\3B"..., 64) = 64
write(1, "Nav_open_url: Url=>http://slashd"..., 41Nav_open_url: Url=>http://slashdot.org/<
) = 41
gettimeofday({1110316136, 131524}, NULL) = 0
mmap(NULL, 8388608, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x20003eac000
mprotect(0x20003eac000, 8192, PROT_NONE) = 0
clone(child_stack=0x200046aabe0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID|CLONE_DETACHED, parent_tidptr=0x200046ab320, tls=0x200046ab920, child_tidptr=0x200046ab320) = 32106
gettimeofday({1110316136, 142913}, NULL) = 0
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}], 2, 0) = 0
gettimeofday(ptrace: umoven: No such process
{...}, NULL)               = 0
trace: ptrace(PTRACE_SYSCALL, ...): No such process


Here's what looks like the relevant part of what xfce4-panel was doing 
(less sure of this because it's not interactive):
(for the record, libXcursor.so.1.0 is under /usr/X11R6/lib)


open("/etc/ld.so.cache", O_RDONLY)      = 4
osf_syscall(0x4, 0x11fffe070, 0x11fffe070, 0, 0, 0xffffffff90000001) = -1 EREMOTE (Object is remote)
close(4)                                = 0
open("/lib/tls/libXcursor.so.1.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libXcursor.so.1.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libXcursor.so.1.0", O_RDONLY) = -1 ENOENT (No such file or directory)
munmap(0x200048f4000, 80661)            = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++



More information about the pld-devel-en mailing list