python: Too many open files

Mathieu Duponchelle mathieu at centricular.com
Fri Jan 22 17:04:59 UTC 2021


Hey, are you aware of the existence of gst-player?

https://gstreamer.freedesktop.org/documentation/player/gstplayer.html?gi-language=c

Cheers,

-- 
Mathieu Duponchelle · https://www.centricular.com <https://www.centricular.com>

On 1/22/21 5:01 PM, Patrick Shirkey wrote:
> Hi,
>
> I am using this simple python script to play audio files:
>
> https://github.com/atareao/lplayer/blob/master/src/lplayer/player.py <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/5f5e26a4/attachment-0001.htm>


More information about the gstreamer-devel mailing list