Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2005 19:41:41 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Andrey Chernov <ache@freebsd.org>
Cc:        gnome@freebsd.org, current@freebsd.org
Subject:   Re: KSE: whom to blame, -current SMP or firefox?
Message-ID:  <1132360901.55741.9.camel@shumai.marcuscom.com>
In-Reply-To: <20051118131131.GA96190@nagual.pp.ru>
References:  <20051118131131.GA96190@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Fri, 2005-11-18 at 16:11 +0300, Andrey Chernov wrote:
> The problem: I got 100% dead loop at 'install' stage of the 'firefox' 
> port (after ===> Building Chrome's registry... message).
> '/usr/X11R6/lib/firefox/regchrome' is the program that loops (at the end 
> of its task, so kill -9 continues install normally). That is SMP machine.
> 
> If I leave it for, say, 10mins, I start to get lots of 
> calcru: runtime went backwards from 121010657 usec to 120993592 usec for 
> pid 5769 (regchrome)
> on my console.
> 
> The _same_ 'regchrome' binary & libs set runs without problem and exits 
> quickly on another UP machine!!! Both machines are identical recent 
> -current.
> 
> 'ktrace' shows that loop happens in KSE code. Here is relevant piece of 
> 'kdump':
>   ...
>   9152 regchrome NAMI  "/usr/X11R6/lib/firefox/chrome/.reregchrome"
>   9152 regchrome RET   access -1 errno 2 No such file or directory
>   9152 regchrome CALL  write(0x6,0x282b8f8d,0x1)
>   9152 regchrome GIO   fd 6 wrote 1 byte
>        "8"
>   9152 regchrome RET   write 1
>   9152 regchrome CALL  kse_release(0xbfbfe8a0)
>   9152 regchrome RET   kse_release 0
>   9152 regchrome CALL  read(0x5,0xbf8fdb40,0x400)
>   9152 regchrome GIO   fd 5 read 1 byte
>        "8"
>   9152 regchrome RET   read 1
>   9152 regchrome CALL  kse_release(0xbf8fdeb0)
>   9152 regchrome RET   kse_release 0
>   9152 regchrome CALL  kse_release(0xbfbfe8a0)
>   9152 regchrome RET   kse_release 0
>   9152 regchrome CALL  kse_release(0xbf8fdeb0)
>   9152 regchrome RET   kse_release 0
>   9152 regchrome CALL  kse_release(0xbfbfe8a0)
>   9152 regchrome RET   kse_release 0
>   9152 regchrome CALL  kse_release(0xbf8fdeb0)
>   9152 regchrome RET   kse_release 0
>   ... loops ...
> 
> Any ideas?

Could have to do with your CFLAGS.  I certainly don't see this on my
-CURRENT i386 machine using default CFLAGS (plus -g).  That machine is a
single CPU system with Hyperthreading enabled, so it looks like two
CPUs.  However, there may be a true SMP problem, but I don't think it's
anything known to the FreeBSD GNOME team.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBDfnTFb2iPiv4Uz4cRAoCBAKCPt2OzLPFAKSISgggThwbldCLD8gCfe26D
wZSg+RKwvpNPHJaEbD+cBw0=
=1Sw8
-----END PGP SIGNATURE-----

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