Opened 9 years ago

Closed 9 years ago

#2900 closed defect (fixed)

Segfault in when moving nodes

Reported by: Toby Speight Owned by: cbro@…
Priority: major Milestone:
Component: merkaartor Version:
Keywords: Cc:


Recently (this week), I've started getting a segfault, often enough that Merkaartor is pretty much unusable. It doesn't seem to matter whether it's a real or virtual node that's being moved. Here's the backtrace:

#0  0x00000000005ec647 in CommandHistory::buildUndoList (this=0xe8b5f0, 
    theList=<value optimized out>) at Commands/Command.cpp:440
#1  0x00000000006301ff in DirtyDock::updateList (this=0xd7c730)
    at Docks/DirtyDock.cpp:80
#2  0x00000000006a768f in DirtyDock::qt_metacall (this=0xd7c730, 
    _c=QMetaObject::InvokeMetaMethod, _id=16572624, _a=0x7fffffffb200)
    at moc_DirtyDock.cpp:78
#3  0x00007ffff454edf2 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/
#4  0x00000000006a3726 in Document::historyChanged (this=0x27fff40)
    at moc_Document.cpp:118
#5  0x000000000042d9b2 in Document::addHistory (this=0xe6ead0, 
    aCommand=<value optimized out>) at Document.cpp:228
#6  0x000000000061b08d in MoveNodeInteraction::snapMouseReleaseEvent (
    this=0x10f9470, event=0x10f94f8, Closer=<value optimized out>)
    at Interactions/MoveNodeInteraction.cpp:213
#7  0x0000000000617625 in FeatureSnapInteraction::mouseReleaseEvent (
    this=0x10f9470, event=0x7fffffffbd80) at Interactions/Interaction.cpp:215
#8  0x00000000004b33af in MapView::mouseReleaseEvent (
    this=<value optimized out>, event=0x102e350) at MapView.cpp:597
#9  0x00007ffff4d7937f in QWidget::event(QEvent*) ()
   from /usr/lib/
#10 0x00000000004b6fd1 in MapView::event (this=0xe10720, event=0x7fffffffbd80)
    at MapView.cpp:950
#11 0x00007ffff4d2901d in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib/
#12 0x00007ffff4d317ca in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/
#13 0x00007ffff4539c9c in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib/
#14 0x00007ffff4d30a78 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) ()
   from /usr/lib/
#15 0x00007ffff4d99659 in ?? () from /usr/lib/
#16 0x00007ffff4d9840f in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/
#17 0x00007ffff4dc076c in ?? () from /usr/lib/
#18 0x00007fffef0ee6c2 in g_main_context_dispatch () from /lib/
#19 0x00007fffef0f2538 in ?? () from /lib/
#20 0x00007fffef0f26ec in g_main_context_iteration ()
   from /lib/
#21 0x00007ffff456239c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/
#22 0x00007ffff4dbff1f in ?? () from /usr/lib/
#23 0x00007ffff4538562 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/
#24 0x00007ffff4538934 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/
#25 0x00007ffff453aba4 in QCoreApplication::exec() ()
   from /usr/lib/
#26 0x00000000004de777 in main (argc=1, argv=<value optimized out>)
    at Main.cpp:222

Change History (3)

comment:1 Changed 9 years ago by Chris Browet

Are you using the latest svn from today? I did some changes in the area regarding to crashes...

comment:2 Changed 9 years ago by Toby Speight

Yes, I'm at revision 20938. Sorry for missing that from my report.

comment:3 Changed 9 years ago by Chris Browet

Resolution: fixed
Status: newclosed

(In [20944]) FIX : only act on left button in MoveNodeInteraction::snapMouseReleaseEvent (fixes #2900)

Note: See TracTickets for help on using tickets.