From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199712121454.GAA26203@fock.usc.edu> Date: Sat, 13 Dec 1997 00:57:33 -0800 From: George Subject: libg++ vs. alpha in RH5.0 I'm having trouble with c++ programs ... in fact none of them will run ... they segfault on close() system call ... here's how lftp dies with strace read(3, "#\n# /etc/nsswitch.conf\n#\n# An"..., 8192) = 1208 read(3, "", 8192) = 0 close(3) = 0 lftp: memory violation at pc=00000000 rp=15555df71e4 (bad address = 00000000) --- SIGSEGV (Segmentation fault) --- +++ killed by SIGSEGV +++ others die on the same system call ... this is those that use libstdc++ .. (and probably libg++ as well ... and thatprovides libstdc++ anyhow) this is gdb output from running lftp (gdb) run Starting program: /usr/bin/lftp lftp: memory violation at pc=00000000 rp=15555df71e4 (bad address = 00000000) Unable to find vma for addr 0x0 Unable to find vma for addr 0x0 Program received signal SIGSEGV, Segmentation fault. Unable to find vma for addr 0x0 Unable to find vma for addr 0x0 Unable to find vma for addr 0x0 Unable to find vma for addr 0x0 Unable to find vma for addr 0x0 Unable to find vma for addr 0x0 Unable to find vma for addr 0x0 Unable to find vma for addr 0x0 0x0 in ?? () (gdb) bt #0 0x0 in ?? () #1 0x15555df71e4 in _IO_fclose () at iofclose.c:44 #2 0x15555df71e4 in _IO_fclose () at iofclose.c:44 Unable to find vma for addr 0x40 Unable to find vma for addr 0x40 Cannot access memory at address 0x40. (gdb) I don't feel like hacking on it right now (don't have the time ...) ... is this a known problem? ... I know other alpha people who have this ... George -- ------------------------------------------------------------------------------ George Lebl http://www.5z.com/jirka/ ------------------------------------------------------------------------------ WARNING: Reading this message can affect the dimensionality of your mind, change the curvature of your spine, cause the growth of hair on your palms, and make a difference in the outcome of your favorite war. -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com