Bug 425339 - KolourPaint crach on font change
Summary: KolourPaint crach on font change
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kolourpaint
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: kolourpaint-support
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-08-14 09:08 UTC by Oleksii
Modified: 2020-08-14 17:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleksii 2020-08-14 09:08:04 UTC
Application: kolourpaint (16.08.3)

Qt Version: 5.7.1
Frameworks Version: 5.28.0
Operating System: Linux 4.17.0-0.bpo.3-amd64 x86_64
Distribution: Debian GNU/Linux 9.12 (stretch)

-- Information about the crash:
- What I was doing when the application crashed:
I selected the Text tool make and if I try to change font family and KoloruPaint crashes.
It happens with new or opened images. Regardless did I make text block on the image or not, with entered text and without it.

The crash can be reproduced every time.

-- Backtrace:
Application: KolourPaint (kolourpaint), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8c7a83a940 (LWP 7357))]

Thread 2 (Thread 0x7f8c76a91700 (LWP 7359)):
#0  0x00007f8c88c9d8bd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f8c834169f6 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f8c68003020, timeout=<optimized out>, context=0x7f8c68000990) at ././glib/gmain.c:4228
#2  g_main_context_iterate (context=context@entry=0x7f8c68000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3924
#3  0x00007f8c83416b0c in g_main_context_iteration (context=0x7f8c68000990, may_block=may_block@entry=1) at ././glib/gmain.c:3990
#4  0x00007f8c898b50db in QEventDispatcherGlib::processEvents (this=0x7f8c680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f8c8985ec0a in QEventLoop::exec (this=this@entry=0x7f8c76a90c50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f8c8968d093 in QThread::exec (this=this@entry=0x7f8c8c964d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:507
#7  0x00007f8c8c8f06e5 in QDBusConnectionManager::run (this=0x7f8c8c964d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007f8c89691d48 in QThreadPrivate::start (arg=0x7f8c8c964d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#9  0x00007f8c85b9c4a4 in start_thread (arg=0x7f8c76a91700) at pthread_create.c:456
#10 0x00007f8c88ca6d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 1 (Thread 0x7f8c7a83a940 (LWP 7357)):
[KCrash Handler]
#6  0x00007f8c8af825c1 in QAccessibleTableCell::state (this=0x55fbe987eee0) at accessible/itemviews.cpp:1009
#7  0x00007f8c7a19e1e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#8  0x00007f8c8afc19d0 in QListView::selectionChanged (this=0x55fbe9422430, selected=..., deselected=...) at itemviews/qlistview.cpp:3265
#9  0x00007f8c8af9bdf1 in QAbstractItemView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qabstractitemview.cpp:412
#10 0x00007f8c8988c7a9 in QMetaObject::activate (sender=sender@entry=0x55fbe9420d40, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd996c0460) at kernel/qobject.cpp:3740
#11 0x00007f8c8988d0c7 in QMetaObject::activate (sender=sender@entry=0x55fbe9420d40, m=m@entry=0x7f8c89aa8f40 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd996c0460) at kernel/qobject.cpp:3602
#12 0x00007f8c898101f7 in QItemSelectionModel::selectionChanged (this=this@entry=0x55fbe9420d40, _t1=..., _t2=...) at .moc/moc_qitemselectionmodel.cpp:478
#13 0x00007f8c89814a5b in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x55fbe9420d40, newSelection=..., oldSelection=...) at itemmodels/qitemselectionmodel.cpp:1811
#14 0x00007f8c8981856a in QItemSelectionModel::select (this=0x55fbe9420d40, selection=..., command=...) at itemmodels/qitemselectionmodel.cpp:1298
#15 0x00007f8c89811f8c in QItemSelectionModel::select (this=this@entry=0x55fbe9420d40, index=..., command=command@entry=...) at itemmodels/qitemselectionmodel.cpp:1159
#16 0x00007f8c89810644 in QItemSelectionModel::setCurrentIndex (this=this@entry=0x55fbe9420d40, index=..., command=command@entry=...) at itemmodels/qitemselectionmodel.cpp:1373
#17 0x00007f8c8ae518f1 in QComboBox::showPopup (this=0x55fbe9426910) at widgets/qcombobox.cpp:2575
#18 0x00007f8c8ae52655 in QComboBoxPrivate::showPopupFromMouseEvent (this=0x55fbe9429410, e=0x7ffd996c0da0) at widgets/qcombobox.cpp:3075
#19 0x00007f8c8ad93a8f in QWidget::event (this=this@entry=0x55fbe9426910, event=event@entry=0x7ffd996c0da0) at kernel/qwidget.cpp:8781
#20 0x00007f8c8ae4e766 in QComboBox::event (this=0x55fbe9426910, event=0x7ffd996c0da0) at widgets/qcombobox.cpp:3038
#21 0x00007f8c8ad4bb8c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55fbe9426910, e=0x7ffd996c0da0) at kernel/qapplication.cpp:3799
#22 0x00007f8c8ad5420d in QApplication::notify (this=<optimized out>, receiver=0x55fbe9426910, e=0x7ffd996c0da0) at kernel/qapplication.cpp:3273
#23 0x00007f8c89860c20 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x55fbe9426910, event=event@entry=0x7ffd996c0da0) at kernel/qcoreapplication.cpp:988
#24 0x00007f8c8ad528bd in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x55fbe9426910, event=event@entry=0x7ffd996c0da0, alienWidget=alienWidget@entry=0x55fbe9426910, nativeWidget=0x55fbe92025c0, buttonDown=buttonDown@entry=0x7f8c8b253cb0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2771
#26 0x00007f8c8adad626 in QWidgetWindow::handleMouseEvent (this=this@entry=0x55fbe9609440, event=event@entry=0x7ffd996c11b0) at kernel/qwidgetwindow.cpp:617
#27 0x00007f8c8adb0003 in QWidgetWindow::event (this=0x55fbe9609440, event=0x7ffd996c11b0) at kernel/qwidgetwindow.cpp:239
#28 0x00007f8c8ad4bb8c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55fbe9609440, e=0x7ffd996c11b0) at kernel/qapplication.cpp:3799
#29 0x00007f8c8ad53351 in QApplication::notify (this=0x7ffd996c1670, receiver=0x55fbe9609440, e=0x7ffd996c11b0) at kernel/qapplication.cpp:3556
#30 0x00007f8c89860c20 in QCoreApplication::notifyInternal2 (receiver=0x55fbe9609440, event=0x7ffd996c11b0) at kernel/qcoreapplication.cpp:988
#31 0x00007f8c89baab03 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#32 0x00007f8c89bac675 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#33 0x00007f8c89b8a60b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#34 0x00007f8c7a181360 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#35 0x00007f8c834167f7 in g_main_dispatch (context=0x7f8c700016f0) at ././glib/gmain.c:3203
#36 g_main_context_dispatch (context=context@entry=0x7f8c700016f0) at ././glib/gmain.c:3856
#37 0x00007f8c83416a60 in g_main_context_iterate (context=context@entry=0x7f8c700016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3929
#38 0x00007f8c83416b0c in g_main_context_iteration (context=0x7f8c700016f0, may_block=may_block@entry=1) at ././glib/gmain.c:3990
#39 0x00007f8c898b50bf in QEventDispatcherGlib::processEvents (this=0x55fbe91fea30, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#40 0x00007f8c8985ec0a in QEventLoop::exec (this=this@entry=0x7ffd996c1550, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#41 0x00007f8c8986735c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#42 0x000055fbe8c0bd57 in main (argc=<optimized out>, argv=<optimized out>) at ./kolourpaint.cpp:120

Reported using DrKonqi
Comment 1 Christoph Feck 2020-08-14 17:25:07 UTC
Crash is in Qt, and was fixed several years ago. Please make sure you are using recent versions when reporting issues.