https://bugs.kde.org/show_bug.cgi?id=421596

            Bug ID: 421596
           Summary: Kate Crashed At Start Caused By A File From Unmounted
                    Disk
           Product: kate
           Version: 20.04.0
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: ismailsahillio...@gmail.com
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to