From owner-freebsd-chromium@FreeBSD.ORG Mon Apr 9 20:03:31 2012 Return-Path: Delivered-To: chromium@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F85E1065672 for ; Mon, 9 Apr 2012 20:03:31 +0000 (UTC) (envelope-from evanm@google.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2495A8FC08 for ; Mon, 9 Apr 2012 20:03:31 +0000 (UTC) Received: by yhgm50 with SMTP id m50so2462310yhg.13 for ; Mon, 09 Apr 2012 13:03:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record; bh=+PxED+RyK61BaFs9lNTCWayAbPlVafPit9xCT+f06Lg=; b=WMflntYaF7sOZycb2b53AIN5PfAxEIciXV1ghJaJTKn/OQtupio2GRjKPh/geUrMdj JvqQo2JDstpEVFEdntiJvkM5stiTtbhmZcW/9q6ixKNcX2EzpK2ZkWWIQFQzT6ad7/uJ 5bDl349MpGNhIZBB2pQgl+TW5HlRY3j/Sjw32Bdl3C0TukAGyy+ssmtWpbhHeQcCcRV9 1X3ZuA3s2xwuwXOpyDHUcr654+TJe37yr/eUa9wwOLLNmAkyl8set9jhs0GNgvxfS69K bzq38v7TV/R1oRJT8E89vjRaWAl00zpGNmj7Nxq44epipEQlPvK/oatn7s/nz5AMqlCR cS7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record:x-gm-message-state; bh=+PxED+RyK61BaFs9lNTCWayAbPlVafPit9xCT+f06Lg=; b=dptUYcjI9XvDQrxtVXhXA3YP6G5qyblM5Bp53kbPOWdbpWuJJCpnz7j/GlASC7ILRf kqybv8cLoIcSsktg16by/c9x3tyjrHKh3/4husVBEfTSMy3lKdAgaXDyHR/WYcxt8u9X lk5/uNPwD7RU3QjlM2hIHH2ay22X5XrqaxunoNF5voqC3HH0XszD4/ghUYRyXHPIGSK3 PNYEsyHpssjmxj6QzkOOWq/hnZJDKw9tlnm0RJa06XmmlQKseEPI9rKVukm30vNX+nzX bPiBhWiG6jBXI/BGCoqU30fbmdvvnn2XfdV+M9xvbtB9Q+pOLnasS/Kj/gsYl6sIBgsw M7+w== Received: by 10.101.129.7 with SMTP id g7mr2306055ann.12.1334001809791; Mon, 09 Apr 2012 13:03:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.101.129.7 with SMTP id g7mr2306048ann.12.1334001809648; Mon, 09 Apr 2012 13:03:29 -0700 (PDT) Sender: evanm@google.com Received: by 10.101.156.21 with HTTP; Mon, 9 Apr 2012 13:03:29 -0700 (PDT) In-Reply-To: <4F833BAE.90700@rawbw.com> References: <4F320301.6090403@rawbw.com> <4F833BAE.90700@rawbw.com> Date: Mon, 9 Apr 2012 13:03:29 -0700 X-Google-Sender-Auth: sqAXINscEErYlBSzHB4A79PdGSk Message-ID: From: Evan Martin To: Yuri Content-Type: text/plain; charset=ISO-8859-1 X-System-Of-Record: true X-Gm-Message-State: ALoCoQnrfiDT3HgjGCRMIsVwHcnRqBReChTGEd9PaqtUj+B1BImaEWhg8TP+VDCD9HVGQ/Q49Qbawr+7tdvsYBIiN/rn5i1CYg6iEDD0ZKhH/ofyUmoPWx1VdhB3zSOr1hKeYoMmMWeqxLDGpUQMrpYAKUnRwim30A== Cc: chromium@freebsd.org Subject: Re: chromium-16.0.912.77: gui freezes when waiting for network X-BeenThere: freebsd-chromium@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Chromium issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Apr 2012 20:03:31 -0000 On Mon, Apr 9, 2012 at 12:42 PM, Yuri wrote: > I attach the log of several such hangs (see file chrome-stack.txt attached > showing which pages are involved). This is really good! The stacks containing "MessageLoopForUI" are the Chrome user interface thread that communicates with X etc. But in all cases they seem to be stuck in a stack topped by __sys_poll inside glib. Chrome attempts to only call into glib when glib won't block, but it appears to be blocking in glib. There's a bunch of rather subtle logic in this code: http://src.chromium.org/svn/trunk/src/base/message_pump_glib.cc I guess some of it is somehow wrong. :(