[PD-dev] [ pure-data-Bugs-2764566 ] Pd leaks file-handles with alsa

SourceForge.net noreply at sourceforge.net
Sat May 2 07:00:52 CEST 2009


Bugs item #2764566, was opened at 2009-04-15 03:30
Message generated for change (Settings changed) made by eighthave
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2764566&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: pd-extended
Group: v0.40.2
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: IOhannes m zmlnig (zmoelnig)
Assigned to: Hans-Christoph Steiner (eighthave)
Summary: Pd leaks file-handles with alsa

Initial Comment:
Pd-0.40 on linux with ALSA severly leaks file-handles when starting/stopping the DSP.
whenever you restart the DSP the /dev/snd/control* devices are opened anew, but none are closed.
this eventually leads to a "too many open files" error, which will keep you from saving your patches (and restarting the DSP)

this appears with Pd-0.40-2
it has been fixed in Pd-0.41 and above
i am just reporting the bug for the sake of completeness.

----------------------------------------------------------------------

>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2009-05-02 01:00

Message:
DOesn't happen on Ubuntu/Jaunty/i386 using Pd version
0.41.4-extended-20090501 so I am closing this.


----------------------------------------------------------------------

Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2009-04-21 03:34

Message:
i don't know as i haven't tested it (no time for beta-testing PdX; i just
happened to come across a running installation of PdX-0.40 and i thought i
check whether the bug is present)

since the bug has been fixed in Pd-0.41, chances are high that it will
also be fixed in PdX-0.41 (but of course you never know)


checking is easy:
 [metro 1000] -> [0, 1( -> [; pd dsp $1(

then run periodically "lsof -p <pidofpd> | grep  -c snd"


----------------------------------------------------------------------

Comment By: Hans-Christoph Steiner (eighthave)
Date: 2009-04-19 19:14

Message:
I don't quite understand, is this bug present in Pd-extended 0.41.4?

----------------------------------------------------------------------

Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2009-04-19 04:35

Message:
i found that this bug is also present in Pd-extended-0.40-3

since this is the currently the most recent release of Pd-extended i
re-open this bug;

i would suggest releasing PdX-0.41 asap and close the bug again :-)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2764566&group_id=55736




More information about the Pd-dev mailing list