plietar / librespot

Open Source Spotify client library
MIT License
1.13k stars 187 forks source link

Crash on some tracks #282

Closed IvanI3 closed 6 years ago

IvanI3 commented 6 years ago

raspotify always craches on some tracks. E.g. spotify:track:0sE7yLzbBbnaSH3fCk8xgY The logs is: Mar 12 13:39:02 localhost librespot[904]: INFO:librespot_playback::player: Loading track "На крутом бережку (из м/ф "Приключения кота Леопольда")" with Spotify URI "spotify:track:0sE7yLzbBbnaSH3fC k8xgY" Mar 12 13:39:03 localhost librespot[904]: thread 'main' panicked at 'assertion failed: new_index < self.shared.chunk_count', audio/src/fetch.rs:232:9 Mar 12 13:39:03 localhost librespot[904]: stack backtrace: Mar 12 13:39:03 localhost librespot[904]: 0: 0x54f8563f - Mar 12 13:39:03 localhost librespot[904]: 1: 0x54f8f89b - Mar 12 13:39:03 localhost librespot[904]: 2: 0x54f7dec7 - Mar 12 13:39:03 localhost librespot[904]: 3: 0x54f7d9a3 - Mar 12 13:39:03 localhost librespot[904]: 4: 0x54f7e373 - Mar 12 13:39:03 localhost librespot[904]: 5: 0x54c6eff7 - Mar 12 13:39:03 localhost librespot[904]: 6: 0x54c6b5cb - Mar 12 13:39:03 localhost librespot[904]: 7: 0x54c6b743 - Mar 12 13:39:03 localhost librespot[904]: 8: 0x54f5f61f - Mar 12 13:39:03 localhost librespot[904]: 9: 0x54f5decf - Mar 12 13:39:03 localhost librespot[904]: 10: 0x54f62bab - Mar 12 13:39:03 localhost librespot[904]: 11: 0x54b79ec3 - Mar 12 13:39:03 localhost librespot[904]: 12: 0x54b6aaa3 - Mar 12 13:39:03 localhost librespot[904]: 13: 0x54b7aa13 - Mar 12 13:39:03 localhost librespot[904]: 14: 0x54f7e01b - Mar 12 13:39:03 localhost librespot[904]: 15: 0x54fa4c33 - Mar 12 13:39:03 localhost librespot[904]: 16: 0x54f852cb - Mar 12 13:39:03 localhost librespot[904]: 17: 0x54b6b583 - main Mar 12 13:39:03 localhost librespot[904]: 18: 0x76d69293 - __libc_start_main

Running latest release on RPi 3