From owner-freebsd-current@FreeBSD.ORG Thu Apr 21 21:11:48 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1A9616A4CE for ; Thu, 21 Apr 2005 21:11:48 +0000 (GMT) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BFA343D39 for ; Thu, 21 Apr 2005 21:11:48 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) j3LLBhOl083291; Thu, 21 Apr 2005 14:11:43 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost)j3LLBhLY083290; Thu, 21 Apr 2005 14:11:43 -0700 (PDT) (envelope-from sgk) Date: Thu, 21 Apr 2005 14:11:43 -0700 From: Steve Kargl To: Kevin Oberman Message-ID: <20050421211143.GA83245@troutmask.apl.washington.edu> References: <20050421202042.GA82753@troutmask.apl.washington.edu> <20050421205902.6F3E75D07@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050421205902.6F3E75D07@ptavv.es.net> User-Agent: Mutt/1.4.2.1i cc: freebsd-current@freebsd.org Subject: Re: firefox stuck in libthr or kserel! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2005 21:11:48 -0000 On Thu, Apr 21, 2005 at 01:59:02PM -0700, Kevin Oberman wrote: > > Date: Thu, 21 Apr 2005 13:20:42 -0700 > > From: Steve Kargl > > Sender: owner-freebsd-current@freebsd.org > > > > How to get firefox stuck in an unresponsive state. > > > > Build these ports > > firefox-1.0.2,1 > > linux-flashplugin-6.0r79_2 > > linuxpluginwrapper-20050320 > > > > Go to http://espn.com/ (snip) > > > > If we remove the mapping of libpthread to libthr in /etc/libmap.conf, > > then we see firefox get stuck in a kserel state. > > > > 33098 kargl 20 0 53772K 43924K kserel 0:09 0.00% 0.00% firefox-bin > > This is a problem that has been brought up on gnome@, ports@ and > current@ from time to time. There are many, many sites, all heavily > flash based, that exhibit this problem with any native browser to use > the linux flash6 plugin. As the flash code is the linux binary, it is > not likely to be there. (These sites don't hang on linux systems.) > Well, I managed to figure out how to get gdb to connect to firefox-bin and I end up in libpthread. #0 0x487b50ab in pthread_testcancel () from /usr/lib/libpthread.so.1 #1 0x487adeda in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 #2 0x487b1050 in pthread_setconcurrency () from /usr/lib/libpthread.so.1 All the other frames lack symbols, so I don't know the call graph. I guess I can rebuild firefox and all its dependencies with debugging symbols. -- Steve