Application: konsole (19.11.70) (Compiled from sources) Qt Version: 5.14.0 Frameworks Version: 5.63.0 Operating System: Linux 5.2.11-arch1-1-ARCH x86_64 Distribution: Arch Linux -- Information about the crash: I was playing around to choose the best font after it was somehow reset. Backtrace shows konsole clearly requesting something that's out of Qt's bounds. -- Backtrace: Application: Konsole (konsole), signal: Aborted Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7f1417e2d880 (LWP 1379))] Thread 3 (Thread 0x7f140d96f700 (LWP 1381)): #0 0x00007f14153e1667 in poll () from /usr/lib/libc.so.6 #1 0x00007f141205aa80 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f141205ab51 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f1415c2657c in QEventDispatcherGlib::processEvents (this=0x7f1400000b20, flags=...) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:425 #4 0x00007f1415b8c34b in QEventLoop::processEvents (this=0x7f140d96ecb0, flags=...) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:138 #5 0x00007f1415b8c685 in QEventLoop::exec (this=0x7f140d96ecb0, flags=...) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:225 #6 0x00007f1415922fca in QThread::exec (this=0x7f1417380dc0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /home/david/projects/qt5/qtbase/src/corelib/thread/qthread.cpp:536 #7 0x00007f14172c5379 in QDBusConnectionManager::run (this=0x7f1417380dc0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /home/david/projects/qt5/qtbase/src/dbus/qdbusconnection.cpp:179 #8 0x00007f1415925e87 in QThreadPrivate::start (arg=0x7f1417380dc0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /home/david/projects/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:342 #9 0x00007f141504157f in start_thread () from /usr/lib/libpthread.so.0 #10 0x00007f14153ec0e3 in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x7f140f9d7700 (LWP 1380)): #0 0x00007f14153e1667 in poll () from /usr/lib/libc.so.6 #1 0x00007f14144c4630 in ?? () from /usr/lib/libxcb.so.1 #2 0x00007f14144c62db in xcb_wait_for_event () from /usr/lib/libxcb.so.1 #3 0x00007f14104101bc in QXcbEventQueue::run (this=0x564bf7702e30) at /home/david/projects/qt5/qtbase/src/plugins/platforms/xcb/qxcbeventqueue.cpp:228 #4 0x00007f1415925e87 in QThreadPrivate::start (arg=0x564bf7702e30) at /home/david/projects/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:342 #5 0x00007f141504157f in start_thread () from /usr/lib/libpthread.so.0 #6 0x00007f14153ec0e3 in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x7f1417e2d880 (LWP 1379)): [KCrash Handler] #6 0x00007f141532a755 in raise () from /usr/lib/libc.so.6 #7 0x00007f1415315851 in abort () from /usr/lib/libc.so.6 #8 0x00007f141591ac5c in qt_message_fatal (context=..., message=...) at /home/david/projects/qt5/qtbase/src/corelib/global/qlogging.cpp:1894 #9 0x00007f141591729a in QMessageLogger::fatal (this=0x7ffd96c84920, msg=0x7f1415ccbd50 "ASSERT failure in %s: \"%s\", file %s, line %d") at /home/david/projects/qt5/qtbase/src/corelib/global/qlogging.cpp:893 #10 0x00007f141590dc13 in qt_assert_x (where=0x7f14166d6fe0 "QFont::setWeight", what=0x7f14166d6fc0 "Weight must be between 0 and 99", file=0x7f14166d6e38 "/home/david/projects/qt5/qtbase/src/gui/text/qfont.cpp", line=1097) at /home/david/projects/qt5/qtbase/src/corelib/global/qglobal.cpp:3310 #11 0x00007f14162aa7df in QFont::setWeight (this=0x7ffd96c84a88, weight=113) at /home/david/projects/qt5/qtbase/src/gui/text/qfont.cpp:1097 #12 0x00007f14188b71fb in Konsole::TerminalDisplay::drawCharacters (this=0x564bf792a510, painter=..., rect=..., text=..., style=0x564bf81e3160, invertCharacterColor=false) at /home/david/projects/kde5/src/kde/applications/konsole/src/TerminalDisplay.cpp:801 #13 0x00007f14188b7708 in Konsole::TerminalDisplay::drawTextFragment (this=0x564bf792a510, painter=..., rect=..., text=..., style=0x564bf81e3160) at /home/david/projects/kde5/src/kde/applications/konsole/src/TerminalDisplay.cpp:864 #14 0x00007f14188ba587 in Konsole::TerminalDisplay::drawContents (this=0x564bf792a510, paint=..., rect=...) at /home/david/projects/kde5/src/kde/applications/konsole/src/TerminalDisplay.cpp:1688 #15 0x00007f14188b8e2b in Konsole::TerminalDisplay::paintEvent (this=0x564bf792a510, pe=0x7ffd96c855c0) at /home/david/projects/kde5/src/kde/applications/konsole/src/TerminalDisplay.cpp:1294 #16 0x00007f1416ad1a69 in QWidget::event (this=0x564bf792a510, event=0x7ffd96c855c0) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qwidget.cpp:8782 #17 0x00007f14188c4e8d in Konsole::TerminalDisplay::event (this=0x564bf792a510, event=0x7ffd96c855c0) at /home/david/projects/kde5/src/kde/applications/konsole/src/TerminalDisplay.cpp:3619 #18 0x00007f1416a84315 in QApplicationPrivate::notify_helper (this=0x564bf76e3c40, receiver=0x564bf792a510, e=0x7ffd96c855c0) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3690 #19 0x00007f1416a8410d in QApplication::notify (this=0x564bf76e3a40, receiver=0x564bf792a510, e=0x7ffd96c855c0) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3640 #20 0x00007f1415b8fc5f in QCoreApplication::notifyInternal2 (receiver=0x564bf792a510, event=0x7ffd96c855c0) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1092 #21 0x00007f1415b906a6 in QCoreApplication::sendSpontaneousEvent (receiver=0x564bf792a510, event=0x7ffd96c855c0) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1499 #22 0x00007f1416ac7d0d in QWidgetPrivate::sendPaintEvent (this=0x564bf79363b0, toBePainted=...) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qwidget.cpp:5470 #23 0x00007f1416ac7872 in QWidgetPrivate::drawWidget (this=0x564bf79363b0, pdev=0x564bf7a4bed0, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x564bf79143a0) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qwidget.cpp:5420 #24 0x00007f1416a93dce in QWidgetRepaintManager::paintAndFlush (this=0x564bf79143a0) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qwidgetrepaintmanager.cpp:1011 #25 0x00007f1416a9286b in QWidgetRepaintManager::sync (this=0x564bf79143a0) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qwidgetrepaintmanager.cpp:776 #26 0x00007f1416abcaca in QWidgetPrivate::syncBackingStore (this=0x564bf7769760) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qwidget.cpp:1765 #27 0x00007f1416ad2210 in QWidget::event (this=0x564bf77a1290, event=0x564bf7ed7050) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qwidget.cpp:8946 #28 0x00007f1416c55cba in QMainWindow::event (this=0x564bf77a1290, event=0x564bf7ed7050) at /home/david/projects/qt5/qtbase/src/widgets/widgets/qmainwindow.cpp:1341 #29 0x00007f141841aed6 in KMainWindow::event (this=0x564bf77a1290, ev=0x564bf7ed7050) at /home/david/projects/kde5/src/frameworks/kxmlgui/src/kmainwindow.cpp:875 #30 0x00007f141846fcbf in KXmlGuiWindow::event (this=0x564bf77a1290, ev=0x564bf7ed7050) at /home/david/projects/kde5/src/frameworks/kxmlgui/src/kxmlguiwindow.cpp:122 #31 0x00007f1416a84315 in QApplicationPrivate::notify_helper (this=0x564bf76e3c40, receiver=0x564bf77a1290, e=0x564bf7ed7050) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3690 #32 0x00007f1416a8410d in QApplication::notify (this=0x564bf76e3a40, receiver=0x564bf77a1290, e=0x564bf7ed7050) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3640 #33 0x00007f1415b8fc5f in QCoreApplication::notifyInternal2 (receiver=0x564bf77a1290, event=0x564bf7ed7050) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1092 #34 0x00007f1415b9066c in QCoreApplication::sendEvent (receiver=0x564bf77a1290, event=0x564bf7ed7050) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1487 #35 0x00007f1415b9128e in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x564bf76e3110) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1832 #36 0x00007f1415b90bda in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1691 #37 0x00007f1415c25df2 in postEventSourceDispatch (s=0x564bf774cde0) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:277 #38 0x00007f1412058cf4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #39 0x00007f141205ab11 in ?? () from /usr/lib/libglib-2.0.so.0 #40 0x00007f141205ab51 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #41 0x00007f1415c2654d in QEventDispatcherGlib::processEvents (this=0x564bf773c1a0, flags=...) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:423 #42 0x00007f1410412ae6 in QXcbGlibEventDispatcher::processEvents (this=0x564bf773c1a0, flags=...) at /home/david/projects/qt5/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:143 #43 0x00007f1415b8c34b in QEventLoop::processEvents (this=0x7ffd96c86630, flags=...) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:138 #44 0x00007f1415b8c685 in QEventLoop::exec (this=0x7ffd96c86630, flags=...) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:225 #45 0x00007f1416d37747 in QDialog::exec (this=0x7f140800f100) at /home/david/projects/qt5/qtbase/src/widgets/dialogs/qdialog.cpp:601 #46 0x00007f14187f15de in Konsole::EditProfileDialog::showFontDialog (this=0x564bf7e64730) at /home/david/projects/kde5/src/kde/applications/konsole/src/EditProfileDialog.cpp:1079 #47 0x00007f141880e41b in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (Konsole::EditProfileDialog::*)()>::call(void (Konsole::EditProfileDialog::*)(), Konsole::EditProfileDialog*, void**) (f=(void (Konsole::EditProfileDialog::*)(Konsole::EditProfileDialog * const)) 0x7f14187f1400 <Konsole::EditProfileDialog::showFontDialog()>, o=0x564bf7e64730, arg=0x7ffd96c86a10) at /opt/qt5/include/QtCore/qobjectdefs_impl.h:152 #48 0x00007f141880e383 in QtPrivate::FunctionPointer<void (Konsole::EditProfileDialog::*)()>::call<QtPrivate::List<>, void>(void (Konsole::EditProfileDialog::*)(), Konsole::EditProfileDialog*, void**) (f=(void (Konsole::EditProfileDialog::*)(Konsole::EditProfileDialog * const)) 0x7f14187f1400 <Konsole::EditProfileDialog::showFontDialog()>, o=0x564bf7e64730, arg=0x7ffd96c86a10) at /opt/qt5/include/QtCore/qobjectdefs_impl.h:185 #49 0x00007f141880e2a6 in QtPrivate::QSlotObject<void (Konsole::EditProfileDialog::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x564bf7b3a920, r=0x564bf7e64730, a=0x7ffd96c86a10, ret=0x0) at /opt/qt5/include/QtCore/qobjectdefs_impl.h:414 #50 0x00007f1415ba1bb1 in QtPrivate::QSlotObjectBase::call (this=0x564bf7b3a920, r=0x564bf7e64730, a=0x7ffd96c86a10) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:394 #51 0x00007f1415be343c in doActivate<false> (sender=0x564bf8019580, signal_index=9, argv=0x7ffd96c86a10) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:3870 #52 0x00007f1415bdce1d in QMetaObject::activate (sender=0x564bf8019580, m=0x7f14171f2980 <QAbstractButton::staticMetaObject>, local_signal_index=2, argv=0x7ffd96c86a10) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:3929 #53 0x00007f1416bd3271 in QAbstractButton::clicked (this=0x564bf8019580, _t1=false) at .moc/moc_qabstractbutton.cpp:313 #54 0x00007f1416bd0963 in QAbstractButtonPrivate::emitClicked (this=0x564bf8017ec0) at /home/david/projects/qt5/qtbase/src/widgets/widgets/qabstractbutton.cpp:415 #55 0x00007f1416bd08d0 in QAbstractButtonPrivate::click (this=0x564bf8017ec0) at /home/david/projects/qt5/qtbase/src/widgets/widgets/qabstractbutton.cpp:408 #56 0x00007f1416bd1fa1 in QAbstractButton::mouseReleaseEvent (this=0x564bf8019580, e=0x7ffd96c872f0) at /home/david/projects/qt5/qtbase/src/widgets/widgets/qabstractbutton.cpp:1012 #57 0x00007f1416ad11b4 in QWidget::event (this=0x564bf8019580, event=0x7ffd96c872f0) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qwidget.cpp:8627 #58 0x00007f1416bd1db2 in QAbstractButton::event (this=0x564bf8019580, e=0x7ffd96c872f0) at /home/david/projects/qt5/qtbase/src/widgets/widgets/qabstractbutton.cpp:969 #59 0x00007f1416ca9b48 in QPushButton::event (this=0x564bf8019580, e=0x7ffd96c872f0) at /home/david/projects/qt5/qtbase/src/widgets/widgets/qpushbutton.cpp:684 #60 0x00007f1416a84315 in QApplicationPrivate::notify_helper (this=0x564bf76e3c40, receiver=0x564bf8019580, e=0x7ffd96c872f0) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3690 #61 0x00007f1416a81d6f in QApplication::notify (this=0x564bf76e3a40, receiver=0x564bf8019580, e=0x7ffd96c872f0) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3140 #62 0x00007f1415b8fc5f in QCoreApplication::notifyInternal2 (receiver=0x564bf8019580, event=0x7ffd96c872f0) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1092 #63 0x00007f1415b906a6 in QCoreApplication::sendSpontaneousEvent (receiver=0x564bf8019580, event=0x7ffd96c872f0) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1499 #64 0x00007f1416a80663 in QApplicationPrivate::sendMouseEvent (receiver=0x564bf8019580, event=0x7ffd96c872f0, alienWidget=0x564bf8019580, nativeWidget=0x564bf7e64730, buttonDown=0x7f141721c9b0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:2626 #65 0x00007f1416b03210 in QWidgetWindow::handleMouseEvent (this=0x564bf7b92d70, event=0x7ffd96c87930) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qwidgetwindow.cpp:665 #66 0x00007f1416b01a9c in QWidgetWindow::event (this=0x564bf7b92d70, event=0x7ffd96c87930) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qwidgetwindow.cpp:287 #67 0x00007f1416a84315 in QApplicationPrivate::notify_helper (this=0x564bf76e3c40, receiver=0x564bf7b92d70, e=0x7ffd96c87930) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3690 #68 0x00007f1416a81669 in QApplication::notify (this=0x564bf76e3a40, receiver=0x564bf7b92d70, e=0x7ffd96c87930) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3036 #69 0x00007f1415b8fc5f in QCoreApplication::notifyInternal2 (receiver=0x564bf7b92d70, event=0x7ffd96c87930) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1092 #70 0x00007f1415b906a6 in QCoreApplication::sendSpontaneousEvent (receiver=0x564bf7b92d70, event=0x7ffd96c87930) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1499 #71 0x00007f14161cf177 in QGuiApplicationPrivate::processMouseEvent (e=0x564bf7f7a6c0) at /home/david/projects/qt5/qtbase/src/gui/kernel/qguiapplication.cpp:2172 #72 0x00007f14161ce3d6 in QGuiApplicationPrivate::processWindowSystemEvent (e=0x564bf7f7a6c0) at /home/david/projects/qt5/qtbase/src/gui/kernel/qguiapplication.cpp:1907 #73 0x00007f14161ad2f4 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at /home/david/projects/qt5/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1152 #74 0x00007f14104128ae in xcbSourceDispatch (source=0x564bf773b270) at /home/david/projects/qt5/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105 #75 0x00007f1412058cf4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #76 0x00007f141205ab11 in ?? () from /usr/lib/libglib-2.0.so.0 #77 0x00007f141205ab51 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #78 0x00007f1415c2654d in QEventDispatcherGlib::processEvents (this=0x564bf773c1a0, flags=...) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:423 #79 0x00007f1410412ae6 in QXcbGlibEventDispatcher::processEvents (this=0x564bf773c1a0, flags=...) at /home/david/projects/qt5/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:143 #80 0x00007f1415b8c34b in QEventLoop::processEvents (this=0x7ffd96c87d70, flags=...) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:138 #81 0x00007f1415b8c685 in QEventLoop::exec (this=0x7ffd96c87d70, flags=...) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:225 #82 0x00007f1415b904be in QCoreApplication::exec () at /home/david/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1400 #83 0x00007f14161ce188 in QGuiApplication::exec () at /home/david/projects/qt5/qtbase/src/gui/kernel/qguiapplication.cpp:1845 #84 0x00007f1416a80e9f in QApplication::exec () at /home/david/projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:2836 #85 0x00007f14189cc321 in kdemain (argc=1, argv=0x7ffd96c882b8) at /home/david/projects/kde5/src/kde/applications/konsole/src/main.cpp:228 #86 0x0000564bf601c192 in main (argc=1, argv=0x7ffd96c882b8) at src/konsole_dummy.cpp:3 [Inferior 1 (process 1379) detached] Possible duplicates by query: bug 411017, bug 409419, bug 405452, bug 404533, bug 403058. Reported using DrKonqi
It looks like you compiled Qt yourself - I would guess a Qt bug? #10 0x00007f141590dc13 in qt_assert_x (where=0x7f14166d6fe0 "QFont::setWeight", what=0x7f14166d6fc0 "Weight must be between 0 and 99", file=0x7f14166d6e38 "/home/david/projects/qt5/qtbase/src/gui/text/qfont.cpp", line=1097) at /home/david/projects/qt5/qtbase/src/corelib/global/qglobal.cpp:3310
I'm leaning towards it being a data bug in one of the fonts. It has something invalid, Qt asserts that it's invalid.
Feel free to close as upstream, I just uploaded as drkonqi appeared whilst I was doing other work.
This is a bug in Konsole. Here: https://cgit.kde.org/konsole.git/tree/src/TerminalDisplay.cpp#n800 The bold weight value (calculated a few lines above) should be limited to max allowed value.
Fix: https://invent.kde.org/kde/konsole/merge_requests/34
Thanks fixed in 5e91383e3fc942ae6c86aeb01d281e59be5ae125