python: Too many open files

Patrick Shirkey patrickshirkey at protonmail.com
Fri Jan 22 16:01:54 UTC 2021


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210122/0a957ce2/attachment.htm>


More information about the gstreamer-devel mailing list