All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1781281] [NEW] qemu-ppc64le uncaught target signal 4 (Illegal instruction)
@ 2018-07-11 20:52 Luc
  2018-07-11 21:21 ` [Qemu-devel] [Bug 1781281] " Laurent Vivier
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Luc @ 2018-07-11 20:52 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

qemu-ppc64le version 2.12.0
host machine: x86_64 Arch Linux 

I'm currently working on VSX support in libVPX, I'm using qemu to test,
on line 723 of vpx_dsp/ppc/loopfilter_vsx.c, when I change the vec_sub
to vec_subs I get:

qemu: uncaught target signal 4 (Illegal instruction) - core dumped

Thread 1 "qemu-ppc64le" received signal SIGILL, Illegal instruction.
0x00007ffff66d1bf6 in sigsuspend () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff66d1bf6 in sigsuspend () from /usr/lib/libc.so.6
#1  0x000055555567ee68 in ?? ()
#2  0x000055555567fd18 in ?? ()
#3  0x00005555556805ef in process_pending_signals ()
#4  0x0000555555661e69 in cpu_loop ()
#5  0x000055555561fd72 in main ()

This can be reproduced by downloading this patch (patchset 1):

https://chromium-review.googlesource.com/c/webm/libvpx/+/1134034

and running

qemu-ppc64le -L /home/ltrudeau/x-tools/powerpc64le-unknown-linux-gnu
/powerpc64le-unknown-linux-gnu/sysroot/  ./test_libvpx
--gtest_also_run_disabled_tests "--gtest_filter=VSX/*Loop*/*"

I don't observe any issues when running the code on a POWER9 machine.

** 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/1781281

Title:
  qemu-ppc64le uncaught target signal 4 (Illegal instruction)

Status in QEMU:
  New

Bug description:
  qemu-ppc64le version 2.12.0
  host machine: x86_64 Arch Linux 

  I'm currently working on VSX support in libVPX, I'm using qemu to
  test, on line 723 of vpx_dsp/ppc/loopfilter_vsx.c, when I change the
  vec_sub to vec_subs I get:

  qemu: uncaught target signal 4 (Illegal instruction) - core dumped

  Thread 1 "qemu-ppc64le" received signal SIGILL, Illegal instruction.
  0x00007ffff66d1bf6 in sigsuspend () from /usr/lib/libc.so.6
  (gdb) bt
  #0  0x00007ffff66d1bf6 in sigsuspend () from /usr/lib/libc.so.6
  #1  0x000055555567ee68 in ?? ()
  #2  0x000055555567fd18 in ?? ()
  #3  0x00005555556805ef in process_pending_signals ()
  #4  0x0000555555661e69 in cpu_loop ()
  #5  0x000055555561fd72 in main ()

  This can be reproduced by downloading this patch (patchset 1):

  https://chromium-review.googlesource.com/c/webm/libvpx/+/1134034

  and running

  qemu-ppc64le -L /home/ltrudeau/x-tools/powerpc64le-unknown-linux-gnu
  /powerpc64le-unknown-linux-gnu/sysroot/  ./test_libvpx
  --gtest_also_run_disabled_tests "--gtest_filter=VSX/*Loop*/*"

  I don't observe any issues when running the code on a POWER9 machine.

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

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

* [Qemu-devel] [Bug 1781281] Re: qemu-ppc64le uncaught target signal 4 (Illegal instruction)
  2018-07-11 20:52 [Qemu-devel] [Bug 1781281] [NEW] qemu-ppc64le uncaught target signal 4 (Illegal instruction) Luc
@ 2018-07-11 21:21 ` Laurent Vivier
  2018-07-12 13:36 ` Luc
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Laurent Vivier @ 2018-07-11 21:21 UTC (permalink / raw)
  To: qemu-devel

If it works fine on a POWER9 machine, you should try to run qemu-ppc64le
with "-cpu power9".

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

Title:
  qemu-ppc64le uncaught target signal 4 (Illegal instruction)

Status in QEMU:
  New

Bug description:
  qemu-ppc64le version 2.12.0
  host machine: x86_64 Arch Linux 

  I'm currently working on VSX support in libVPX, I'm using qemu to
  test, on line 723 of vpx_dsp/ppc/loopfilter_vsx.c, when I change the
  vec_sub to vec_subs I get:

  qemu: uncaught target signal 4 (Illegal instruction) - core dumped

  Thread 1 "qemu-ppc64le" received signal SIGILL, Illegal instruction.
  0x00007ffff66d1bf6 in sigsuspend () from /usr/lib/libc.so.6
  (gdb) bt
  #0  0x00007ffff66d1bf6 in sigsuspend () from /usr/lib/libc.so.6
  #1  0x000055555567ee68 in ?? ()
  #2  0x000055555567fd18 in ?? ()
  #3  0x00005555556805ef in process_pending_signals ()
  #4  0x0000555555661e69 in cpu_loop ()
  #5  0x000055555561fd72 in main ()

  This can be reproduced by downloading this patch (patchset 1):

  https://chromium-review.googlesource.com/c/webm/libvpx/+/1134034

  and running

  qemu-ppc64le -L /home/ltrudeau/x-tools/powerpc64le-unknown-linux-gnu
  /powerpc64le-unknown-linux-gnu/sysroot/  ./test_libvpx
  --gtest_also_run_disabled_tests "--gtest_filter=VSX/*Loop*/*"

  I don't observe any issues when running the code on a POWER9 machine.

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

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

* [Qemu-devel] [Bug 1781281] Re: qemu-ppc64le uncaught target signal 4 (Illegal instruction)
  2018-07-11 20:52 [Qemu-devel] [Bug 1781281] [NEW] qemu-ppc64le uncaught target signal 4 (Illegal instruction) Luc
  2018-07-11 21:21 ` [Qemu-devel] [Bug 1781281] " Laurent Vivier
