-
Notifications
You must be signed in to change notification settings - Fork 66
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?! |
Is this still an issue? I’m running into soemthing very similar and saerching for the non-existent session brought me here. A couple of questions:
I will be continuing to work through this. If I learn more I will update here. |
Issue was closed on april 30, but I have not tested the update. unknown as to the cause of a missing file. possible backup restoration failure. location of snd files is configurable in rd.conf |
This particular bug was fixed back in April 2024. I did do some testing
on it when it first appeared and the fix worked for me.
To answer your questions, upon import audio files are put in /var/snd in
whatever format you have selected in rdadmin (uncompressed PCM16,
uncompressed PCM24, or MPEG Layer 2). /var/snd has to be owned,
readable, writeable, and searchable (mode 0775) by the user account and
group specified in /etc/rd.conf file by the AudioOwner= and AudioGroup=
settings. If you have installed from the install script then this will
be done automatically for you. You not need to put or remove any files
from /var/snd manually, Rivendell can do that for you.
If you think there are file entries in your database where the file does
not itself exist in /var/snd, the best is to run:
rddbmgr --check
and let the system do the checking. You will need to run this as root
(sudo rddbmgr --check)
Lorne Tyndale
|
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: