qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 1967248] Re: qemu: uncaught target signal 5 (Trace/breakpoint trap)


From: Peter Maydell
Subject: [Bug 1967248] Re: qemu: uncaught target signal 5 (Trace/breakpoint trap)
Date: Thu, 31 Mar 2022 09:09:05 -0000

This bug tracker is no longer being used by the QEMU project. It looks
like you found our new tracker, though: https://gitlab.com/qemu-
project/qemu/-/issues/952


** Bug watch added: gitlab.com/qemu-project/qemu/-/issues #952
   https://gitlab.com/qemu-project/qemu/-/issues/952

** Changed in: qemu
       Status: New => Incomplete

** Changed in: qemu
       Status: Incomplete => Won't Fix

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1967248

Title:
  qemu: uncaught target signal 5 (Trace/breakpoint trap)

Status in QEMU:
  Won't Fix

Bug description:
  I'm getting core dumped when running the attached hello binary in
  qemu, but when using Gdb to remote-debug the program, it exited
  normally. will appreciate if you can help look into this qemu issue.

  And I found that QEMU's 32-bit arm linux-user mode doesn't correctly
  turn guest BKPT insns into SIGTRAP signal.

  0xa602 <_start>         movs    r0, #22                                       
                                                                                
                                      
  0xa604 <_start+2>       addw    r1, pc, #186    ; 0xba
  0xa608 <_start+6>       bkpt    0x00ab

  $readelf -h hello
  ELF Header:
    Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
    Class:                             ELF32
    Data:                              2's complement, little endian
    Version:                           1 (current)
    OS/ABI:                            UNIX - System V
    ABI Version:                       0
    Type:                              EXEC (Executable file)
    Machine:                           ARM
    Version:                           0x1
    Entry point address:               0xa603
    Start of program headers:          52 (bytes into file)
    Start of section headers:          144128 (bytes into file)
    Flags:                             0x5000200, Version5 EABI, soft-float ABI
    Size of this header:               52 (bytes)
    Size of program headers:           32 (bytes)
    Number of program headers:         5
    Size of section headers:           40 (bytes)
    Number of section headers:         16
    Section header string table index: 14

  $qemu-arm --version
  qemu-arm version 6.2.0
  Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers

  And I have check that the bug(https://bugs.launchpad.net/qemu/+bug/1873898) 
is fixed.
  But it's coredump.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1967248/+subscriptions




reply via email to

[Prev in Thread] Current Thread [Next in Thread]