[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1318281] [NEW] linux-user: x86_64 target fails to call
From: |
Jiajie Hu |
Subject: |
[Qemu-devel] [Bug 1318281] [NEW] linux-user: x86_64 target fails to call sys_futex() |
Date: |
Sun, 11 May 2014 04:09:57 -0000 |
Public bug reported:
I'm building the latest QEMU (06b4f00d53637f2c16a62c2cbaa30bffb045cf88)
on ARM to run some x86_64 executables in user mode. This is my
configuration:
./configure \
--prefix=/root/qemu-x86_64 \
--target-list=x86_64-linux-user \
--disable-system \
--disable-tools
The following program is used for testing:
https://gist.github.com/hujiajie/e8cff43b574b399c8f59#file-test-c
I compile the test program in Debian-7.5-amd64 like this:
gcc -o test `pkg-config --cflags glib-2.0` test.c `pkg-config --static
--libs glib-2.0` -static
and launch the program on ARM with
qemu-x86_64 test
The test crashes with the following message:
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
The output of `strace qemu-x86_64 test` is here:
https://gist.github.com/hujiajie/88d1d5e580d432d11b2d#file-test-strace-
log
It seems that the error is caused by the failure of the futex syscall.
qemu-i386 could launch the 32-bit test perfectly, the problem only
happens on a x86_64 target.
** 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/1318281
Title:
linux-user: x86_64 target fails to call sys_futex()
Status in QEMU:
New
Bug description:
I'm building the latest QEMU
(06b4f00d53637f2c16a62c2cbaa30bffb045cf88) on ARM to run some x86_64
executables in user mode. This is my configuration:
./configure \
--prefix=/root/qemu-x86_64 \
--target-list=x86_64-linux-user \
--disable-system \
--disable-tools
The following program is used for testing:
https://gist.github.com/hujiajie/e8cff43b574b399c8f59#file-test-c
I compile the test program in Debian-7.5-amd64 like this:
gcc -o test `pkg-config --cflags glib-2.0` test.c `pkg-config --static
--libs glib-2.0` -static
and launch the program on ARM with
qemu-x86_64 test
The test crashes with the following message:
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
The output of `strace qemu-x86_64 test` is here:
https://gist.github.com/hujiajie/88d1d5e580d432d11b2d#file-test-
strace-log
It seems that the error is caused by the failure of the futex syscall.
qemu-i386 could launch the 32-bit test perfectly, the problem only
happens on a x86_64 target.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1318281/+subscriptions
[Prev in Thread] |
Current Thread |
[Next in Thread] |