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

After activation action in window Feature attributes - Crash #19977

Closed
qgib opened this issue Nov 25, 2014 · 7 comments
Closed

After activation action in window Feature attributes - Crash #19977

qgib opened this issue Nov 25, 2014 · 7 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption High Priority Map and Legend Related to map or legend rendering
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Nov 25, 2014

Author Name: Alexander Novoselov (Alexander Novoselov)
Original Redmine Issue: 11744
Affected QGIS version: 2.6.0
Redmine category:map_canvas


After activation action in window Feature attributes - Crash

  1. select layer in editing mode
  2. use identify Features
  3. in window Feature attributes select actions
  4. crash qgis
QGIS died on signal 11[New LWP 12362]
[New LWP 12361]
[New LWP 12360]
[New LWP 12359]
[New LWP 12358]
[New LWP 12357]
[New LWP 12356]
[New LWP 12352]
[New LWP 12351]
[New LWP 12346]
[New LWP 12345]
[New LWP 12344]
[New LWP 12338]
[New LWP 12337]
[New LWP 12336]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f741e410619 in __libc_waitpid (pid=12363, stat_loc=0x7fff9051357c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
40	../sysdeps/unix/sysv/linux/waitpid.c: Нет такого файла или каталога.
[Current thread is 1 (Thread 0x7f7426588800 (LWP 12335))]
#_0  0x00007f741e410619 in __libc_waitpid (pid=12363, stat_loc=0x7fff9051357c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
        resultvar = 140735614631680
        oldtype = 0
#_1  0x0000000000501277 in qgisCrash(int) ()
No symbol table info available.
#2  <signal handler called>
No locals.
#_3  0x00007f7422715cdb in QgsFeature::attribute(int) const () from /usr/lib/libqgis_core.so.2.6.0
No symbol table info available.
#_4  0x00007f74226e5a54 in QgsExpression::NodeColumnRef::eval(QgsExpression*, QgsFeature const*) () from /usr/lib/libqgis_core.so.2.6.0
No symbol table info available.
#_5  0x00007f74226ef2e8 in QgsExpression::evaluate(QgsFeature const*) () from /usr/lib/libqgis_core.so.2.6.0
No symbol table info available.
#_6  0x00007f74226ef3de in QgsExpression::evaluate(QgsFeature const*, QgsFields const&) () from /usr/lib/libqgis_core.so.2.6.0
No symbol table info available.
#_7  0x00007f74227082da in QgsExpression::replaceExpressionText(QString const&, QgsFeature const*, QgsVectorLayer*, QMap<QString, QVariant> const*, QgsDistanceArea const*) () from /usr/lib/libqgis_core.so.2.6.0
No symbol table info available.
#_8  0x00007f742269d292 in QgsAttributeAction::doAction(int, QgsFeature const&, QMap<QString, QVariant> const*) () from /usr/lib/libqgis_core.so.2.6.0
No symbol table info available.
#_9  0x00007f742269d579 in QgsAttributeAction::doAction(int, QgsFeature const&, int) () from /usr/lib/libqgis_core.so.2.6.0
No symbol table info available.
#_10 0x0000000000837a18 in ?? ()
No symbol table info available.
#_11 0x00007f742153587a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#_12 0x00007f74208b4a62 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_13 0x00007f74208b6433 in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_14 0x00007f7420ce4489 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_15 0x00007f7420ce89b9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_16 0x00007f742090a50a in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_17 0x00007f7420cec7bb in QMenu::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_18 0x00007f74208bae2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_19 0x00007f74208c15dd in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_20 0x00007f742269976b in QgsApplication::notify(QObject*, QEvent*) () from /usr/lib/libqgis_core.so.2.6.0
No symbol table info available.
#_21 0x00007f74215214dd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#_22 0x00007f74208c0d93 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.
#_23 0x00007f7420935cfc in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_24 0x00007f7420935269 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_25 0x00007f742095cb02 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_26 0x00007f741c1dee04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#_27 0x00007f741c1df048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#_28 0x00007f741c1df0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#_29 0x00007f742154e7a1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#_30 0x00007f742095cbb6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_31 0x00007f74215200af in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#_32 0x00007f74215203a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#_33 0x00007f7420ceb587 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_34 0x00007f7420ceb693 in QMenu::exec(QList<QAction*>, QPoint const&, QAction*, QWidget*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_35 0x00007f742090a8c9 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_36 0x00007f74208bae2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_37 0x00007f74208c21f8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_38 0x00007f742269976b in QgsApplication::notify(QObject*, QEvent*) () from /usr/lib/libqgis_core.so.2.6.0
No symbol table info available.
#_39 0x00007f74215214dd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#_40 0x00007f7420935a20 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_41 0x00007f7420935269 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_42 0x00007f742095cb02 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_43 0x00007f741c1dee04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#_44 0x00007f741c1df048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#_45 0x00007f741c1df0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#_46 0x00007f742154e7a1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#_47 0x00007f742095cbb6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#_48 0x00007f74215200af in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#_49 0x00007f74215203a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#_50 0x00007f7421525b79 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#_51 0x00000000004fbd90 in main ()
No symbol table info available.
gdb returned 0

@qgib
Copy link
Contributor Author

qgib commented Nov 26, 2014

Author Name: Giovanni Manghi (@gioman)


Cannot confirm here, at least using a random vector layer and by clicking on the standard default action "edit feature form".

Does it happens with any vector? with any actions?


  • status_id was changed from Open to Feedback
  • priority_id was changed from Severe/Regression to High
  • crashes_corrupts_data was changed from 0 to 1

@qgib
Copy link
Contributor Author

qgib commented Nov 26, 2014

Author Name: Alexander Novoselov (Alexander Novoselov)


Yes. Any vector. Any actions.

In this video, the first call to action - the program does not hang, but the variable is not passed to the action.
This behavior (not to pass variables) was with version 2.4.

http://youtu.be/omILgdwu7m0 see subtitles

Perhaps this feature compilation ubuntu-GIS unstable.

-- offtop

In this version is impossible to work. For example crash when deleting a single vector layer.

@qgib
Copy link
Contributor Author

qgib commented Nov 27, 2014

Author Name: Alexander Novoselov (Alexander Novoselov)


Windows version crashing when you select the context menu with the standard default actions on the object.

http://youtu.be/lBknZTWSvMM

@qgib
Copy link
Contributor Author

qgib commented Nov 27, 2014

Author Name: Giovanni Manghi (@gioman)


Alexander Novoselov wrote:

Windows version crashing when you select the context menu with the standard default actions on the object.

http://youtu.be/lBknZTWSvMM

qgis master is not affected by this, please give it a try.

@qgib
Copy link
Contributor Author

qgib commented Nov 27, 2014

Author Name: Giovanni Manghi (@gioman)


Alexander Novoselov wrote:

Yes. Any vector. Any actions.

In this video, the first call to action - the program does not hang, but the variable is not passed to the action.
This behavior (not to pass variables) was with version 2.4.

http://youtu.be/omILgdwu7m0 see subtitles

ok this is can replicate, the video was enlightening.


  • category_id was configured as Map Canvas
  • fixed_version_id was changed from Version 2.6 to Version 2.8

@qgib
Copy link
Contributor Author

qgib commented Jan 10, 2015

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


  • status_id was changed from Feedback to Open

@qgib
Copy link
Contributor Author

qgib commented Jan 21, 2015

Author Name: Matthias Kuhn (@m-kuhn)


Fixed in changeset "e49adad1dec69f9d1db979c099e1208c70213bee".


  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Map and Legend Related to map or legend rendering Crash/Data Corruption labels May 25, 2019
@qgib qgib added this to the Version 2.8 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! Crash/Data Corruption High Priority Map and Legend Related to map or legend rendering
Projects
None yet
Development

No branches or pull requests

1 participant