Bug 442526

Summary: Kate crashed when pressing the "custom" button where you choose color for highlighted brackets.
Product: [Applications] kate Reporter: Mattias Högfjäll <mattias.hogfjall>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: christoph
Priority: NOR Keywords: drkonqi
Version First Reported In: 20.12.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mattias Högfjäll 2021-09-16 14:06:57 UTC
Application: kate (20.12.3)

Qt Version: 5.15.2
Frameworks Version: 5.80.0
Operating System: Linux 5.11.0-35-generic x86_64
Windowing System: X11
Drkonqi Version: 5.21.4
Distribution: Ubuntu 21.04

-- Information about the crash:
- What I was doing when the application crashed:
I was just about to change the color of the highlighted brackets. I clicked on the "custom" color choice and then i chrashed.
Prior to that fatal move I was tinkering with Kvantum Manager and Systemsettings5. I had just experimented with making every window, dropdown menu, Dialogs, slightly transparent.
Open apps at the time where Synaptic Package Manager, Kate, Systemsettings5, Google Chrome Beta.

- Custom settings of the application:
Nothing special, I was just seting upp all the buttons in the UI the way I want.

I have been playing around alot with themes, colors and graphics settings all day though and this was my sixth (I think) crash for today so there's something not quite right.
Unfortunately everytime I'm trying to complete theese crash reports I get another crash which have been fatal every time. I do have one report saved though but I don't know if its
possible to complete a report once the computer has been rebooted. I'm gonna look into that after this.
The crashreports are mostly jibberish to me but I have noticed that every time I have a crash Qt5 is ALWAYS mentioned.

Hmm, what else could be important...
I'm trying to get KDE, Qt5ct GTK and Kvantum to play nice with eachother so alot of tinkering with all their settings.
I'm using OpenGl 3.1 and have Plasma Renderer setup to use Open GL and not software, and also the threaded option.

I have three monitors, two on a Nvidia card and the third runs on an integrated intel card.

