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

QGIS crashes when clicking "new project" or in program exit if a layer was added with the browser #16801

Closed
qgib opened this issue May 28, 2013 · 6 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented May 28, 2013

Author Name: Giovanni Manghi (@gioman)
Original Redmine Issue: 7931
Affected QGIS version: master
Redmine category:browser


On QGIS master from osgeo4w I'm getting a replicable crash when clicking on "new project -> discard" (or on program exit) if a raster was added using the browser. Does not happen if the raster was added using the standard dialog or by d&d from a Windows folder. Will test also Linux.

Tomorrow I will add also the minidump.



Related issue(s): #16467 (relates)
Redmine related issue(s): 7520


@qgib
Copy link
Contributor Author

qgib commented May 28, 2013

Author Name: Giovanni Manghi (@gioman)


confirmed on Linux

gio@sibirica ~ $ qgis
Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_US]
Fatal: QGIS died on signal 11
Stacktrace (run through c++filt):
/usr/bin/qgis.bin(_Z15myMessageOutput9QtMsgTypePKc+0xac)[0x4e6f4c]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x2e)[0x7fd6e153d41e]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x718bf)[0x7fd6e153d8bf]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_Z6qFatalPKcz+0x94)[0x7fd6e153da64]
/lib/x86_64-linux-gnu/libc.so.6(+0x364a0)[0x7fd6dea2e4a0]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x778dac)[0x7fd6e0f76dac]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZNK21QSortFilterProxyModel11mapToSourceERK11QModelIndex+0xd)[0x7fd6e0f76edd]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZNK21QSortFilterProxyModel5flagsERK11QModelIndex+0x76)[0x7fd6e0f75fb6]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN17QAbstractItemView12focusInEventEP11QFocusEvent+0xfd)[0x7fd6e0eec23d]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x323)[0x7fd6e0a19de3]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN6QFrame5eventEP6QEvent+0x26)[0x7fd6e0dda3b6]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN19QAbstractScrollArea5eventEP6QEvent+0x83)[0x7fd6e0e5c4c3]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN17QAbstractItemView5eventEP6QEvent+0x7b)[0x7fd6e0ef98db]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xb4)[0x7fd6e09c9894]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x113)[0x7fd6e09ce713]
/usr/lib/libqgis_core.so.1.9.0(_ZN14QgsApplication6notifyEP7QObjectP6QEvent+0x96)[0x7fd6e254d696]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8c)[0x7fd6e1646e9c]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN19QApplicationPrivate14setFocusWidgetEP7QWidgetN2Qt11FocusReasonE+0x356)[0x7fd6e09c8226]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN7QWidget8setFocusEN2Qt11FocusReasonE+0x1e1)[0x7fd6e0a0cef1]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN12QApplication15setActiveWindowEP7QWidget+0x4a3)[0x7fd6e09cd293]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0x10b5)[0x7fd6e0a48e95]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x2740d2)[0x7fd6e0a720d2]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x133)[0x7fd6dd55ad53]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x480a0)[0x7fd6dd55b0a0]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x34)[0x7fd6dd55b164]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x6f)[0x7fd6e16763bf]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x273d5e)[0x7fd6e0a71d5e]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x32)[0x7fd6e1645c82]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xf7)[0x7fd6e1645ed7]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x87)[0x7fd6e164af67]
/usr/bin/qgis.bin(main+0x229e)[0x4e2efe]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7fd6dea1976d]
/usr/bin/qgis.bin[0x4e6cf1]
Aborted (core dumped)


  • operating_system was changed from Windows to

@qgib
Copy link
Contributor Author

qgib commented May 28, 2013

Author Name: Larry Shaffer (Larry Shaffer)


Confirmed here on Mac as well. Not specific to loading rasters though.

1) Open new project
2) Add layers from browser
3) Save project -> crash

This is with loading a known good Spatialite data source. Similar crash report output attached.


  • 5796 was configured as browser_load-layer-then-save_crash-report.txt

@qgib
Copy link
Contributor Author

qgib commented May 28, 2013

Author Name: Nathan Woodrow (@NathanW2)


  • subject was changed from QGIS crashes when clicking "new project" or in program exit if a raster was added with the browser to QGIS crashes when clicking "new project" or in program exit if a layer was added with the browser

@qgib
Copy link
Contributor Author

qgib commented May 31, 2013

Author Name: Giuseppe Sucameli (@brushtyler)


I doesn't matter if the layer is loaded from browser or not:

1) new project
2) expand an entry in the browser
3) load a layer
4) new project

@qgib
Copy link
Contributor Author

qgib commented Jun 14, 2013

Author Name: Anónimo (Anónimo)


Fixed in changeset "fec833f14553effb2d242f6832c6b17198337987".


  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Jun 14, 2013

Author Name: Nathan Woodrow (@NathanW2)


Should be fixed now.

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption labels May 24, 2019
@qgib qgib added this to the Version 2.0.0 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
Projects
None yet
Development

No branches or pull requests

1 participant