Bug report #18528

Crash when selecting Font after adding a label in a layout

Added by PJ Lightning over 6 years ago. Updated over 6 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Labelling
Affected QGIS version:3.0.0 Regression?:No
Operating System:Win 7 Pro 64bit Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:26416

Description

I created a new layout, added an image and an arrow, then added a label, went to item properties, typed in the text I wanted, then clicked on the font button, and QGIS crashed.
Win 7 pro 64 bit. QGIS 3.0.0 Girona

User Feedback

I had added a label to print composer and clicked on the font button. Then QGIS crashed

Report Details

Crash ID: dc851c90394e23a5b05dc00e2d7a1bdb6176fa75

Stack Trace

QFontDatabase::applicationFontFamilies :
QFontDatabase::font :
QFontDialog::~QFontDialog :
QFontDialog::testOption :
QMetaObject::activate :
QFontDialog::changeEvent :
QMetaObject::activate :
QItemSelectionModel::setCurrentIndex :
QAbstractItemView::setCurrentIndex :
QFontDialog::testOption :
QFontDialog::getFont :
QFontDialog::getFont :
QFontDialog::getFont :
QgsGuiUtils::getFont :
QgsFontButton::showSettingsDialog :
QMetaObject::activate :
QAbstractButton::clicked :
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 :
TranslateMessageEx :
TranslateMessage :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 3.0.0-Girona
QGIS code revision: 001c80b0c3
Compiled against Qt: 5.9.2
Running against Qt: 5.9.2
Compiled against GDAL: 2.2.3
Running against GDAL: 2.2.3

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

History

#1 Updated by PJ Lightning over 6 years ago

This happened the second time I tried, at exactly the same moment.

Crash ID: dc851c90394e23a5b05dc00e2d7a1bdb6176fa75

Stack Trace

QFontDatabase::applicationFontFamilies :
QFontDatabase::font :
QFontDialog::~QFontDialog :
QFontDialog::testOption :
QMetaObject::activate :
QFontDialog::changeEvent :
QMetaObject::activate :
QItemSelectionModel::setCurrentIndex :
QAbstractItemView::setCurrentIndex :
QFontDialog::testOption :
QFontDialog::getFont :
QFontDialog::getFont :
QFontDialog::getFont :
QgsGuiUtils::getFont :
QgsFontButton::showSettingsDialog :
QMetaObject::activate :
QAbstractButton::clicked :
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 :
TranslateMessageEx :
TranslateMessage :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 3.0.0-Girona
QGIS code revision: 001c80b0c3
Compiled against Qt: 5.9.2
Running against Qt: 5.9.2
Compiled against GDAL: 2.2.3
Running against GDAL: 2.2.3

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

Also available in: Atom PDF