Bug 6476 - ftrace abort
Summary: ftrace abort
Status: NEW
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
Depends on:
Reported: 2008-05-02 15:40 UTC by Tom Tromey
Modified: 2008-05-02 15:40 UTC (History)
0 users

See Also:
Last reconfirmed:


Note You need to log in before you can comment on or make changes to this bug.
Description Tom Tromey 2008-05-02 15:40:36 UTC
I pulled a new frysk from git and built it on F8 x86.
ftrace aborts.

gdb --args ftrace -f -p 17674 -stack -sym tree_lowering_passes
GNU gdb Red Hat Linux (6.6-45.fc8rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) r
Starting program: /home/tromey/gnu/frysk/install/bin/ftrace -f -p 17674 -stack
-sym tree_lowering_passes
warning: the debug information found in
"/usr/lib/debug//usr/lib/libstdc++.so.6.0.8.debug" does not match
"/usr/lib/libstdc++.so.6" (CRC mismatch).

[Thread debugging using libthread_db enabled]
[New Thread -1208072496 (LWP 9175)]
[New Thread -1211081840 (LWP 9179)]
17674.17674 attached
[New Thread -1222157424 (LWP 9180)]

Program received signal SIGABRT, Aborted.
[Switching to Thread -1222157424 (LWP 9180)]
0x00110402 in __kernel_vsyscall ()
Missing separate debuginfos, use: debuginfo-install audit.i386 gcc.i386
glibc.i686 zlib.i386
(gdb) bt
#0  0x00110402 in __kernel_vsyscall ()
#1  0x05e13690 in raise () from /lib/libc.so.6
#2  0x05e14f91 in abort () from /lib/libc.so.6
#3  0x02dab648 in _Jv_Throw () from /usr/lib/libgcj.so.8rh
#4  0x081eebad in frysk.proc.live.LogicalMemoryBuffer.peek(long, byte[], int,
int)int (this=0xb7d11e40, index=1114112, bytes=0xb67ef5c0, offset=0, length=256)
    at frysk/proc/live/LogicalMemoryBuffer.java:100
#5  0x08298d19 in inua.eio.ByteBuffer.peekFully(long, byte[], int, int)void (
    this=0xb7d11e40, caret=1114112, bytes=0xb67ef5c0, off=0, len=256)
    at inua/eio/ByteBuffer.java:88
#6  0x08299c88 in inua.eio.ByteBuffer.get(long, byte[], int,
int)inua.eio.ByteBuffer (this=0xb7d11e40, index=1114112, dst=0xb67ef5c0, off=0,
    at inua/eio/ByteBuffer.java:329
#7  0x08299d38 in inua.eio.ByteBuffer.safeGet(long, byte[], int, int)int (
    this=0xb7d11e40, index=1114112, dst=0xb67ef5c0, off=0, len=256)
    at inua/eio/ByteBuffer.java:338
#8  0x082f6b98 in read_proc_memory (arg=0xb7d11e40, data=0x89a7ea8, 
    address=1114112, minread=52, maxread=256)
    at ../../frysk/frysk-sys/lib/dwfl/cni/Dwfl.cxx:82
#9  0x0857ba9b in elf_from_remote_memory (ehdr_vma=1114112, loadbasep=0x0, 
    read_memory=0x82f6b2c <read_proc_memory>, arg=0xb7d11e40)
    at ../../../../frysk/frysk-imports/elfutils/libdwfl/elf-from-memory.c:95
#10 0x082f6b13 in dwfl_frysk_proc_find_elf (mod=0x89a7880, userdata=0x89a7888, 
    module_name=0x89a76b0 "[vdso]", base=39427799777286, file_name=0x89a78b0, 
    elfp=0x89a78bc) at ../../frysk/frysk-sys/lib/dwfl/cni/Dwfl.cxx:119
#11 0x08579468 in find_file (mod=0x89a7880)
    at ../../../../frysk/frysk-imports/elfutils/libdwfl/dwfl_module_getdwarf.c:117
#12 0x085797a9 in find_symtab (mod=0x89a7880)
    at ../../../../frysk/frysk-imports/elfutils/libdwfl/dwfl_module_getdwarf.c:501
#13 0x0857a00a in dwfl_module_getsymtab (mod=0x89a7880)
    at ../../../../frysk/frysk-imports/elfutils/libdwfl/dwfl_module_getdwarf.c:780
#14 0x082f7510 in lib::dwfl::DwflModule::getSymbolByName (this=0xb72d2190, 
    name=0xb7dad1c0, symbolBuilder=0xb72ce8e8)
    at ../../frysk/frysk-sys/lib/dwfl/cni/DwflModule.cxx:339
#15 0x08231c9d in frysk.symtab.SymbolFactory.getAddresses(frysk.proc.Task,
java.lang.String, frysk.symtab.ModuleMatcher)java.util.LinkedList (task=0xb7d0ea18, 
    name=0xb7dad1c0, matcher=0x0) at frysk/symtab/SymbolFactory.java:237
#16 0x08231d72 in frysk.symtab.SymbolFactory.getAddresses(frysk.proc.Task,
java.lang.String)java.util.LinkedList (task=0xb7d0ea18, name=0xb7dad1c0)
    at frysk/symtab/SymbolFactory.java:246
#17 0x0815692f in
    at frysk/ftrace/MappingGuard.java:373
#18 0x08156d79 in
    at frysk/ftrace/MappingGuard.java:368
#19 0x081563d6 in frysk.ftrace.MappingGuard$1$RealizeRequest.run()void (
    this=0xb7d0feb0) at frysk/ftrace/MappingGuard.java:409
---Type <return> to continue, or q <return> to quit---
#20 0x02defb63 in _Jv_ThreadRun () from /usr/lib/libgcj.so.8rh
#21 0x02df89c0 in ?? () from /usr/lib/libgcj.so.8rh
#22 0x037e57c4 in ?? () from /usr/lib/libgcj.so.8rh
#23 0x00d4850b in start_thread () from /lib/libpthread.so.0
#24 0x05ebdb2e in clone () from /lib/libc.so.6