Ticket #2621 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Crash after moving virtual nodes

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

Description

Build from svn

  • Enable virtual nodes
  • Startup
  • Draw a road
  • Select the virtual nodes and move them a little
  • while (running)
  • Select the new virtual nodes next to the last node and move them
  • crash

Callstack and valgrind output attached. Valgrind show many illegal reads/writes.


Callstack:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff543e4d3 in QString::operator==(QLatin1String const&) const () from /usr/lib/libQtCore.so.4
(gdb) bt
#0  0x00007ffff543e4d3 in QString::operator==(QLatin1String const&) const () from /usr/lib/libQtCore.so.4
#1  0x000000000044810c in qStringComparisonHelper (s1=..., s2=0x6ef4ed "") at /usr/include/qt4/QtCore/qstring.h:905
#2  0x000000000044dc4f in QString::operator== (this=0x14fee9a, s=0x6ef4ed "") at /usr/include/qt4/QtCore/qstring.h:908
#3  0x00000000004a5c59 in MapFeature::id (this=0x14fee80) at Maps/MapFeature.cpp:219
#4  0x0000000000449b01 in Command::buildUndoList (this=0x151ee90, theListWidget=0x7fffe00404a0) at Command/Command.cpp:67
#5  0x000000000044d28d in CommandHistory::buildUndoList (this=0x175aa10, theList=0x7fffe00404a0) at Command/Command.cpp:430
#6  0x00000000004421d1 in DirtyDock::updateList (this=0x7fffe003d4b0) at Docks/DirtyDock.cpp:80
#7  0x00000000006df027 in DirtyDock::qt_metacall (this=0x7fffe003d4b0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffffac90) at moc_DirtyDock.cpp:78
#8  0x00007ffff54f9ddc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#9  0x00000000006e1edd in MapDocument::historyChanged (this=0x16c3970) at moc_MapDocument.cpp:118
#10 0x000000000047bb02 in MapDocument::addHistory (this=0x16c3970, aCommand=0x167c020) at Maps/MapDocument.cpp:215
#11 0x00000000005ca79d in MoveTrackPointInteraction::snapMouseReleaseEvent (this=0x167c270, event=0x7fffffffb810, Closer=0x16cf4d0)
    at Interaction/MoveTrackPointInteraction.cpp:183
#12 0x00000000005c693d in EditInteraction::snapMouseReleaseEvent (this=0x16636e0, ev=0x7fffffffb810, aLast=0x16cf4d0) at Interaction/EditInteraction.cpp:135
#13 0x00000000005b26b2 in GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent (this=0x16636e0, event=0x7fffffffb810) at ./Interaction/Interaction.h:115
#14 0x00000000005a828f in MapView::mouseReleaseEvent (this=0x7fffe0021120, event=0x7fffffffb810) at MapView.cpp:806
#15 0x00007ffff5ce19c0 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x00000000005aa167 in MapView::event (this=0x7fffe0021120, event=0x7fffffffb810) at MapView.cpp:1146
#17 0x00007ffff5c92efc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#18 0x00007ffff5c9a011 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#19 0x00007ffff54e4c2c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#20 0x00007ffff5c998e0 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) ()
   from /usr/lib/libQtGui.so.4
#21 0x00007ffff5cffa0e in ?? () from /usr/lib/libQtGui.so.4
#22 0x00007ffff5cfeaa9 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00007ffff5d27d0c in ?? () from /usr/lib/libQtGui.so.4
#24 0x00007ffff2fbebce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#25 0x00007ffff2fc2598 in ?? () from /lib/libglib-2.0.so.0
#26 0x00007ffff2fc26c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#27 0x00007ffff550d1a6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0x00007ffff5d274be in ?? () from /usr/lib/libQtGui.so.4
#29 0x00007ffff54e3532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0x00007ffff54e3904 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0x00007ffff54e5ab9 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#32 0x000000000060312e in main (argc=1, argv=0x7fffffffe348) at Main.cpp:208

Valgrind:

==9917== Invalid read of size 8
==9917==    at 0x4A7423: MapFeature::notifyParents(int) (MapFeature.cpp:578)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x5989A5: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==9917==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917==    by 0x5B26B1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==9917==    by 0x5A828E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==9917==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x5AA166: MapView::event(QEvent*) (MapView.cpp:1146)
==9917==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==  Address 0xc005520 is 16 bytes inside a block of size 96 free'd
==9917==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==9917==    by 0x59849B: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==9917==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==9917==    by 0x563611: Road::updateVirtuals() (Road.cpp:190)
==9917==    by 0x562E10: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==9917==    by 0x4A741A: MapFeature::notifyParents(int) (MapFeature.cpp:579)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x5989A5: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==9917==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917== 
==9917== Invalid read of size 8
==9917==    at 0x42CD44: QListData::size() const (qlist.h:87)
==9917==    by 0x43B653: QList<MapFeature*>::size() const (qlist.h:117)
==9917==    by 0x4A7432: MapFeature::notifyParents(int) (MapFeature.cpp:578)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x5989A5: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==9917==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917==    by 0x5B26B1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==9917==    by 0x5A828E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==9917==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==  Address 0x17bb8f08 is 72 bytes inside a block of size 144 free'd
==9917==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==9917==    by 0x4A56D3: MapFeature::~MapFeature() (MapFeature.cpp:147)
==9917==    by 0x598486: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==9917==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==9917==    by 0x563611: Road::updateVirtuals() (Road.cpp:190)
==9917==    by 0x562E10: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==9917==    by 0x4A741A: MapFeature::notifyParents(int) (MapFeature.cpp:579)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x5989A5: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==9917==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917== 
==9917== Invalid read of size 4
==9917==    at 0x42CD47: QListData::size() const (qlist.h:87)
==9917==    by 0x43B653: QList<MapFeature*>::size() const (qlist.h:117)
==9917==    by 0x4A7432: MapFeature::notifyParents(int) (MapFeature.cpp:578)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x5989A5: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==9917==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917==    by 0x5B26B1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==9917==    by 0x5A828E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==9917==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==  Address 0x18f9416c is 12 bytes inside a block of size 40 free'd
==9917==    at 0x4C24D68: free (vg_replace_malloc.c:325)
==9917==    by 0x43BDC5: QList<MapFeature*>::free(QListData::Data*) (qlist.h:562)
==9917==    by 0x43B639: QList<MapFeature*>::~QList() (qlist.h:534)
==9917==    by 0x4AA865: MapFeaturePrivate::~MapFeaturePrivate() (MapFeature.cpp:73)
==9917==    by 0x4A56CB: MapFeature::~MapFeature() (MapFeature.cpp:147)
==9917==    by 0x598486: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==9917==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==9917==    by 0x563611: Road::updateVirtuals() (Road.cpp:190)
==9917==    by 0x562E10: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==9917==    by 0x4A741A: MapFeature::notifyParents(int) (MapFeature.cpp:579)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x5989A5: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==9917== 
==9917== Invalid read of size 8
==9917==    at 0x42CD4E: QListData::size() const (qlist.h:87)
==9917==    by 0x43B653: QList<MapFeature*>::size() const (qlist.h:117)
==9917==    by 0x4A7432: MapFeature::notifyParents(int) (MapFeature.cpp:578)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x5989A5: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==9917==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917==    by 0x5B26B1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==9917==    by 0x5A828E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==9917==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==  Address 0x17bb8f08 is 72 bytes inside a block of size 144 free'd
==9917==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==9917==    by 0x4A56D3: MapFeature::~MapFeature() (MapFeature.cpp:147)
==9917==    by 0x598486: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==9917==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==9917==    by 0x563611: Road::updateVirtuals() (Road.cpp:190)
==9917==    by 0x562E10: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==9917==    by 0x4A741A: MapFeature::notifyParents(int) (MapFeature.cpp:579)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x5989A5: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==9917==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917== 
==9917== Invalid read of size 4
==9917==    at 0x42CD51: QListData::size() const (qlist.h:87)
==9917==    by 0x43B653: QList<MapFeature*>::size() const (qlist.h:117)
==9917==    by 0x4A7432: MapFeature::notifyParents(int) (MapFeature.cpp:578)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x5989A5: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==9917==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917==    by 0x5B26B1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==9917==    by 0x5A828E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==9917==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==  Address 0x18f94168 is 8 bytes inside a block of size 40 free'd
==9917==    at 0x4C24D68: free (vg_replace_malloc.c:325)
==9917==    by 0x43BDC5: QList<MapFeature*>::free(QListData::Data*) (qlist.h:562)
==9917==    by 0x43B639: QList<MapFeature*>::~QList() (qlist.h:534)
==9917==    by 0x4AA865: MapFeaturePrivate::~MapFeaturePrivate() (MapFeature.cpp:73)
==9917==    by 0x4A56CB: MapFeature::~MapFeature() (MapFeature.cpp:147)
==9917==    by 0x598486: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==9917==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==9917==    by 0x563611: Road::updateVirtuals() (Road.cpp:190)
==9917==    by 0x562E10: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==9917==    by 0x4A741A: MapFeature::notifyParents(int) (MapFeature.cpp:579)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x5989A5: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==9917== 
==9917== Invalid read of size 8
==9917==    at 0x4A62AB: MapFeature::setVirtual(bool) (MapFeature.cpp:330)
==9917==    by 0x458F9E: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:49)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917==    by 0x5B26B1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==9917==    by 0x5A828E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==9917==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x5AA166: MapView::event(QEvent*) (MapView.cpp:1146)
==9917==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x670B010: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x7576C2B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.2)
==9917==  Address 0xc005520 is 16 bytes inside a block of size 96 free'd
==9917==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==9917==    by 0x59849B: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==9917==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==9917==    by 0x563611: Road::updateVirtuals() (Road.cpp:190)
==9917==    by 0x562E10: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==9917==    by 0x4A741A: MapFeature::notifyParents(int) (MapFeature.cpp:579)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x5989A5: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==9917==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917== 
==9917== Invalid write of size 1
==9917==    at 0x4A62B3: MapFeature::setVirtual(bool) (MapFeature.cpp:330)
==9917==    by 0x458F9E: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:49)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917==    by 0x5B26B1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==9917==    by 0x5A828E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==9917==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x5AA166: MapView::event(QEvent*) (MapView.cpp:1146)
==9917==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x670B010: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x7576C2B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.2)
==9917==  Address 0x17bb8f48 is 136 bytes inside a block of size 144 free'd
==9917==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==9917==    by 0x4A56D3: MapFeature::~MapFeature() (MapFeature.cpp:147)
==9917==    by 0x598486: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==9917==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==9917==    by 0x563611: Road::updateVirtuals() (Road.cpp:190)
==9917==    by 0x562E10: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==9917==    by 0x4A741A: MapFeature::notifyParents(int) (MapFeature.cpp:579)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x5989A5: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==9917==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917== 
==9917== Invalid read of size 8
==9917==    at 0x4A73C0: MapFeature::notifyParents(int) (MapFeature.cpp:575)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x44A115: Command::redo() (Command.cpp:111)
==9917==    by 0x459052: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:55)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917==    by 0x5B26B1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==9917==    by 0x5A828E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==9917==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x5AA166: MapView::event(QEvent*) (MapView.cpp:1146)
==9917==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==  Address 0xc005520 is 16 bytes inside a block of size 96 free'd
==9917==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==9917==    by 0x59849B: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==9917==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==9917==    by 0x563611: Road::updateVirtuals() (Road.cpp:190)
==9917==    by 0x562E10: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==9917==    by 0x4A741A: MapFeature::notifyParents(int) (MapFeature.cpp:579)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x5989A5: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==9917==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917== 
==9917== Invalid read of size 4
==9917==    at 0x4A73C4: MapFeature::notifyParents(int) (MapFeature.cpp:575)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x44A115: Command::redo() (Command.cpp:111)
==9917==    by 0x459052: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:55)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917==    by 0x5B26B1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==9917==    by 0x5A828E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==9917==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x5AA166: MapView::event(QEvent*) (MapView.cpp:1146)
==9917==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==  Address 0x17bb8f10 is 80 bytes inside a block of size 144 free'd
==9917==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==9917==    by 0x4A56D3: MapFeature::~MapFeature() (MapFeature.cpp:147)
==9917==    by 0x598486: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==9917==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==9917==    by 0x563611: Road::updateVirtuals() (Road.cpp:190)
==9917==    by 0x562E10: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==9917==    by 0x4A741A: MapFeature::notifyParents(int) (MapFeature.cpp:579)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x5989A5: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==9917==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917== 
==9917== Invalid read of size 8
==9917==    at 0x4A73D0: MapFeature::notifyParents(int) (MapFeature.cpp:577)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x44A115: Command::redo() (Command.cpp:111)
==9917==    by 0x459052: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:55)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917==    by 0x5B26B1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==9917==    by 0x5A828E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==9917==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x5AA166: MapView::event(QEvent*) (MapView.cpp:1146)
==9917==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==  Address 0xc005520 is 16 bytes inside a block of size 96 free'd
==9917==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==9917==    by 0x59849B: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==9917==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==9917==    by 0x563611: Road::updateVirtuals() (Road.cpp:190)
==9917==    by 0x562E10: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==9917==    by 0x4A741A: MapFeature::notifyParents(int) (MapFeature.cpp:579)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x5989A5: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==9917==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917== 
==9917== Invalid write of size 4
==9917==    at 0x4A73D7: MapFeature::notifyParents(int) (MapFeature.cpp:577)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x44A115: Command::redo() (Command.cpp:111)
==9917==    by 0x459052: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:55)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917==    by 0x5B26B1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==9917==    by 0x5A828E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==9917==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x5AA166: MapView::event(QEvent*) (MapView.cpp:1146)
==9917==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==  Address 0x17bb8f10 is 80 bytes inside a block of size 144 free'd
==9917==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==9917==    by 0x4A56D3: MapFeature::~MapFeature() (MapFeature.cpp:147)
==9917==    by 0x598486: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==9917==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==9917==    by 0x563611: Road::updateVirtuals() (Road.cpp:190)
==9917==    by 0x562E10: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==9917==    by 0x4A741A: MapFeature::notifyParents(int) (MapFeature.cpp:579)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x5989A5: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==9917==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917== 
==9917== Invalid read of size 8
==9917==    at 0x4A7423: MapFeature::notifyParents(int) (MapFeature.cpp:578)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x44A115: Command::redo() (Command.cpp:111)
==9917==    by 0x459052: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:55)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917==    by 0x5B26B1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==9917==    by 0x5A828E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==9917==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x5AA166: MapView::event(QEvent*) (MapView.cpp:1146)
==9917==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==  Address 0xc005520 is 16 bytes inside a block of size 96 free'd
==9917==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==9917==    by 0x59849B: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==9917==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==9917==    by 0x563611: Road::updateVirtuals() (Road.cpp:190)
==9917==    by 0x562E10: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==9917==    by 0x4A741A: MapFeature::notifyParents(int) (MapFeature.cpp:579)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x5989A5: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==9917==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917== 
==9917== Invalid read of size 8
==9917==    at 0x5CA0C8: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:130)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917==    by 0x5B26B1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==9917==    by 0x5A828E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==9917==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x5AA166: MapView::event(QEvent*) (MapView.cpp:1146)
==9917==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x670B010: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x7576C2B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.2)
==9917==    by 0x670A8DF: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x6770A0D: ??? (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x676FAA8: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==  Address 0xc005510 is 0 bytes inside a block of size 96 free'd
==9917==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==9917==    by 0x59849B: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==9917==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==9917==    by 0x563611: Road::updateVirtuals() (Road.cpp:190)
==9917==    by 0x562E10: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==9917==    by 0x4A741A: MapFeature::notifyParents(int) (MapFeature.cpp:579)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x5989A5: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==9917==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917== 
==9917== Invalid write of size 8
==9917==    at 0x7585692: QMetaCallEvent::~QMetaCallEvent() (in /usr/lib/libQtCore.so.4.5.2)
==9917==    by 0x5CA0D9: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:130)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917==    by 0x5B26B1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==9917==    by 0x5A828E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==9917==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x5AA166: MapView::event(QEvent*) (MapView.cpp:1146)
==9917==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x670B010: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x7576C2B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.2)
==9917==    by 0x670A8DF: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x6770A0D: ??? (in /usr/lib/libQtGui.so.4.5.2)
==9917==  Address 0xc005510 is 0 bytes inside a block of size 96 free'd
==9917==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==9917==    by 0x59849B: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==9917==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==9917==    by 0x563611: Road::updateVirtuals() (Road.cpp:190)
==9917==    by 0x562E10: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==9917==    by 0x4A741A: MapFeature::notifyParents(int) (MapFeature.cpp:579)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x5989A5: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==9917==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917== 
==9917== Invalid read of size 4
==9917==    at 0x7585695: QMetaCallEvent::~QMetaCallEvent() (in /usr/lib/libQtCore.so.4.5.2)
==9917==    by 0x5CA0D9: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:130)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917==    by 0x5B26B1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==9917==    by 0x5A828E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==9917==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x5AA166: MapView::event(QEvent*) (MapView.cpp:1146)
==9917==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x670B010: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x7576C2B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.2)
==9917==    by 0x670A8DF: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x6770A0D: ??? (in /usr/lib/libQtGui.so.4.5.2)
==9917==  Address 0xc005534 is 36 bytes inside a block of size 96 free'd
==9917==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==9917==    by 0x59849B: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==9917==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==9917==    by 0x563611: Road::updateVirtuals() (Road.cpp:190)
==9917==    by 0x562E10: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==9917==    by 0x4A741A: MapFeature::notifyParents(int) (MapFeature.cpp:579)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x5989A5: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==9917==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917== 
==9917== Invalid read of size 8
==9917==    at 0x758569C: QMetaCallEvent::~QMetaCallEvent() (in /usr/lib/libQtCore.so.4.5.2)
==9917==    by 0x5CA0D9: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:130)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917==    by 0x5B26B1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==9917==    by 0x5A828E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==9917==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x5AA166: MapView::event(QEvent*) (MapView.cpp:1146)
==9917==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x670B010: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x7576C2B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.2)
==9917==    by 0x670A8DF: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x6770A0D: ??? (in /usr/lib/libQtGui.so.4.5.2)
==9917==  Address 0xc005538 is 40 bytes inside a block of size 96 free'd
==9917==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==9917==    by 0x59849B: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==9917==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==9917==    by 0x563611: Road::updateVirtuals() (Road.cpp:190)
==9917==    by 0x562E10: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==9917==    by 0x4A741A: MapFeature::notifyParents(int) (MapFeature.cpp:579)
==9917==    by 0x4A73A8: MapFeature::notifyChanges() (MapFeature.cpp:570)
==9917==    by 0x5989A5: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==9917==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==9917==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==9917==    by 0x5CA032: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917== 
==9917== Invalid read of size 4
==9917==    at 0x75856A8: QMetaCallEvent::~QMetaCallEvent() (in /usr/lib/libQtCore.so.4.5.2)
==9917==    by 0x5CA0D9: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:130)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917==    by 0x5B26B1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==9917==    by 0x5A828E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==9917==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x5AA166: MapView::event(QEvent*) (MapView.cpp:1146)
==9917==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x670B010: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x7576C2B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.2)
==9917==    by 0x670A8DF: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x6770A0D: ??? (in /usr/lib/libQtGui.so.4.5.2)
==9917==  Address 0x21543f2207edb668 is not stack'd, malloc'd or (recently) free'd
==9917== 
==9917== 
==9917== Process terminating with default action of signal 11 (SIGSEGV)
==9917==  General Protection Fault
==9917==    at 0x75856A8: QMetaCallEvent::~QMetaCallEvent() (in /usr/lib/libQtCore.so.4.5.2)
==9917==    by 0x5CA0D9: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:130)
==9917==    by 0x5C693C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==9917==    by 0x5B26B1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==9917==    by 0x5A828E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==9917==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x5AA166: MapView::event(QEvent*) (MapView.cpp:1146)
==9917==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x670B010: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x7576C2B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.2)
==9917==    by 0x670A8DF: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) (in /usr/lib/libQtGui.so.4.5.2)
==9917==    by 0x6770A0D: ??? (in /usr/lib/libQtGui.so.4.5.2)
==9917== 
==9917== HEAP SUMMARY:
==9917==     in use at exit: 13,584,882 bytes in 88,443 blocks
==9917==   total heap usage: 1,066,420 allocs, 977,977 frees, 175,476,502 bytes allocated
==9917== 
==9917== LEAK SUMMARY:
==9917==    definitely lost: 11,070 bytes in 44 blocks
==9917==    indirectly lost: 34,576 bytes in 980 blocks
==9917==      possibly lost: 4,389,626 bytes in 34,726 blocks
==9917==    still reachable: 9,149,610 bytes in 52,693 blocks
==9917==         suppressed: 0 bytes in 0 blocks
==9917== Rerun with --leak-check=full to see details of leaked memory
==9917== 
==9917== For counts of detected and suppressed errors, rerun with: -v
==9917== Use --track-origins=yes to see where uninitialised values come from
==9917== ERROR SUMMARY: 172 errors from 20 contexts (suppressed: 9 from 6)

Change History

comment:1 Changed 4 years ago by Koying

Are you using the latest svn? I cannot immediately reproduce...

I've made so many commits today ;-)

comment:2 follow-up: ↓ 3 Changed 4 years ago by Koying

Or maybe I don't understand what you mean by "while (running)"

comment:3 in reply to: ↑ 2 Changed 4 years ago by dantje

Replying to Koying:

Or maybe I don't understand what you mean by "while (running)"

Darn markup. This "while (running)" should mean that you continue to move virtual nodes that came up, after you moved the node before (and so on).

I could reproduce it again with svn 19388. Takes some time, 1min or so, maybe 30 iterations of moving virtual nodes. Valgrind says that a TrackPoint? was deleted and then used again. Just for the record, I'm running Ubuntu 9.10 and x86-64bit machine.

==4924== Invalid read of size 8
==4924==    at 0x4A73CD: MapFeature::notifyParents(int) (MapFeature.cpp:572)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x598995: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==4924==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924==    by 0x5B26A1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==4924==    by 0x5A827E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==4924==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x5AA156: MapView::event(QEvent*) (MapView.cpp:1146)
==4924==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==  Address 0x12518680 is 16 bytes inside a block of size 96 free'd
==4924==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==4924==    by 0x59848B: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==4924==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==4924==    by 0x563601: Road::updateVirtuals() (Road.cpp:190)
==4924==    by 0x562E00: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==4924==    by 0x4A73C4: MapFeature::notifyParents(int) (MapFeature.cpp:573)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x598995: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==4924==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924== 
==4924== Invalid read of size 8
==4924==    at 0x42CD44: QListData::size() const (qlist.h:87)
==4924==    by 0x43B653: QList<MapFeature*>::size() const (qlist.h:117)
==4924==    by 0x4A73DC: MapFeature::notifyParents(int) (MapFeature.cpp:572)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x598995: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==4924==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924==    by 0x5B26A1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==4924==    by 0x5A827E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==4924==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==  Address 0x124d8de8 is 72 bytes inside a block of size 144 free'd
==4924==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==4924==    by 0x4A56D3: MapFeature::~MapFeature() (MapFeature.cpp:147)
==4924==    by 0x598476: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==4924==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==4924==    by 0x563601: Road::updateVirtuals() (Road.cpp:190)
==4924==    by 0x562E00: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==4924==    by 0x4A73C4: MapFeature::notifyParents(int) (MapFeature.cpp:573)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x598995: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==4924==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924== 
==4924== Invalid read of size 4
==4924==    at 0x42CD47: QListData::size() const (qlist.h:87)
==4924==    by 0x43B653: QList<MapFeature*>::size() const (qlist.h:117)
==4924==    by 0x4A73DC: MapFeature::notifyParents(int) (MapFeature.cpp:572)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x598995: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==4924==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924==    by 0x5B26A1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==4924==    by 0x5A827E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==4924==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==  Address 0x186c527c is 12 bytes inside a block of size 40 free'd
==4924==    at 0x4C24D68: free (vg_replace_malloc.c:325)
==4924==    by 0x43BDC5: QList<MapFeature*>::free(QListData::Data*) (qlist.h:562)
==4924==    by 0x43B639: QList<MapFeature*>::~QList() (qlist.h:534)
==4924==    by 0x4AA80F: MapFeaturePrivate::~MapFeaturePrivate() (MapFeature.cpp:73)
==4924==    by 0x4A56CB: MapFeature::~MapFeature() (MapFeature.cpp:147)
==4924==    by 0x598476: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==4924==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==4924==    by 0x563601: Road::updateVirtuals() (Road.cpp:190)
==4924==    by 0x562E00: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==4924==    by 0x4A73C4: MapFeature::notifyParents(int) (MapFeature.cpp:573)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x598995: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==4924== 
==4924== Invalid read of size 8
==4924==    at 0x42CD4E: QListData::size() const (qlist.h:87)
==4924==    by 0x43B653: QList<MapFeature*>::size() const (qlist.h:117)
==4924==    by 0x4A73DC: MapFeature::notifyParents(int) (MapFeature.cpp:572)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x598995: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==4924==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924==    by 0x5B26A1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==4924==    by 0x5A827E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==4924==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==  Address 0x124d8de8 is 72 bytes inside a block of size 144 free'd
==4924==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==4924==    by 0x4A56D3: MapFeature::~MapFeature() (MapFeature.cpp:147)
==4924==    by 0x598476: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==4924==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==4924==    by 0x563601: Road::updateVirtuals() (Road.cpp:190)
==4924==    by 0x562E00: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==4924==    by 0x4A73C4: MapFeature::notifyParents(int) (MapFeature.cpp:573)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x598995: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==4924==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924== 
==4924== Invalid read of size 4
==4924==    at 0x42CD51: QListData::size() const (qlist.h:87)
==4924==    by 0x43B653: QList<MapFeature*>::size() const (qlist.h:117)
==4924==    by 0x4A73DC: MapFeature::notifyParents(int) (MapFeature.cpp:572)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x598995: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==4924==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924==    by 0x5B26A1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==4924==    by 0x5A827E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==4924==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==  Address 0x186c5278 is 8 bytes inside a block of size 40 free'd
==4924==    at 0x4C24D68: free (vg_replace_malloc.c:325)
==4924==    by 0x43BDC5: QList<MapFeature*>::free(QListData::Data*) (qlist.h:562)
==4924==    by 0x43B639: QList<MapFeature*>::~QList() (qlist.h:534)
==4924==    by 0x4AA80F: MapFeaturePrivate::~MapFeaturePrivate() (MapFeature.cpp:73)
==4924==    by 0x4A56CB: MapFeature::~MapFeature() (MapFeature.cpp:147)
==4924==    by 0x598476: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==4924==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==4924==    by 0x563601: Road::updateVirtuals() (Road.cpp:190)
==4924==    by 0x562E00: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==4924==    by 0x4A73C4: MapFeature::notifyParents(int) (MapFeature.cpp:573)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x598995: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==4924== 
==4924== Invalid read of size 8
==4924==    at 0x4A6255: MapFeature::setVirtual(bool) (MapFeature.cpp:324)
==4924==    by 0x458F9E: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:49)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924==    by 0x5B26A1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==4924==    by 0x5A827E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==4924==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x5AA156: MapView::event(QEvent*) (MapView.cpp:1146)
==4924==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x670B010: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x7576C2B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.2)
==4924==  Address 0x12518680 is 16 bytes inside a block of size 96 free'd
==4924==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==4924==    by 0x59848B: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==4924==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==4924==    by 0x563601: Road::updateVirtuals() (Road.cpp:190)
==4924==    by 0x562E00: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==4924==    by 0x4A73C4: MapFeature::notifyParents(int) (MapFeature.cpp:573)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x598995: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==4924==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924== 
==4924== Invalid write of size 1
==4924==    at 0x4A625D: MapFeature::setVirtual(bool) (MapFeature.cpp:324)
==4924==    by 0x458F9E: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:49)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924==    by 0x5B26A1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==4924==    by 0x5A827E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==4924==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x5AA156: MapView::event(QEvent*) (MapView.cpp:1146)
==4924==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x670B010: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x7576C2B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.2)
==4924==  Address 0x124d8e28 is 136 bytes inside a block of size 144 free'd
==4924==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==4924==    by 0x4A56D3: MapFeature::~MapFeature() (MapFeature.cpp:147)
==4924==    by 0x598476: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==4924==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==4924==    by 0x563601: Road::updateVirtuals() (Road.cpp:190)
==4924==    by 0x562E00: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==4924==    by 0x4A73C4: MapFeature::notifyParents(int) (MapFeature.cpp:573)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x598995: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==4924==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924== 
==4924== Invalid read of size 8
==4924==    at 0x4A736A: MapFeature::notifyParents(int) (MapFeature.cpp:569)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x44A115: Command::redo() (Command.cpp:111)
==4924==    by 0x459052: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:55)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924==    by 0x5B26A1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==4924==    by 0x5A827E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==4924==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x5AA156: MapView::event(QEvent*) (MapView.cpp:1146)
==4924==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==  Address 0x12518680 is 16 bytes inside a block of size 96 free'd
==4924==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==4924==    by 0x59848B: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==4924==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==4924==    by 0x563601: Road::updateVirtuals() (Road.cpp:190)
==4924==    by 0x562E00: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==4924==    by 0x4A73C4: MapFeature::notifyParents(int) (MapFeature.cpp:573)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x598995: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==4924==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924== 
==4924== Invalid read of size 4
==4924==    at 0x4A736E: MapFeature::notifyParents(int) (MapFeature.cpp:569)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x44A115: Command::redo() (Command.cpp:111)
==4924==    by 0x459052: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:55)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924==    by 0x5B26A1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==4924==    by 0x5A827E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==4924==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x5AA156: MapView::event(QEvent*) (MapView.cpp:1146)
==4924==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==  Address 0x124d8df0 is 80 bytes inside a block of size 144 free'd
==4924==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==4924==    by 0x4A56D3: MapFeature::~MapFeature() (MapFeature.cpp:147)
==4924==    by 0x598476: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==4924==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==4924==    by 0x563601: Road::updateVirtuals() (Road.cpp:190)
==4924==    by 0x562E00: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==4924==    by 0x4A73C4: MapFeature::notifyParents(int) (MapFeature.cpp:573)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x598995: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==4924==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924== 
==4924== Invalid read of size 8
==4924==    at 0x4A737A: MapFeature::notifyParents(int) (MapFeature.cpp:571)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x44A115: Command::redo() (Command.cpp:111)
==4924==    by 0x459052: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:55)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924==    by 0x5B26A1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==4924==    by 0x5A827E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==4924==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x5AA156: MapView::event(QEvent*) (MapView.cpp:1146)
==4924==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==  Address 0x12518680 is 16 bytes inside a block of size 96 free'd
==4924==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==4924==    by 0x59848B: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==4924==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==4924==    by 0x563601: Road::updateVirtuals() (Road.cpp:190)
==4924==    by 0x562E00: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==4924==    by 0x4A73C4: MapFeature::notifyParents(int) (MapFeature.cpp:573)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x598995: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==4924==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924== 
==4924== Invalid write of size 4
==4924==    at 0x4A7381: MapFeature::notifyParents(int) (MapFeature.cpp:571)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x44A115: Command::redo() (Command.cpp:111)
==4924==    by 0x459052: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:55)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924==    by 0x5B26A1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==4924==    by 0x5A827E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==4924==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x5AA156: MapView::event(QEvent*) (MapView.cpp:1146)
==4924==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==  Address 0x124d8df0 is 80 bytes inside a block of size 144 free'd
==4924==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==4924==    by 0x4A56D3: MapFeature::~MapFeature() (MapFeature.cpp:147)
==4924==    by 0x598476: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==4924==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==4924==    by 0x563601: Road::updateVirtuals() (Road.cpp:190)
==4924==    by 0x562E00: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==4924==    by 0x4A73C4: MapFeature::notifyParents(int) (MapFeature.cpp:573)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x598995: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==4924==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924== 
==4924== Invalid read of size 8
==4924==    at 0x4A73CD: MapFeature::notifyParents(int) (MapFeature.cpp:572)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x44A115: Command::redo() (Command.cpp:111)
==4924==    by 0x459052: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:55)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924==    by 0x5B26A1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==4924==    by 0x5A827E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==4924==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x5AA156: MapView::event(QEvent*) (MapView.cpp:1146)
==4924==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==  Address 0x12518680 is 16 bytes inside a block of size 96 free'd
==4924==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==4924==    by 0x59848B: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==4924==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==4924==    by 0x563601: Road::updateVirtuals() (Road.cpp:190)
==4924==    by 0x562E00: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==4924==    by 0x4A73C4: MapFeature::notifyParents(int) (MapFeature.cpp:573)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x598995: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==4924==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924== 
==4924== Invalid read of size 8
==4924==    at 0x5CA0B8: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:130)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924==    by 0x5B26A1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==4924==    by 0x5A827E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==4924==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x5AA156: MapView::event(QEvent*) (MapView.cpp:1146)
==4924==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x670B010: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x7576C2B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.2)
==4924==    by 0x670A8DF: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x6770A0D: ??? (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x676FAA8: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==  Address 0x12518670 is 0 bytes inside a block of size 96 free'd
==4924==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==4924==    by 0x59848B: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==4924==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==4924==    by 0x563601: Road::updateVirtuals() (Road.cpp:190)
==4924==    by 0x562E00: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==4924==    by 0x4A73C4: MapFeature::notifyParents(int) (MapFeature.cpp:573)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x598995: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==4924==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924== 
==4924== Invalid write of size 8
==4924==    at 0x7585692: QMetaCallEvent::~QMetaCallEvent() (in /usr/lib/libQtCore.so.4.5.2)
==4924==    by 0x5CA0C9: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:130)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924==    by 0x5B26A1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==4924==    by 0x5A827E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==4924==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x5AA156: MapView::event(QEvent*) (MapView.cpp:1146)
==4924==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x670B010: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x7576C2B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.2)
==4924==    by 0x670A8DF: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x6770A0D: ??? (in /usr/lib/libQtGui.so.4.5.2)
==4924==  Address 0x12518670 is 0 bytes inside a block of size 96 free'd
==4924==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==4924==    by 0x59848B: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==4924==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==4924==    by 0x563601: Road::updateVirtuals() (Road.cpp:190)
==4924==    by 0x562E00: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==4924==    by 0x4A73C4: MapFeature::notifyParents(int) (MapFeature.cpp:573)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x598995: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==4924==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924== 
==4924== Invalid read of size 4
==4924==    at 0x7585695: QMetaCallEvent::~QMetaCallEvent() (in /usr/lib/libQtCore.so.4.5.2)
==4924==    by 0x5CA0C9: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:130)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924==    by 0x5B26A1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==4924==    by 0x5A827E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==4924==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x5AA156: MapView::event(QEvent*) (MapView.cpp:1146)
==4924==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x670B010: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x7576C2B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.2)
==4924==    by 0x670A8DF: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x6770A0D: ??? (in /usr/lib/libQtGui.so.4.5.2)
==4924==  Address 0x12518694 is 36 bytes inside a block of size 96 free'd
==4924==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==4924==    by 0x59848B: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==4924==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==4924==    by 0x563601: Road::updateVirtuals() (Road.cpp:190)
==4924==    by 0x562E00: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==4924==    by 0x4A73C4: MapFeature::notifyParents(int) (MapFeature.cpp:573)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x598995: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==4924==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924== 
==4924== Invalid read of size 8
==4924==    at 0x758569C: QMetaCallEvent::~QMetaCallEvent() (in /usr/lib/libQtCore.so.4.5.2)
==4924==    by 0x5CA0C9: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:130)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924==    by 0x5B26A1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==4924==    by 0x5A827E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==4924==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x5AA156: MapView::event(QEvent*) (MapView.cpp:1146)
==4924==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x670B010: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x7576C2B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.2)
==4924==    by 0x670A8DF: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x6770A0D: ??? (in /usr/lib/libQtGui.so.4.5.2)
==4924==  Address 0x12518698 is 40 bytes inside a block of size 96 free'd
==4924==    at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346)
==4924==    by 0x59848B: TrackPoint::~TrackPoint() (TrackPoint.cpp:51)
==4924==    by 0x483AD1: MapLayer::deleteFeature(MapFeature*) (MapLayer.cpp:207)
==4924==    by 0x563601: Road::updateVirtuals() (Road.cpp:190)
==4924==    by 0x562E00: Road::partChanged(MapFeature*, int) (Road.cpp:139)
==4924==    by 0x4A73C4: MapFeature::notifyParents(int) (MapFeature.cpp:573)
==4924==    by 0x4A7352: MapFeature::notifyChanges() (MapFeature.cpp:564)
==4924==    by 0x598995: TrackPoint::setPosition(Coord const&) (TrackPoint.cpp:135)
==4924==    by 0x458F89: MoveTrackPointCommand::redo() (TrackPointCommands.cpp:48)
==4924==    by 0x458C8C: MoveTrackPointCommand::MoveTrackPointCommand(TrackPoint*, Coord const&, MapLayer*) (TrackPointCommands.cpp:25)
==4924==    by 0x5CA022: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:126)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924== 
==4924== Invalid read of size 4
==4924==    at 0x75856A8: QMetaCallEvent::~QMetaCallEvent() (in /usr/lib/libQtCore.so.4.5.2)
==4924==    by 0x5CA0C9: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:130)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924==    by 0x5B26A1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==4924==    by 0x5A827E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==4924==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x5AA156: MapView::event(QEvent*) (MapView.cpp:1146)
==4924==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x670B010: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x7576C2B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.2)
==4924==    by 0x670A8DF: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x6770A0D: ??? (in /usr/lib/libQtGui.so.4.5.2)
==4924==  Address 0x215462f507eda77c is not stack'd, malloc'd or (recently) free'd
==4924== 
==4924== 
==4924== Process terminating with default action of signal 11 (SIGSEGV)
==4924==  General Protection Fault
==4924==    at 0x75856A8: QMetaCallEvent::~QMetaCallEvent() (in /usr/lib/libQtCore.so.4.5.2)
==4924==    by 0x5CA0C9: MoveTrackPointInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (MoveTrackPointInteraction.cpp:130)
==4924==    by 0x5C692C: EditInteraction::snapMouseReleaseEvent(QMouseEvent*, MapFeature*) (EditInteraction.cpp:135)
==4924==    by 0x5B26A1: GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent(QMouseEvent*) (Interaction.h:115)
==4924==    by 0x5A827E: MapView::mouseReleaseEvent(QMouseEvent*) (MapView.cpp:806)
==4924==    by 0x67529BF: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x5AA156: MapView::event(QEvent*) (MapView.cpp:1146)
==4924==    by 0x6703EFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x670B010: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x7576C2B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.2)
==4924==    by 0x670A8DF: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) (in /usr/lib/libQtGui.so.4.5.2)
==4924==    by 0x6770A0D: ??? (in /usr/lib/libQtGui.so.4.5.2)

