From: Uncle George <gatgul@voicenet.com>
To: "axp-list@redhat.com" <axp-list@redhat.com>
Cc: "redhat-devel-list@redhat.com" <redhat-devel-list@redhat.com>
Subject: profiling on redhat/alpha goes core on startup
Date: Sat, 28 Mar 1998 06:55:54 -0500 [thread overview]
Message-ID: <351CE548.739895A4@voicenet.com> (raw)
does profiling on alpha work. when i include the -pg switch, the
resulting executable
will go core before it ever hits main()
isn't there a libc_p.so for profiling? the core dump seems to be comming
from somewhere
in libc.so
any one got suggestions on how to debug this boo bo.
gdb javah <<EOF
r
where
q
y
EOF
strace javah
ldd javah
+ gdb javah
(gdb) Starting program:
/usr/src/t/JavaSoft_1.1.5/build/genunix/java/javah/javah
Program received signal SIGSEGV, Segmentation fault.
warning: Hit heuristic-fence-post without finding
warning: enclosing function for address 0x1555555b8bc
Otherwise, you told GDB there was a function where there isn't one, or
(more likely) you have encountered a bug in GDB.
0x1555555b8bc in ?? ()
(gdb) #0 0x1555555b8bc in ?? ()
warning: Hit heuristic-fence-post without finding
warning: enclosing function for address 0x1555555b8a8
(gdb)
+ strace javah
execve("./javah", ["javah"], [/* 22 vars */]) = 0
brk(0) = 0x120166d30
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=01, st_size=891085538, ...}) = 0
mmap(0, 4831834960, PROT_READ, 0 /* MAP_??? */, 0, 0) = 0x15555566000
close(3) = 0
open("/lib/libdl.so.2.1", O_RDONLY) = 3
mmap(0, 0, PROT_NONE, 0 /* MAP_??? */, 0, 0) = 0x15555568000
mmap(0, 0, PROT_NONE, 0 /* MAP_??? */, 0, 0) = 0x1555556a000
munmap(0x15555568000, 8192) = 0
mmap(0, 8192, PROT_NONE, 0 /* MAP_??? */, 0, 0) = 0x15555666000
mprotect(0x1555566a000, 1041472, PROT_NONE) = 0
mmap(0x15555766000, 1041472, PROT_NONE, 0 /* MAP_??? */, 0, 0) =
0x15555766000
close(3) = 0
open("/lib/libc.so.6.1", O_RDONLY) = 3
mmap(0, 0, PROT_NONE, 0 /* MAP_??? */, 0, 0) = 0x15555568000
munmap(0x15555568000, 8192) = 0
mmap(0, 8192, PROT_NONE, 0 /* MAP_??? */, 0, 0) = 0x1555576a000
mprotect(0x15555836000, 1154864, PROT_NONE) = 0
mmap(0x1555592a000, 1154864, PROT_NONE, 0 /* MAP_??? */, 0, 0) =
0x1555592a000
mmap(0x15555946000, 1154864, PROT_NONE, 0 /* MAP_??? */, 0, 0) =
0x15555946000
close(3) = 0
mprotect(0x120000000, 393216, PROT_READ|PROT_WRITE) = 0
mprotect(0x120000000, 393216, PROT_READ|PROT_EXEC) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
+ ldd javah
libdl.so.2.1 => /lib/libdl.so.2.1 (0x000001555555c000)
libc.so.6.1 => /lib/libc.so.6.1 (0x0000015555660000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0000000000000000)
next reply other threads:[~1998-03-28 11:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-03-28 11:55 Uncle George [this message]
1998-03-28 13:35 ` profiling on redhat/alpha goes core on startup Andreas Johansson
1998-03-28 14:07 ` Uncle George
1998-03-31 10:47 ` Stefan Schroepfer
1998-03-31 11:15 ` Uncle George
1998-04-01 10:46 ` Stefan Schroepfer
1998-04-02 12:36 ` Uncle George
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox