[Qgis-developer] Crash when closing layer properties

Tim Sutton tim at kartoza.com
Thu Mar 23 15:15:17 PDT 2017


Hi All

I am getting a crash on master on MacOS every time I press OK in the layer properties dialog for any vector layer. Seems like the destructor of QgsCodeEditor - can anyone replicate this or suggest a possible fix? Traceback below:

Regards

Tim




1  __pthread_kill                                                                                                                                                0x7fff9dc7bdd6 
2  pthread_kill                                                                                                                                                  0x7fff9dd67787 
3  abort                                                                                                                                                         0x7fff9dbe1420 
4  free                                                                                                                                                          0x7fff9dcd103f 
5  ___lldb_unnamed_symbol334$$QtWidgets                                                                                                                          0x104c19980    
6  QWidgetPrivate::deleteExtra()                                                                                                                                 0x104bfbd47    
7  QWidgetPrivate::~QWidgetPrivate()                                                                                                                             0x104bfbaa7    
8  QAbstractScrollAreaPrivate::~QAbstractScrollAreaPrivate()                                                                                                     0x104d9724d    
9  QObject::~QObject()                                                                                                                                           0x106bfc99b    
10 QWidget::~QWidget()                                                                                                                                           0x104c00160    
11 QgsCodeEditor::~QgsCodeEditor()                                                                                            qgscodeeditor.h              33    0x1014a099f    
12 QgsCodeEditorCSS::~QgsCodeEditorCSS()                                                                                      qgscodeeditorcss.h           28    0x1014a0949    
13 QgsCodeEditorCSS::~QgsCodeEditorCSS()                                                                                      qgscodeeditorcss.h           28    0x1014a0949    
14 QgsCodeEditorCSS::~QgsCodeEditorCSS()                                                                                      qgscodeeditorcss.h           28    0x1014a0949    
15 QObjectPrivate::deleteChildren()                                                                                                                              0x106bfcb5b    
16 QWidget::~QWidget()                                                                                                                                           0x104c000ed    
17 QGroupBox::~QGroupBox()                                                                                                                                       0x104d0a01e    
18 QObjectPrivate::deleteChildren()                                                                                                                              0x106bfcb5b    
19 QWidget::~QWidget()                                                                                                                                           0x104c000ed    
20 QWidget::~QWidget()                                                                                                                                           0x104c009ce    
21 QObjectPrivate::deleteChildren()                                                                                                                              0x106bfcb5b    
22 QWidget::~QWidget()                                                                                                                                           0x104c000ed    
23 QWidget::~QWidget()                                                                                                                                           0x104c009ce    
24 QObjectPrivate::deleteChildren()                                                                                                                              0x106bfcb5b    
25 QWidget::~QWidget()                                                                                                                                           0x104c000ed    
26 QStackedWidget::~QStackedWidget()                                                                                                                             0x104d6fdae    
27 QObjectPrivate::deleteChildren()                                                                                                                              0x106bfcb5b    
28 QWidget::~QWidget()                                                                                                                                           0x104c000ed    
29 QFrame::~QFrame()                                                                                                                                             0x104d08d8e    
30 QObjectPrivate::deleteChildren()                                                                                                                              0x106bfcb5b    
31 QWidget::~QWidget()                                                                                                                                           0x104c000ed    
32 QSplitter::~QSplitter()                                                                                                                                       0x104d6e07e    
33 QObjectPrivate::deleteChildren()                                                                                                                              0x106bfcb5b    
34 QWidget::~QWidget()                                                                                                                                           0x104c000ed    
35 QgsOptionsDialogBase::~QgsOptionsDialogBase()                                                                              qgsoptionsdialogbase.cpp     71    0x1013bde3a    
36 QgsVectorLayerProperties::~QgsVectorLayerProperties()                                                                      qgsvectorlayerproperties.cpp 335   0x100700dce    
37 QgsVectorLayerProperties::~QgsVectorLayerProperties()                                                                      qgsvectorlayerproperties.cpp 335   0x100700dc9    
38 QgisApp::showLayerProperties(QgsMapLayer *)                                                                                qgisapp.cpp                  11979 0x100444819    
39 QgisApp::layerProperties()                                                                                                 qgisapp.cpp                  6774  0x1003cbae9    
40 QgisApp::layerTreeViewDoubleClicked(QModelIndex const&)                                                                    qgisapp.cpp                  483   0x1003cbacb    
41 QMetaObject::activate(QObject *, int, int, void * *)                                                                                                          0x106c052fa    
42 QAbstractItemView::doubleClicked(QModelIndex const&)                                                                                                          0x104e41c18    
43 QTreeView::mouseDoubleClickEvent(QMouseEvent *)                                                                                                               0x104e85f13    
44 QWidget::event(QEvent *)                                                                                                                                      0x104c1069b    
45 QFrame::event(QEvent *)                                                                                                                                       0x104d0947d    
46 QAbstractScrollArea::viewportEvent(QEvent *)                                                                                                                  0x104d99f07    
47 QAbstractItemView::viewportEvent(QEvent *)                                                                                                                    0x104e40199    
48 QTreeView::viewportEvent(QEvent *)                                                                                                                            0x104e82325    
49 ___lldb_unnamed_symbol2823$$QtWidgets                                                                                                                         0x104d9aaa4    
50 QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject *, QEvent *)                                                                                   0x106bd3ccb    
51 QApplicationPrivate::notify_helper(QObject *, QEvent *)                                                                                                       0x104bcfd28    
52 QApplication::notify(QObject *, QEvent *)                                                                                                                     0x104bd2e23    
53 QgsApplication::notify(QObject *, QEvent *)                                                                                qgsapplication.cpp           308   0x1021c3b7d    
54 QCoreApplication::notifyInternal2(QObject *, QEvent *)                                                                                                        0x106bd3a34    
55 QApplicationPrivate::sendMouseEvent(QWidget *, QMouseEvent *, QWidget *, QWidget *, QWidget * *, QPointer<QWidget>&, bool)                                    0x104bd06aa    
56 ___lldb_unnamed_symbol547$$QtWidgets                                                                                                                          0x104c31926    
57 ___lldb_unnamed_symbol542$$QtWidgets                                                                                                                          0x104c307b9    
58 QApplicationPrivate::notify_helper(QObject *, QEvent *)                                                                                                       0x104bcfd3d    
59 QApplication::notify(QObject *, QEvent *)                                                                                                                     0x104bd10e1    
60 QgsApplication::notify(QObject *, QEvent *)                                                                                qgsapplication.cpp           308   0x1021c3b7d    
61 QCoreApplication::notifyInternal2(QObject *, QEvent *)                                                                                                        0x106bd3a34    
62 QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent *)                                                                        0x1051ab8f1    
63 QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)                                                                         0x105191c5b    
64 ___lldb_unnamed_symbol524$$libqcocoa.dylib                                                                                                                    0x108426401    
65 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__                                                                                                    0x7fff8857a8d1 
66 __CFRunLoopDoSources0                                                                                                                                         0x7fff8855bc6c 
67 __CFRunLoopRun                                                                                                                                                0x7fff8855b156 
68 CFRunLoopRunSpecific                                                                                                                                          0x7fff8855ab54 
69 RunCurrentEventLoopInMode                                                                                                                                     0x7fff87ae5a5c 
70 ReceiveNextEventCommon                                                                                                                                        0x7fff87ae5799 
71 _BlockUntilNextEventMatchingListInModeWithFilter                                                                                                              0x7fff87ae56c6 
72 _DPSNextEvent                                                                                                                                                 0x7fff8608b5b4 
73 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]                                                                               0x7fff86805d6b 
74 -[NSApplication run]                                                                                                                                          0x7fff8607ff35 
75 ___lldb_unnamed_symbol505$$libqcocoa.dylib                                                                                                                    0x108425143    
76 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)                                                                                                       0x106bcf811    
77 QCoreApplication::exec()                                                                                                                                      0x106bd40a7    
78 main                                                                                                                       main.cpp                     1314  0x100011cb3    
79 start                                                                                                                                                         0x7fff9db4d255 










Tim Sutton

Co-founder: Kartoza
Project chair: QGIS.org

Visit http://kartoza.com <http://kartoza.com/> to find out about open source:

Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services

Skype: timlinux 
IRC: timlinux on #qgis at freenode.net

Kartoza is a merger between Linfiniti and Afrispatial

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170324/a7d5a186/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KartozaNewLogoThumbnail.jpg
Type: image/jpeg
Size: 6122 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170324/a7d5a186/attachment-0001.jpg>


More information about the Qgis-developer mailing list