From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:45453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rxz6L-0004at-Hq for qemu-devel@nongnu.org; Thu, 16 Feb 2012 06:02:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rxz6H-00035V-Do for qemu-devel@nongnu.org; Thu, 16 Feb 2012 06:02:13 -0500 Received: from plane.gmane.org ([80.91.229.3]:52539) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rxz6H-00035Q-8i for qemu-devel@nongnu.org; Thu, 16 Feb 2012 06:02:09 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rxz6F-00009a-W0 for qemu-devel@nongnu.org; Thu, 16 Feb 2012 12:02:08 +0100 Received: from nat-pool-mxp-t.redhat.com ([209.132.186.18]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Feb 2012 12:02:07 +0100 Received: from pbonzini by nat-pool-mxp-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Feb 2012 12:02:07 +0100 From: Paolo Bonzini Date: Thu, 16 Feb 2012 12:01:58 +0100 Message-ID: References: <20120215015959.27405.46578.malonedeb@soybean.canonical.com> <4F3CDBA8.1090407@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit In-Reply-To: <4F3CDBA8.1090407@redhat.com> Subject: Re: [Qemu-devel] [Bug 932487] [NEW] win32: git rev 59f971d crashes when accessing disk (coroutine issue) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 02/16/2012 11:34 AM, Kevin Wolf wrote: > Remember that I saw a similar crash a while ago? It was definitely a > NULL pointer access somewhere inside SwitchToFiber. I can't remember > exactly what came out of it, but I think you and Paolo couldn't > reproduce it and I ran out of time for debugging win32 stuff. > > If I was to debug this, the first thing I would try is that I would dump > co->fiber (or actually I seem to remember it was some data structure > that is only pointed to by a field in co->fiber) immediately after the > coroutine is created (I think it was still okay then) and set a > watchpoint on it. IIRC the problem was that thread-local storage was not thread-local at all. Paolo