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 creating new spatialite layer - changing crs #16829

Closed
qgib opened this issue Jun 2, 2013 · 6 comments
Closed

qgis crashes when creating new spatialite layer - changing crs #16829

qgib opened this issue Jun 2, 2013 · 6 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Data Provider Related to specific vector, raster or mesh data providers
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Jun 2, 2013

Author Name: Regis Haubourg (@haubourg)
Original Redmine Issue: 7970
Affected QGIS version: master
Redmine category:data_provider/spatialite


Hi all,
when creating a new spatialite layer from menu layer/new layer /spatialite,
choosing a new crs (2154 epsg in my case), I have a crash.
a regression, then I put it to blocker priority.
Régis

conf: win 7 , osgeo4w , revision e2bd04f

Régis


Related issue(s): #16884 (relates)
Redmine related issue(s): 8041


@qgib
Copy link
Contributor Author

qgib commented Jun 2, 2013

Author Name: Giovanni Manghi (@gioman)


  • crashes_corrupts_data was changed from 0 to 1
  • category_id was configured as Data Provider/SpatiaLite
  • priority_id was changed from Normal to Severe/Regression
  • fixed_version_id was configured as Version 2.0.0

@qgib
Copy link
Contributor Author

qgib commented Jun 2, 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(myMessageOutput(QtMsgType, char const*)+0xac)[0x4e6b5c]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(qt_message_output(QtMsgType, char const*)+0x2e)[0x7fdfbd25841e]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x718bf)[0x7fdfbd2588bf]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(qFatal(char const*, ...)+0x94)[0x7fdfbd258a64]
/lib/x86_64-linux-gnu/libc.so.6(+0x364a0)[0x7fdfba7494a0]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(QLocalePrivate::stringToLongLong(QString const&, int, bool*, QLocalePrivate::GroupSeparatorMode) const+0x6c)[0x7fdfbd28a98c]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(QString::toLongLong(bool*, int) const+0x42)[0x7fdfbd2ab222]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(QString::toInt(bool*, int) const+0x9)[0x7fdfbd2ab349]
/usr/bin/qgis.bin(QgsNewSpatialiteLayerDialog::on_pbnFindSRID_clicked()+0x8ab)[0x7a4c9b]
/usr/bin/qgis.bin[0x7c7e15]
/usr/bin/qgis.bin(QgsNewSpatialiteLayerDialog::qt_metacall(QMetaObject::Call, int, void**)+0x5b)[0x7c7f0b]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(QMetaObject::activate(QObject*, QMetaObject const*, int, void**)+0x4b9)[0x7fdfbd376489]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QAbstractButton::clicked(bool)+0x32)[0x7fdfbcd74c72]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x599a4e)[0x7fdfbcab2a4e]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x59ad8b)[0x7fdfbcab3d8b]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QAbstractButton::mouseReleaseEvent(QMouseEvent*)+0x8c)[0x7fdfbcab3ffc]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QWidget::event(QEvent*)+0x684)[0x7fdfbc735144]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QApplicationPrivate::notify_helper(QObject*, QEvent*)+0xb4)[0x7fdfbc6e4894]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QApplication::notify(QObject*, QEvent*)+0xabf)[0x7fdfbc6ea0bf]
/usr/lib/libqgis_core.so.1.9.0(QgsApplication::notify(QObject*, QEvent*)+0x96)[0x7fdfbe26ec46]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(QCoreApplication::notifyInternal(QObject*, QEvent*)+0x8c)[0x7fdfbd361e9c]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool)+0x172)[0x7fdfbc6e5862]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x24bbf5)[0x7fdfbc764bf5]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QApplication::x11ProcessEvent(_XEvent*)+0xdce)[0x7fdfbc763bae]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x2740d2)[0x7fdfbc78d0d2]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x133)[0x7fdfb9275d53]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x480a0)[0x7fdfb92760a0]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x34)[0x7fdfb9276164]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x6f)[0x7fdfbd3913bf]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x273d5e)[0x7fdfbc78cd5e]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x32)[0x7fdfbd360c82]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)+0xf7)[0x7fdfbd360ed7]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QDialog::exec()+0xd6)[0x7fdfbcbb4936]
/usr/bin/qgis.bin(QgisApp::newSpatialiteLayer()+0x48)[0x4f2718]
/usr/bin/qgis.bin[0x7b9cd5]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(QMetaObject::activate(QObject*, QMetaObject const*, int, void**)+0x2b1)[0x7fdfbd376281]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QAction::triggered(bool)+0x32)[0x7fdfbc6de132]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QAction::activate(QAction::ActionEvent)+0x6f)[0x7fdfbc6de31f]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x617119)[0x7fdfbcb30119]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x61d272)[0x7fdfbcb36272]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QWidget::event(QEvent*)+0x684)[0x7fdfbc735144]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QMenu::event(QEvent*)+0x5b)[0x7fdfbcb3780b]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QApplicationPrivate::notify_helper(QObject*, QEvent*)+0xb4)[0x7fdfbc6e4894]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QApplication::notify(QObject*, QEvent*)+0xabf)[0x7fdfbc6ea0bf]
/usr/lib/libqgis_core.so.1.9.0(QgsApplication::notify(QObject*, QEvent*)+0x96)[0x7fdfbe26ec46]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(QCoreApplication::notifyInternal(QObject*, QEvent*)+0x8c)[0x7fdfbd361e9c]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool)+0x172)[0x7fdfbc6e5862]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x24c2c1)[0x7fdfbc7652c1]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QApplication::x11ProcessEvent(_XEvent*)+0xdce)[0x7fdfbc763bae]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x2740d2)[0x7fdfbc78d0d2]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x133)[0x7fdfb9275d53]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x480a0)[0x7fdfb92760a0]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x34)[0x7fdfb9276164]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x6f)[0x7fdfbd3913bf]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x273d5e)[0x7fdfbc78cd5e]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x32)[0x7fdfbd360c82]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)+0xf7)[0x7fdfbd360ed7]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(QCoreApplication::exec()+0x87)[0x7fdfbd365f67]
/usr/bin/qgis.bin(main+0x229e)[0x4e2b0e]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7fdfba73476d]
/usr/bin/qgis.bin[0x4e6901]
Aborted (core dumped)

@qgib
Copy link
Contributor Author

qgib commented Jun 7, 2013

Author Name: Matthias Kuhn (@m-kuhn)


I just solved a likely related crash ( in 63617ba )
Can you check and mark this issue as "Closed" or "New" accordingly.


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Jun 10, 2013

Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)


I've tried and can't reproduce crash. Regis, can you confirm it's been fixed and close the issue?

@qgib
Copy link
Contributor Author

qgib commented Jun 11, 2013

Author Name: Matthias Kuhn (@m-kuhn)


Crash fixed.
Followup for remaining problem: #16884


  • status_id was changed from Feedback to Closed

@qgib
Copy link
Contributor Author

qgib commented Jun 12, 2013

Author Name: Regis Haubourg (@haubourg)


confirmed here, sorry for the delay, I wasn't at office.
régis

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers 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 Data Provider Related to specific vector, raster or mesh data providers
Projects
None yet
Development

No branches or pull requests

1 participant