From owner-freebsd-stable Mon Jan 29 8:56: 2 2001 Delivered-To: freebsd-stable@freebsd.org Received: from blandings.com (adsl-216-103-90-79.dsl.snfc21.pacbell.net [216.103.90.79]) by hub.freebsd.org (Postfix) with ESMTP id BD02E37B698 for ; Mon, 29 Jan 2001 08:55:43 -0800 (PST) Received: (from anand@localhost) by blandings.com (8.11.1/8.11.1) id f0TGtG931507 for freebsd-stable@FreeBSD.ORG; Mon, 29 Jan 2001 08:55:16 -0800 (PST) (envelope-from anand) Date: Mon, 29 Jan 2001 08:55:16 -0800 From: Anand To: freebsd-stable@FreeBSD.ORG Subject: Re: mozilla able to permanently leak shm Message-ID: <20010129085516.A29247@Psmith.blandings.com> Reply-To: anand@blandings.com References: <200101290824.f0T8Obq37564@saturn.home.ben.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200101290824.f0T8Obq37564@saturn.home.ben.com>; from ben@ben.com on Mon, Jan 29, 2001 at 12:24:31AM -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ben Jackson quoth: > If I start mozilla (build id 2001010517) once it makes 6 shared memory > segments. If it exits cleanly it removes them. If it coredumps or I > have to kill it the segments are left around, and ipcrm won't delete > them: > > $ ipcs -m > Shared Memory: > T ID KEY MODE OWNER GROUP > m 458752 0 --rwarwarwa bjj admin > m 65537 0 --rwarwarwa bjj admin > m 65538 0 --rwarwarwa bjj admin > m 65539 0 --rwarwarwa bjj admin > m 65540 0 --rwarwarwa bjj admin > m 65541 0 --rwarwarwa bjj admin > > $ ipcrm -m 458752 > ipcrm: shmid(458752): : Invalid argument > > I didn't notice this until just now, when I had to reboot becuase my > machine was totally out of segments. > > FreeBSD pulsar.home.ben.com 4.2-STABLE FreeBSD 4.2-STABLE #2: Tue Dec 26 20:17:22 PST 2000 bjj@pulsar.home.ben.com:/a/src/sys/compile/PULSAR i386 I've had the same problem. And it's not just with mozilla but also with gnome etc. After my X session has been running for a while (with gnome and sawfish), new gnome apps complain of shmget failing. Quitting gnome and sawfish doesn't seem to get rid of the shm segments. And I can't seem to remove them manually either. It's turning ou tto be quite a pain in the ass. Anand -- Anand Ranganathan anand@blandings.com Random Wodehouse nugget: Every author really wants to have letters printed in the papers. Unable to make the grade, he drops down a rung of the ladder and writes novels. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message