Cut, paste, undo, paste, crash
Reported version
3.6
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Randomly
Status
active
Regression
No
Workaround
No
Project
1) Cut (ctrl+x) a Change Instrument text element
2) Paste (ctrl+v) it somewhere
3) Undo (ctrl+z)
4) Select a different measure and paste (ctrl+v) again
Sometimes it crashes, sometimes it doesn't.
Comments
Confirmed
Trying my hardest to reproduce crash, but in vain. Using 3.6.2 and 3.6.3
In reply to (No subject) by Jojo-Schmitz
I could in 3.6.2. There is no 3.6.3 ... but I can't in my branch from PR #9000
In fact I can there too, stack trace:
1 std::__atomic_base::load atomic_base.h 396 0xcb5441
2 QAtomicOps::loadRelaxed qatomic_cxx11.h 239 0xcb5441
3 QBasicAtomicInteger::loadRelaxed qbasicatomic.h 107 0x1049298
4 QtPrivate::RefCount::ref qrefcount.h 55 0x101b358
5 QList::QList qlist.h 856 0xf82caf
6 Ms::Drumset::variants drumset.h 80 0x1058964
7 Ms::Drumset::findVariant drumset.cpp 218 0x96b5a2
8 Ms::Note::ppitch note.cpp 2454 0xa3c215
9 Ms::Note::draw note.cpp 1268 0xa36538
10 Ms::paintElement navigator.cpp 326 0x44b8ee
11 Ms::Note::scanElements note.cpp 2303 0xa3b73b
12 Ms::Chord::scanElements chord.cpp 1217 0x93fbab
13 Ms::Segment::scanElements segment.cpp 1191 0xa89c5e
14 Ms::Measure::scanElements measure.cpp 2622 0xa27054
15 Ms::Navigator::paintEvent navigator.cpp 382 0x44bf44
16 QWidget::event(QEvent *) 0x327c3d78
17 QApplicationPrivate::notify_helper(QObject *, QEvent *) 0x3278790e
18 QApplication::notify(QObject *, QEvent *) 0x3278e3e3
19 QCoreApplication::sendSpontaneousEvent(QObject *, QEvent *) 0x68a65f78
20 QWidgetPrivate::sendPaintEvent(QRegion const&) 0x327bbb78
...
Funny enough the score used doesn't have any drumset nor does the change instrument text uses one (Just flute and voice, changing to oboe)
In reply to Confirmed by Jojo-Schmitz
"Funny enough the score used doesn't have any drumset nor does the change instrument text uses one (Just flute and voice, changing to oboe)"
Which score used, where?
One of mine, 2 flutes, women, men, some notes, empty staves hidden. Changing instrument (any) to oboe