From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DFx6H-00012b-5j for qemu-devel@nongnu.org; Mon, 28 Mar 2005 11:28:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DFx6A-0000yX-4i for qemu-devel@nongnu.org; Mon, 28 Mar 2005 11:28:19 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DFx69-0000te-LL for qemu-devel@nongnu.org; Mon, 28 Mar 2005 11:28:17 -0500 Received: from [130.209.249.184] (helo=mr1.dcs.gla.ac.uk) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1DFwkn-0001cm-FF for qemu-devel@nongnu.org; Mon, 28 Mar 2005 11:06:13 -0500 Received: from ex1.ad.dcs.gla.ac.uk ([130.209.249.157]:3342) by mr1.dcs.gla.ac.uk with esmtp (Exim 4.42) id 1DFwkh-0007eB-Qg for qemu-devel@nongnu.org; Mon, 28 Mar 2005 17:06:07 +0100 From: Wim Vanderbauwhede Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-h5FCIeNLTvGbyzEd/ATi" Date: Mon, 28 Mar 2005 17:06:01 +0100 Message-Id: <1112025962.7251.33.camel@dundas.dcs.gla.ac.uk> Mime-Version: 1.0 Subject: [Qemu-devel] threaded apps fail on qemu-i386 on PPC Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Qemu Devel List --=-h5FCIeNLTvGbyzEd/ATi Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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.=20 -Firefox, and in fact any application using threads (RealPlayer, Opera, Wine), crashes with "Unknown signal 32"=20 Here is a part of the strace for firefox: clone(child_stack=3D0, flags=3DCLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID| SIGCHLD, child_tidptr=3D0x3003a068) =3D 10589 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) =3D 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) =3D 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) =3D 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) =3D 0 rt_sigaction(SIGINT, {0x1003172c, [], 0}, {SIG_DFL}, 8) =3D 0 waitpid(-1, [{WIFSIGNALED(s) && WTERMSIG(s) =3D=3D SIGRTMIN}], 0) =3D 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 ) =3D 187 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) =3D 0 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(-1, 0x7fffe878, WNOHANG) =3D -1 ECHILD (No child processes) sigreturn() =3D ? (mask now []) rt_sigaction(SIGINT, {SIG_DFL}, {0x1003172c, [], 0}, 8) =3D 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) =3D 0 read(255, "\nexit $exitcode\n", 8176) =3D 16 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) =3D 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) =3D 0 exit_group(0) =3D ? 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 --=-h5FCIeNLTvGbyzEd/ATi Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQBCSCtpo187GxveTuIRAllEAJ979IN3xXclALsevFoolvkvdxRmkgCgv8fP A+FMgv4s9+8j8KOGo4orZZQ= =FDGc -----END PGP SIGNATURE----- --=-h5FCIeNLTvGbyzEd/ATi--