Package: binutils-multiarch
Version: 2.18.1~cvs20071027-2
Followup-For: Bug #438956

I rebuilt binutils with debug symbols and got a more complete backtrace:

(gdb) run -b binary -m arm -D endless
Starting program: /usr/bin/objdump -b binary -m arm -D endless

endless:     file format binary

Disassembly of section .data:

0000000000000000 <.data>:

Program received signal SIGSEGV, Segmentation fault.
0x00002af0e30e0f8e in print_insn (pc=0, info=0x7fffc7ca5460, little=1)
    at ../../opcodes/arm-dis.c:3991
3991      if (info->symtab != NULL
(gdb) bt
#0  0x00002af0e30e0f8e in print_insn (pc=0, info=0x7fffc7ca5460, little=1)
    at ../../opcodes/arm-dis.c:3991
#1  0x00000000004077f3 in disassemble_section (abfd=0x645060, 
    section=0x6469d0, info=<value optimized out>)
    at ../../binutils/objdump.c:1472
#2  0x00002af0e34aa05c in bfd_map_over_sections (abfd=0x0, 
    operation=0x406d60 <disassemble_section>, user_storage=0x7fffc7ca5460)
    at ../../bfd/section.c:1226
#3  0x0000000000405696 in dump_bfd (abfd=0x645060)
    at ../../binutils/objdump.c:2014
#4  0x00000000004060bf in display_bfd (abfd=0x645060)
    at ../../binutils/objdump.c:2966
#5  0x0000000000406208 in display_file (filename=0x7fffc7ca5cd1 "endless", 
    target=<value optimized out>) at ../../binutils/objdump.c:3027
#6  0x000000000040677c in main (argc=7, argv=0x7fffc7ca5708)
    at ../../binutils/objdump.c:3266

The problem is 
        (gdb) print *info->symtab
        $3 = (asymbol *) 0x0

The upstream CVS has a fix:

        
http://sourceware.org/cgi-bin/cvsweb.cgi/src/opcodes/arm-dis.c.diff?r1=1.86&r2=1.87&cvsroot=src

I'm just rebuilding to test that patch.

Best regards
Uwe


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (900, 'stable'), (300, 'testing-proposed-updates'), (300, 
'testing'), (200, 'unstable'), (2, 'experimental'), (1, 'proposed-updates')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22-3-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages binutils-multiarch depends on:
ii  binutils            2.18.1~cvs20071027-2 The GNU assembler, linker and bina
ii  libc6               2.7-3                GNU C Library: Shared libraries

binutils-multiarch recommends no packages.

-- no debconf information

-- 
Uwe Kleine-König, Software Engineer
Digi International GmbH Branch Breisach, Küferstrasse 8, 79206 Breisach, Germany
Tax: 315/5781/0242 / VAT: DE153662976 / Reg. Amtsgericht Dortmund HRB 13962



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to