[Pianod] Pianod constant Stalling

Perette Barella perette at barella.org
Wed Jan 14 06:43:55 PST 2015


Robert,

—enable-debug turns on assertions and (for Football) file/line/function info in debug logs, and compiles with -g so debugging is easier.

> 2015-01-12 15:46:26: Event type not handled: type=13970, action=3

13970=a service socket, action 3… tls is buffering...
fb_socketmgr.c, line 424 ACTION_COUNT should be ACTION_SELECT_COUNT.  Good catch, thank you; however, it’s probably a red herring as far as the stalling.

The stall happens in the player, which runs in a separate thread.  

> (To clarify, it attempts to start playing at 00:00 and then stays stalled at 00:00 forever, or at least as long as I've been willing to wait)

So the player is in either PLAYER_SAMPLESIZE_INITIALIZED or PLAYER_RECV_DATA (response.c:231, player.h:57-67).

So…
1.  If you’re using PandoraOne connection settings, check you’re paid up.  (Usually there's adds in the regular client after expiration, but don’t rely on that).
2.  In /etc/libao.conf, add two lines with “debug” and “verbose” to get libao to tell us what it’s up to.
3.  ./configure —enable-debug, make, gdb ./src/pianod
In gdb, “run” with any parameters you normally need when starting pianod.  If you run pianod as root, you’ll want to gdb it as root; in short, replicate your usual launch.
With a terminal or client, connect and start playback.
In GDB, once pianod is stalled.
thread 1
where
thread 2
where
thread 3
where
...
There’s probably only 2 threads (at least that’s what I’ve seen on other Linuxes), but there could be more.  Go up until you get an error.
Cut/paste all that thread/where output and post it here.  Hopefully that’ll tell us something useful about where the player thread is hung up.

Perette



--
Perette Barella • perette at barella.org • 585-286-1312
176 Middlesex Road, Rochester NY 14610

On 2015年01月12日, at 16:52, Robert Grimes <rmzgrimes at gmail.com> wrote:

> Hello,
> 
> I've been running pianod and talking to it via netcat for a year or two now quite happily. However recently I upgraded my 3.13 kernel, on Ubuntu 14.04, to the 3.16.28 kernel. The next time I went to play a song using pianod I got the usual success messages from my commands until it attempted to actually play the song at which point it reported "stalled" and never advanced a second into the song. 
> 
> 
> 
> Everything else on the system appears to be working correctly, I can download updates, ping websites, fetch webpages, etc and I can access pandora successfully via the website from a windows machine on the same LAN. 
> 
> What else can I do to get some info on what is going on and enable further debugging?
> _______________________________________________
> Pianod mailing list
> Pianod at lists.deviousfish.com
> http://lists.deviousfish.com/listinfo.cgi/pianod-deviousfish.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deviousfish.com/pipermail/pianod-deviousfish.com/attachments/20150114/dd394486/attachment.htm>


More information about the Pianod mailing list