Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#14 fcdump segfaults

open
nobody
None
5
2003-04-04
2003-04-04
Anonymous
No

when i run fcdump (FunctionDump V3.0.5), it segfaults.
my .fc file looks fine. here's the stack trace:

$ gdb fcdump core
GNU gdb Red Hat Linux (5.1.90CVS-5)
Copyright 2002 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"...
Core was generated by `fcdump /home/scott/bin/cost.exe'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libbfd-2.11.93.0.2.so...done.
Loaded symbols for /usr/lib/libbfd-2.11.93.0.2.so
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0 0x0804e296 in fc_init_extract_dynamic
(core_num_syms=767, core_syms=0x805e0f0) at fc_names.c:158
158 fc_syms[dest].addr =
(void*)bfd_asymbol_value(core_syms[i]);
(gdb) bt
#0 0x0804e296 in fc_init_extract_dynamic
(core_num_syms=767, core_syms=0x805e0f0) at fc_names.c:158
#1 0x0804e952 in fc_names_solve (force_names=0,
nb_fnc=165, fncs=0x80594c0, nb_lib=6, dyns=0x805cae8,
nb_arcs=399, arcs=0x8057590,
exec_name=0x80573e8 "/home/scott/bin/cost.exe",
demangle=1, style=256, lonly=0x0, nb_only=0, lnot=0x0,
nb_not=0, nb_leaks=0, leaks=0x0, nb_free=0, free=0x0,
nb_realloc=0,
realloc=0x0) at fc_names.c:383
#2 0x0804b536 in main (argc=2, argv=0xbfffea64) at
fc_dump.c:993
#3 0x42017499 in __libc_start_main () from
/lib/i686/libc.so.6
(gdb) q

Discussion

  •  
    Attachments