Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node tool causes crash #18121

Closed
qgib opened this issue Feb 10, 2014 · 12 comments
Closed

Node tool causes crash #18121

qgib opened this issue Feb 10, 2014 · 12 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Digitizing Related to feature digitizing map tools or functionality High Priority
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Feb 10, 2014

Author Name: Harry Bar (Harry Bar)
Original Redmine Issue: 9532
Affected QGIS version: master
Redmine category:digitising


I am creating maps of a city with roads, buildings, lots etc. Snapping on 4. When using the node tool QGIS crashes quite often when small changes are made to align a building with a lot. After crashing and restarting, the same action will cause another crash. When making bigger movements and then moving to the desired place there is no problem.


@qgib
Copy link
Contributor Author

qgib commented Feb 10, 2014

Author Name: Jürgen Fischer (@jef-n)


  • category_id was changed from Map Composer/Printing to Digitising

@qgib
Copy link
Contributor Author

qgib commented Feb 10, 2014

Author Name: Jürgen Fischer (@jef-n)


  • subject was changed from Note tool causes crash to Node tool causes crash

@qgib
Copy link
Contributor Author

qgib commented Feb 15, 2014

Author Name: Giovanni Manghi (@gioman)


Sample data/project (and a screencast in this case) would help a lot try replicate this issue on other computers.


  • crashes_corrupts_data was changed from 0 to 1
  • status_id was changed from Open to Feedback
  • priority_id was changed from Normal to High
  • fixed_version_id was changed from Version 2.0.0 to Version 2.2

@qgib
Copy link
Contributor Author

qgib commented Feb 28, 2014

Author Name: Alexander Bruy (@alexbruy)


Maybe related to #18248

@qgib
Copy link
Contributor Author

qgib commented Mar 1, 2014

Author Name: Giovanni Manghi (@gioman)


Alexander Bruy wrote:

Maybe related to #18248

anyway I'm closing this for lack of feedback, the original reporter can reopen this if he thinks it is not the same as #18248


  • resolution was changed from to duplicate

@qgib
Copy link
Contributor Author

qgib commented Mar 4, 2014

Author Name: Dan Piggott (Dan Piggott)


Hi, I'm encountering what might be the same problem. I'm on Windows 7 with QGIS 2.0.1 and having frequent crashes when using the node tool. The problem occurs when trying to add new nodes to an existing line or polygon, and when trying to move existing nodes. I can add one node, but QGIS will crash with a "crash dumped" error message if I try to add a second node. I can sometimes move two or three existing nodes, but then the crash happens.

I've found that saving the layer between each new node or move will stop it crashing with the "crash dumped" message. However, the frequent saving then causes QGIS to hang and I have to shut it down and re-open it.

I've tried disabling all plugins and the issue still occurs. I'm new to QGIS and this site, etc. so apologies if I've missed any information you require. If I can help further just give us a shout.

Cheers, Dan

@qgib
Copy link
Contributor Author

qgib commented Mar 4, 2014

Author Name: Giovanni Manghi (@gioman)


Dan Piggott wrote:

Hi, I'm encountering what might be the same problem. I'm on Windows 7 with QGIS 2.0.1 and having frequent crashes when using the node tool. The problem occurs when trying to add new nodes to an existing line or polygon, and when trying to move existing nodes. I can add one node, but QGIS will crash with a "crash dumped" error message if I try to add a second node. I can sometimes move two or three existing nodes, but then the crash happens.

I've found that saving the layer between each new node or move will stop it crashing with the "crash dumped" message. However, the frequent saving then causes QGIS to hang and I have to shut it down and re-open it.

I've tried disabling all plugins and the issue still occurs. I'm new to QGIS and this site, etc. so apologies if I've missed any information you require. If I can help further just give us a shout.

Cheers, Dan

Can you please test also qgis 2.2 and master too? you can install them both using the osgeo4w installer.

If you can replicate the issue with them please add a small dataset and precise steps on how replicate the issue, this would be very useful.

cheers!

@qgib
Copy link
Contributor Author

qgib commented Mar 6, 2014

Author Name: Dan Piggott (Dan Piggott)


Hi,

I've just got the 2.2 update and unfortunately the crash is still happening. I'm afraid I haven't been able to try the master yet (it's hard to get admin access here). I've attached a sample layer for you, which I've tried opening on it's own (it's part of a project I'm working on). If I select the node tool I can add one node to the region edges, but attempting a second will cause the crash. As I say, I've tried it with and without plugins enabled. Let me know if you need any more info!

Cheers,
Dan


  • 6950 was configured as node_tool_crash_dataset.zip

@qgib
Copy link
Contributor Author

qgib commented Mar 30, 2014

Author Name: Giovanni Manghi (@gioman)


crash confirmed on master/linux

