From owner-freebsd-chromium@FreeBSD.ORG Wed Feb 8 18:46:33 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 AA6AA1065677 for ; Wed, 8 Feb 2012 18:46:33 +0000 (UTC) (envelope-from evanm@google.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6A0998FC14 for ; Wed, 8 Feb 2012 18:46:32 +0000 (UTC) Received: by ghbg15 with SMTP id g15so562015ghb.13 for ; Wed, 08 Feb 2012 10:46:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc :x-system-of-record:content-type; bh=NGce+lDlobLz4x07PgkxlMy0Dy8P+gs3K3ZuCjKx/mc=; b=CRapSoTdd+wr1VntIFRD6B2iP2txMbzlcTNmvED0KKrnF0fAmhuMZazlg4r4P/wy5H SkwylrftOH0Qx2r5V4vfcxvIRw9MZUVC/p/Ze5mHrIAt3f84HaOgF0Md44sYHqZasawW NBxo/wpjiT5q13rH6BZCEnwrJItuRcjv17Z1M= Received: by 10.101.151.17 with SMTP id d17mr11823530ano.36.1328725067744; Wed, 08 Feb 2012 10:17:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.101.151.17 with SMTP id d17mr11823499ano.36.1328725066696; Wed, 08 Feb 2012 10:17:46 -0800 (PST) Sender: evanm@google.com Received: by 10.101.154.37 with HTTP; Wed, 8 Feb 2012 10:17:46 -0800 (PST) In-Reply-To: <4F320301.6090403@rawbw.com> References: <4F320301.6090403@rawbw.com> Date: Wed, 8 Feb 2012 10:17:46 -0800 X-Google-Sender-Auth: mCdT8X495-CmdfGpj8ndkfV3VHg Message-ID: From: Evan Martin To: Yuri X-System-Of-Record: true Content-Type: text/plain; charset=ISO-8859-1 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: Wed, 08 Feb 2012 18:46:33 -0000 On Tue, Feb 7, 2012 at 9:07 PM, Yuri wrote: > This version of chromium on FreeBSD has this annoying quality that very > often while waiting for network gui becomes frozen. Sometimes with the > "busy" cursor. Scrollbars not working, links not working. > I compared with Ubuntu, it currently has exactly the same version of > chromium, and gui is much more responsive there. I don't see such severe > problem there. > > I understand browser as a state machine. It always waits for something, > network, user interaction or screen repaint, but while waiting other parts > should be functional. Any time network operation is pending gui should show > whatever is available by that time. We've put a huge amount of effort into making Chrome never block. For example, when a web page tries to load a font, that request is sent out to fontconfig, which accesses the disk; because accessing the disk is a blocking call, we use a separate subprocess specifically to wrap fontconfig so that the browser will not hang. Here's some more I've written on the subject: http://neugierig.org/software/chromium/notes/2010/11/thread-restrictions.html I am sad to read about your problem. Have you tried breaking into it in a debugger when it is paused? If you "gdb -p PID" and then "info threads" and dump that on this list, I can help diagnose it further.