qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Bug 1863445] [NEW] assertion failed at translate-all.c:2523 with version 3.1.1
@ 2020-02-15 22:52 Ayman Khamouma
  2020-02-15 22:53 ` [Bug 1863445] " Ayman Khamouma
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Ayman Khamouma @ 2020-02-15 22:52 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

I was trying to debug a userspace binary with radare2 and met the
following assertion in qemu:

```
qemu-mipsel: /builddir/build/BUILD/qemu-3.1.1/accel/tcg/translate-all.c:2523: page_check_range: Assertion `start < ((target_ulong)1 << L1_MAP_ADDR_SPACE_BITS)' failed.
qemu:handle_cpu_signal received signal outside vCPU context @ pc=0x7fd1c11c5987
```

```
# qemu-mipsel --version                                                                                   
qemu-mipsel version 3.1.1 (qemu-3.1.1-2.fc30)
Copyright (c) 2003-2018 Fabrice Bellard and the QEMU Project developers
```

not much to add. seems like qemu is not properly checking for valid
addresses

** Affects: qemu
     Importance: Undecided
         Status: New

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

Title:
  assertion failed at translate-all.c:2523 with version 3.1.1

Status in QEMU:
  New

Bug description:
  I was trying to debug a userspace binary with radare2 and met the
  following assertion in qemu:

  ```
  qemu-mipsel: /builddir/build/BUILD/qemu-3.1.1/accel/tcg/translate-all.c:2523: page_check_range: Assertion `start < ((target_ulong)1 << L1_MAP_ADDR_SPACE_BITS)' failed.
  qemu:handle_cpu_signal received signal outside vCPU context @ pc=0x7fd1c11c5987
  ```

  ```
  # qemu-mipsel --version                                                                                   
  qemu-mipsel version 3.1.1 (qemu-3.1.1-2.fc30)
  Copyright (c) 2003-2018 Fabrice Bellard and the QEMU Project developers
  ```

  not much to add. seems like qemu is not properly checking for valid
  addresses

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 1863445] Re: assertion failed at translate-all.c:2523 with version 3.1.1
  2020-02-15 22:52 [Bug 1863445] [NEW] assertion failed at translate-all.c:2523 with version 3.1.1 Ayman Khamouma
@ 2020-02-15 22:53 ` Ayman Khamouma
  2020-02-15 22:55 ` Ayman Khamouma
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Ayman Khamouma @ 2020-02-15 22:53 UTC (permalink / raw)
  To: qemu-devel

** Attachment added: "debuged binary"
   https://bugs.launchpad.net/qemu/+bug/1863445/+attachment/5328542/+files/ch67.zip

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

Title:
  assertion failed at translate-all.c:2523 with version 3.1.1

Status in QEMU:
  New

Bug description:
  I was trying to debug a userspace binary with radare2 and met the
  following assertion in qemu:

  ```
  qemu-mipsel: /builddir/build/BUILD/qemu-3.1.1/accel/tcg/translate-all.c:2523: page_check_range: Assertion `start < ((target_ulong)1 << L1_MAP_ADDR_SPACE_BITS)' failed.
  qemu:handle_cpu_signal received signal outside vCPU context @ pc=0x7fd1c11c5987
  ```

  ```
  # qemu-mipsel --version                                                                                   
  qemu-mipsel version 3.1.1 (qemu-3.1.1-2.fc30)
  Copyright (c) 2003-2018 Fabrice Bellard and the QEMU Project developers
  ```

  not much to add. seems like qemu is not properly checking for valid
  addresses

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 1863445] Re: assertion failed at translate-all.c:2523 with version 3.1.1
  2020-02-15 22:52 [Bug 1863445] [NEW] assertion failed at translate-all.c:2523 with version 3.1.1 Ayman Khamouma
  2020-02-15 22:53 ` [Bug 1863445] " Ayman Khamouma
@ 2020-02-15 22:55 ` Ayman Khamouma
  2020-02-15 22:56 ` Ayman Khamouma
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Ayman Khamouma @ 2020-02-15 22:55 UTC (permalink / raw)
  To: qemu-devel

in order to reproduce the bug:
```
qemu-mipsel -g 1234 ch67
```

and then juste launch (after installing r2):

```
r2 -a mips -b 32 -d gdb://127.0.0.1:1234
```

qemu will crash

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

Title:
  assertion failed at translate-all.c:2523 with version 3.1.1

Status in QEMU:
  New

Bug description:
  I was trying to debug a userspace binary with radare2 and met the
  following assertion in qemu:

  ```
  qemu-mipsel: /builddir/build/BUILD/qemu-3.1.1/accel/tcg/translate-all.c:2523: page_check_range: Assertion `start < ((target_ulong)1 << L1_MAP_ADDR_SPACE_BITS)' failed.
  qemu:handle_cpu_signal received signal outside vCPU context @ pc=0x7fd1c11c5987
  ```

  ```
  # qemu-mipsel --version                                                                                   
  qemu-mipsel version 3.1.1 (qemu-3.1.1-2.fc30)
  Copyright (c) 2003-2018 Fabrice Bellard and the QEMU Project developers
  ```

  not much to add. seems like qemu is not properly checking for valid
  addresses

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 1863445] Re: assertion failed at translate-all.c:2523 with version 3.1.1
  2020-02-15 22:52 [Bug 1863445] [NEW] assertion failed at translate-all.c:2523 with version 3.1.1 Ayman Khamouma
  2020-02-15 22:53 ` [Bug 1863445] " Ayman Khamouma
  2020-02-15 22:55 ` Ayman Khamouma
