SysV ShMem Problem

From: Oliver Fromme <olli(at)secnetix.de>
Date: Tue, 5 Feb 2002 14:44:46 +0100 (CET)

Moin,

Kann sich zufällig jemand einen Reim auf das nachfolgende
machen? Vergesse ich irgendwas Dummes?

   # ipcs -m
   Shared Memory:
   T ID KEY MODE OWNER GROUP
   m 2424832 0 --rw-r--r-- root wheel
   # ipcrm -m 2424832
   ipcrm: shmid(2424832): : Invalid argument
   # ipcs -m
   Shared Memory:
   T ID KEY MODE OWNER GROUP
   m 2424832 0 --rw-r--r-- root wheel

Ein strace ergibt:

   shmctl(2424832, IPC_RMID, 0) = -1 EINVAL (Invalid argument)

Es ist also tatsächlich der syscall, kein Bug im Tool oder
so. Die manpage shmctl(2) sagt:

   [EINVAL] Invalid operation, or no shared memory segment was
              found corresponding to shmid.

... was nun leider auch nicht tierisch aussagekräftig ist.
Hat jemand eine Ahnung, was das soll? Ist (noch) ein 4.4-
Release.

Gruß
   Olli

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"All that we see or seem is just a dream within a dream" (E. A. Poe)
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 05 Feb 2002 - 14:44:51 CET

search this site