Bug report #21202

Qgis crashes in qfield synchronization

Added by Antonio Consoli over 5 years ago. Updated over 5 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Python plugins
Affected QGIS version:3.4.4 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:Yes Copied to github as #:29020

Description

User Feedback

- In export fase I create portable project with one spatialite and one geopackage offline. Qgis crashes but I found the project in export folder. Then I put on the android device and I collected data in forest. I copy project from android device to pc, I opened this with qgis and I found my collected data.
- During import fase qgis crashes but no offline data was sincronizated. I checked the data.gpgk and all seems ok.
I tried import and export operation with new clean profile but I had the same issue.
I tried import and export other old projects using both profile (personal and clean), with the same results.
If I create a new project with the same layers of the first one the import seem good and no crash happens.
Did I do something wrong?
I can use an alternative way to recover data offline without automatic plugin synchronization?

here below the report generated by the crash during syncronization

Report Details

Crash ID: 369e09958722f60c5293f118f3f0751d0cc43ce3

Stack Trace

QgsNmeaConnection::processVtgSentence :
QgsSymbolLayerUtils::wellKnownMarkerToSld :
QgsMarkerSymbol::size :
QgsMapCanvasAnnotationItem::scaledSymbolSize :
QgsMapCanvasAnnotationItem::updateBoundingRect :
QgsMapCanvasAnnotationItem::updatePosition :
QgsMapCanvas::updateCanvasItemPositions :
QMetaObject::activate :
QgsMapCanvas::setExtent :
QgsMapCanvas::setDestinationCrs :
QgisApp::projectCrsChanged :
QMetaObject::activate :
QgsProject::readProjectFile :
QgsProject::read :
PyInit__core :
PyMethodDef_RawFastCallKeywords :
PyMethodDef_RawFastCallKeywords :
PyEval_EvalFrameDefault :
PyMethodDef_RawFastCallKeywords :
PyEval_EvalFrameDefault :
PyMethodDef_RawFastCallKeywords :
PyEval_EvalFrameDefault :
PyFunction_FastCallDict :
PyMethodDef_RawFastCallDict :
PyObject_Call :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
QMetaObject::activate :
QAbstractButton::clicked :
QAbstractButton::click :
QAbstractButton::mouseReleaseEvent :
QWidget::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QApplicationPrivate::sendMouseEvent :
QSizePolicy::QSizePolicy :
QSizePolicy::QSizePolicy :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QGuiApplicationPrivate::processMouseEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
CallWindowProcW :
DispatchMessageW :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QDialog::exec :
PyMethodDef_RawFastCallKeywords :
PyMethodDef_RawFastCallKeywords :
PyEval_EvalFrameDefault :
PyFunction_FastCallDict :
PyMethodDef_RawFastCallDict :
PyObject_Call :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
QMetaObject::activate :
QAction::activate :
QAbstractButton::click :
QAbstractButton::mouseReleaseEvent :
QToolButton::mouseReleaseEvent :
QWidget::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QApplicationPrivate::sendMouseEvent :
QSizePolicy::QSizePolicy :
QSizePolicy::QSizePolicy :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QGuiApplicationPrivate::processMouseEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
CallWindowProcW :
DispatchMessageW :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 3.4.4-Madeira
QGIS code revision: f6ddc62fdb
Compiled against Qt: 5.11.2
Running against Qt: 5.11.2
Compiled against GDAL: 2.4.0
Running against GDAL: 2.4.0

System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.17134

History

#1 Updated by Giovanni Manghi over 5 years ago

  • Status changed from Open to Feedback

Is QGIS crashing or QField?If is QGIS does it crash when using the QField Sync plugin?

#2 Updated by Antonio Consoli over 5 years ago

QGIS crashes during import or export with QField Sync plugin. QField works without any proble infact I reached to collect my data in forest

#3 Updated by Giovanni Manghi over 5 years ago

  • Resolution set to invalid
  • Status changed from Feedback to Closed

Antonio Consoli wrote:

QGIS crashes during import or export with QField Sync plugin. QField works without any proble infact I reached to collect my data in forest

then you should report the problem in the plugin bug tracker, not here.

#4 Updated by Antonio Consoli over 5 years ago

Thanks. I'll do it

Also available in: Atom PDF