@ 2020-02-15 22:56 ` Ayman Khamouma
  2020-02-16  3:46 ` Richard Henderson
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Ayman Khamouma @ 2020-02-15 22:56 UTC (permalink / raw)
  To: qemu-devel

tested on fedora 30:
```
uname -a
Linux bigfoot.home.ak42.io 5.4.18-100.fc30.x86_64 #1 SMP Fri Feb 7 14:37:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
```

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

Title:
  assertion failed at translate-all.c:2523 with version 3.1.1

Status in QEMU:
  New

Bug description:
  I was trying to debug a userspace binary with radare2 and met the
  following assertion in qemu:

  ```
  qemu-mipsel: /builddir/build/BUILD/qemu-3.1.1/accel/tcg/translate-all.c:2523: page_check_range: Assertion `start < ((target_ulong)1 << L1_MAP_ADDR_SPACE_BITS)' failed.
  qemu:handle_cpu_signal received signal outside vCPU context @ pc=0x7fd1c11c5987
  ```

  ```
  # qemu-mipsel --version                                                                                   
  qemu-mipsel version 3.1.1 (qemu-3.1.1-2.fc30)
  Copyright (c) 2003-2018 Fabrice Bellard and the QEMU Project developers
  ```

  not much to add. seems like qemu is not properly checking for valid
  addresses

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 1863445] Re: assertion failed at translate-all.c:2523 with version 3.1.1
  2020-02-15 22:52 [Bug 1863445] [NEW] assertion failed at translate-all.c:2523 with version 3.1.1 Ayman Khamouma
                   ` (2 preceding siblings ...)
  2020-02-15 22:56 ` Ayman Khamouma
@ 2020-02-16  3:46 ` Richard Henderson
  2020-02-16  7:20 ` Ayman Khamouma
  2020-02-16  8:59 ` Richard Henderson
  5 siblings, 0 replies; 7+ messages in thread
From: Richard Henderson @ 2020-02-16  3:46 UTC (permalink / raw)
  To: qemu-devel

Please try again with 4.2; there have been changes in this function.

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

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

Title:
  assertion failed at translate-all.c:2523 with version 3.1.1

Status in QEMU:
  Incomplete