comment:4 Changed 4 years ago by Koying

I created 50+ nodes on one road, on win32/Qt 4.6.0 and Gentoo/Qt? 4.5.3 without crash.

Could it be a Qt bug? I'll try to find something with your (useful) valgrind log.

comment:5 follow-up: ↓ 6 Changed 4 years ago by Koying

Strange thing is that the line numbers for MapFeature?.cpp seem to be wrong in the logs, while they are right for the other source files... I.e. the crash happens on a QString compare at line 214 in svn and 219 in your copy.

Would you happen to have some local modification in it?

comment:6 in reply to: ↑ 5 Changed 4 years ago by dantje

Replying to Koying:

Strange thing is that the line numbers for MapFeature?.cpp seem to be wrong in the logs, while they are right for the other source files... I.e. the crash happens on a QString compare at line 214 in svn and 219 in your copy.

Would you happen to have some local modification in it?

I did a "rm -rf src/ && svn update" before, but I'll do a clean build when I'm home.

comment:7 Changed 4 years ago by dantje

It still happens in svn 19408. Freshly "svn updated" into a empty directory and build there:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5503ed8 in ?? () from /usr/lib/libQtCore.so.4
(gdb) bt
#0  0x00007ffff5503ed8 in ?? () from /usr/lib/libQtCore.so.4
#1  0x00007ffff5cce948 in ?? () from /usr/lib/libQtGui.so.4
#2  0x0000000000449b13 in Command::buildUndoList (this=0x1892480, theListWidget=0x1669250) at Command/Command.cpp:67
#3  0x000000000044d28d in CommandHistory::buildUndoList (this=0x1652c00, theList=0x1669250) at Command/Command.cpp:430
#4  0x00000000004421d1 in DirtyDock::updateList (this=0x1796020) at Docks/DirtyDock.cpp:80
#5  0x00000000006df433 in DirtyDock::qt_metacall (this=0x1796020, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffffffface0)
    at moc_DirtyDock.cpp:78
