Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 11-05-2019, 11:03 AM   #1
karbomusic
Human being with feelings
 
karbomusic's Avatar
 
Join Date: May 2009
Posts: 29,269
Default 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.
karbomusic is offline   Reply With Quote
Old 11-05-2019, 11:10 AM   #2
clepsydrae
Human being with feelings
 
clepsydrae's Avatar
 
Join Date: Nov 2011
Posts: 3,409
Default

Just confirmed on linux, too. Same behavior: recording appears to continue without issue.
clepsydrae is offline   Reply With Quote
Old 11-09-2019, 10:12 AM   #3
karbomusic
Human being with feelings
 
karbomusic's Avatar
 
Join Date: May 2009
Posts: 29,269
Default

Bumping since I added repro steps to the first post.
__________________
Music is what feelings sound like.
karbomusic is offline   Reply With Quote
Old 12-20-2019, 11:36 AM   #4
karbomusic
Human being with feelings
 
karbomusic's Avatar
 
Join Date: May 2009
Posts: 29,269
Default

Bump!
__________________
Music is what feelings sound like.
karbomusic is offline   Reply With Quote
Old 12-21-2019, 03:13 AM   #5
akademie
Human being with feelings
 
Join Date: Mar 2007
Posts: 4,018
Default

Bumping also this serious topic.

Devs, please?
akademie is offline   Reply With Quote
Old 01-06-2020, 08:46 AM   #6
karbomusic
Human being with feelings
 
karbomusic's Avatar
 
Join Date: May 2009
Posts: 29,269
Default

bump.
__________________
Music is what feelings sound like.
karbomusic is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:24 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.