Bug description:
  I was trying to debug a userspace binary with radare2 and met the
  following assertion in qemu:

  ```
  qemu-mipsel: /builddir/build/BUILD/qemu-3.1.1/accel/tcg/translate-all.c:2523: page_check_range: Assertion `start < ((target_ulong)1 << L1_MAP_ADDR_SPACE_BITS)' failed.
  qemu:handle_cpu_signal received signal outside vCPU context @ pc=0x7fd1c11c5987
  ```

  ```
  # qemu-mipsel --version                                                                                   
  qemu-mipsel version 3.1.1 (qemu-3.1.1-2.fc30)
  Copyright (c) 2003-2018 Fabrice Bellard and the QEMU Project developers
  ```

  not much to add. seems like qemu is not properly checking for valid
  addresses

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 1863445] Re: assertion failed at translate-all.c:2523 with version 3.1.1
  2020-02-15 22:52 [Bug 1863445] [NEW] assertion failed at translate-all.c:2523 with version 3.1.1 Ayman Khamouma
                   ` (3 preceding siblings ...)
  2020-02-16  3:46 ` Richard Henderson
@ 2020-02-16  7:20 ` Ayman Khamouma
  2020-02-16  8:59 ` Richard Henderson
  5 siblings, 0 replies; 7+ messages in thread
From: Ayman Khamouma @ 2020-02-16  7:20 UTC (permalink / raw)
  To: qemu-devel

indeed, works fine with 4.2
thanks

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

Title:
  assertion failed at translate-all.c:2523 with version 3.1.1

Status in QEMU:
  Incomplete

Bug description:
  I was trying to debug a userspace binary with radare2 and met the
  following assertion in qemu:

  ```
  qemu-mipsel: /builddir/build/BUILD/qemu-3.1.1/accel/tcg/translate-all.c:2523: page_check_range: Assertion `start < ((target_ulong)1 << L1_MAP_ADDR_SPACE_BITS)' failed.
  qemu:handle_cpu_signal received signal outside vCPU context @ pc=0x7fd1c11c5987
  ```

  ```
  # qemu-mipsel --version                                                                                   
  qemu-mipsel version 3.1.1 (qemu-3.1.1-2.fc30)
  Copyright (c) 2003-2018 Fabrice Bellard and the QEMU Project developers
  ```

  not much to add. seems like qemu is not properly checking for valid
  addresses

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 1863445] Re: assertion failed at translate-all.c:2523 with version 3.1.1
  2020-02-15 22:52 [Bug 1863445] [NEW] assertion failed at translate-all.c:2523 with version 3.1.1 Ayman Khamouma
                   ` (4 preceding siblings ...)
  2020-02-16  7:20 ` Ayman Khamouma
@ 2020-02-16  8:59 ` Richard Henderson
  5 siblings, 0 replies; 7+ messages in thread
From: Richard Henderson @ 2020-02-16  8:59 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: Incomplete => Fix Released

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

Title:
  assertion failed at translate-all.c:2523 with version 3.1.1

Status in QEMU:
  Fix Released

Bug description:
  I was trying to debug a userspace binary with radare2 and met the
  following assertion in qemu:

  ```
  qemu-mipsel: /builddir/build/BUILD/qemu-3.1.1/accel/tcg/translate-all.c:2523: page_check_range: Assertion `start < ((target_ulong)1 << L1_MAP_ADDR_SPACE_BITS)' failed.
  qemu:handle_cpu_signal received signal outside vCPU context @ pc=0x7fd1c11c5987
  ```

  ```
  # qemu-mipsel --version                                                                                   
  qemu-mipsel version 3.1.1 (qemu-3.1.1-2.fc30)
  Copyright (c) 2003-2018 Fabrice Bellard and the QEMU Project developers
  ```

  not much to add. seems like qemu is not properly checking for valid
  addresses

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-02-16  9:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-15 22:52 [Bug 1863445] [NEW] assertion failed at translate-all.c:2523 with version 3.1.1 Ayman Khamouma
2020-02-15 22:53 ` [Bug 1863445] " Ayman Khamouma
2020-02-15 22:55 ` Ayman Khamouma
2020-02-15 22:56 ` Ayman Khamouma
2020-02-16  3:46 ` Richard Henderson
2020-02-16  7:20 ` Ayman Khamouma
2020-02-16  8:59 ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).