Menu

#1643 Crash when recording

None
closed
None
5
2022-12-27
2022-07-02
No

Crash when recording with latest [63c7e4] commit.

Steps to reproduce:
1. Create segment on track 1, armed for recording.
2. Start recording (normal recording, not punch-in).
3. Wait 3 beats, come in on 4th beat (anacrusis). (Not sure if this is necessary.)
4. Record one or two measures, quarter and eighth notes, slightly syncopated (not sure if necessary).
5. Play as poorly as I do, not exactly in time (probably necessary, give the quantizer work to do).
6. Stop playing, click record button to stop recording. Crash

Stack trace:

#0  0x00000000008a05c5 in Rosegarden::Quantizer::quantize(Rosegarden::Segment*, std::_Rb_tree_const_iterator<Rosegarden::Event*>, std::_Rb_tree_const_iterator<Rosegarden::Event*>) const ()
#1  0x000000000091c589 in Rosegarden::EventQuantizeCommand::modifySegment() ()
#2  0x00000000004d7c11 in Rosegarden::BasicCommand::execute() ()
#3  0x000000000095e6ad in Rosegarden::MacroCommand::execute() ()
#4  0x00000000004ec975 in Rosegarden::CommandHistory::addCommand(Rosegarden::Command*) ()
#5  0x00000000004ddbf9 in Rosegarden::RosegardenDocument::stopRecordingMidi()
    ()
#6  0x0000000000801fa5 in Rosegarden::SequenceManager::stop(bool) ()
#7  0x000000000072b023 in Rosegarden::RosegardenMainWindow::doStop(bool) ()
#8  0x0000000000740d22 in Rosegarden::RosegardenMainWindow::slotRecord() ()
#9  0x00000000004b66ef in Rosegarden::RosegardenMainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
#10 0x00007ffff57b1c05 in QMetaObject::activate(QObject*, int, int, void**) ()
    at /usr/lib64/libQt5Core.so.5
#11 0x00007ffff6aedcc2 in QAction::triggered(bool) ()
    at /usr/lib64/libQt5Widgets.so.5
#12 0x00007ffff6af03ac in QAction::activate(QAction::ActionEvent) ()
    at /usr/lib64/libQt5Widgets.so.5

This does not crash in 22.06, or FWIW in [f36420] from my latest merge request, #76. It does crash in[9ea98d] from #74. I have not looked into why in regards to any of those commits.

Related

Commit: [63c7e4]

Discussion

  • Philip Leishman

    Philip Leishman - 2022-07-03

    I believe this is a duplicate of bug [#1642].

     

    Related

    Bugs: #1642


    Last edit: Ted Felix 2022-07-10
  • Ted Felix

    Ted Felix - 2022-07-10
    • status: open --> feedback
    • assigned_to: Philip Leishman
     
  • Ted Felix

    Ted Felix - 2022-07-10

    A fix was pushed for [#1642]. Please test latest git.

     

    Related

    Bugs: #1642

  • Ted Felix

    Ted Felix - 2022-12-27
    • status: feedback --> closed
     

Log in to post a comment.