Skip to contentSkip to conversation

threaded apps fail on qemu-i386 on PPC

Qemu-devel Wim Vanderbauwhede 2 participants 3 messages Mar 28, 2005 – Mar 29, 2005

lore
Share & tools
lore
#0 lore raw

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

#2 lore raw
Quoted 1 line

Your GPG key doesn't seem to be on any of the global keyservers.

Yes it is, check out www.keyserver.net. But I submitted it to pgp.mit.edu as well for your convenience.
[And in case you wonder, this message was sent from my webmail, which doesn't support signing.]

Wim Vanderbauwhede

Quoted 12 lines

Could you add your public key to http://pgp.mit.edu ?

--
Jason McMullan <[email protected]>
TimeSys Corporation

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel