Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 5 of 5

Hybrid View

  1. #1
    Junior Member
    Join Date
    Feb 2020
    Posts
    3

    piCorePlayer + hifiberry DAC+ - Squeezelite Randomly Stops

    I've tested on a PI4 with PCP 6.0.0 beta as well as Pi3B+ with PCP 5.0.0 -- in any case with the Hifiberry DAC+ and continuous playback (LMS local content), squeezelite eventually stops running. Usually happens after 12 - 48 hours of continuous playback.

    Running PCP with debug logging (command parameter: squeezelite -n piCorePlayer -o hw:CARD=sndrpihifiberry -a 80 4 1 -d all debug -f /var/log/pcp_squeezelite.log)

    Code:
    [08:14:15.050636] codec_open:257 codec open: 'a'
    [08:14:15.050654] codec_open:274 closing codec: 'm'
    [08:14:15.050690] faad_open:541 opening mp4 stream
    [08:14:15.050773] stream_sock:486 connecting to 192.168.1.100:9000
    [08:14:15.051036] stream_sock:563 header: GET /stream.mp3?player=b8:27:eb:cb:5f:c6 HTTP/1.0
    
    
    [08:14:15.051055] sendSTAT:189 STAT: STMc
    [08:14:15.051088] process_strm:377 set fade mode: 0
    [08:14:15.051137] process:521 audg
    [08:14:15.051153] process_audg:433 audg gainL: 200 gainR: 200 adjust: 1
    [08:14:15.051200] set_volume:233 setting internal gain left: 200 right: 200
    [08:14:15.106185] stream_thread:247 headers: len: 115
    HTTP/1.1 200 OK
    Server: Logitech Media Server (7.9.1 - 1522157629)
    Connection: close
    Content-Type: audio/aac
    
    
    [08:14:15.106235] sendRESP:220 RESP
    [08:14:15.151841] read_mp4_header:295 type: ftyp len: 28 consume: 28
    [08:14:15.151895] read_mp4_header:295 type: wide len: 8 consume: 8
    [08:14:15.151913] read_mp4_header:236 type: mdat len: 167888 pos: 44
    [08:14:15.151928] faad_decode:373 samplerate: 44100 channels: 2
    [08:14:15.151942] faad_decode:378 setting track_start
    In all cases, it seems to die in exactly the same way, with 'setting track_start' as the last log entry, without indicating much more. From recollection, at least 2 of the cases (maybe all of them) have been on an audio/aac content type.

    Restarting squeezelite (via GUI, init.d restart, or command line), squeezelite comes back up and everything is fine.

    What other info might I be able to log/inspect to get more insight as to what might be happening? Wondering if it's a particular file or set of files that's causing the issue, so I've turned on 'player' logging in LMS so that I can see what particular source files cause the crash.
    Last edited by pianogineer; 2020-02-04 at 15:40.

  2. #2
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    3,035
    Likely an issue with the decoding. What is the source of the MP4 files? Can you test with a flac, or mp3. Those are much more tested file types.
    Last edited by paul-; 2020-02-04 at 19:36.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  3. #3
    Junior Member
    Join Date
    Feb 2020
    Posts
    3
    So it occurred again last night. With LMS server player logging on, I got the file that it crashed on. It was an iOS voice memo. I believe I've noticed in the past some odd encoding of these, so I guess it makes sense.

    Interestingly, when re-playing that same file, I'm unable to get squeezelite to actually crash. It throws an error but much more gracefully and stays alive.

    Code:
    [09:34:49.956502] stream_thread:247 headers: len: 115
    HTTP/1.1 200 OK
    Server: Logitech Media Server (7.9.1 - 1522157629)
    Connection: close
    Content-Type: audio/aac
    
    
    [09:34:49.956645] sendRESP:220 RESP
    [09:34:50.053518] read_mp4_header:295 type: ftyp len: 28 consume: 28
    [09:34:50.053616] read_mp4_header:295 type: wide len: 8 consume: 8
    [09:34:50.053635] read_mp4_header:250 type: mdat len: 17978321, no playable track found
    [09:34:50.053650] faad_decode:388 error reading stream header
    [09:34:50.053665] decode_thread:100 decode error
    If in a playlist, it stops playback, but doesn't crash.

    When squeezelite crashes, I'm using "Random Mix" of songs from LMS, which includes adding new tracks to the playlist as old ones are played. Wonder if that's somehow causing a squeezelite crash?

    Either way, kicked off another random mix and will see if another one of these several voice memos I have in my library causes the issue again.

  4. #4
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    3,035
    Might make a post in the squeezelite thread, or raise an issue on github. https://github.com/ralph-irving/squeezelite

    Not sure if Ralphy will spot this post here or not.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  5. #5

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •