From owner-freebsd-threads@FreeBSD.ORG Wed Apr 30 19:39:53 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBA3737B401 for ; Wed, 30 Apr 2003 19:39:52 -0700 (PDT) Received: from stork.mail.pas.earthlink.net (stork.mail.pas.earthlink.net [207.217.120.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68C8043F85 for ; Wed, 30 Apr 2003 19:39:52 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0055.cvx22-bradley.dialup.earthlink.net ([209.179.198.55] helo=mindspring.com) by stork.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19B3zC-0003BG-00; Wed, 30 Apr 2003 19:39:51 -0700 Message-ID: <3EB086B5.2BE64567@mindspring.com> Date: Wed, 30 Apr 2003 19:30:13 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Daniel Eischen References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4597a39441ee09a0d1545798e5fff671f387f7b89c61deb1d350badd9bab72f9c350badd9bab72f9c cc: threads@freebsd.org Subject: Re: Question about rtld-elf. Anyone?.. Anyone? X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2003 02:39:53 -0000 Daniel Eischen wrote: > On Wed, 30 Apr 2003, Terry Lambert wrote: > > Daniel Eischen wrote: > > > When it hangs, there's no windowing, so no mouse. > > > > I mean load a page which would ordinary cause it to hang, and > > don't move the mose at all while you wait for it to load. No > > expose events means nothing else to run means effectively > > single threaded. > > It doesn't *get* to the point of having *any* X-window open. > In other words, I enter 'mozilla' at the prompt and see > nothing at all. After some of my local hacks, it loads > 1/2 of the time and once it is loaded, it never hangs. OK, so the initializatio is hanging, not the application itself; it wasn't clear to me from your posts that Mozilla was not even loading, only that it was hanging (which to me means that it's running and then it stops running). I'd like to make the same suggestions with regard to Java* and not moving the mouse or typing at all while it's tring to load. That's probably not doing to make it work, but it will give us some information: it will say that it's not a user event that caused the problem. Another thing you might try is to cause Xevents to be synchronous (this is a debug option, eiher via libX11, or in the X server startup). I'd also like to make the same suggestion with regard to the threads scheduling, to see if it's a bad asumption in the mozilla code about object or code reentrancy being protected against preemption. The reason I'd like to see this is that, as you point out, it works fine with libthr, which has this assumption, at least on UP machines. I'd also like to see someone with an SMP box using libthr who has a problem with Mozilla... ;^)... but that can wait, I guess. -- Terry