Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261534AbVE3P0O (ORCPT ); Mon, 30 May 2005 11:26:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261541AbVE3P0O (ORCPT ); Mon, 30 May 2005 11:26:14 -0400 Received: from courier.cs.helsinki.fi ([128.214.9.1]:62348 "EHLO mail.cs.helsinki.fi") by vger.kernel.org with ESMTP id S261534AbVE3P0A (ORCPT ); Mon, 30 May 2005 11:26:00 -0400 Subject: Re: [PROBLEM] Machine Freezes while Running Crossover Office From: Pekka Enberg To: Linus Torvalds Cc: Pekka Enberg , Kernel Mailing List , Ingo Molnar In-Reply-To: References: <1117291619.9665.6.camel@localhost> <84144f0205052911202863ecd5@mail.gmail.com> <1117399764.9619.12.camel@localhost> Date: Mon, 30 May 2005 18:23:30 +0300 Message-Id: <1117466611.9323.6.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Mailer: Evolution 2.2.1.1 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1556 Lines: 50 Hi, On Sun, 2005-05-29 at 15:59 -0700, Linus Torvalds wrote: > However, I don't understand how wine can block the X server from doing > even cursor updates. It might be a scheduler bug, of course. The one thing > a bigger pipe buffer does is end up changing scheduling behaviour. > > (On the other hand, I would not be surprised if Wine does something that > makes X pause, like use DGA or whatever and tells X not to update the > screen, including cursors). It is not just X. Running the following shell script when hitting the bug: #!/bin/sh while : ; do date sleep 1 done shows the following output: penberg ~/pipe-test 49 ./show-date Mon May 30 18:16:52 EEST 2005 Mon May 30 18:16:53 EEST 2005 Mon May 30 18:16:54 EEST 2005 Mon May 30 18:16:55 EEST 2005 Mon May 30 18:17:15 EEST 2005 Mon May 30 18:17:16 EEST 2005 It looks like no other processes other than wineserver and wine-preloader get any CPU time (also evident from Sysrq-P traces). On Sun, 2005-05-29 at 15:59 -0700, Linus Torvalds wrote: > Are you sure your oprofile PC map is correct? Yes, the pipe_poll calls come from wineserver actually, not wine-preloader (of which I showed strace output before). Any suggestions on how to debug this further? I am not sure I understood your point about watching poll timeouts. Pekka - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/