Reply To: Problems with playlists and crashing…pls help !!

#12783
rajt
Participant

OK, after a couple of days the server crashed. Here is the output. (Looks like ‘Broken pipe’ error around about when a song was stopped):

2007-10-03 20:00:44 (41b7a520): Added *transcode-codecs=wav,mp3*
2007-10-03 20:00:44 (41b7a520): Thread 1654: Read:
2007-10-03 20:00:44 (41b7a520): Thread 1654: Headers parsed!
2007-10-03 20:00:44 (41b7a520): Checking to see if connection matches keep-alive
2007-10-03 20:00:44 (41b7a520): Nope!
2007-10-03 20:00:44 (41b7a520): Thread 1654: Connection type HTTP/1.0
: Connection: non-persist
2007-10-03 20:00:44 (41b7a520): Thread 1654: Original URI: /rsp/stream/45
2007-10-03 20:00:44 (41b7a520): Thread 1654: Translated URI: /rsp/stream/45
2007-10-03 20:00:44 (41b7a520): Thread 1654: Preparing to find handler
2007-10-03 20:00:44 (41b7a520): Checking /rsp/stream/45 against handler for /
2007-10-03 20:00:44 (41b7a520): Thread 1654: URI Match!
2007-10-03 20:00:44 (41b7a520): Thread 1654: Time is 1191438044 seconds after ep
och
2007-10-03 20:00:44 (41b7a520): Thread 1654: Setting time header
2007-10-03 20:00:44 (41b7a520): Added *Date=Wed, 3 Oct 2007 19:00:44 GMT*
2007-10-03 20:00:44 (41b7a520): Added *Connection=close*
2007-10-03 20:00:44 (41b7a520): Added *Server=mt-daapd/svn-1586*
2007-10-03 20:00:44 (41b7a520): Added *Content-Type=text/html*
2007-10-03 20:00:44 (41b7a520): Added *Content-Language=en_us*
2007-10-03 20:00:44 (41b7a520): Thread 1654: Using non-default handler
2007-10-03 20:00:44 (41b7a520): in main_auth
2007-10-03 20:00:44 (41b7a520): Checking url /rsp/stream/45
2007-10-03 20:00:44 (41b7a520): Dispatching auth for /rsp/stream/45 to plugin
2007-10-03 20:00:44 (41b7a520): Checking url /rsp/stream/45
2007-10-03 20:00:44 (41b7a520): Dispatching /rsp/stream/45 to rsp/svn-1586
2007-10-03 20:00:44 (41b7a520): Checking if pw required for /rsp/stream/45 as us
er
2007-10-03 20:00:44 (41b7a520): Nope
2007-10-03 20:00:44 (41b7a520): in main_handler
2007-10-03 20:00:44 (41b7a520): Checking url /rsp/stream/45
2007-10-03 20:00:44 (41b7a520): Dispatching /rsp/stream/45 to plugin
2007-10-03 20:00:44 (41b7a520): Checking url /rsp/stream/45
2007-10-03 20:00:44 (41b7a520): Dispatching /rsp/stream/45 to rsp/svn-1586
2007-10-03 20:00:44 (41b7a520): Getting uri…
2007-10-03 20:00:44 (41b7a520): Mallocing privinfo…
2007-10-03 20:00:44 (41b7a520): Tokenizing url
2007-10-03 20:00:44 (41b7a520): Found 5 elements
2007-10-03 20:00:44 (41b7a520): Checking reponse 0
2007-10-03 20:00:44 (41b7a520): Checking reponse 1
2007-10-03 20:00:44 (41b7a520): Checking reponse 2
2007-10-03 20:00:44 (41b7a520): Checking reponse 3
2007-10-03 20:00:44 (41b7a520): Checking reponse 4
2007-10-03 20:00:44 (41b7a520): Found it! Index: 4
2007-10-03 20:00:44 (41b7a520): Executing: select * from songs where id=45
2007-10-03 20:00:44 (41b7a520): Thread 1654: Length of file (remaining): 5833082
2007-10-03 20:00:44 (41b7a520): Updating Content-Type from text/html to audio/mp
3
2007-10-03 20:00:44 (41b7a520): Added *Content-Length=5833082*
2007-10-03 20:00:44 (41b7a520): Updating Connection from close to Close
2007-10-03 20:00:44 (41b7a520): Emitting reponse header Content-Length: 5833082
2007-10-03 20:00:44 (41b7a520): Emitting reponse header Content-Language: en_us
2007-10-03 20:00:44 (41b7a520): Emitting reponse header Content-Type: audio/mp3
2007-10-03 20:00:44 (41b7a520): Emitting reponse header Server: mt-daapd/svn-158
6
2007-10-03 20:00:44 (41b7a520): Emitting reponse header Connection: Close
2007-10-03 20:00:44 (41b7a520): Emitting reponse header Date: Wed, 3 Oct 2007 19
:00:44 GMT
2007-10-03 20:00:44 (41b7a520): Entering config_set_status
2007-10-03 20:00:44 (41b7a520): Exiting config_set_status
2007-10-03 20:00:44 (41b7a520): Session 0: Streaming file ‘Maula Mere Maula.mp3’
to 192.168.0.5 (offset 0)
2007-10-03 20:04:02 (41b7a520): Write error: Broken pipe
2007-10-03 20:04:02 (41b7a520): Finished streaming file to remote: 3444736 bytes
2007-10-03 20:04:02 (41b7a520): Entering config_set_status
2007-10-03 20:04:02 (41b7a520): Exiting config_set_status
2007-10-03 20:04:02 (41b7a520): Thread 1654: Terminating
2007-10-03 20:04:02 (41b7a520): Thread 1654: Freeing request headers
2007-10-03 20:04:02 (41b7a520): Thread 1654: Freeing response headers
2007-10-03 20:04:02 (41b7a520): Thread 1654: Freeing request vars
2007-10-03 20:04:02 (41b7a520): Thread 1654: Closing fd
2007-10-03 20:04:02 (41b7a520): With thread 1654 exiting, 0 are still running