@ 2018-07-12 13:36 ` Luc
  2021-05-02  5:46 ` Thomas Huth
  2021-07-02  4:17 ` Launchpad Bug Tracker
  3 siblings, 0 replies; 5+ messages in thread
From: Luc @ 2018-07-12 13:36 UTC (permalink / raw)
  To: qemu-devel

Thanks for the reply.

I tried with the -cpu power9 and it works!

However, I tried with -cpu power8 and it does not work. I tried the code
on a real power8 and it works. So -cpu power8 should work

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

Title:
  qemu-ppc64le uncaught target signal 4 (Illegal instruction)

Status in QEMU:
  New

Bug description:
  qemu-ppc64le version 2.12.0
  host machine: x86_64 Arch Linux 

  I'm currently working on VSX support in libVPX, I'm using qemu to
  test, on line 723 of vpx_dsp/ppc/loopfilter_vsx.c, when I change the
  vec_sub to vec_subs I get:

  qemu: uncaught target signal 4 (Illegal instruction) - core dumped

  Thread 1 "qemu-ppc64le" received signal SIGILL, Illegal instruction.
  0x00007ffff66d1bf6 in sigsuspend () from /usr/lib/libc.so.6
  (gdb) bt
  #0  0x00007ffff66d1bf6 in sigsuspend () from /usr/lib/libc.so.6
  #1  0x000055555567ee68 in ?? ()
  #2  0x000055555567fd18 in ?? ()
  #3  0x00005555556805ef in process_pending_signals ()
  #4  0x0000555555661e69 in cpu_loop ()
  #5  0x000055555561fd72 in main ()

  This can be reproduced by downloading this patch (patchset 1):

  https://chromium-review.googlesource.com/c/webm/libvpx/+/1134034

  and running

  qemu-ppc64le -L /home/ltrudeau/x-tools/powerpc64le-unknown-linux-gnu
  /powerpc64le-unknown-linux-gnu/sysroot/  ./test_libvpx
  --gtest_also_run_disabled_tests "--gtest_filter=VSX/*Loop*/*"

  I don't observe any issues when running the code on a POWER9 machine.

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

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

* [Bug 1781281] Re: qemu-ppc64le uncaught target signal 4 (Illegal instruction)
  2018-07-11 20:52 [Qemu-devel] [Bug 1781281] [NEW] qemu-ppc64le uncaught target signal 4 (Illegal instruction) Luc
  2018-07-11 21:21 ` [Qemu-devel] [Bug 1781281] " Laurent Vivier
  2018-07-12 13:36 ` Luc
@ 2021-05-02  5:46 ` Thomas Huth
  2021-07-02  4:17 ` Launchpad Bug Tracker
  3 siblings, 0 replies; 5+ messages in thread
From: Thomas Huth @ 2021-05-02  5:46 UTC (permalink / raw)
  To: qemu-devel

The QEMU project is currently considering to move its bug tracking to
another system. For this we need to know which bugs are still valid
and which could be closed already. Thus we are setting older bugs to
"Incomplete" now.

If you still think this bug report here is valid, then please switch
the state back to "New" within the next 60 days, otherwise this report
will be marked as "Expired". Or please mark it as "Fix Released" if
the problem has been solved with a newer version of QEMU already.

Thank you and sorry for the inconvenience.


** 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/1781281

Title:
  qemu-ppc64le uncaught target signal 4 (Illegal instruction)

Status in QEMU:
  Incomplete

Bug description:
  qemu-ppc64le version 2.12.0
  host machine: x86_64 Arch Linux 

  I'm currently working on VSX support in libVPX, I'm using qemu to
  test, on line 723 of vpx_dsp/ppc/loopfilter_vsx.c, when I change the
  vec_sub to vec_subs I get:

  qemu: uncaught target signal 4 (Illegal instruction) - core dumped

  Thread 1 "qemu-ppc64le" received signal SIGILL, Illegal instruction.
  0x00007ffff66d1bf6 in sigsuspend () from /usr/lib/libc.so.6
  (gdb) bt
  #0  0x00007ffff66d1bf6 in sigsuspend () from /usr/lib/libc.so.6
  #1  0x000055555567ee68 in ?? ()
  #2  0x000055555567fd18 in ?? ()
  #3  0x00005555556805ef in process_pending_signals ()
  #4  0x0000555555661e69 in cpu_loop ()
  #5  0x000055555561fd72 in main ()

  This can be reproduced by downloading this patch (patchset 1):

  https://chromium-review.googlesource.com/c/webm/libvpx/+/1134034

  and running

  qemu-ppc64le -L /home/ltrudeau/x-tools/powerpc64le-unknown-linux-gnu
  /powerpc64le-unknown-linux-gnu/sysroot/  ./test_libvpx
  --gtest_also_run_disabled_tests "--gtest_filter=VSX/*Loop*/*"

  I don't observe any issues when running the code on a POWER9 machine.

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


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

* [Bug 1781281] Re: qemu-ppc64le uncaught target signal 4 (Illegal instruction)
  2018-07-11 20:52 [Qemu-devel] [Bug 1781281] [NEW] qemu-ppc64le uncaught target signal 4 (Illegal instruction) Luc
                   ` (2 preceding siblings ...)
  2021-05-02  5:46 ` Thomas Huth
@ 2021-07-02  4:17 ` Launchpad Bug Tracker
  3 siblings, 0 replies; 5+ messages in thread
