On Friday 15 January 2010, Jim Cochrane wrote:

> In the notation editor with two tracks (or segments or staffs -
> whatever they're called)

The little yellow bars you draw with the pencil to put notes in are called 
segments.  Segments sit on tracks.  Tracks correspond with staffs in the 
notation editor, and all the segments from a given track will appear on one 
staff.

> open, select 2 close-together notes in the top staff.  Right-click and
> choose "move to staff below" to move them to the lower staff.  Crash.

This isn't hard to reproduce, but neither is it neatly reliable.  I can't work 
out what it takes to cause a crash here, but not there.  I've moved an entire 
measure of notes to staff below without crashing, and I've crashed moving just 
two, but never just one.

The crash looks like it's hitting in exactly the same place where Chris just 
fixed a different crash.

1281            NOTATION_DEBUG << "NotationHLayout::layout(): starting bar " 
<< barNo << ", x = " << barX << ", width = " << bdi-
>second.sizeData.idealWidth << ", time = " << (from == notes->end() ? -1 : 
(*from)->getViewAbsoluteTime()) << endl;

Stack trace attached.


-- 
D. Michael McIntyre
#0  0x00000000009edc2b in Rosegarden::NotationHLayout::layout 
(this=0x7f3d14378520, i=..., startTime=1920, endTime=6720, full=false)
    at src/gui/editors/notation/NotationHLayout.cpp:1281
#1  0x00000000009ed5cc in Rosegarden::NotationHLayout::finishLayout 
(this=0x7f3d14378520, startTime=1920, endTime=6720, full=false)
    at src/gui/editors/notation/NotationHLayout.cpp:1225
#2  0x0000000000a0858d in Rosegarden::NotationScene::layout 
(this=0x7f3d14375270, singleStaff=0x7f3d14378840, startTime=1920, endTime=6720)
    at src/gui/editors/notation/NotationScene.cpp:1300
#3  0x0000000000a0625b in Rosegarden::NotationScene::checkUpdate 
(this=0x7f3d14375270) at src/gui/editors/notation/NotationScene.cpp:914
#4  0x0000000000a057ec in Rosegarden::NotationScene::slotCommandExecuted 
(this=0x7f3d14375270) at src/gui/editors/notation/NotationScene.cpp:779
#5  0x0000000000a0989a in Rosegarden::NotationScene::qt_metacall 
(this=0x7f3d14375270, _c=QMetaObject::InvokeMetaMethod, _id=13, 
_a=0x7fff0cb26650)
    at src/gui/editors/notation/NotationScene.moc:109
#6  0x00007f3d2812dddc in QMetaObject::activate(QObject*, int, int, void**) () 
from /usr/lib/libQtCore.so.4
#7  0x000000000051943f in Rosegarden::CommandHistory::commandExecuted 
(this=0x7f3d14036930) at src/document/CommandHistory.moc:108
#8  0x0000000000517bb0 in Rosegarden::CommandHistory::addCommand 
(this=0x7f3d14036930, command=0x7f3d0c4fd500, execute=true, bundle=false) at 
src/document/CommandHistory.cpp:180
#9  0x0000000000517a7e in Rosegarden::CommandHistory::addCommand 
(this=0x7f3d14036930, command=0x7f3d0c4fd500) at 
src/document/CommandHistory.cpp:135
#10 0x0000000000a4706e in Rosegarden::NotationView::slotMoveEventsDownStaff 
(this=0x216a0a0) at src/gui/editors/notation/NotationView.cpp:3925
#11 0x0000000000a499d3 in Rosegarden::NotationView::qt_metacall 
(this=0x216a0a0, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0x7fff0cb268e0)
    at src/gui/editors/notation/NotationView.moc:350
#12 0x00007f3d2812dddc in QMetaObject::activate(QObject*, int, int, void**) () 
from /usr/lib/libQtCore.so.4
#13 0x00007f3d28b080a7 in QAction::triggered(bool) () from 
/usr/lib/libQtGui.so.4
#14 0x00007f3d28b094ef in QAction::activate(QAction::ActionEvent) () from 
/usr/lib/libQtGui.so.4
#15 0x00007f3d28ef5ecd in ?? () from /usr/lib/libQtGui.so.4
#16 0x00007f3d28efbdea in ?? () from /usr/lib/libQtGui.so.4
#17 0x00007f3d28b5c9c0 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#18 0x00007f3d28efe5ab in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#19 0x00007f3d28b0defc in QApplicationPrivate::notify_helper(QObject*, QEvent*) 
() from /usr/lib/libQtGui.so.4
#20 0x00007f3d28b15011 in QApplication::notify(QObject*, QEvent*) () from 
/usr/lib/libQtGui.so.4
#21 0x00007f3d28118c2c in QCoreApplication::notifyInternal(QObject*, QEvent*) 
() from /usr/lib/libQtCore.so.4
#22 0x00007f3d28b148e0 in QApplicationPrivate::sendMouseEvent(QWidget*, 
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from 
/usr/lib/libQtGui.so.4
#23 0x00007f3d28b7ae2e in ?? () from /usr/lib/libQtGui.so.4
#24 0x00007f3d28b79aa9 in QApplication::x11ProcessEvent(_XEvent*) () from 
/usr/lib/libQtGui.so.4
#25 0x00007f3d28ba2d0c in ?? () from /usr/lib/libQtGui.so.4
#26 0x00007f3d24366bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x00007f3d2436a598 in ?? () from /lib/libglib-2.0.so.0
#28 0x00007f3d2436a6c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0x00007f3d281411a6 in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () 
from /usr/lib/libQtCore.so.4
#30 0x00007f3d28ba24be in ?? () from /usr/lib/libQtGui.so.4
#31 0x00007f3d28117532 in 
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/lib/libQtCore.so.4
#32 0x00007f3d28117904 in 
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/lib/libQtCore.so.4
#33 0x00007f3d28119ab9 in QCoreApplication::exec() () from 
/usr/lib/libQtCore.so.4
#34 0x00000000006b70b9 in main (argc=1, argv=0x7fff0cb29cc8) at 
src/gui/application/main.cpp:813
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to