From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5Rb0-000865-9G for qemu-devel@nongnu.org; Sun, 08 Jun 2008 16:34:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5Ray-00085l-Ra for qemu-devel@nongnu.org; Sun, 08 Jun 2008 16:34:34 -0400 Received: from [199.232.76.173] (port=52141 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5Ray-00085i-MN for qemu-devel@nongnu.org; Sun, 08 Jun 2008 16:34:32 -0400 Received: from fg-out-1718.google.com ([72.14.220.153]:11107) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K5Ray-0002Qu-ID for qemu-devel@nongnu.org; Sun, 08 Jun 2008 16:34:32 -0400 Received: by fg-out-1718.google.com with SMTP id l26so1364534fgb.8 for ; Sun, 08 Jun 2008 13:34:30 -0700 (PDT) Date: Sun, 8 Jun 2008 23:34:26 +0300 From: "Kirill A. Shutemov" Subject: Re: [Qemu-devel] [4693] Implement thread creation. Message-ID: <20080608203423.GA28437@localhost.localdomain> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1yeeQ81UyVL57Vl7" Content-Disposition: inline In-Reply-To: Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: qemu-devel@nongnu.org --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 07, 2008 at 10:12:17PM +0000, Paul Brook wrote: > Revision: 4693 > http://svn.sv.gnu.org/viewvc/?view=3Drev&root=3Dqemu&revision= =3D4693 > Author: pbrook > Date: 2008-06-07 22:12:17 +0000 (Sat, 07 Jun 2008) >=20 > Log Message: > ----------- > Implement thread creation. Thanks for changes. But I still have race condition somewhere: [builder@localhost ~]$ cat test.c int main() { return 0; } [builder@localhost ~]$ gcc test.c qemu: unhandled CPU exception 0x2 - aborting R00=3D000009bd R01=3D00000085 R02=3D000000b1 R03=3D0006bbad R04=3D41116554 R05=3D00000000 R06=3D4123b670 R07=3D00000004 R08=3D7c95e5c0 R09=3D00000000 R10=3D4123afb0 R11=3D41217124 R12=3D00000000 R13=3D41217030 R14=3D411184d8 R15=3D411184e0 PSR=3D60000010 -ZC- A usr32 Aborted [builder@localhost ~]$ gcc test.c qemu: uncaught target signal 11 (Segmentation fault) - exiting [builder@localhost ~]$ gcc test.c Internal resource leak before 41046814 Segmentation fault [builder@localhost ~]$ gcc test.c /home/kas/git/qemu/tcg/tcg.c:1762: tcg fatal error Aborted [builder@localhost ~]$ gcc test.c qemu: unhandled CPU exception 0x2 - aborting R00=3D00000000 R01=3D436c225c R02=3D00000004 R03=3D00000067 R04=3D436c2298 R05=3D00000001 R06=3D00000000 R07=3D00000004 R08=3D7c95e5c0 R09=3D00000000 R10=3D416e3fb0 R11=3D411ec124 R12=3D00008bf1 R13=3D411ec030 R14=3D416cf8ec R15=3D436e198c PSR=3D60000010 -ZC- A usr32 Aborted [builder@localhost ~]$ gcc test.c qemu: uncaught target signal 11 (Segmentation fault) - exiting [builder@localhost ~]$ gcc test.c Internal resource leak before 409e3814 Segmentation fault [builder@localhost ~]$ gcc test.c qemu: unhandled CPU exception 0x2 - aborting R00=3D000009bd R01=3D436e9453 R02=3D000000b1 R03=3D0006bbad R04=3D43755554 R05=3D00000000 R06=3D41775670 R07=3D00000004 R08=3D7c95e5c0 R09=3D00000000 R10=3D41774fb0 R11=3D41751124 R12=3D00000000 R13=3D41751030 R14=3D437574d8 R15=3D437574e0 PSR=3D60000010 -ZC- A usr32 qemu: uncaught target signal 11 (Segmentation fault) - exiting I cannot reproduce it with QEMU_STRACE=3D1, but I guess that this bug is related to vfork(); --=20 Regards, Kirill A. Shutemov + Belarus, Minsk + ALT Linux Team, http://www.altlinux.com/ --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkhMQk8ACgkQbWYnhzC5v6p+ZQCfZzm9yTw9s+KHuVrZAO7Ivpad 1SgAnA6Ob1r/IRdQGT6m2FUcQowA98+5 =p0zR -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7--