Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2001 01:42:36 +0100
From:      Bernd Walter <ticso@cicely9.cicely.de>
To:        "Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: endless loop with gettimeofday in mozilla
Message-ID:  <20011215004235.GA86295@cicely9.cicely.de>
In-Reply-To: <200112142040.fBEKeLk43700@troutmask.apl.washington.edu>
References:  <200112142040.fBEKeLk43700@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 14, 2001 at 12:40:21PM -0800, Steven G. Kargl wrote:
> I suspect that this a mozilla problem, but I only recently
> have run into this.  Rebuilt world and kernel from -current
> sources from Dec 13 16:15 PDT.  If I open the mail/news
> component of mozilla, and try to change the view to only
> unread messages X11 freezes.
> 
> Switching to a vty and running truss -p <mozilla's pid>
> yields the following endless stream.
> 
> gettimeofday(0x28254b6c,0x0)                     = 0 (0x0)
> sigprocmask(0x3,0x28254bfc,0x0)                  = 0 (0x0)
> sigaltstack(0x2825a5e0,0x0)                      = 0 (0x0)
> poll(0x8065000,0x2,0x0)                          = 0 (0x0)
> sigreturn(0x8058068)                             = -1077952316 (0xbfbfc0c4)
> SIGNAL 27
> SIGNAL 27
> gettimeofday(0x28254b6c,0x0)                     = 0 (0x0)
> sigprocmask(0x3,0x28254bfc,0x0)                  = 0 (0x0)
> sigaltstack(0x2825a5e0,0x0)                      = 0 (0x0)
> poll(0x8065000,0x2,0x0)                          = 0 (0x0)
> sigreturn(0x8058068)                             = -1077952316 (0xbfbfc0c4)
> SIGNAL 27
> SIGNAL 27

This looks very much like the normal wait behavour with FreeBSDs
pthread implementation.
It calls gettimeofday to calculate the sleeptime with poll, which
is returned by the profiling timer.
I would asume mozilla is simply waiting on a socket.

-- 
B.Walter              COSMO-Project         http://www.cosmo-project.de
ticso@cicely.de         Usergroup           info@cosmo-project.de


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011215004235.GA86295>