Bug 421596 - Kate Crashed At Start Caused By A File From Unmounted Disk
Summary: Kate Crashed At Start Caused By A File From Unmounted Disk
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 20.04.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-05-16 06:06 UTC by İsmail
Modified: 2020-12-13 04:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description İsmail 2020-05-16 06:06:45 UTC
Application: kate (20.04.0)

Qt Version: 5.14.1
Frameworks Version: 5.70.0
Operating System: Linux 5.6.11-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:

Last time I shut down the system the Kate editor was opened with a file from external storage. Then when I start up the system again Kate has crashed due to that file which was opened from the external storage in the last time. But this external storage is not mounting automatically at start up. So Kate could not access to the file and then had a segmentation fault.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff101acdf00 (LWP 2677))]

Thread 7 (Thread 0x7ff0f5a7f700 (LWP 2888)):
#0  0x00007ff102e8f795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff0f77c181b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007ff0f77c1697 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007ff102e88efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff103eb13bf in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7ff0f6280700 (LWP 2887)):
#0  0x00007ff102e8f795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff0f77c181b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007ff0f77c1697 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007ff102e88efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff103eb13bf in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7ff0f6a81700 (LWP 2886)):
#0  0x00007ff102e8f795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff0f77c181b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007ff0f77c1697 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007ff102e88efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff103eb13bf in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7ff0f7282700 (LWP 2885)):
#0  0x00007ff102e8f795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff0f77c181b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007ff0f77c1697 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007ff102e88efa in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff103eb13bf in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7ff0fe506700 (LWP 2685)):
#0  0x00007ff1024cecf4 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007ff102482441 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff102482982 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff102482aff in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007ff104451beb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007ff1043f9b7b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007ff1042245ce in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7  0x00007ff1054a0507 in ?? () from /usr/lib64/libQt5DBus.so.5
#8  0x00007ff104225698 in ?? () from /usr/lib64/libQt5Core.so.5
#9  0x00007ff102e88efa in start_thread () from /lib64/libpthread.so.0
#10 0x00007ff103eb13bf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ff0ff9e6700 (LWP 2680)):
#0  0x00007ff103ea6acf in poll () from /lib64/libc.so.6
#1  0x00007ff102ec6772 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007ff102ec743a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007ff0ffbe2ab0 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007ff104225698 in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007ff102e88efa in start_thread () from /lib64/libpthread.so.0
#6  0x00007ff103eb13bf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ff101acdf00 (LWP 2677)):
[KCrash Handler]
#4  QFlags<KEntryMap::SearchFlag>::operator|= (other=<optimized out>, this=<optimized out>) at /usr/src/debug/kconfig-5.70.0-1.1.x86_64/src/core/kconfig.cpp:994
#5  KConfigPrivate::lookupData (this=0x0, group=..., key=0x7ff0fd943000 "location", flags=...) at /usr/src/debug/kconfig-5.70.0-1.1.x86_64/src/core/kconfig.cpp:995
#6  0x00007ff1056ac4fd in KConfigGroup::readEntry (this=this@entry=0x7ffda8f01f30, key=key@entry=0x7ff0fd943000 "location", aDefault=...) at /usr/include/qt5/QtCore/qflags.h:118
#7  0x00007ff0fd93cdef in KConfigGroup::readEntry<QUrl> (this=this@entry=0x7ffda8f01f30, defaultValue=..., key=0x7ff0fd943000 "location") at /usr/include/KF5/KConfigCore/kconfiggroup.h:723
#8  0x00007ff0fd93e864 in KateFileBrowser::readSessionConfig (cg=..., this=0x55b621349f70) at /usr/src/debug/kate-20.04.0-1.1.x86_64/addons/filebrowser/katefilebrowser.cpp:160
#9  KateFileBrowserPluginView::readSessionConfig (this=<optimized out>, config=...) at /usr/src/debug/kate-20.04.0-1.1.x86_64/addons/filebrowser/katefilebrowserplugin.cpp:88
#10 0x000055b61fb15fd5 in KatePluginManager::enablePluginGUI (item=0x55b620f1b370, win=0x55b6210709b0, config=0x55b620f128c0, this=<optimized out>) at /usr/src/debug/kate-20.04.0-1.1.x86_64/kate/katepluginmanager.cpp:243
#11 0x000055b61fb1c575 in KatePluginManager::enablePluginGUI (config=0x55b620f128c0, win=0x55b6210709b0, item=<optimized out>, this=0x7ffda8f023c0) at /usr/src/debug/kate-20.04.0-1.1.x86_64/kate/katepluginmanager.cpp:225
#12 KatePluginManager::enableAllPluginsGUI (this=0x7ffda8f023c0, win=0x55b6210709b0, config=0x55b620f128c0) at /usr/src/debug/kate-20.04.0-1.1.x86_64/kate/katepluginmanager.cpp:177
#13 0x000055b61fb3114e in KateMainWindow::KateMainWindow (this=<optimized out>, sconfig=<optimized out>, sgroup=..., this=<optimized out>, sconfig=<optimized out>, sgroup=...) at /usr/src/debug/kate-20.04.0-1.1.x86_64/kate/kateapp.cpp:312
#14 0x000055b61faf08a3 in KateApp::newMainWindow(KConfig*, QString const&) [clone .constprop.0] (sconfig_=<optimized out>, sgroup_=..., this=<optimized out>) at /usr/src/debug/kate-20.04.0-1.1.x86_64/kate/kateapp.cpp:409
#15 0x000055b61fae6487 in KateApp::restoreKate (this=0x7ffda8f02330) at /usr/src/debug/kate-20.04.0-1.1.x86_64/kate/kateapp.cpp:169
#16 KateApp::init (this=0x7ffda8f02330) at /usr/src/debug/kate-20.04.0-1.1.x86_64/kate/kateapp.cpp:140
#17 main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kate-20.04.0-1.1.x86_64/kate/main.cpp:610
[Inferior 1 (process 2677) detached]

Possible duplicates by query: bug 420134, bug 399212, bug 395913, bug 395869, bug 395779.

Reported using DrKonqi
Comment 1 Justin Zobel 2020-11-13 05:27:20 UTC
I've tried to replicate this issue but I just get a new file when I open kate as it knows the file is inaccessible.

Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I'm setting status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 2 Bug Janitor Service 2020-11-28 04:33:53 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 3 Bug Janitor Service 2020-12-13 04:34:04 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!