Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Crash after undo node-deletion #1148

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

Crash after undo node-deletion #1148

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: bart[at]vanhauwaert.org
[Submitted to the original trac issue database at 5.22am, Friday, 5th September 2008]

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)

@openstreetmap-trac
Copy link
Author

Author: bernd[at]bzed.de
[Added to the original trac issue at 1.53am, Saturday, 6th September 2008]

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

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 1.28pm, Saturday, 6th September 2008]

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant