Google Groups Home
Help | Sign in
Message from discussion SYSV IPC module maintainer?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Jonathan Corbet  
View profile
 More options Apr 10 2003, 1:05 pm
Newsgroups: comp.lang.python
From: Jonathan Corbet <corbet-pyt...@lwn.net>
Date: Thu, 10 Apr 2003 10:36:27 -0600
Local: Thurs, Apr 10 2003 12:36 pm
Subject: SYSV IPC module maintainer?
I'm using the Python module for SYSV shared memory and semaphores; it's
part of a twisted bit of code that lets me run Oasis banner ads on
LWN.net.  The module is great, but, as it turns out, it's also responsible
for a memory leak I've been chasing for quite some time.  So I tried
dropping a note to the author (Vladimir Marangozov) with a patch, but it
came bouncing right back to me.

So...my question is, is anybody active maintaining this module at this
point?  If not, maybe I'll put up a patched version somewhere so others
don't have to go through the same process.

Thanks,

jon

P.S.  I'll attach the patch, in case it's useful to anybody.

Jonathan Corbet
Executive editor, LWN.net
cor...@lwn.net

--- shmmodule.c.~1.1.~  2002-05-29 10:00:59.000000000 -0600
+++ shmmodule.c 2003-04-10 10:13:56.000000000 -0600
@@ -1101,6 +1101,7 @@
        }
        Py_DECREF(o);   /* the owned reference in shm_dict doesn't count! */
     }
+    Py_DECREF(keyo);
     /* set up the status data */
     if (shmctl(o->shmid, IPC_STAT, &(o->ds)) == -1) {
        Py_DECREF(o);


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google