qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] threaded apps fail on qemu-i386 on PPC


From: Wim Vanderbauwhede
Subject: [Qemu-devel] threaded apps fail on qemu-i386 on PPC
Date: Mon, 28 Mar 2005 17:06:01 +0100

Hi,

I'm using qemu-0.6.1 on PPC (Mandrake Cooker), kernel 2.6.10-1mdk,
glibc-2.3.4-8mdk, gcc-3.4.3-6mdk, binutils-2.15.92.0.2-6mdk

I've tested qemu-i386 using Acrobat Reader, Macromedia Flashplayer and
Firefox. The "guest system" libraries are from RedHat 9.0 for x86
(Mandrake for x86 doesn't work at all)

-Acrobat Reader works just fine, including printing. Great!

-Flashplayer works, but messes up sound (hissing noise) and colours. I
guess the sound is a little-vs-big endian problem, colours might be the
same. 

-Firefox, and in fact any application using threads (RealPlayer, Opera,
Wine), crashes with "Unknown signal 32" 

Here is a part of the strace for firefox:

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|
SIGCHLD, child_tidptr=0x3003a068) = 10589
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x1003172c, [], 0}, {SIG_DFL}, 8) = 0
waitpid(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGRTMIN}], 0) = 10589
write(2, "/home/ARCHS/rh_x86/firefox/run-m"...,
187/home/ARCHS/rh_x86/firefox/run-mozilla.sh: line 452: 10589 Unknown
signal 32       /home/ARCHS/qemu-0.6.1/i386-user/qemu-i386
-L /home/ARCHS/rh_x86 /home/ARCHS/rh_x86/firefox/firefox-bin
) = 187
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0x7fffe878, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL}, {0x1003172c, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "\nexit $exitcode\n", 8176)   = 16
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
exit_group(0)                           = ?

Some time ago, someone mentioned the same issue on this list, concluding
that it's a race condition
(http://lists.gnu.org/archive/html/qemu-devel/2004-06/msg00252.html).

Any suggestions to fix this?

Thanks,

Wim


Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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