This is the mail archive of the bfd@sourceware.cygnus.com mailing list for the bfd project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

objdump segv


Is this the right place to send this?  I don't see a binutils group.


My i386-cygwin32-objdump (hosted on Linux) segvs when run on
mapi32.dll:

creche. i386-cygwin32-objdump -p mapi32.dll 

mapi32.dll:     file format pei-i386

  [ lots of output ]

Segmentation fault (core dumped)



Here's a stack trace:

(gdb) bt
#0  bfd_getl16 (addr=0x880041a8 <Address 0x880041a8 out of bounds>)
    at ../../x-cyg-devo/bfd/libbfd.c:851
#1  0x807ba5d in pe_print_idata (abfd=0x80970c8, vfile=0x8096a00)
    at ../../x-cyg-devo/bfd/peicode.h:1372
#2  0x807c67e in pe_print_private_bfd_data (abfd=0x80970c8, vfile=0x8096a00)
    at ../../x-cyg-devo/bfd/peicode.h:1871
#3  0x804ba97 in dump_bfd_private_header (abfd=0x80970c8)
    at ../../x-cyg-devo/binutils/objdump.c:1913
#4  0x804bb61 in display_bfd (abfd=0x80970c8)
    at ../../x-cyg-devo/binutils/objdump.c:1954
#5  0x804bdd6 in display_file (filename=0xbffff9a7 "mapi32.dll", target=0x0)
    at ../../x-cyg-devo/binutils/objdump.c:2048
#6  0x804d223 in main (argc=3, argv=0xbffff8a0)
    at ../../x-cyg-devo/binutils/objdump.c:2734
#7  0x80492bb in ___crt_dummy__ ()


I'll happily send along any info you might want.

Tom
-- 
tromey@cygnus.com                 Member, League for Programming Freedom