giovanni@sibirica ~ $ qgis
Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_US]
Warning: QGraphicsScene::addItem: item has already been added to this scene
***************** deactivate parallellinetool
***************** deactivate circulararctool
***************** deactivate modifycirculararctool
***************** deactivate parallellinetool
***************** deactivate circulararctool
***************** deactivate modifycirculararctool
QGIS died on signal 11[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7f85e7fff700 (LWP 11552)]
[New Thread 0x7f85e77fe700 (LWP 11551)]
[New Thread 0x7f85ef5f8700 (LWP 11550)]
[New Thread 0x7f85e618a700 (LWP 11549)]
[New Thread 0x7f85effff700 (LWP 11428)]
[New Thread 0x7f85f5428700 (LWP 11427)]
0x00007f862bb90ccd in waitpid () from /lib/x86_64-linux-gnu/libc.so.6
[Current thread is 1 (Thread 0x7f8632eaa7c0 (LWP 11416))]
#_0  0x00007f862bb90ccd in waitpid () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#_1  0x00000000004f4f60 in qgisCrash(int) ()
No symbol table info available.
#2  <signal handler called>
No symbol table info available.
#_3  0x00007f862f7a617c in QgsGeometry::QgsGeometry(QgsGeometry const&) () from /usr/lib/libqgis_core.so.2.3.0
No symbol table info available.
#_4  0x000000000065d9be in QgsSelectedFeature::updateGeometry(QgsGeometry*) ()
No symbol table info available.
#_5  0x0000000000660222 in QgsSelectedFeature::createVertexMap() ()
No symbol table info available.
#_6  0x0000000000660631 in QgsSelectedFeature::replaceVertexMap() ()
No symbol table info available.
#_7  0x000000000065ce47 in QgsMapToolNodeTool::canvasReleaseEvent(QMouseEvent*) ()
No symbol table info available.
#_8  0x00007f862f1bc670 in QgsMapCanvas::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libqgis_gui.so.2.3.0
No symbol table info available.
#_9  0x00007f862db4a144 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_10 0x00007f862df0a3f6 in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_11 0x00007f862e134b6b in QGraphicsView::viewportEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_12 0x00007f862e777028 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#_13 0x00007f862daf985f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_14 0x00007f862daff0bf in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_15 0x00007f862f741e06 in QgsApplication::notify(QObject*, QEvent*) () from /usr/lib/libqgis_core.so.2.3.0
No symbol table info available.
#_16 0x00007f862e776e9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#_17 0x00007f862dafa862 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_18 0x00007f862db79c35 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_19 0x00007f862db78bee in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_20 0x00007f862dba2112 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_21 0x00007f862a633d13 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#_22 0x00007f862a634060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#_23 0x00007f862a634124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#_24 0x00007f862e7a63bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#_25 0x00007f862dba1d9e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_26 0x00007f862e775c82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#_27 0x00007f862e775ed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#_28 0x00007f862e77af67 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#_29 0x00000000004ef481 in main ()
No symbol table info available.
gdb returned 0
Aborted (core dumped)


  • fixed_version_id was changed from Version 2.2 to Version 2.4
  • version was changed from 2.0.1 to master
  • operating_system was changed from Windows 32 to
  • os_version was changed from Windows 7 Ultimate to

@qgib
Copy link
Contributor Author

qgib commented Mar 30, 2014

Author Name: Giovanni Manghi (@gioman)


Dan Piggott wrote:

Hi,

I've just got the 2.2 update and unfortunately the crash is still happening. I'm afraid I haven't been able to try the master yet (it's hard to get admin access here). I've attached a sample layer for you, which I've tried opening on it's own (it's part of a project I'm working on). If I select the node tool I can add one node to the region edges, but attempting a second will cause the crash. As I say, I've tried it with and without plugins enabled. Let me know if you need any more info!

Cheers,
Dan

there is something fishy in the shape you attached. Many other tools cannot handle it. But after a very soft clean with GRASS v.clean it all works ok...


  • resolution was changed from duplicate to

@qgib
Copy link
Contributor Author

qgib commented Apr 15, 2014

Author Name: Martin Dobias (@wonder-sk)


Fixed in changeset "d7379ca1abc723d5e643e8bb385abfed3529b74b".


  • status_id was changed from Feedback to Closed

@qgib
Copy link
Contributor Author

qgib commented Apr 15, 2014

Author Name: Martin Dobias (@wonder-sk)


Also applied to 2.2 branch 11deb00

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Digitizing Related to feature digitizing map tools or functionality Crash/Data Corruption labels May 24, 2019
@qgib qgib added this to the Version 2.4 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Digitizing Related to feature digitizing map tools or functionality High Priority
Projects
None yet
Development

No branches or pull requests

1 participant