|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Seg fault in CompositionModelImpl.cpp:488Here's another seg fault from a file produced in Rosegarden-1.7.3. File
and gdb output attached. Regards Dave P RosegardenDocument::openDocument: Successfully opened document "/home/davepl/bugs/bug-551669_magnificat7.rg" [generic] RosegardenDocument[ Rosegarden::RosegardenDocument(0x1626a20) ]::setModified( false ) [generic] RosegardenDocument EMITTING documentModified(false) [sequencer] processAsynchronousEvents: Have 354 events in async out queue [seqman] SequenceManager::setDocument( Rosegarden::RosegardenDocument(0x1626a20) ) DataBlockRepository::clear() [sequencer] MmappedSegment::closeAllSegments() [seqman] SequenceManager::resetCompositionMapper() [seqman] ~CompositionMapper() [seqman] CompositionMapper() - doc = Rosegarden::RosegardenDocument(0x1626a20) [seqman] CompositionMapper::mapSegment( 0x1f49400 ) [seqman] SegmentMapper : 0x2097750 [sequencer] MappedSegment::resizeBuffer: Resized to 141 events [seqman] SegmentMapper::init : size = 141 for segment "General MIDI Device #3 (copied)" [sequencer] MappedSegment::setBufferFill( 83 ): Fill is now 83 [seqman] CompositionMapper::mapSegment( 0x1fff940 ) [seqman] SegmentMapper : 0x2097bb0 [sequencer] MappedSegment::resizeBuffer: Resized to 181 events [seqman] SegmentMapper::init : size = 181 for segment "General MIDI Device #3 (copied)" [sequencer] MappedSegment::setBufferFill( 83 ): Fill is now 83 [seqman] CompositionMapper::mapSegment( 0x206fee0 ) [seqman] SegmentMapper : 0x1fd6230 [sequencer] MappedSegment::resizeBuffer: Resized to 114 events [seqman] SegmentMapper::init : size = 114 for segment "General MIDI Device #3" [sequencer] MappedSegment::setBufferFill( 78 ): Fill is now 78 [seqman] CompositionMapper::mapSegment( 0x2182cd0 ) [seqman] SegmentMapper : 0x1fd6bf0 [sequencer] MappedSegment::resizeBuffer: Resized to 50 events [seqman] SegmentMapper::init : size = 50 for segment "General MIDI Device #3 (copied)" [sequencer] MappedSegment::setBufferFill( 13 ): Fill is now 13 [seqman] SequenceManager::resetMetronomeMapper() [sequencer] MmappedSegment::segmentAboutToBeDeleted( 0x1df2ee0 ) [seqman] ~MetronomeMapper 0x1df3410 [seqman] ~SegmentMapper : 0x1df3410 [seqman] SegmentMapper : 0x1df3410 [seqman] MetronomeMapper ctor : 0x1df3410 Studio::getMetronomeFromDevice: Having a look at device 1000 Studio::getMetronomeFromDevice: Having a look at device 10000 Studio::getMetronomeFromDevice: Having a look at device 0 Studio::getMetronomeFromDevice(0): device is a MIDI device [seqman] MetronomeMapper: have metronome, it's on instrument 2009 [sequencer] MappedSegment::resizeBuffer: Resized to 225 events [seqman] MetronomeMapper::dump: instrument is 2009 [sequencer] MappedSegment::setBufferFill( 225 ): Fill is now 225 [seqman] MetronomeMapper::dump: - Total events written = 225 [sequencer] MmappedSegment::segmentAdded( 0x1df2ee0 ) [seqman] SequenceManager::resetTempoSegmentMapper() [sequencer] MmappedSegment::segmentAboutToBeDeleted( 0x1de9bc0 ) [seqman] ~SegmentMapper : 0x1deb870 [seqman] SegmentMapper : 0x1de9bc0 [sequencer] MappedSegment::resizeBuffer: Resized to 1 events [sequencer] MappedSegment::setBufferFill( 1 ): Fill is now 1 [sequencer] MmappedSegment::segmentAdded( 0x1deb870 ) [seqman] SequenceManager::resetTimeSigSegmentMapper() [sequencer] MmappedSegment::segmentAboutToBeDeleted( 0x1de5bc0 ) [seqman] ~SegmentMapper : 0x1ded250 [seqman] SegmentMapper : 0x1de5bc0 [sequencer] MappedSegment::resizeBuffer: Resized to 3 events [sequencer] MappedSegment::setBufferFill( 3 ): Fill is now 3 [sequencer] MmappedSegment::segmentAdded( 0x1ded250 ) [seqman] SequenceManager::resetControlBlockMapper() [seqman] Adding segment with rid 0 [seqman] SequenceManager::processAddedSegment( 0x1f49400 ) [seqman] CompositionMapper::segmentAdded( 0x1f49400 ) [seqman] CompositionMapper::mapSegment( 0x1f49400 ) [seqman] SegmentMapper : 0x205bcc0 [sequencer] MappedSegment::resizeBuffer: Resized to 141 events [seqman] SegmentMapper::init : size = 141 for segment "General MIDI Device #3 (copied)" [sequencer] MappedSegment::setBufferFill( 83 ): Fill is now 83 [sequencer] MmappedSegment::segmentAdded( 0x205b850 ) [seqman] Adding segment with rid 1 [seqman] SequenceManager::processAddedSegment( 0x1fff940 ) [seqman] CompositionMapper::segmentAdded( 0x1fff940 ) [seqman] CompositionMapper::mapSegment( 0x1fff940 ) [seqman] SegmentMapper : 0x203bea0 [sequencer] MappedSegment::resizeBuffer: Resized to 181 events [seqman] SegmentMapper::init : size = 181 for segment "General MIDI Device #3 (copied)" [sequencer] MappedSegment::setBufferFill( 83 ): Fill is now 83 [sequencer] MmappedSegment::segmentAdded( 0x205be80 ) [seqman] Adding segment with rid 2 [seqman] SequenceManager::processAddedSegment( 0x206fee0 ) [seqman] CompositionMapper::segmentAdded( 0x206fee0 ) [seqman] CompositionMapper::mapSegment( 0x206fee0 ) [seqman] SegmentMapper : 0x203c810 [sequencer] MappedSegment::resizeBuffer: Resized to 114 events [seqman] SegmentMapper::init : size = 114 for segment "General MIDI Device #3" [sequencer] MappedSegment::setBufferFill( 78 ): Fill is now 78 [sequencer] MmappedSegment::segmentAdded( 0x1df2050 ) [seqman] Adding segment with rid 3 [seqman] SequenceManager::processAddedSegment( 0x2182cd0 ) [seqman] CompositionMapper::segmentAdded( 0x2182cd0 ) [seqman] CompositionMapper::mapSegment( 0x2182cd0 ) [seqman] SegmentMapper : 0x203d190 [sequencer] MappedSegment::resizeBuffer: Resized to 50 events [seqman] SegmentMapper::init : size = 50 for segment "General MIDI Device #3 (copied)" [sequencer] MappedSegment::setBufferFill( 13 ): Fill is now 13 [sequencer] MmappedSegment::segmentAdded( 0x203ce10 ) [generic] TrackParameterBox::setDocument [generic] TrackParameterBox::populateDeviceLists() [generic] TrackParameterBox::populatePlaybackDeviceList() [generic] TrackParameterBox::slotUpdateControls() [generic] TrackParameterBox::slotPlaybackDeviceChanged( -1 ) [generic] TrackParameterBox::populateRecordingDeviceList() [generic] TrackParameterBox::slotInstrumentChanged( -1 ) [generic] SegmentParameterBox::slotDocColoursChanged() [generic] ~RosegardenDocument() Warning: Composition::~Composition() with 3 observers still extant Observers are: 0x15c28e0 [N10Rosegarden19SegmentParameterBoxE] 0x15453a0 [N10Rosegarden17TrackParameterBoxE] 0x1b48050 [N10Rosegarden20CompositionModelImplE] [generic] RosegardenMainWindow::initView() [generic] StandardRuler::connectRulerToDocPointer [generic] CompositionModelImpl::computeSegmentRect: x 0 , y 1 startTime 0 , endTime 213120 , w 5550 , h 22 [generic] CompositionModelImpl::computeSegmentRect: x 0 , y 25 startTime 0 , endTime 213120 , w 5550 , h 22 [generic] CompositionModelImpl::computeSegmentRect: x 0 , y 49 startTime 0 , endTime 213120 , w 5550 , h 22 [generic] CompositionModelImpl::computeSegmentRect: x 0 , y 73 startTime 0 , endTime 213120 , w 5550 , h 22 [generic] CompositionView::slotUpdateSize: Resizing contents from 0 x -1 to 10050 x 1536 [generic] StandardRuler::connectRulerToDocPointer [generic] RosegardenScrollView::setBottomFixedWidget [seqman] SequenceManager::trackChanged( 0x1553340 , 0 ) [sequencer] RosegardenSequencer::setQuarterNoteLength "0.600000000" [sequencer] RosegardenSequencer::jumpTo( "0.000000000" ) [sequencer] RosegardenSequencer::incrementTransportToken: incrementing to 2 [generic] TrackEditor::scrollToTrack( 2 ) scrolling to Y 48 [generic] TrackParameterBox::slotSelectedTrackChanged() [generic] TrackParameterBox::sotSelectedTrackNameChanged() [generic] TrackParameterBox::slotUpdateControls() [generic] TrackParameterBox::slotPlaybackDeviceChanged( -1 ) [generic] TrackParameterBox::populateRecordingDeviceList() recording code is tripping recording code is tripping recording code is tripping recording code is tripping recording code is tripping [generic] TrackParameterBox::slotInstrumentChanged( -1 ) [generic] useInstrument() - populate Instrument [generic] MIDIInstrumentParameterPanel::setupForInstrument [generic] TrackParameterBox::slotInstrumentLabelChanged( 2002 ) = "" [generic] TrackParameterBox::populatePlaybackDeviceList() [generic] TrackParameterBox::slotUpdateControls() [generic] TrackParameterBox::slotPlaybackDeviceChanged( -1 ) [generic] TrackParameterBox::populateRecordingDeviceList() [generic] TrackParameterBox::slotInstrumentChanged( -1 ) [generic] TrackParameterBox::slotInstrumentLabelChanged( 2002 ) = "" [generic] TrackParameterBox::populatePlaybackDeviceList() [generic] TrackParameterBox::slotUpdateControls() [generic] TrackParameterBox::slotPlaybackDeviceChanged( -1 ) [generic] TrackParameterBox::populateRecordingDeviceList() [generic] TrackParameterBox::slotInstrumentChanged( -1 ) CompositionModelImpl::slotInstrumentParametersChanged() Program received signal SIGSEGV, Segmentation fault. Rosegarden::CompositionModelImpl::slotInstrumentParametersChanged (this=0x1b48040, id=2002) at src/gui/editors/segment/compositionview/CompositionModelImpl.cpp:488 488 const Segment* s = *i; (gdb) subgraph starting at rosegarden timed out (subgraph_wait_fd=14, status = 0, state = Triggered, pollret = 0 revents = 0x0) **** alsa_pcm: xrun of at least 479.987 msecs bad status (1) for client rosegarden handling event (type = 8) **** alsa_pcm: xrun of at least 1959.391 msecs Undefined command: "". Try "help". (gdb) bt #0 Rosegarden::CompositionModelImpl::slotInstrumentParametersChanged (this=0x1b48040, id=2002) at src/gui/editors/segment/compositionview/CompositionModelImpl.cpp:488 #1 0x0000000000a3b443 in Rosegarden::CompositionModelImpl::qt_metacall (this=0x1b48040, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffffff9200) at src/gui/editors/segment/compositionview/CompositionModelImpl.moc:79 #2 0x00007ffff650afbc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4 #3 0x000000000064516f in Rosegarden::RosegardenMainWindow::instrumentParametersChanged (this=0x1606208, _t1=2002) at src/gui/application/RosegardenMainWindow.moc:786 #4 0x000000000068a7e8 in Rosegarden::RosegardenMainWindow::qt_metacall (this=0x15505e0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffffff9450) at src/gui/application/RosegardenMainWindow.moc:500 #5 0x00007ffff650afbc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4 #6 0x00000000009dcd5f in Rosegarden::InstrumentParameterBox::instrumentParametersChanged (this=0x1606208, _t1=2002) at src/gui/editors/parameters/InstrumentParameterBox.moc:128 #7 0x00000000009dd76f in Rosegarden::InstrumentParameterBox::qt_metacall (this=0x1574020, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffffff95a0) at src/gui/editors/parameters/InstrumentParameterBox.moc:90 #8 0x00007ffff650afbc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4 #9 0x00000000009deaaf in Rosegarden::MIDIInstrumentParameterPanel::instrumentParametersChanged (this=0x1606208, _t1=2002) at src/gui/editors/parameters/MIDIInstrumentParameterPanel.moc:123 #10 0x00000000009e64fd in Rosegarden::MIDIInstrumentParameterPanel::slotToggleProgramChange (this=0x183d5e0, value=false) at src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp:1002 #11 0x00000000009e6a00 in Rosegarden::MIDIInstrumentParameterPanel::qt_metacall (this=0x183d5e0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffffff9730) at src/gui/editors/parameters/MIDIInstrumentParameterPanel.moc:101 #12 0x00007ffff650afbc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4 #13 0x00007ffff74cddb2 in QAbstractButton::toggled(bool) () from /usr/lib64/libQtGui.so.4 #14 0x00007ffff7231b38 in QAbstractButton::setChecked(bool) () from /usr/lib64/libQtGui.so.4 #15 0x00000000009e7be4 in Rosegarden::MIDIInstrumentParameterPanel::setupForInstrument (this=0x183d5e0, instrument=0x162b220) at src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp:347 #16 0x00000000009dd266 in Rosegarden::InstrumentParameterBox::useInstrument (this=0x1574020, instrument=0x162b220) at src/gui/editors/parameters/InstrumentParameterBox.cpp:215 #17 0x000000000063953f in Rosegarden::RosegardenMainViewWidget::slotUpdateInstrumentParameterBox (this=0x179b3f0, id=<value optimized out>) at src/gui/application/RosegardenMainViewWidget.cpp:1129 #18 0x000000000063b8c7 in Rosegarden::RosegardenMainViewWidget::slotSelectTrackSegments (this=0x179b3f0, trackId=2) at src/gui/application/RosegardenMainViewWidget.cpp:1014 #19 0x000000000067e048 in Rosegarden::RosegardenMainWindow::initView (this=0x15505e0) at src/gui/application/RosegardenMainWindow.cpp:1033 #20 0x000000000067ecd3 in Rosegarden::RosegardenMainWindow::setDocument (this=0x15505e0, newDocument=0x1626a20) at src/gui/application/RosegardenMainWindow.cpp:1192 #21 0x0000000000681d54 in Rosegarden::RosegardenMainWindow::openFile (this=0x15505e0, filePath=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece. ) at src/gui/application/RosegardenMainWindow.cpp:1255 #22 0x000000000068d0d3 in Rosegarden::RosegardenMainWindow::openFile(QString) () #23 0x0000000000666e7f in Rosegarden::RosegardenMainWindow::openURL (this=0x15505e0, url=<value optimized out>) at src/gui/application/RosegardenMainWindow.cpp:1739 #24 0x0000000000667e83 in Rosegarden::RosegardenMainWindow::slotFileOpen (this=<value optimized out>) at src/gui/application/RosegardenMainWindow.cpp:1796 #25 0x000000000068a8b3 in Rosegarden::RosegardenMainWindow::qt_metacall (this=0x15505e0, _c=InvokeMetaMethod, _id=19068256, _a=0x7fffffffa8c0) at src/gui/application/RosegardenMainWindow.moc:509 #26 0x00007ffff650afbc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4 #27 0x00007ffff6ee3457 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4 #28 0x00007ffff6ee489f in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4 #29 0x00007ffff72b461d in ?? () from /usr/lib64/libQtGui.so.4 #30 0x00007ffff72ba52a in ?? () from /usr/lib64/libQtGui.so.4 #31 0x00007ffff6f37cf0 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4 #32 0x00007ffff72bcceb in QMenu::event(QEvent*) () from /usr/lib64/libQtGui.so.4 #33 0x00007ffff6ee92ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #34 0x00007ffff6ef03c1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #35 0x00007ffff64f5ddc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4 #36 0x00007ffff6eefc90 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib64/libQtGui.so.4 #37 0x00007ffff6f5611e in ?? () from /usr/lib64/libQtGui.so.4 #38 0x00007ffff6f54d9a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4 #39 0x00007ffff6f7cb6c in ?? () from /usr/lib64/libQtGui.so.4 #40 0x00007ffff2df6dde in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #41 0x00007ffff2dfa7a8 in ?? () from /usr/lib64/libglib-2.0.so.0 #42 0x00007ffff2dfa8d0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #43 0x00007ffff651e3a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #44 0x00007ffff6f7c31e in ?? () from /usr/lib64/libQtGui.so.4 #45 0x00007ffff64f4712 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #46 0x00007ffff64f4ae4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #47 0x00007ffff64f6c99 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4 #48 0x0000000000698924 in main (argc=1, argv=<value optimized out>) at src/gui/application/main.cpp:753 ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Rosegarden-devel mailing list Rosegarden-devel@... - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel |
|
|
Re: Seg fault in CompositionModelImpl.cpp:488On Saturday 31 October 2009, Dave Plater wrote:
> Here's another seg fault from a file produced in Rosegarden-1.7.3. File > and gdb output attached. I can confirm the crash, and confirm that it loads in 1.7.3 without issue. I got a completely different crash on this one though. Wow. I got THREE completely different crashes on that same file. I went back to try to confirm my findings, and didn't get the same findings on any of three runs, but they all crashed in CompositionModelImpl somewhere. Yeeha. This is where letting Thorn out of the laboratory starts to get ugly. I appreciate that you have some users trying this out and reporting these results though, Dave. It's great! I may be grouchy and make a lot of grumbling noises about stupid users and stupid scenarios, but don't pay any attention to that grousing. We've got to fix this sort of thing to have any chance of not falling on our face when Thorn releases, and to fix it, we have to find it, and be able to repeat it. You're scoring high in all categories there. -- D. Michael McIntyre ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Rosegarden-devel mailing list Rosegarden-devel@... - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel |
|
|
Re: Seg fault in CompositionModelImpl.cpp:488On 11/01/2009 05:38 AM, D. Michael McIntyre wrote:
> On Saturday 31 October 2009, Dave Plater wrote: > > >> Here's another seg fault from a file produced in Rosegarden-1.7.3. File >> and gdb output attached. >> > I can confirm the crash, and confirm that it loads in 1.7.3 without issue. > > I got a completely different crash on this one though. > > Wow. I got THREE completely different crashes on that same file. I went back > to try to confirm my findings, and didn't get the same findings on any of > three runs, but they all crashed in CompositionModelImpl somewhere. > > Yeeha. This is where letting Thorn out of the laboratory starts to get ugly. > I appreciate that you have some users trying this out and reporting these > results though, Dave. It's great! I may be grouchy and make a lot of > grumbling noises about stupid users and stupid scenarios, but don't pay any > attention to that grousing. We've got to fix this sort of thing to have any > chance of not falling on our face when Thorn releases, and to fix it, we have > to find it, and be able to repeat it. You're scoring high in all categories > there. > kexec doesn't work with new kernels so I'm sure I've got an idea how you must feel sometimes. Regards Dave P ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Rosegarden-devel mailing list Rosegarden-devel@... - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel |
| Free embeddable forum powered by Nabble | Forum Help |