[Qgis-user] Strange QGIS crash

Lewis Hein lhein at vcn.com
Sat Nov 14 08:21:47 PST 2015


Hi everyone

I am having a really weird problem with QGIS 2.12 (Lyon) on Ubuntu
14.04. I can open maps fine, but as soon as I try to open the layer
properties dialog QGIS crashes.

I dug a little deeper into this problem, and according to lldb version
3.6, the crash is occurring in libQtGui.so.4. Here is the debugger
output and backtrace:

Process 24610 stopped
* thread #1: tid = 24610, 0x00007ffff5424807
libQtGui.so.4`QTextEngine::itemize() const + 39, name = 'qgis', stop
reason = invalid address (fault address: 0x7fffff7fe618) frame #0:
0x00007ffff5424807 libQtGui.so.4`QTextEngine::itemize() const + 39 ->
0x7ffff5424807 <QTextEngine::itemize+39>: movq   %rdi, 0x28(%rsp)
0x7ffff542480c <QTextEngine::itemize+44>: callq
0x7ffff541fc30            ; QTextEngine::validate() const
0x7ffff5424811 <QTextEngine::itemize+49>: movq   0x98(%rbx), %rax
0x7ffff5424818 <QTextEngine::itemize+56>: movq   (%rax), %rdx

(lldb) bt
* thread #1: tid = 24610, 0x00007ffff5424807
libQtGui.so.4`QTextEngine::itemize() const + 39, name = 'qgis', stop
reason = invalid address (fault address: 0x7fffff7fe618)
  * frame #0: 0x00007ffff5424807 libQtGui.so.4`QTextEngine::itemize()
const + 39 frame #1: 0x00007ffff5425b65
libQtGui.so.4`QTextEngine::attributes() const + 69 frame #2:
0x00007ffff5433de2 libQtGui.so.4`QTextLine::layout_helper(int) + 626
frame #3: 0x00007ffff54cfacd libQtGui.so.4`??? + 317 frame #4:
0x00007ffff54d0599 libQtGui.so.4`??? + 89 frame #5: 0x00007ffff54d0e57
libQtGui.so.4`QCommonStyle::sizeFromContents(QStyle::ContentsType,
QStyleOption const*, QSize const&, QWidget const*) const + 375 frame
#6: 0x00007ffff557d49a libQtGui.so.4`QWindowsStyle::sizeFromContents(QStyle::ContentsType, QStyleOption const*, QSize const&, QWidget const*) const + 426 frame #7: 0x00007ffff556f011 libQtGui.so.4`QCleanlooksStyle::sizeFromContents(QStyle::ContentsType, QStyleOption const*, QSize const&, QWidget const*) const + 33 frame #8: 0x00007ffff554b967 libQtGui.so.4`QGtkStyle::sizeFromContents(QStyle::ContentsType, QStyleOption const*, QSize const&, QWidget const*) const + 39
    frame #9: 0x00007ffff550b877 libQtGui.so.4`??? + 535
    frame #10: 0x00007ffff576cb02
libQtGui.so.4`QStyledItemDelegate::sizeHint(QStyleOptionViewItem
const&, QModelIndex const&) const + 290 frame #11: 0x00007ffff56ebbc5
libQtGui.so.4`??? + 581 frame #12: 0x00007ffff56f7d40
libQtGui.so.4`QListView::updateGeometries() + 224 frame #13:
0x00007ffff52262ce libQtGui.so.4`QWidget::event(QEvent*) + 2174 frame
#14: 0x00007ffff55c804e libQtGui.so.4`QFrame::event(QEvent*) + 30 frame #15: 0x00007ffff56d7633 libQtGui.so.4`QAbstractItemView::viewportEvent(QEvent*) + 467 frame #16: 0x00007ffff5e3d646 libQtCore.so.4`QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 134
    frame #17: 0x00007ffff51d6e0c
libQtGui.so.4`QApplicationPrivate::notify_helper(QObject*, QEvent*) +
108 frame #18: 0x00007ffff51dd4a0 libQtGui.so.4`QApplication::notify
(QObject*, QEvent*) + 624 frame #19: 0x00007ffff6d29d01
libqgis_core.so.2.12.0`QgsApplication::notify(this=0x00007fffffffdc70,
receiver=0x00000000026c0400, event=0x00007fffff802910) + 131 at
qgsapplication.cpp:269 frame #20: 0x00007ffff5e3d4dd
libQtCore.so.4`QCoreApplication::notifyInternal(QObject*, QEvent*) +
109 frame #21: 0x00007ffff526f22e
libQtGui.so.4`QWidgetPrivate::setGeometry_sys(int, int, int, int, bool)
+ 782 frame #22: 0x00007ffff521ea75 libQtGui.so.4`QWidget::setGeometry
(QRect const&) + 277 frame #23: 0x00007ffff5643081
libQtGui.so.4`QAbstractScrollAreaPrivate::layoutChildren() + 785 frame
#24: 0x00007ffff56444fd libQtGui.so.4`QAbstractScrollArea::event(QEvent*) + 781 frame #25: 0x00007ffff56d72fb libQtGui.so.4`QAbstractItemView::event(QEvent*) + 139 frame #26: 0x00007ffff51d6e2c libQtGui.so.4`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 140 frame #27: 0x000000000083a810

Sorry if the line wrapping mangled this a little. I have tried this in
the pre-compiled binary from
http://qgis.org/debian/ trusty/main amd64 Packages
and with a custom-compiled version. It happens with many layers in two
different projects, with and without plugins enabled. 

QGIS is generally so stable and well tested that I assume that this is a
problem in my computer rather than a bug in QGIS. Does anyone have a
clue what the nature of the problem might be?

Many thanks

Lewis Hein



More information about the Qgis-user mailing list