python: Too many open files

Tyler Compton xaviosx at gmail.com
Fri Jan 22 16:56:23 UTC 2021


Admittedly, I haven't looked at your code too closely, but I've had this
happen to me when I forgot to disconnect handlers from the bus when
creating multiple GStreamer pipelines.

On Fri, Jan 22, 2021 at 8:02 AM Patrick Shirkey <
patrickshirkey at protonmail.com> wrote:

> Hi,
>
> I am using this simple python script to play audio files:
>
> https://github.com/atareao/lplayer/blob/master/src/lplayer/player.py
>
> specifically
>
> 85: get_player()
> 135: play()
> 172: stop()
>
>
> Any ideas on why I get 2 additional STREAM file descriptors every time I
> play a new track eventually resulting in "Too many open files" error and
> segfault?
>
> ex.  44u     unix 0x000000008179a133       0t0  100262669 type=STREAM
>
>
> --
> Patrick Shirkey
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210122/e56c7ce9/attachment.htm>


More information about the gstreamer-devel mailing list