-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.1.3: RDAirplay Freezes with Non-Existent File #951
Comments
I had the same thing happen, missing /var/snd/x.wav file. I did not get the "failed to open file": Mar 20 14:40:37 z2 rdairplay: log engine: started audio cart: Line: 417 Cart: 82930 Cut: 1 Pos: 0 Serial: 6088 Card: 0 Port: 0 In 3.x,, rdairplay just continued on with the next cart. |
Rdairplay crashed and exited. it was a failed chainto instead of a missing wav file. The common thread with above is the "non-existent session" and cart 82930 (wav file was restored). Was able to (re)launch rdairplay and manually load WZIG_2024_03_24 (which existed) and resume playback. audio stopped at 19:50. cart 82930 was on pause due to event above (Mar 20). It was left on the display while other carts played. the wav file for it was restored. Ran through 3 other chainto's before stopping at this one. Mar 24 00:04:15 z2 rdairplay: log engine: finished event: Line: 656 Cart: 784568 Cut: 1 Serial: 7800 C> crash report attached (less coredump) |
This has become urgent - rdairplay is crashing after a chainto. The cart 121 at the beginning of the next log is valid. Here is the latest example: Apr 7 00:20:12 z3 caed: UnloadPlayback - Card: 0 Stream: 1 Serial: 1147 |
Unable to reproduce this here. Any chance of getting a backtrace? |
Confirmed here. |
I wonder if this is the same problem as I have experienced and wrote about in #949. I'll be watching this closely and will report back when you post a fix @ElvishArtisan! Maybe squash 2 issues with one fix?! |
When a non-existent file is encountered (where it is present in the library but missing on the filesystem), RDAirplay will freeze and halt all playback.
I get the following in the caed log:
Mar 18 15:18:24 rdbeta5 caed: jackLoadPlayback(/var/snd/002508_034.wav) openWave() failed to open file
Mar 18 15:18:24 rdbeta5 caed: unable to allocate stream for card 0
Mar 18 15:18:24 rdbeta5 caed: attempted to operate non-existent session, serial: 21
Mar 18 15:18:24 rdbeta5 caed: attempted to unload non-existent session, serial: 21
Mar 18 15:18:24 rdbeta5 caed: attempted to operate non-existent session, serial: 21
Mar 18 15:18:24 rdbeta5 caed: attempted to operate non-existent session, serial: 21
Mar 18 15:18:24 rdbeta5 caed: attempted to play non-existent session, serial:21
Mar 18 15:18:25 rdbeta5 caed: StopPlayback - Card: 0 Stream: 0 Serial: 20
Mar 18 15:18:25 rdbeta5 rdairplay: log engine: finished event: Line: 871 Cart: 278001 Cut: 9 Serial: 20 Card: 0 Port: 7
Mar 18 15:18:25 rdbeta5 caed: UnloadPlayback - Card: 0 Stream: 0 Serial: 20
Mar 18 15:18:25 rdbeta5 caed: attempted to unload non-existent session, serial:20
This did not occur in prior versions. Looks like it could be some sort of signaling problem.
The text was updated successfully, but these errors were encountered: