#154 rubber tool causes segfault in drum editor

0.9.x
closed-fixed
terminator356
None
5
2007-02-10
2007-01-26
No

Open an empty MusE project, add a drum track, create a new part, add a drum hit and delete this hit with the rubber tool -> Sementation fault

This happens only with drum tracks but not with midi tracks.

GCC: gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
QT3: Debian 3.3.7-2

And here's the backtrace from MusE compiled with --disable-optimize and
--enable-debug:

(gdb) bt full
#0 0xb732bf02 in std::_Rb_tree_increment () from /usr/lib/libstdc++.so.6
No symbol table info available.
#1 0x08116b55 in std::_Rb_tree_iterator<std::pair<int const, CItem*> >::operator++ (this=0xbffed560)
at /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_tree.h:182
No locals.
#2 0x081b1f18 in Canvas::deleteItem (this=0x866cee0, p=@0x866d008)
at canvas.cpp:883
i = {_M_node = 0xb7b99da8}
#3 0x081b3887 in Canvas::viewMousePressEvent (this=0x866cee0, event=0xbffed6bc)
at canvas.cpp:491
shift = false
alt = false
ctrl = false
#4 0x081ac762 in View::mousePressEvent (this=0x866cee0, ev=0xbffeda54)
at view.cpp:235
e = {<> = {<No data fields>}, p = {xp = 1179, yp = 26}, g = {xp = 503,
yp = 484}, b = 1, s = 0, accpt = 1}
#5 0xb77316b1 in QWidget::event () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6 0xb7692c26 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#7 0xb7694dc9 in QApplication::notify () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#8 0x080ceb6d in MuseApplication::notify (this=0xbffee02c, receiver=0x866cee0,
event=0xbffeda54) at app.cpp:1747
flag = 191
#9 0xb7626495 in QApplication::sendSpontaneousEvent ()
from /usr/lib/libqt-mt.so.3
No symbol table info available.
#10 0xb762512f in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#11 0xb76236b0 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#12 0xb7639d02 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#13 0xb76ad179 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#14 0xb76acf9a in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#15 0xb76947bf in QApplication::exec () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#16 0x080c7f64 in main (argc=1, argv=0xbffee194) at app.cpp:2026
locale = {static null = {
static null = <same as static member of an already seen type>, d = 0x83050c0,
static shared_null = 0x83050c0}, d = 0x8362828,
static shared_null = 0x83050c0}
noAudio = 0
museGlobal = {static null = {
static null = <same as static member of an already seen type>, d = 0x83050c0,
static shared_null = 0x83050c0}, d = 0x83050c0,
static shared_null = 0x83050c0}
p = 0x0
app = {<> = {<No data fields>}, muse = 0x83f8358}
i = -1
translator = <incomplete type>

Discussion

  • terminator356
    terminator356
    2007-02-10

    • assigned_to: nobody --> terminator356
     
  • terminator356
    terminator356
    2007-02-10

    • status: open --> closed-fixed