Opened 11 years ago

Closed 11 years ago

#1148 closed defect (fixed)

Crash after undo node-deletion

Reported by: bart@… Owned by: Chris Browet
Priority: major Milestone:
Component: merkaartor Version:
Keywords: Cc: bernd+osmtrac@…

Description

As reported by private mail to me :

  • download data + gps tracks
  • remove some nodes including nodes from the gps tracks
  • deselect the gps track layer
  • click undo

For unknown reasons gdb didn't find any information for #0, but here we go:

(gdb) bt
#0  0x0000000000000021 in ?? ()
#1  0x00000000004253d1 in RemoveFeatureCommand::undo
(this=0x7f963c295fa0) at Command/DocumentCommands.cpp:156
#2  0x000000000041e7b4 in CommandList::undo (this=0x7f963c2bee50) at
Command/Command.cpp:180
#3  0x000000000041f917 in CommandHistory::undo (this=0x9b9510) at
Command/Command.cpp:339
#4  0x00000000004561a6 in MapDocument::undoHistory (this=0x95fd00) at
Map/MapDocument.cpp:245
#5  0x000000000050009e in MainWindow::on_editUndoAction_triggered
(this=0x7fff549c68e0) at MainWindow.cpp:390
...

(trimmed further backtrace info there is no additional information in there that will help to solve this bug I think)

Change History (3)

comment:1 Changed 11 years ago by bernd@…

Cc: bernd+osmtrac@… added

In case there're questions, the bug was reported by me. Feel free to contect me.

comment:2 Changed 11 years ago by Chris Browet

Owner: changed from cbro@… to Chris Browet
Status: newassigned

comment:3 Changed 11 years ago by Chris Browet

Resolution: fixed
Status: assignedclosed

(In [10513]) FIX : only delete commands (and associated features) when the associated commandhistory is destoyed (fixes #1148)

Note: See TracTickets for help on using tickets.