This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6728] abort() seg faults when statically linked in glibc-2.7
- From: "halesh dot s at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 8 Jul 2008 12:21:31 -0000
- Subject: [Bug libc/6728] abort() seg faults when statically linked in glibc-2.7
- References: <20080708115559.6728.shal1783@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From halesh dot s at gmail dot com 2008-07-08 12:21 -------
(In reply to comment #1)
> What architecture is this? Does it happen with the latest glibc release? I
can't
> reproduce it on i386 with glibc-2.8. By the way, abort() comes from
<stdlib.h>,
> not <stdio.h>.
Replaced stdio with stdlib, no effect.
$uname -a
Linux x86_server1 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 i686 i686 i386 GNU/
Linux
Here i got strace o/p, may be helpful.
$strace ./test_abort
........
........set_thread_area({entry_number:-1 -> 6, base_addr:0x8d2e830,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,
seg_not_present:0, useable:1}) = 0
brk(0x8d4fcb0) = 0x8d4fcb0
brk(0x8d50000) = 0x8d50000
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
gettid() = 16743
tgkill(0, 16743, SIGABRT) = -1 EINVAL (Invalid argument)
rt_sigaction(SIGABRT, {SIG_DFL}, NULL, 8) = 0
tgkill(0, 16743, SIGABRT) = -1 EINVAL (Invalid argument)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
I will try with glibc-2.8.
Thanks.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6728
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.