Commit Hash
70690c5
Platform
Arch Linux
Summary
I've found that when ripple deleting a few clips (possibly involving cross fades or text nodes), olive crashes.
Steps to Reproduce
- Create a few clips on the timeline, and add text nodes and/or crossfades between them
- Highlight some of the clips at the beginning, but not all clips
- Shift+delete to ripple delete.
Here's one scenario that crashes:

Crash Report
Additional Information
I loaded up Olive in a debugger and it turns out the track variable is null on line 390:
|
Track *track = region.first; |
Adding something like this fixes the crashes:
Track *track = region.first;
if(!track) {
qWarning() << "Track is null!";
continue;
}
If it's not supposed to be null, then we got other problems but it's a good idea to check for null here in any case.
Commit Hash
70690c5
Platform
Arch Linux
Summary
I've found that when ripple deleting a few clips (possibly involving cross fades or text nodes), olive crashes.
Steps to Reproduce
Here's one scenario that crashes:

Crash Report
Additional Information
I loaded up Olive in a debugger and it turns out the track variable is null on line 390:
olive/app/timeline/timelineundoripple.cpp
Line 390 in 70690c5
Adding something like this fixes the crashes:
If it's not supposed to be null, then we got other problems but it's a good idea to check for null here in any case.