Bug 455056 - Kate crash when going to Settings Menu -> 'Configure Kate' option
Summary: Kate crash when going to Settings Menu -> 'Configure Kate' option
Status: RESOLVED DUPLICATE of bug 453234
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 22.04.1
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-06-08 23:23 UTC by César
Modified: 2022-07-12 20:39 UTC (History)
3 users (show)

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


Attachments
New crash information added by DrKonqi (4.71 KB, text/plain)
2022-06-29 11:57 UTC, Bruno
Details
New crash information added by DrKonqi (4.58 KB, text/plain)
2022-07-12 20:39 UTC, Dimitris Stavrakoudis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description César 2022-06-08 23:23:31 UTC
Application: kate (22.04.1)

Qt Version: 5.15.4
Frameworks Version: 5.94.0
Operating System: Linux 5.13.0-44-generic x86_64
Windowing System: X11
Distribution: KDE neon User - 5.24
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I just opened the Settings menu and selected the 'Configure Kate' option.

The crash can be reproduced every time.

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

[New LWP 313232]
[New LWP 313233]
[New LWP 313234]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f20e1c4f99f in __GI___poll (fds=0x7fff7cd880b8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7f20ddc749c0 (LWP 313231))]

Thread 4 (Thread 0x7f20ca6bc700 (LWP 313234)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55b590d512a8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55b590d51258, cond=0x55b590d51280) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55b590d51280, mutex=0x55b590d51258) at pthread_cond_wait.c:647
#3  0x00007f20d42af5eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f20d42af1eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f20e0b59609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f20e1c5c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f20d7a8a700 (LWP 313233)):
#0  0x00007f20e1c4f99f in __GI___poll (fds=0x7f20d0012e10, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f20e014836e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f20e01484a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f20e2220c8b in QEventDispatcherGlib::processEvents (this=0x7f20d0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f20e21c4eab in QEventLoop::exec (this=this@entry=0x7f20d7a89bb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f20e1fde462 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f20e3284f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f20e1fdf643 in QThreadPrivate::start (arg=0x7f20e3308d80) at thread/qthread_unix.cpp:331
#8  0x00007f20e0b59609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f20e1c5c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f20dd101700 (LWP 313232)):
#0  0x00007f20e1c4f99f in __GI___poll (fds=0x7f20dd100ae8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f20e0b96c1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f20e0b9890a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f20dd84b228 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f20e1fdf643 in QThreadPrivate::start (arg=0x55b590844df0) at thread/qthread_unix.cpp:331
#5  0x00007f20e0b59609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f20e1c5c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f20ddc749c0 (LWP 313231)):
[KCrash Handler]
#4  0x00007f20e36e2cd8 in QFlags<KEntryMap::SearchFlag>::operator|= (other=<optimized out>, this=<optimized out>) at ./src/core/kconfig.cpp:1045
#5  KConfigPrivate::lookupData (this=this@entry=0x26b, group=..., key=key@entry=0x7f20dc834b26 "View Style", flags=flags@entry=..., expand=expand@entry=0x7fff7cd88e47) at ./src/core/kconfig.cpp:1046
#6  0x00007f20e36f58d4 in KConfigGroup::readEntry (this=this@entry=0x55b5910b3a40, key=key@entry=0x7f20dc834b26 "View Style", aDefault=...) at /usr/include/c++/9/bits/atomic_base.h:326
#7  0x00007f20e36f5b10 in KConfigGroup::readEntry (this=0x55b5910b3a40, key=0x7f20dc834b26 "View Style", aDefault=0x7f20dc834b1b "DetailTree") at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:706
#8  0x00007f20dc7be301 in KDirOperator::readConfig(KConfigGroup const&) () from /lib/x86_64-linux-gnu/libKF5KIOFileWidgets.so.5
#9  0x00007f20d6eefc24 in KateFileBrowser::readSessionConfig (this=0x55b5920b0320, cg=...) at ./addons/filebrowser/katefilebrowser.cpp:160
#10 0x00007f20d6eed08f in KateFileBrowserPluginView::createFileBrowser (this=0x55b59108e9c0, visible=true) at /usr/include/c++/9/bits/unique_ptr.h:360
#11 0x00007f20d6eed8d4 in KateFileBrowserPluginView::createFileBrowser (visible=true, this=<optimized out>) at ./addons/filebrowser/katefilebrowserplugin.cpp:94
#12 KateFileBrowserPlugin::configPage (this=0x55b590a62b50, number=<optimized out>, parent=0x55b59094f110) at ./addons/filebrowser/katefilebrowserplugin.cpp:56
#13 0x000055b5904e21d2 in KateConfigDialog::addPluginPage (this=this@entry=0x55b59094f110, plugin=0x55b590a62b50) at ./kate/kateconfigdialog.cpp:306
#14 0x000055b5904e23e1 in KateConfigDialog::addPluginPages (this=this@entry=0x55b59094f110) at ./kate/kateconfigdialog.cpp:286
#15 0x000055b5904e57c9 in KateConfigDialog::KateConfigDialog (this=0x55b59094f110, parent=<optimized out>) at ./kate/kateconfigdialog.cpp:63
#16 0x000055b590479ed5 in KateMainWindow::showPluginConfigPage (id=0, configpageinterface=0x0, this=0x55b590a100c0) at ./kate/katemainwindow.cpp:905
#17 KateMainWindow::showPluginConfigPage (this=0x55b590a100c0, configpageinterface=0x0, id=0) at ./kate/katemainwindow.cpp:899
#18 0x000055b5904c8c4a in KateMainWindow::qt_static_metacall (_o=0x55b590a100c0, _c=<optimized out>, _id=<optimized out>, _a=0x7fff7cd89340) at ./obj-x86_64-linux-gnu/kate/kate-lib_autogen/EWIEGA46WW/moc_katemainwindow.cpp:408
#19 0x00007f20e21fd460 in doActivate<false> (sender=0x55b590b95910, signal_index=4, argv=0x7fff7cd89340) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#20 0x00007f20e21f67f7 in QMetaObject::activate (sender=sender@entry=0x55b590b95910, m=m@entry=0x7f20e32231c0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff7cd89340) at kernel/qobject.cpp:3946
#21 0x00007f20e2d078e6 in QAction::triggered (this=this@entry=0x55b590b95910, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#22 0x00007f20e2d09fb8 in QAction::activate (this=0x55b590b95910, event=<optimized out>) at kernel/qaction.cpp:1161
#23 0x00007f20e21f3f89 in QObject::event (this=0x55b590b95910, e=0x55b590933b90) at kernel/qobject.cpp:1314
#24 0x00007f20e2d0a897 in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1090
#25 0x00007f20e2d0ddc3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55b590b95910, e=0x55b590933b90) at kernel/qapplication.cpp:3637
#26 0x00007f20e2d16bd8 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3161
#27 0x00007f20e21c63aa in QCoreApplication::notifyInternal2 (receiver=0x55b590b95910, event=0x55b590933b90) at ../../include/QtCore/5.15.4/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:332
#28 0x00007f20e21c8cb1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55b590824ef0) at kernel/qcoreapplication.cpp:1821
#29 0x00007f20e2221617 in postEventSourceDispatch (s=0x55b59090c380) at kernel/qeventdispatcher_glib.cpp:277
#30 0x00007f20e014817d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f20e0148400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f20e01484a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f20e2220c72 in QEventDispatcherGlib::processEvents (this=0x55b590912330, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#34 0x00007f20e21c4eab in QEventLoop::exec (this=this@entry=0x7fff7cd89950, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#35 0x00007f20e21cd054 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#36 0x000055b59046e72b in main (argc=<optimized out>, argv=<optimized out>) at ./kate/main.cpp:714
[Inferior 1 (process 313231) detached]

Possible duplicates by query: bug 454594, bug 454589, bug 453795, bug 453454, bug 453234.

Reported using DrKonqi
Comment 1 Waqar Ahmed 2022-06-09 06:01:21 UTC

*** This bug has been marked as a duplicate of bug 453234 ***
Comment 2 Bruno 2022-06-29 11:57:04 UTC
Created attachment 150255 [details]
New crash information added by DrKonqi

kate (22.04.1) using Qt 5.15.3

- What I was doing when the application crashed:
I just tried to open the settings from Kate's menu.

-- Backtrace (Reduced):
#4  0x00007f330852fcda in qstrcmp(QByteArray const&, QByteArray const&) () from /lib64/libQt5Core.so.5
#5  0x00007f3309b36e03 in QMapData<KEntryKey, KEntry>::findNode(KEntryKey const&) const () from /lib64/libKF5ConfigCore.so.5
#7  0x00007f3309b367e2 in KConfigPrivate::lookupData(QByteArray const&, char const*, QFlags<KEntryMap::SearchFlag>, bool*) const () from /lib64/libKF5ConfigCore.so.5
#8  0x00007f3309b42f95 in KConfigGroup::readEntry(char const*, QString const&) const () from /lib64/libKF5ConfigCore.so.5
#9  0x00007f3309b431af in KConfigGroup::readEntry(char const*, char const*) const () from /lib64/libKF5ConfigCore.so.5
Comment 3 Dimitris Stavrakoudis 2022-07-12 20:39:26 UTC
Created attachment 150570 [details]
New crash information added by DrKonqi

kate (22.04.1) using Qt 5.15.3

Kate crash when clicking Settings Menu > Configure Kate.

-- Backtrace (Reduced):
#4  QFlags<KEntryMap::SearchFlag>::operator|= (other=<optimized out>, this=<optimized out>) at /usr/src/debug/kf5-kconfig-5.96.0-1.fc36.x86_64/src/core/kconfig.cpp:1045
#5  KConfigPrivate::lookupData (this=0x200070009, group=..., key=0x7f2f851d20bb "View Style", flags=..., expand=0x7ffd60c222d7) at /usr/src/debug/kf5-kconfig-5.96.0-1.fc36.x86_64/src/core/kconfig.cpp:1046
#6  0x00007f2f9912df95 in KConfigGroup::readEntry (this=this@entry=0x55c719aa2650, key=key@entry=0x7f2f851d20bb "View Style", aDefault=...) at /usr/src/debug/kf5-kconfig-5.96.0-1.fc36.x86_64/src/core/kconfiggroup.cpp:674
#7  0x00007f2f9912e1af in KConfigGroup::readEntry (this=0x55c719aa2650, key=0x7f2f851d20bb "View Style", aDefault=0x7f2f851d20b0 "DetailTree") at /usr/src/debug/kf5-kconfig-5.96.0-1.fc36.x86_64/src/core/kconfiggroup.cpp:659
#8  0x00007f2f85169f02 in KDirOperator::readConfig(KConfigGroup const&) () from /lib64/libKF5KIOFileWidgets.so.5