Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2001 00:24:31 -0800
From:      Ben Jackson <ben@ben.com>
To:        freebsd-stable@freebsd.org
Subject:   mozilla able to permanently leak shm
Message-ID:  <200101290824.f0T8Obq37564@saturn.home.ben.com>

next in thread | raw e-mail | index | archive | help
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

--Ben


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




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