[Trunk] Creating a guitar tablature causes crash

• Jun 28, 2010 - 15:51
S2 - Critical

just compiled the current trunk version, to test guitar tablature.
When I try to create a score with a guitar staff + a guitar tablature staff (via the File->New menu), a crash occurs.
Here is the gdb log:

#0 0x00000000004991b4 in QListData::size (this=0x0) at /usr/lib/qt4/include/QtCore/qlist.h:90
#1 0x00000000004f4436 in QList::size (this=0x0) at /usr/lib/qt4/include/QtCore/qlist.h:120
#2 0x00000000004f436c in Tablature::strings (this=0x0) at /home/collette/repositories/mscore/mscore/mscore/tablature.h:40
#3 0x00000000006cd004 in Staff::lines (this=0x72e8ac0) at /home/collette/repositories/mscore/mscore/mscore/staff.cpp:415
#4 0x0000000000539428 in StaffLines::y1 (this=0x72ed090)
at /home/collette/repositories/mscore/mscore/mscore/element.cpp:773
#5 0x00000000004af17d in BarLine::getY (this=0x72f8ba0, y1=0x7fff64e80318, y2=0x7fff64e80310)
at /home/collette/repositories/mscore/mscore/mscore/barline.cpp:74
#6 0x00000000004b1537 in BarLine::layout (this=0x72f8ba0)
at /home/collette/repositories/mscore/mscore/mscore/barline.cpp:498
#7 0x00000000005f8cc1 in Measure::createEndBarLines (this=0x72e43c0)
at /home/collette/repositories/mscore/mscore/mscore/measure.cpp:2575
#8 0x00000000005a7181 in Score::layoutSystem1 (this=0x72e28e0, minWidth=@0x7fff64e807d8, w=8976.3779527559072,
isFirstSystem=true) at /home/collette/repositories/mscore/mscore/mscore/layout.cpp:1143
#9 0x00000000005a78e4 in Score::layoutSystemRow (this=0x72e28e0, x=472.44094488188978, y=1972.4409448818901,
rowWidth=8976.3779527559072, isFirstSystem=true, h=0x7fff64e80b48)
at /home/collette/repositories/mscore/mscore/mscore/layout.cpp:1239
#10 0x00000000005a6543 in Score::layoutPage (this=0x72e28e0)
at /home/collette/repositories/mscore/mscore/mscore/layout.cpp:966
#11 0x00000000005a5086 in Score::doLayout (this=0x72e28e0)
at /home/collette/repositories/mscore/mscore/mscore/layout.cpp:702
#12 0x000000000055b7fb in MuseScore::newFile (this=0x680bb80)
at /home/collette/repositories/mscore/mscore/mscore/file.cpp:780
#13 0x000000000062955d in MuseScore::cmd (this=0x680bb80, a=0x6819220)
at /home/collette/repositories/mscore/mscore/mscore/mscore.cpp:2208
#14 0x0000000000496584 in MuseScore::qt_metacall (this=0x680bb80, _c=QMetaObject::InvokeMetaMethod, _id=24,
_a=0x7fff64e81450) at /home/collette/repositories/mscore/mscore/mscore/moc_mscore.cxx:385
#15 0x00007f7339f16baf in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#16 0x00007f733bb90e2f in QActionGroup::triggered () from /usr/lib64/libQtGui.so.4
#17 0x00007f733bb91637 in ?? () from /usr/lib64/libQtGui.so.4
#18 0x00007f733bb91891 in QActionGroup::qt_metacall () from /usr/lib64/libQtGui.so.4
#19 0x00007f7339f16baf in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#20 0x00007f733bb8c422 in QAction::triggered () from /usr/lib64/libQtGui.so.4
#21 0x00007f733bb8e49b in QAction::activate () from /usr/lib64/libQtGui.so.4
#22 0x00007f733bfcb56d in ?? () from /usr/lib64/libQtGui.so.4
#23 0x00007f733bfd10da in ?? () from /usr/lib64/libQtGui.so.4
#24 0x00007f733bbe8822 in QWidget::event () from /usr/lib64/libQtGui.so.4
#25 0x00007f733bfd329b in QMenu::event () from /usr/lib64/libQtGui.so.4
#26 0x00007f733bb9252c in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#27 0x00007f733bb992eb in QApplication::notify () from /usr/lib64/libQtGui.so.4
#28 0x00007f7339f03dac in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#29 0x00007f733bb984c6 in QApplicationPrivate::sendMouseEvent () from /usr/lib64/libQtGui.so.4
#30 0x00007f733bc17e25 in ?? () from /usr/lib64/libQtGui.so.4
#31 0x00007f733bc166fa in QApplication::x11ProcessEvent () from /usr/lib64/libQtGui.so.4
#32 0x00007f733bc410a2 in ?? () from /usr/lib64/libQtGui.so.4
#33 0x00007f73396f74ce in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f73396fae98 in ?? () from /usr/lib64/libglib-2.0.so.0
---Type to continue, or q to quit---
#35 0x00007f73396fafc0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#36 0x00007f7339f2d2d3 in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#37 0x00007f733bc40c8e in ?? () from /usr/lib64/libQtGui.so.4
#38 0x00007f7339f026c2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#39 0x00007f7339f02a9c in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#40 0x00007f7339f067eb in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#41 0x0000000000627c7b in main (argc=1, av=0x7fff64e83208)
at /home/collette/repositories/mscore/mscore/mscore/mscore.cpp:2023


Title [Trunk] Musecore hangs while creating a guitar tablature [Trunk] Creating a guitar tablature causes crash

I can't reproduce - must have since been fixed, perhaps.

Please re-open if you still have problems.

Using MuseScore 2.0 Nightly Build (5497) - Mac 10.7.3.

chen --

what did you do to try to reproduce? looking at the original bug report here, the submitter of this bug is (or was, at the time) operating a 64-bit linux build. did you test it on a 64-bit linux build of trunk? i ask because this sounds (and looks) very similar to the problem I've reported, and he's running on the same type of system I am.

as an aside, I don't think it's very accurate to flag a bug as "fixed", simply because you didn't reproduce the error. "closed" I could believe (if not agree with), but certainly not 'fixed", as no patch was submitted specifically against this bug report.

no, that's not the crash i'm referring to. I'm referring to the other (also previously closed) ticket that describes, essentially, exactly what happens in the description for this (also closed) bug.

if you don't plan on fixing it, don't care, or whatever -- that's fine. just mark it as "won't fix", and I'll be out of your hair.