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

Crash when double clicking on a modeller alg #19721

Closed
qgib opened this issue Oct 19, 2014 · 5 comments
Closed

Crash when double clicking on a modeller alg #19721

qgib opened this issue Oct 19, 2014 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Oct 19, 2014

Author Name: Tim Sutton (Tim Sutton)
Original Redmine Issue: 11445
Affected QGIS version: 2.4.0
Redmine category:processing/modeller
Assignee: Victor Olaya


I made a simple modeller graph (see attached pic). When I double click on the hillshade node, QGIS (da5766c) crashes with:

gdalogr:hillshade
*** Error in `/usr/local/qgis-master/bin/qgis': malloc(): smallbin double linked list corrupted: 0x0000000004a675a0 ***

Program received signal SIGABRT, Aborted.
0x00007fffefa9dbb9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#_0  0x00007fffefa9dbb9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#_1  0x00007fffefaa0fc8 in __GI_abort () at abort.c:89
#_2  0x00007fffefadae14 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7fffefbe9668 "*** Error in `%s': %s: 0x%s ***\
") at ../sysdeps/posix/libc_fatal.c:175
#_3  0x00007fffefae5b77 in malloc_printerr (action=<optimized out>, str=0x7fffefbe9a30 "malloc(): smallbin double linked list corrupted", ptr=<optimized out>) at malloc.c:4996
#_4  0x00007fffefae8884 in _int_malloc (av=0x7fffefe26760 <main_arena>, bytes=36) at malloc.c:3359
#_5  0x00007fffefaea230 in __GI___libc_malloc (bytes=36) at malloc.c:2891
#_6  0x00007fffe5088b7d in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#_7  0x00007fffe5086dd7 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#_8  0x00007fffe50883ff in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#_9  0x00007fffe5088512 in xcb_wait_for_reply () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#_10 0x00007fffecbf748f in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#_11 0x00007fffecbf30cd in XSync () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#_12 0x00007ffff21c5a75 in QRasterWindowSurface::syncX() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#_13 0x00007ffff21c5d55 in QRasterWindowSurface::beginPaint(QRegion const&) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#_14 0x00007ffff21df599 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#_15 0x00007ffff2011ea0 in QWidgetPrivate::syncBackingStore() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#_16 0x00007ffff2021e6a in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#_17 0x00007fff6ac180ab in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/QtGui.so
#_18 0x00007ffff1fd2e2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#_19 0x00007ffff1fd94a0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#_20 0x00007ffff40806e1 in QgsApplication::notify (this=0x7fffffffdb20, receiver=0x5ca36d0, event=0x4a57ef0) at /home/timlinux/dev/cpp/QGIS/src/core/qgsapplication.cpp:243
#_21 0x00007ffff2c394dd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#_22 0x00007ffff2c3cb3d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#_23 0x00007ffff25a1b12 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#_24 0x00007ffff25ab0e9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#_25 0x00007ffff2c51c1e in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#_26 0x00007ffff25b83ab in QGraphicsScene::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#_27 0x00007fff6ab15a0b in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/QtGui.so
#_28 0x00007ffff1fd2e2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#_29 0x00007ffff1fd94a0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#_30 0x00007ffff40806e1 in QgsApplication::notify (this=0x7fffffffdb20, receiver=0x5170cd0, event=0x3ffa330) at /home/timlinux/dev/cpp/QGIS/src/core/qgsapplication.cpp:243
#_31 0x00007ffff2c394dd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#_32 0x00007ffff2c3cb3d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#_33 0x00007ffff2c66f83 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#_34 0x00007fffed8f6e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#_35 0x00007fffed8f7048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#_36 0x00007fffed8f70ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#_37 0x00007ffff2c667a1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#_38 0x00007ffff2074bb6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#_39 0x00007ffff2c380af in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#_40 0x00007ffff2c383a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#_41 0x00007ffff2479fec in QDialog::exec() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#_42 0x00007fff6abf2fb5 in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/QtGui.so
#_43 0x00007fff6b9b70d4 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#_44 0x00007fff6b9b917d in PyEval_EvalCodeEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#_45 0x00007fff6b9b9310 in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#_46 0x00007fff6b980e23 in PyObject_Call () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#_47 0x00007fff6b8d430d in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#_48 0x00007fff6b980e23 in PyObject_Call () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#_49 0x00007fff6b93f837 in PyEval_CallObjectWithKeywords () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#_50 0x00007fff6b58b048 in sip_api_invoke_slot () from /usr/lib/python2.7/dist-packages/sip.so
#_51 0x00007fff6b296a26 in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so


@qgib
Copy link
Contributor Author

qgib commented Oct 19, 2014

Author Name: Filipe Dias (@fsdias)


See also #15934 for a workaround

@qgib
Copy link
Contributor Author

qgib commented Oct 19, 2014

Author Name: Tim Sutton (Tim Sutton)


Filipe Dias wrote:

See also #15934 for a workaround

Hi Filipe

Thanks, yes agreed avoiding double clicking is a workaround but having a crashing QGIS is something we should really try to fix.

Regards

Tim

@qgib
Copy link
Contributor Author

qgib commented Oct 19, 2014

Author Name: Victor Olaya (@volaya)


Double clicking is a more natural way of editing the element, but I agree that a crash is not nice at all, so better to avoid it. I have disabled the double click edit, and now it can be done just by right-clicking and selecting the "edit" entry, or by clicking on the edit icon in the modeler element to edit.

I will investigate further to see how to fix the issue, but i think this is a good solution for now. Thanks Filipe for your help!


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Oct 19, 2014

Author Name: Tim Sutton (Tim Sutton)


Victor Olaya wrote:

Double clicking is a more natural way of editing the element, but I agree that a crash is not nice at all, so better to avoid it. I have disabled the double click edit, and now it can be done just by right-clicking and selecting the "edit" entry, or by clicking on the edit icon in the modeler element to edit.

I will investigate further to see how to fix the issue, but i think this is a good solution for now. Thanks Filipe for your help!

Thanks very much Victor!

@qgib
Copy link
Contributor Author

qgib commented Oct 20, 2014

Author Name: Giovanni Manghi (@gioman)


  • resolution was changed from to fixed/implemented
  • status_id was changed from Feedback to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms labels May 25, 2019
@qgib qgib added this to the Version 2.6 milestone May 25, 2019
@qgib qgib closed this as completed May 25, 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! Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

1 participant