hzeller / gmrender-resurrect

Resource efficient UPnP/DLNA renderer, optimal for Raspberry Pi, CuBox or a general MediaServer. Fork of GMediaRenderer to add some features to make it usable.
GNU General Public License v2.0
842 stars 204 forks source link

Playback Stopping after a few songs #41

Closed yay101-zz closed 10 years ago

yay101-zz commented 11 years ago

Hey! I know you have a bug like this already on here, but i can't help but feel like mine is different.

This is the log right up to the failure.

http://pastebin.com/g4XeTHeg

Any ideas on how to get more information for you?

Server: foobar2000 running in wine on the same machine. Usually plays fine for a few songs, sometimes just throws a "could not connect" and playback does not start. When playing it can randomly stop playing and not show any errors on either log, but the time on foobar2000 does not advance.

yay101-zz commented 11 years ago

Also, when this happens gmediarender does not respond to a ctrl + c on its terminal, and is completely frozen until killed.

hzeller commented 11 years ago

Interesting, I have not seen gstreamer stop in the 1.x version, so I don't know what is going on. Can you create a stacktrace of all threads when it stops ? If you run gmrender-resurrect in gdb, when it stops playing, you can jump into gdb (Ctrl-C) and then 'thread apply all bt'. I assume some kind of thread-lockup here.

hzeller commented 10 years ago

Were you able to do a gdb stacktrace ?

yay101-zz commented 10 years ago

Hey sorry! I moved to Debian testing as my daily OS and all my problems were solved. I still plan on working out what went wrong to help you out though, i am just about to start making my own cross platform music player in GO and will be using upnp as a module/plugin.