|
|
Thread Tools | Display Modes |
11-05-2019, 11:03 AM | #1 |
Human being with feelings
Join Date: May 2009
Posts: 29,341
|
If a Serial Storage Device drops during recording, Reaper doesn't know it = data loss
[REPRO STEPS]
1. Create a project. 2. Set the record path so that the media is written to an external serial device aka USB drive. 3. Begin recording a track. 4. Once the track is recording, unplug the USB cable (to replicate what occurs if the connection drops on it's own for various reasons). Expected behavior: Reaper throws an error or otherwise informs the user that the media has failed etc. Actual behavior: Reaper continues "recording" as if nothing is wrong though the file is no longer accessible. Reaper could record for hours with the user assuming everything is OK. [DETAILS] See this post/thread... https://forum.cockos.com/showpost.ph...1&postcount=33 It appears that while recording is in progress, if the serial drive/device inadvertently blips or disappears after record is pressed, Reaper either doesn't see or ignores the fact that the storage media no longer exists and continues to report to the user that everything is just fine and that the recording is still occurring - but it isn't... It appears there are a couple of possibilities... 1. Being External the OS (Win) uses IRP_MJ_WRITE, when the drive is no longer present, the return value switches to FILE INVALID and Reaper isn't actually informed that the write failed, possibly due to caching/lazy writes. 2. The same as above but Reaper is informed and it is a missed case. In all cases, IF Reaper can detect this, it probably should because someone theoretically can (and actually has per other thread), record for hours thinking everything is fine when in reality no data is being written to disk. It's also possible it went somewhere else (memory/page et al), but too much work to investigate further when the devs likely already know the answer. Can the devs look into this and comment? We are a little concerned with risk of users losing hours of recording since Reaper doesn't give any clues that something went wrong. Even if recording external USB media is a bad idea, would be nice to know if Reaper can detect this. Confirmed on Windows and Mac (and linux based on clepsydrae's reply below).
__________________
Music is what feelings sound like. Last edited by karbomusic; 11-09-2019 at 10:16 AM. |
11-05-2019, 11:10 AM | #2 |
Human being with feelings
Join Date: Nov 2011
Posts: 3,440
|
Just confirmed on linux, too. Same behavior: recording appears to continue without issue.
|
11-09-2019, 10:12 AM | #3 |
Human being with feelings
Join Date: May 2009
Posts: 29,341
|
Bumping since I added repro steps to the first post.
__________________
Music is what feelings sound like. |
12-20-2019, 11:36 AM | #4 |
Human being with feelings
Join Date: May 2009
Posts: 29,341
|
Bump!
__________________
Music is what feelings sound like. |
12-21-2019, 03:13 AM | #5 |
Human being with feelings
Join Date: Mar 2007
Posts: 4,773
|
Bumping also this serious topic.
Devs, please? |
01-06-2020, 08:46 AM | #6 |
Human being with feelings
Join Date: May 2009
Posts: 29,341
|
bump.
__________________
Music is what feelings sound like. |
01-06-2020, 11:45 PM | #7 |
Human being with feelings
Join Date: May 2018
Location: Los Angeles
Posts: 1,745
|
Thanks for posting this. One more thing for my OCD to worry about during recording sessions. A solution to this would definitely add peace of mind and potentially avert disaster.
__________________
Cheers... Andrew K Reaper v6.80+dev0621 - June 21 2023 • Catalina • Mac Mini 2020 6 core i7 • 64GB RAM • OS: Catalina • 4K monitor • RME RayDAT card with Sync Card and extended Light Pipe. |
01-16-2020, 12:23 PM | #8 |
Human being with feelings
Join Date: May 2009
Posts: 29,341
|
Hey Devs...
Bumping hoping for a dev comment - I'm pretty resilient myself, but since someone could run in record for hours and lose every minute of that audio without warning, seems important for chiming in.
__________________
Music is what feelings sound like. |
01-16-2020, 12:54 PM | #9 |
Human being with feelings
Join Date: Sep 2008
Location: Sweden
Posts: 7,553
|
Similar thing happens when rendering to a disk that becomes full. Reaper just keeps on rendering, when the graceful thing would be to stop rendering and inform the user that something went astray.
https://forum.cockos.com/showthread.php?t=221562 https://forum.cockos.com/showthread.php?t=120185
__________________
// MVHMF I never always did the right thing, but all I did wasn't wrong... |
01-17-2020, 09:15 AM | #10 | |
Human being with feelings
Join Date: Mar 2007
Posts: 4,773
|
Quote:
So another bump. Please... |
|
02-19-2020, 06:26 PM | #11 |
Human being with feelings
Join Date: May 2009
Posts: 29,341
|
Bump - cuz data loss - thanks!
__________________
Music is what feelings sound like. |
02-29-2020, 07:47 AM | #12 |
Human being with feelings
Join Date: Mar 2007
Posts: 4,773
|
Another bump
|
06-11-2020, 08:27 PM | #13 |
Human being with feelings
Join Date: May 2009
Posts: 29,341
|
Bump, due to potential data loss - thank you!
__________________
Music is what feelings sound like. |
06-12-2020, 07:49 AM | #14 |
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,765
|
Bumperony
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
06-12-2020, 07:52 AM | #15 |
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,765
|
I would add, that Reaper seems to have issues as well, with recording to a volume that's full.
So if you run out of space, Reaper keeps on recording without writing it, as there's no space available anymore. This could cause broken recording-files. Maybe that is linked to the problem above, that Reaper does not check if writing itself is possible at all.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
06-12-2020, 07:55 AM | #16 | |
Human being with feelings
Join Date: May 2009
Posts: 29,341
|
Quote:
Edit: it is enabled by default @ 1GB.
__________________
Music is what feelings sound like. |
|
06-12-2020, 09:36 AM | #17 | |
Human being with feelings
Join Date: Mar 2007
Posts: 4,773
|
Quote:
I mean, if Reaper finds you have e.g. 1.2GB free space at the time of pressing REC button, so everything is OK, but few minutes later something is triggered in OS or other app and making a big file download, backup, tempfile or whatsoever, then Reaper does not check periodically if there is still some free space (while still performing recording task, or rendering task, or any file saving task in general!!!). Too bad then. It happens with rendering, too |
|
06-12-2020, 09:53 AM | #18 |
Human being with feelings
Join Date: May 2009
Posts: 29,341
|
Correct, but once recording has started, I assumed trapping the failed return value would still fall under this bug?
__________________
Music is what feelings sound like. |
06-12-2020, 10:09 AM | #19 |
Human being with feelings
Join Date: Mar 2007
Posts: 4,773
|
|
06-12-2020, 10:17 AM | #20 |
Human being with feelings
Join Date: Nov 2011
Posts: 3,440
|
Some discussion on disk space cases here...
IMO we could really use options: [x] alert when disk fills up while recording [x] alert on recording stop if disk filled while recording [x] do not create zero-length items if recording to full disk |
06-12-2020, 10:44 AM | #21 | |
Human being with feelings
Join Date: Sep 2008
Location: Sweden
Posts: 7,553
|
Quote:
It is amazing to me that the devs, as great programmens as they apparently are, let this slip by. Could there be some technical reason for not checking the return code of a write operation and gracefully terminate the writing if the write fails?
__________________
// MVHMF I never always did the right thing, but all I did wasn't wrong... |
|
06-12-2020, 10:57 AM | #22 | |
Human being with feelings
Join Date: May 2009
Posts: 29,341
|
Quote:
A dev comment would be nice so we could inform others, workaround whathaveyou. There is another investigatory action I could take to help answer, maybe later if I have time.
__________________
Music is what feelings sound like. |
|
06-12-2020, 11:01 AM | #23 | |
Human being with feelings
Join Date: Nov 2011
Posts: 3,440
|
Yeah that probably makes more sense. I think I was just being conservative in case devs or users didn't want the pop-ups.
Quote:
Given the stakes (e.g. lost data) I do hope these features (and the bugs mentioned in this thread) can get implemented/fixed some day soon. |
|
06-12-2020, 11:04 AM | #24 | |
Human being with feelings
Join Date: May 2009
Posts: 29,341
|
Quote:
__________________
Music is what feelings sound like. |
|
06-12-2020, 11:18 AM | #25 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,126
|
We should definitely notify, I agree, this is overdue. We'll be adding this in the next cycle (with an option to stop audio processing if this occurs in order to draw attention to the issue).
|
06-12-2020, 11:23 AM | #26 |
Human being with feelings
Join Date: Nov 2011
Posts: 3,440
|
Awesome, thanks!
|
06-12-2020, 12:16 PM | #27 |
Human being with feelings
Join Date: May 2009
Posts: 29,341
|
Yip, Yip, Yippieeeee.
Thanks Justin! Edit: Once a pre-release build lands, someone let me know if I miss so I can add (fixed) to the title.
__________________
Music is what feelings sound like. |
06-12-2020, 12:17 PM | #28 |
Human being with feelings
Join Date: Mar 2007
Posts: 4,773
|
Nice, thanx.
|
06-12-2020, 12:56 PM | #29 | |
Human being with feelings
Join Date: Sep 2008
Location: Sweden
Posts: 7,553
|
Quote:
Thanks.
__________________
// MVHMF I never always did the right thing, but all I did wasn't wrong... |
|
06-12-2020, 03:12 PM | #30 |
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,765
|
Awesome!
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
06-19-2020, 02:07 PM | #31 |
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,765
|
It is now added.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
Thread Tools | |
Display Modes | |
|
|