12-09-2013, 02:33 AM | #1 |
Human being with feelings
Join Date: Nov 2011
Posts: 3,440
|
total hang, runaway memory, no tracks or plugins... !
Hi - got a hang, and whittled the project file down to a minimal thing necessary to reproduce.
Only happens to me on this project (so far). Never seen it before. The example project has no audio items, just one track (though it's not necessary for the crash) and no plugins. It does have some tempo changes, which so far do seem to need to be present: if I remove them, no crash (again: so far, only tried a few times). The way I trigger it is to move the right edge of the zoom to just past 4:00 (maybe 4:05 or so), and then move the left edge back and forth. (Don't need to use the zoom scrollbar: I first saw it using the mousewheel.) I'm not sure the best/most reliable way to trigger it, but this is they way I do it. It it doesn't happen, I tweak the right edge of the zoom a little and try again. Works every time. As soon as it hangs, memory use shoots up (see second licecap; to over 4GB about 30-60 secs after the hang). It can happen at any window size. I once waited 5 or so minutes to see if it would release, but no. Here's the project file. Can anyone reproduce? Here is my reaper.ini. Reaper 4.57 64bit + SWS 2.3.0, on a Haswell 4770K Windows 8 machine with Presonus Firestudio Mobile. The windows event viewer just showed a series of hangs for Reaper with little relevant-seeming data. Let me know if you want it anyway. I'd love to help get this fixed (attach a debugger, etc, if you can't reproduce), as I can't work on my song until it is! |
12-09-2013, 05:23 AM | #2 |
Super Moderator (no feelings)
Join Date: Dec 2007
Location: On or near a dike
Posts: 9,836
|
Could you (temporarily, to test) get rid of all extensions?
|
12-09-2013, 12:51 PM | #3 |
Human being with feelings
Join Date: Nov 2011
Posts: 3,440
|
I disabled the reaper_sws64.dll, and the crash still happens. It's the only 3rd-party thing I installed... if there are extensions that come with Reaper that you'd like me to get rid of, let me know.
Thanks a bunch. |
12-09-2013, 01:05 PM | #4 |
Human being with feelings
Join Date: Nov 2011
Posts: 3,440
|
Deleting roughly the second half of tempo points seems to make the hang go away?
I compared the crashing RPP, which is a whittled down version of a song i'm working on, with an older, non-hanging, auto-save version of the song. The tempo points are identical. But the tempo points do seem to be related to the hang somehow. I note that the last 5 tempo points are non-integer BPM, but deleting the last 6 points still gives a hang. Deleting the last ~50% of the points makes the hang go away (at least as far as a small amount of trying has shown.) |
12-09-2013, 03:33 PM | #5 |
Human being with feelings
Join Date: Nov 2011
Posts: 3,440
|
FYI, I could not reproduce this in a Win XP pro SP3 VM, 32-bit.
|
12-10-2013, 03:26 PM | #6 |
Human being with feelings
Join Date: Sep 2008
Location: Location
Posts: 5,578
|
Is "Preserve pitch in audio items when changing master playrate" enabled?
(right-click the master playrate slider/knob to see the menu where it's in) -Data
__________________
German Language Pack for REAPER? Get it here! ... Donate? Yeah!! | Are you nuts? | Maybe
Deutsche Sprachdatei für REAPER? Hier zu haben! ... Spenden? Klar! | Spinnst wohl!? | Vielleicht |
12-10-2013, 04:43 PM | #7 |
Human being with feelings
Join Date: Nov 2011
Posts: 3,440
|
It is enabled, yes.
Unchecking it does not prevent the hang. Thanks for the idea, though. Has anyone been able to reproduce this with the demo project and/or demo .ini? Thanks! -c |
12-10-2013, 05:32 PM | #8 |
Human being with feelings
Join Date: Sep 2008
Location: Location
Posts: 5,578
|
I haven't tested your project.
Try the following: Enable "Preserve pitch in audio items when changing master playrate" again, but use any other algorithm than one of the "élastique" algos and see whether it still crashes. It might be due to some issue with the élastique.dll. -Data
__________________
German Language Pack for REAPER? Get it here! ... Donate? Yeah!! | Are you nuts? | Maybe
Deutsche Sprachdatei für REAPER? Hier zu haben! ... Spenden? Klar! | Spinnst wohl!? | Vielleicht |
12-10-2013, 06:45 PM | #9 |
Human being with feelings
Join Date: Nov 2011
Posts: 3,440
|
No change - tried SoundTouch and simple windowed, same behavior. (I assume you meant me to change the default pitch shift mode in the project settings). (Note that the demo project i provided has no audio items in it, if that matters.)
Thanks, -c |
12-10-2013, 07:07 PM | #10 |
Administrator
Join Date: Mar 2007
Location: NY
Posts: 16,498
|
I can't reproduce the hang, unfortunately. RAM use seems stable.
|
12-10-2013, 07:59 PM | #11 |
Human being with feelings
Join Date: Nov 2011
Posts: 3,440
|
Schwa -- what platform did you try it on?
|
12-11-2013, 07:16 AM | #12 |
Administrator
Join Date: Mar 2007
Location: NY
Posts: 16,498
|
OK, we've replicated this, it's compiler-dependent. We should be able to sort it out.
|
12-11-2013, 09:07 AM | #13 |
Human being with feelings
Join Date: Mar 2007
Location: I'm in a barn
Posts: 4,467
|
I've had a few scrolling hangs lately - but it's always when under heavy load and haven't tried to find cause, so not sure if I've been effected by this, but, great job in tracking this down guys.
|
12-11-2013, 06:31 PM | #14 |
Human being with feelings
Join Date: Nov 2011
Posts: 3,440
|
Brilliant - thanks a million.
I have a song held up due to this -- will the fix come in 4.58 or will it take longer to implement? (I'm assuming there's no known workaround). |
12-11-2013, 07:28 PM | #15 |
Administrator
Join Date: Mar 2007
Location: NY
Posts: 16,498
|
It should already be fixed in the latest prerelease build, 4.58rc4.
http://forum.cockos.com/forumdisplay.php?f=37 |
12-11-2013, 08:03 PM | #16 |
Human being with feelings
Join Date: Nov 2011
Posts: 3,440
|
That's what i'm talkin' about! :-)
Just started happening on a second song. Excited for 4.58. :-) Thankful for agile development, -c |
12-17-2013, 12:28 PM | #17 |
Human being with feelings
Join Date: Jan 2007
Location: Underworld
Posts: 1,189
|
Indeed, you devs cannot rock any harder, I think.
[no matter my complaints at times, there's no better dev team and no better DAW, and no better DAW forum at least in the Solar System that I know of] Cheers!
__________________
Goodnight, thank you, and may your God go with you. |
Thread Tools | |
Display Modes | |
|
|