#6  0x00007ffff54f9ddc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#7  0x00000000006e22e9 in MapDocument::historyChanged (this=0x14e8e40) at moc_MapDocument.cpp:118
#8  0x000000000047bb02 in MapDocument::addHistory (this=0x14e8e40, aCommand=0x15620d0) at Maps/MapDocument.cpp:215
#9  0x00000000005ca7ad in MoveTrackPointInteraction::snapMouseReleaseEvent (this=0x13d6120, event=0x7fffffffb860, 
    Closer=0x1557900) at Interaction/MoveTrackPointInteraction.cpp:183
#10 0x00000000005c694d in EditInteraction::snapMouseReleaseEvent (this=0x152b3e0, ev=0x7fffffffb860, aLast=0x1557900)
    at Interaction/EditInteraction.cpp:135
#11 0x00000000005b26c2 in GenericFeatureSnapInteraction<MapFeature>::mouseReleaseEvent (this=0x152b3e0, event=0x7fffffffb860)
    at ./Interaction/Interaction.h:115
#12 0x00000000005a829f in MapView::mouseReleaseEvent (this=0x15cc690, event=0x7fffffffb860) at MapView.cpp:806
#13 0x00007ffff5ce19c0 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x00000000005aa177 in MapView::event (this=0x15cc690, event=0x7fffffffb860) at MapView.cpp:1146
#15 0x00007ffff5c92efc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x00007ffff5c9a011 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x00007ffff54e4c2c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#18 0x00007ffff5c998e0 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib/libQtGui.so.4
#19 0x00007ffff5cffa0e in ?? () from /usr/lib/libQtGui.so.4
#20 0x00007ffff5cfeaa9 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#21 0x00007ffff5d27d0c in ?? () from /usr/lib/libQtGui.so.4
#22 0x00007ffff2fbebce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#23 0x00007ffff2fc2598 in ?? () from /lib/libglib-2.0.so.0
#24 0x00007ffff2fc26c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#25 0x00007ffff550d1a6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#26 0x00007ffff5d274be in ?? () from /usr/lib/libQtGui.so.4
#27 0x00007ffff54e3532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0x00007ffff54e3904 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0x00007ffff54e5ab9 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#30 0x000000000060313e in main (argc=1, argv=0x7fffffffe398) at Main.cpp:208

