NetBSD Problem Report #54115
From htodd@i8u.org Thu Apr 11 17:03:18 2019
Return-Path: <htodd@i8u.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 84CD57A150
for <gnats-bugs@gnats.NetBSD.org>; Thu, 11 Apr 2019 17:03:18 +0000 (UTC)
Message-Id: <20190411170316.F0F4516C9D5A@chris.i8u.org>
Date: Thu, 11 Apr 2019 10:03:16 -0700 (PDT)
From: htodd@twofifty.com
Reply-To: htodd@twofifty.com
To: gnats-bugs@NetBSD.org
Subject: firefox build locks up netbsd-8
X-Send-Pr-Version: 3.95
>Number: 54115
>Category: port-amd64
>Synopsis: firefox build locks up netbsd-8
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 11 17:05:01 +0000 2019
>Closed-Date: Thu Apr 11 23:48:58 +0000 2019
>Last-Modified: Fri Apr 12 15:15:01 +0000 2019
>Originator: htodd@twofifty.com
>Release: NetBSD 8.0_STABLE
>Organization:
Hisashi T Fujinaka - htodd@twofifty.com
>Environment:
System: NetBSD chris.i8u.org 8.0_STABLE NetBSD 8.0_STABLE (CHRIS) #304: Wed Apr 10 18:52:16 PDT 2019 htodd@chris.i8u.org:/usr/obj/amd64/sys/arch/amd64/compile/CHRIS amd64
Architecture: x86_64
Machine: amd64
>Description:
>How-To-Repeat:
cd /usr/pkgsrc/www/firefox; make build
Kind of a mess since you can take a system down with this.
>Fix:
>Release-Note:
>Audit-Trail:
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/54115: firefox build locks up netbsd-8
Date: Thu, 11 Apr 2019 19:25:40 +0200
On Thu, Apr 11, 2019 at 05:05:01PM +0000, htodd@twofifty.com wrote:
> >How-To-Repeat:
> cd /usr/pkgsrc/www/firefox; make build
>
> Kind of a mess since you can take a system down with this.
Obviously peoples are running firefox on netbsd-8 (I am) so we'll need more
details about it. E.g. which pkgsrc version ? does it die in firefox
itself or one of its dependancy ? Any panic message ?
Anything in /var/crash ?
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
From: Hisashi T Fujinaka <htodd@twofifty.com>
To: Manuel Bouyer <bouyer@antioche.eu.org>
Cc: gnats-bugs@netbsd.org, pkg-manager@netbsd.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
Subject: Re: pkg/54115: firefox build locks up netbsd-8
Date: Thu, 11 Apr 2019 10:36:41 -0700 (PDT)
On Thu, 11 Apr 2019, Manuel Bouyer wrote:
> On Thu, Apr 11, 2019 at 05:05:01PM +0000, htodd@twofifty.com wrote:
>>> How-To-Repeat:
>> cd /usr/pkgsrc/www/firefox; make build
>>
>> Kind of a mess since you can take a system down with this.
>
> Obviously peoples are running firefox on netbsd-8 (I am) so we'll need more
> details about it. E.g. which pkgsrc version ? does it die in firefox
> itself or one of its dependancy ? Any panic message ?
> Anything in /var/crash ?
I moved this to port-amd64. It's whatever's in that directory as of
pkgsrc-2019Q1. "lock up" means "lock up" and that means nothing in
/var/crash and since I was doing it remotely, nothing saved.
--
Hisashi T Fujinaka - htodd@twofifty.com
BSEE + BSChem + BAEnglish + MSCS + $2.50 = coffee
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/54115: firefox build locks up netbsd-8
Date: Thu, 11 Apr 2019 19:47:24 +0200
On Thu, Apr 11, 2019 at 05:40:02PM +0000, Hisashi T Fujinaka wrote:
> I moved this to port-amd64. It's whatever's in that directory as of
> pkgsrc-2019Q1. "lock up" means "lock up" and that means nothing in
> /var/crash and since I was doing it remotely, nothing saved.
What are the last lines of output? What is your build machine?
What settings did you use (like MAKE_JOBS) or anything special in
mk.conf? Enough swap? Did it still ping? Did you try to enter ddb?
Martin
From: Hisashi T Fujinaka <htodd@twofifty.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: pkg/54115: firefox build locks up netbsd-8
Date: Thu, 11 Apr 2019 10:56:32 -0700 (PDT)
On Thu, 11 Apr 2019, Martin Husemann wrote:
> The following reply was made to PR port-amd64/54115; it has been noted by GNATS.
>
> From: Martin Husemann <martin@duskware.de>
> To: gnats-bugs@netbsd.org
> Cc:
> Subject: Re: pkg/54115: firefox build locks up netbsd-8
> Date: Thu, 11 Apr 2019 19:47:24 +0200
>
> On Thu, Apr 11, 2019 at 05:40:02PM +0000, Hisashi T Fujinaka wrote:
> > I moved this to port-amd64. It's whatever's in that directory as of
> > pkgsrc-2019Q1. "lock up" means "lock up" and that means nothing in
> > /var/crash and since I was doing it remotely, nothing saved.
>
> What are the last lines of output? What is your build machine?
> What settings did you use (like MAKE_JOBS) or anything special in
> mk.conf? Enough swap? Did it still ping? Did you try to enter ddb?
Since I'm using tmux, and trying to do other work, the output is gone.
MAKE_JOBS=12
tmpfs is 2G
no ping
locked up means locked up and the keyboard did nothing so I didn't try
entering ddb. I don't think the console even lit up. I had to hit the
reset button.
--
Hisashi T Fujinaka - htodd@twofifty.com
BSEE + BSChem + BAEnglish + MSCS + $2.50 = coffee
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: Hisashi T Fujinaka <htodd@twofifty.com>
Cc: gnats-bugs@netbsd.org, pkg-manager@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: pkg/54115: firefox build locks up netbsd-8
Date: Thu, 11 Apr 2019 22:55:01 +0200
On Thu, Apr 11, 2019 at 10:56:32AM -0700, Hisashi T Fujinaka wrote:
> On Thu, 11 Apr 2019, Martin Husemann wrote:
>
> > The following reply was made to PR port-amd64/54115; it has been noted by GNATS.
> >
> > From: Martin Husemann <martin@duskware.de>
> > To: gnats-bugs@netbsd.org
> > Cc:
> > Subject: Re: pkg/54115: firefox build locks up netbsd-8
> > Date: Thu, 11 Apr 2019 19:47:24 +0200
> >
> > On Thu, Apr 11, 2019 at 05:40:02PM +0000, Hisashi T Fujinaka wrote:
> > > I moved this to port-amd64. It's whatever's in that directory as of
> > > pkgsrc-2019Q1. "lock up" means "lock up" and that means nothing in
> > > /var/crash and since I was doing it remotely, nothing saved.
> >
> > What are the last lines of output? What is your build machine?
> > What settings did you use (like MAKE_JOBS) or anything special in
> > mk.conf? Enough swap? Did it still ping? Did you try to enter ddb?
>
> Since I'm using tmux, and trying to do other work, the output is gone.
>
> MAKE_JOBS=12
> tmpfs is 2G
This doesn't tell us how much ram and swap you have configured.
With MAKE_JOBS=12 and such a big c++ software it's possible that you ran
out of ram
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
From: Hisashi T Fujinaka <htodd@twofifty.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: pkg/54115: firefox build locks up netbsd-8
Date: Thu, 11 Apr 2019 14:48:07 -0700 (PDT)
Does this tell you anything?
% swapctl -lm
Device 1M-blocks Used Avail Capacity Priority
/dev/wd0b 4096 0 4096 0% 0
% vmstat
procs memory page disks faults cpu
r b avm fre flt re pi po fr sr w0 c0 in sy cs us sy id
1 0 2097540 5592388 15308 0 0 0 0 0 26 0 142 22819 326 9 2 89
--
Hisashi T Fujinaka - htodd@twofifty.com
BSEE + BSChem + BAEnglish + MSCS + $2.50 = coffee
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: Hisashi T Fujinaka <htodd@twofifty.com>
Cc: gnats-bugs@netbsd.org, pkg-manager@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: pkg/54115: firefox build locks up netbsd-8
Date: Thu, 11 Apr 2019 23:51:55 +0200
On Thu, Apr 11, 2019 at 02:48:07PM -0700, Hisashi T Fujinaka wrote:
> Does this tell you anything?
> % swapctl -lm
> Device 1M-blocks Used Avail Capacity Priority
> /dev/wd0b 4096 0 4096 0% 0
> % vmstat
> procs memory page disks faults cpu
> r b avm fre flt re pi po fr sr w0 c0 in sy cs us sy id
> 1 0 2097540 5592388 15308 0 0 0 0 0 26 0 142 22819 326 9 2 89
So you have 6GB ram, right ? With 4G swap that is about 10Gb of virtual
memory; it may be a bit short for make -j12 ...
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
State-Changed-From-To: open->closed
State-Changed-By: htodd@NetBSD.org
State-Changed-When: Thu, 11 Apr 2019 23:48:58 +0000
State-Changed-Why:
User error, closing.
From: Hisashi T Fujinaka <htodd@twofifty.com>
To: Manuel Bouyer <bouyer@antioche.eu.org>
Cc: gnats-bugs@netbsd.org, pkg-manager@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: pkg/54115: firefox build locks up netbsd-8
Date: Thu, 11 Apr 2019 16:47:13 -0700 (PDT)
Got it. I'll close this pr.
--
Hisashi T Fujinaka - htodd@twofifty.com
BSEE + BSChem + BAEnglish + MSCS + $2.50 = coffee
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, netbsd-bugs@netbsd.org, gnats-admin@netbsd.org,
htodd@NetBSD.org, htodd@twofifty.com
Subject: Re: port-amd64/54115 (firefox build locks up netbsd-8)
Date: Fri, 12 Apr 2019 09:17:10 +0200
I disagree - even if this is overcommiting, the system should not lock
up. Is this reproducable? What is your tmpfs usage in the pkgsrc build?
You really make it hard to analyze by giving tiny details piecewise ;-)
Basically we need someone with a proper debug environment to reproduce
your issue, and then reproduce it again with test kernels over and over
to verify potential fixes, so please describe in more details what you
are doing!
Martin
From: Hisashi T Fujinaka <htodd@twofifty.com>
To: Martin Husemann <martin@duskware.de>
Cc: gnats-bugs@netbsd.org, pkg-manager@netbsd.org, netbsd-bugs@netbsd.org,
gnats-admin@netbsd.org, htodd@NetBSD.org
Subject: Re: port-amd64/54115 (firefox build locks up netbsd-8)
Date: Fri, 12 Apr 2019 08:10:46 -0700 (PDT)
I can reproduce this issue (I did it three times), but on a production
server. Not going to do that again, if I can avoid it.
--
Hisashi T Fujinaka - htodd@twofifty.com
BSEE + BSChem + BAEnglish + MSCS + $2.50 = coffee
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.