Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 40
  1. #11
    jvromans@squirrel.nl
    Guest

    Reproducible crash while playing

    On Mon, 30 Sep 2019 10:21:10 +0000, bpa
    <bpa.976lun (AT) no-mx (DOT) forums.slimdevices.com> wrote:

    > The assumption then is that spotty has done something to cause this
    > problem . I think plugin reads a file from spotty.
    > Perhaps you should check for large files in
    > /volume1/@appstore/SqueezeCenter/Cache/spotty.


    Nothing suspicious, just two .tmp files of 18Mb size.

    > The log showed Max cache size as 0Mb ?


    It's in the prefs...

    audioCacheSize: 0

    I'd take that to mean 'unlimited'? I haven't found a UI to configure this
    value.


  2. #12
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,821
    Quote Originally Posted by jvromans@squirrel.nl View Post
    just two .tmp files of 18Mb size.
    Michael knows what these file are (so perhaps give more details of the file name and maybe first few lines of its content -if printable) but I think the plugin could be reading these file in. Since all the log message are about cache folder handling - I would initially suspect the contents of the files may be triggering the OOM.

  3. #13
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,311

    Reproducible crash while playing

    > From a command line "Out of memory" can come from any subprocess (e.g.
    > transcoding, helper apps) so do not assume it comes from LMS.


    Couldn't a sub-process eating memory cause LMS to be quit?

    At this point there could be two spotty helpers plus potential
    transcoding helpers running.

    @Johan - you said that both tracks individually would play. What if you
    transitioned from seven to nine, skipping eight? Or similar?

    --

    Michael

  4. #14
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,311

    Reproducible crash while playing

    > Does the final message
    >
    > Plugins::Spotty::Plugin::renameCacheFolder (369) Trying to rename __AUTHENTICATE__ to
    >
    > indicate anything (there is no target name)?


    No. That's a bit of a red herring which I should remove or tone down at
    some point.

    --

    Michael

  5. #15
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,311

    Reproducible crash while playing

    > Nothing suspicious, just two .tmp files of 18Mb size.

    That's likely raw (PCM) audio data of the tracks.

    >> The log showed Max cache size as 0Mb ?

    >
    > It's in the prefs...
    >
    > audioCacheSize: 0


    That's a left-over from an early Spotty build. It's not used any more.

    --

    Michael

  6. #16
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,311

    Reproducible crash while playing

    >> just two .tmp files of 18Mb size.
    >
    > Michael, knows what these file are (so perhaps give more detaisl of th
    > file name and its content) I don't but I think the plugin could be
    > reading these file in. Since all the log message are about cache folder
    > handling - I would initially suspect the contents of the files may be
    > triggering the OOM.


    Most likely it's the PCM data downloaded and decoded. The spotty helper
    does write it to disk before piping it out to LMS and its helpers (it's
    librespot doing the writing). The fact that the tracks individually
    would work fine is odd.

    @Johan - are you using crossfading? And could you give me the exact
    Spotify URI for the album?

    --

    Michael

  7. #17
    jvromans@squirrel.nl
    Guest

    Reproducible crash while playing

    On Mon, 30 Sep 2019 13:29:38 +0200, Michael Herger <slim (AT) herger (DOT) net> wrote:

    > @Johan - are you using crossfading? And could you give me the exact
    > Spotify URI for the album?


    No, no crossfading.

    The offending tracks are:

    spotify://track:1HmrOg4ZpGR2cRa15xI9hv
    spotify://track:1CrtgLLpzXviy9zijCZOco

    I've created a 2-track playlist that is sufficient (for me) to recreate the
    crash:

    https://open.spotify.com/user/u7d1r2...R6GZiofRQtPhEw


  8. #18
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,311

    Reproducible crash while playing

    > I've created a 2-track playlist that is sufficient (for me) to recreate the
    > crash:
    >
    > https://open.spotify.com/user/u7d1r2...R6GZiofRQtPhEw


    Playing perfectly fine here.

    Can you give us more information about your system? What Synology NAS
    are you using? What CPU? How much memory? Did you try upgrading your LMS?

    --

    Michael

  9. #19
    jvromans@squirrel.nl
    Guest

    Reproducible crash while playing

    On Mon, 30 Sep 2019 22:11:01 +0200, Michael Herger <slim (AT) herger (DOT) net> wrote:

    > Playing perfectly fine here.


    I thought it would.

    > Can you give us more information about your system? What Synology NAS
    > are you using? What CPU? How much memory? Did you try upgrading your LMS?


    Synology DS418 (Realtek RTD1296 SoC) 1.4GHz aarch. 2Gb mem.
    Perl 5.24.0-0074 (Synology package).
    LMS 7.9.1-168 (Synology package, beta).

    Before trying to upgrade I wanted to get as much information about this
    crash as possible. I'm convinced any crucial change in software will make
    the crash go away.

    Tomorrow I'll try upgrading Spotty and the helper.




  10. #20
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,311

    Reproducible crash while playing

    >> Can you give us more information about your system? What Synology NAS
    >> are you using? What CPU? How much memory? Did you try upgrading your LMS?

    >
    > Synology DS418 (Realtek RTD1296 SoC) 1.4GHz aarch. 2Gb mem.


    That should be plenty of memory. Just repeated my test on a Rock64
    (aarch64) successfully. 2GB should be plenty, unless you run a lot of
    other services in the background. I didn't see any particular high
    memory usage.

    What Spotty and Helper plugin versions are you running?

    One option you could try is to play with the transcoding settings. By
    default LMS would stream Ogg directly. You can change those parameters
    in Settings/Advanced/File Types. Maybe one of the helpers compiled for
    Synology specifically is causing issues? Try streaming Spotty -> MP3
    instead (just for a test). Or PCM rather than FLAC. etc.

    --

    Michael

Posting Permissions

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