Another bug more reproducable bugs with virtual nodes:

  • Draw a closed way that is a roughly a square (fifth node again on first node)
  • Move the virtual node from the middle of top segment to middle of bottom segement
  • When asked if nodes should be merged, answer yes
  • The square becomes distorted and two virtual nodes appear within the square
  • Try to move one of them around a while
  • Crash
#0  0x00007ffff4f39803 in __dynamic_cast () from /usr/lib/libstdc++.so.6
#1  0x00000000005a5385 in MapView::buildFeatureSet (this=0x7fffe0102450) at MapView.cpp:328
#2  0x00000000005a39be in MapView::paintEvent (this=0x7fffe0102450, anEvent=0x7fffffffc8b0) at MapView.cpp:191
#3  0x00007ffff5ce17a0 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#4  0x00000000005aa177 in MapView::event (this=0x7fffe0102450, event=0x7fffffffc8b0) at MapView.cpp:1146
#5  0x00007ffff5c92efc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#6  0x00007ffff5c9a1ce in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#7  0x00007ffff54e4c2c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#8  0x00007ffff5ce8b93 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#9  0x00007ffff5e5adbe in ?? () from /usr/lib/libQtGui.so.4
#10 0x00007ffff5cdafa0 in QWidgetPrivate::syncBackingStore() () from /usr/lib/libQtGui.so.4
#11 0x00007ffff5ce15b8 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x00007ffff60579db in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x00007ffff5c92efc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x00007ffff5c9a1ce in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#15 0x00007ffff54e4c2c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#16 0x00007ffff54e580a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#17 0x00007ffff550d533 in ?? () from /usr/lib/libQtCore.so.4
#18 0x00007ffff2fbebce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#19 0x00007ffff2fc2598 in ?? () from /lib/libglib-2.0.so.0
#20 0x00007ffff2fc26c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#21 0x00007ffff550d1a6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#22 0x00007ffff5d274be in ?? () from /usr/lib/libQtGui.so.4
#23 0x00007ffff54e3532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#24 0x00007ffff54e3904 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#25 0x00007ffff54e5ab9 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#26 0x000000000060313e in main (argc=1, argv=0x7fffffffe398) at Main.cpp:208

I'd be really happy, if somebody could reproduce this stuff ;-)

comment:8 follow-up: ↓ 9 Changed 4 years ago by Koying

Hi Dan,

I could more or less reproduce on linux (or is it 4.5.x?) only.

I'm not sure it is exactly the same problem, though. While the valgrind log is equivalent, the SEGFAULT was somewhere else (although it seems you have various crash points, too).

Could you try again with latest svn?

Thx

comment:9 in reply to: ↑ 8 Changed 4 years ago by dantje

Replying to Koying:

Hi Dan,

I could more or less reproduce on linux (or is it 4.5.x?) only.

I'm not sure it is exactly the same problem, though. While the valgrind log is equivalent, the SEGFAULT was somewhere else (although it seems you have various crash points, too).

Yes. There are backtraces vary.

Could you try again with latest svn?

In 19520 it is still there.

Daniel

comment:10 Changed 4 years ago by Koying

  • Status changed from new to closed
  • Resolution set to fixed

Should be solved by now, isn'it?

It it isn't, please reopen

Note: See TracTickets for help on using tickets.