Anything else you need to know just send an email I always answer. Good luck

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f598194779e in __GI___libc_free (mem=<optimized out>) at malloc.c:3308
#5  0x00007f5981f986ce in QObjectPrivate::deleteChildren (this=this@entry=0x56045c5823e0) at kernel/qobject.cpp:2104
#6  0x00007f5982adbca6 in QWidget::~QWidget (this=0x56045c57fcc0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#7  0x00007f59833adaad in KColorCombo::~KColorCombo() () from /lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#8  0x00007f5981f986ce in QObjectPrivate::deleteChildren (this=this@entry=0x56045c57fe50) at kernel/qobject.cpp:2104
#9  0x00007f5982adbca6 in QWidget::~QWidget (this=0x56045c57fde0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#10 0x00007f5983a623f1 in ?? () from /lib/x86_64-linux-gnu/libKF5TextEditor.so.5
#11 0x00007f5981f986ce in QObjectPrivate::deleteChildren (this=this@entry=0x56045c56dc20) at kernel/qobject.cpp:2104
#12 0x00007f5982adbca6 in QWidget::~QWidget (this=0x56045c209400, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#13 0x00007f5982adbffd in QWidget::~QWidget (this=0x56045c209400, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1546
#14 0x00007f5981f986ce in QObjectPrivate::deleteChildren (this=this@entry=0x56045c570230) at kernel/qobject.cpp:2104
#15 0x00007f5982adbca6 in QWidget::~QWidget (this=0x56045c571c40, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#16 0x00007f5982adbffd in QWidget::~QWidget (this=0x56045c571c40, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1546
#17 0x00007f5981f986ce in QObjectPrivate::deleteChildren (this=this@entry=0x56045d8bd220) at kernel/qobject.cpp:2104
#18 0x00007f5982adbca6 in QWidget::~QWidget (this=0x56045c662b50, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#19 0x00007f5983b04c9d in ?? () from /lib/x86_64-linux-gnu/libKF5TextEditor.so.5
#20 0x00007f5981f9aeb3 in QObject::event (this=this@entry=0x56045c662b50, e=e@entry=0x56045e574730) at kernel/qobject.cpp:1301
#21 0x00007f5982ae04b9 in QWidget::event (this=this@entry=0x56045c662b50, event=event@entry=0x56045e574730) at kernel/qwidget.cpp:9080
#22 0x00007f5982b8eb32 in QFrame::event (this=0x56045c662b50, e=0x56045e574730) at widgets/qframe.cpp:550
#23 0x00007f5982a9d783 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x56045c662b50, e=0x56045e574730) at kernel/qapplication.cpp:3632
#24 0x00007f5981f6d7ba in QCoreApplication::notifyInternal2 (receiver=0x56045c662b50, event=0x56045e574730) at kernel/qcoreapplication.cpp:1063
#25 0x00007f5981f707e1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x56045a5162b0) at kernel/qcoreapplication.cpp:1817
#26 0x00007f5981fc7ba7 in postEventSourceDispatch (s=0x56045a7406a0) at kernel/qeventdispatcher_glib.cpp:277
#27 0x00007f597fe328eb in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f597fe85d28 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f597fe31e53 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f5977a05d77 in gtk_dialog_run () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#31 0x00007f5982caf5a1 in QDialog::exec (this=this@entry=0x7ffcf27c5510) at dialogs/qdialog.cpp:597
#32 0x00007f5982cab7e4 in QColorDialog::getColor (initial=..., parent=<optimized out>, title=..., options=...) at dialogs/qcolordialog.cpp:2172
#33 0x00007f59833adc46 in ?? () from /lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#34 0x00007f5981fa5600 in doActivate<false> (sender=0x56045c57fcc0, signal_index=8, argv=argv@entry=0x7ffcf27c56d0) at kernel/qobject.cpp:3898
#35 0x00007f5981f9e728 in QMetaObject::activate (sender=sender@entry=0x56045c57fcc0, m=m@entry=0x7f5982fcc5e0 <QComboBox::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffcf27c56d0) at kernel/qobject.cpp:3946
#36 0x00007f5982ba5c05 in QComboBox::activated (this=this@entry=0x56045c57fcc0, _t1=<optimized out>) at .moc/moc_qcombobox.cpp:510
#37 0x00007f5982ba81a2 in QComboBoxPrivate::emitActivated (this=<optimized out>, index=...) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:62
#38 0x00007f5981fa5600 in doActivate<false> (sender=0x56045e0c5de0, signal_index=7, argv=argv@entry=0x7ffcf27c5810) at kernel/qobject.cpp:3898
#39 0x00007f5981f9e728 in QMetaObject::activate (sender=sender@entry=0x56045e0c5de0, m=m@entry=0x7f5982fcc520 <QComboBoxPrivateContainer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcf27c5810) at kernel/qobject.cpp:3946
#40 0x00007f5982ba5d76 in QComboBoxPrivateContainer::itemSelected (this=this@entry=0x56045e0c5de0, _t1=...) at .moc/moc_qcombobox_p.cpp:348
#41 0x00007f5982ba66ba in QComboBoxPrivateContainer::eventFilter (this=0x56045e0c5de0, o=0x56045c583820, e=0x7ffcf27c5d70) at widgets/qcombobox.cpp:820
#42 0x00007f5981f6d52b in QCoreApplicationPrivate::sendThroughObjectEventFilters (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:1189
#43 QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x56045c583820, event=event@entry=0x7ffcf27c5d70) at kernel/qcoreapplication.cpp:1178
#44 0x00007f5982a9d772 in QApplicationPrivate::notify_helper (this=this@entry=0x56045a517210, receiver=receiver@entry=0x56045c583820, e=e@entry=0x7ffcf27c5d70) at kernel/qapplication.cpp:3626
#45 0x00007f5982aa4e5b in QApplication::notify (this=0x7ffcf27c5aa0, receiver=0x56045c583820, e=0x7ffcf27c5d70) at kernel/qapplication.cpp:3076
#46 0x00007f5981f6d7ba in QCoreApplication::notifyInternal2 (receiver=0x56045c583820, event=0x7ffcf27c5d70) at kernel/qcoreapplication.cpp:1063
#47 0x00007f5982aa3e77 in QApplicationPrivate::sendMouseEvent (receiver=0x56045c583820, event=event@entry=0x7ffcf27c5d70, alienWidget=0x56045c583820, nativeWidget=0x56045e0c5de0, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614
#48 0x00007f5982afae7e in QWidgetWindow::handleMouseEvent (this=0x56045e195c70, event=0x7ffcf27c6030) at kernel/qwidgetwindow.cpp:580
#49 0x00007f5982afd615 in QWidgetWindow::event (this=0x56045e195c70, event=0x7ffcf27c6030) at kernel/qwidgetwindow.cpp:300
#50 0x00007f5982a9d783 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x56045e195c70, e=0x7ffcf27c6030) at kernel/qapplication.cpp:3632
#51 0x00007f5981f6d7ba in QCoreApplication::notifyInternal2 (receiver=0x56045e195c70, event=0x7ffcf27c6030) at kernel/qcoreapplication.cpp:1063
#52 0x00007f5982354b13 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#53 0x00007f5982329e2c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#54 0x00007f597cf0da6e in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#55 0x00007f597fe328eb in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007f597fe85d28 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007f597fe30023 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f5981fc7204 in QEventDispatcherGlib::processEvents (this=0x56045a66ef80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#59 0x00007f5981f6c11b in QEventLoop::exec (this=this@entry=0x7ffcf27c6360, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#60 0x00007f5982caf6d2 in QDialog::exec (this=0x56045a6794d0) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#61 0x00005604597dc325 in ?? ()
#62 0x00007f5981fa5600 in doActivate<false> (sender=0x56045aae3b60, signal_index=4, argv=argv@entry=0x7ffcf27c64f0) at kernel/qobject.cpp:3898
#63 0x00007f5981f9e728 in QMetaObject::activate (sender=sender@entry=0x56045aae3b60, m=m@entry=0x7f5982fc4d40 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffcf27c64f0) at kernel/qobject.cpp:3946
#64 0x00007f5982a96bd6 in QAction::triggered (this=this@entry=0x56045aae3b60, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#65 0x00007f5982a99908 in QAction::activate (this=0x56045aae3b60, event=<optimized out>) at kernel/qaction.cpp:1161
#66 0x00007f5981f9b10c in QObject::event (this=0x56045aae3b60, e=0x56045c1531c0) at kernel/qobject.cpp:1314
#67 0x00007f5982a9d783 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x56045aae3b60, e=0x56045c1531c0) at kernel/qapplication.cpp:3632
#68 0x00007f5981f6d7ba in QCoreApplication::notifyInternal2 (receiver=0x56045aae3b60, event=0x56045c1531c0) at kernel/qcoreapplication.cpp:1063
#69 0x00007f5981f707e1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x56045a5162b0) at kernel/qcoreapplication.cpp:1817
#70 0x00007f5981fc7ba7 in postEventSourceDispatch (s=0x56045a7406a0) at kernel/qeventdispatcher_glib.cpp:277
#71 0x00007f597fe328eb in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#72 0x00007f597fe85d28 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#73 0x00007f597fe30023 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#74 0x00007f5981fc7204 in QEventDispatcherGlib::processEvents (this=0x56045a66ef80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#75 0x00007f5981f6c11b in QEventLoop::exec (this=this@entry=0x7ffcf27c68e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#76 0x00007f5981f74604 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#77 0x00005604597d1c2d in ?? ()
#78 0x00007f59818d8565 in __libc_start_main (main=0x5604597cfa00, argc=3, argv=0x7ffcf27c6d88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcf27c6d78) at ../csu/libc-start.c:332
#79 0x00005604597d31ae in _start ()
[Inferior 1 (process 7759) detached]

Possible duplicates by query: bug 442502, bug 442036, bug 441545, bug 441290, bug 422546.

Reported using DrKonqi
Comment 1 Christoph Cullmann 2021-10-03 20:40:10 UTC
Hi, sorry, I can not really reproduce this.

Would it be possible for you to use some more up-to-date version of frameworks and Kate?
Comment 2 Mattias Högfjäll 2021-10-04 02:19:37 UTC
Well that's embarrassing. I installed it just a couple of weeks ago and even compiled it from source to get the latest version. How on earth I manage to screw that up so incredible hard... well I have neither answers nor excuses.
I do apologize. I will update immediately.
Comment 3 Mattias Högfjäll 2021-10-04 02:21:02 UTC
(In reply to Mattias Högfjäll from comment #2)
> Well that's embarrassing. I installed it just a couple of weeks ago and even
> compiled it from source to get the latest version. How on earth I manage to
> screw that up so incredible hard... well I have neither answers nor excuses.
> I do apologize. I will update immediately.

Is it Qt5 you mean by frameworks btw?
Comment 4 Bug Janitor Service 2021-10-19 04:35:43 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2021-11-03 04:35:27 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!