From: Launchpad Bug Tracker @ 2021-07-02  4:17 UTC (permalink / raw)
  To: qemu-devel

[Expired for QEMU because there has been no activity for 60 days.]

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

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

Title:
  qemu-ppc64le uncaught target signal 4 (Illegal instruction)

Status in QEMU:
  Expired

Bug description:
  qemu-ppc64le version 2.12.0
  host machine: x86_64 Arch Linux 

  I'm currently working on VSX support in libVPX, I'm using qemu to
  test, on line 723 of vpx_dsp/ppc/loopfilter_vsx.c, when I change the
  vec_sub to vec_subs I get:

  qemu: uncaught target signal 4 (Illegal instruction) - core dumped

  Thread 1 "qemu-ppc64le" received signal SIGILL, Illegal instruction.
  0x00007ffff66d1bf6 in sigsuspend () from /usr/lib/libc.so.6
  (gdb) bt
  #0  0x00007ffff66d1bf6 in sigsuspend () from /usr/lib/libc.so.6
  #1  0x000055555567ee68 in ?? ()
  #2  0x000055555567fd18 in ?? ()
  #3  0x00005555556805ef in process_pending_signals ()
  #4  0x0000555555661e69 in cpu_loop ()
  #5  0x000055555561fd72 in main ()

  This can be reproduced by downloading this patch (patchset 1):

  https://chromium-review.googlesource.com/c/webm/libvpx/+/1134034

  and running

  qemu-ppc64le -L /home/ltrudeau/x-tools/powerpc64le-unknown-linux-gnu
  /powerpc64le-unknown-linux-gnu/sysroot/  ./test_libvpx
  --gtest_also_run_disabled_tests "--gtest_filter=VSX/*Loop*/*"

  I don't observe any issues when running the code on a POWER9 machine.

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


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

end of thread, other threads:[~2021-07-02  4:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-11 20:52 [Qemu-devel] [Bug 1781281] [NEW] qemu-ppc64le uncaught target signal 4 (Illegal instruction) Luc
2018-07-11 21:21 ` [Qemu-devel] [Bug 1781281] " Laurent Vivier
2018-07-12 13:36 ` Luc
2021-05-02  5:46 ` Thomas Huth
2021-07-02  4:17 ` Launchpad Bug Tracker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.