Crash after "download more" because of virtual nodes #2615
Comments
Author: dantje valgrind says that a Trackpoint was deleted/free'd which is later used. The delete
|
Author: Koying Temporary workaround: Disable Virtual Nodes in Preferences |
Author: dantje This behaviour is triggered when the two downloaded areas overlapped. I probed around the code for a while, but to no avail. I noticed that the SetLayer() method 'reparents' all nodes, but not the virtualNodes. |
Author: koying (In [19333]) FIX : do not reindex() virtual nodes (fixes #2615) |
Author: dantje ==7725== Invalid read of size 8 |
Author: dantje The crash still happens. The sorting somehow still knows about the virtual node that should have been removed. PS: And sorry for the last entry.
|
Author: dantje Easier steps to reproduce, even without downloading:
It is also possible to do this with circular roads that contain one of it's nodes twice. |
Author: Koying Replying to [comment:9 dantje]:
Did you try to move a node or did it crash immediately after the download? |
Author: dantje Replying to [comment:11 Koying]:
When downloading an (somehow) overlapping area, the crash occurs immediately after download/parsing. |
Author: dantje Fix verified. Works for me. Thanks. |
Reporter: dantje
[Submitted to the original trac issue database at 4.24pm, Friday, 8th January 2010]
Linux / Ubuntu 9.10 / QT 4.5.2
Second case
The text was updated successfully, but these errors were encountered: