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

            Bug ID: 411225
           Summary: crash kwritre when saving file
           Product: kate
           Version: 19.08.0
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: kwrite
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: chesst.ercl+...@gmail.com
  Target Milestone: ---

Application: kwrite (19.08.0)

Qt Version: 5.12.3
Frameworks Version: 5.61.0
Operating System: Linux 5.0.0-25-generic x86_64
Distribution: KDE neon User Edition 5.16

-- Information about the crash:
- What I was doing when the application crashed:
I was previously creating folders to place the file from the save window
- Custom settings of the application:
custom font

-- Backtrace:
Application: KWrite (kwrite), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb2dae661c0 (LWP 3704))]

Thread 3 (Thread 0x7fb2ba196700 (LWP 3707)):
#0  0x00007fb2d009b664 in g_mutex_unlock () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fb2d0054b18 in g_main_context_prepare () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb2d00554fb in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb2d00556dc in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb2d7768dcb in QEventDispatcherGlib::processEvents
(this=0x7fb2b4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fb2d770a03a in QEventLoop::exec (this=this@entry=0x7fb2ba195d30,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#6  0x00007fb2d75314ca in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:531
#7  0x00007fb2d348c015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007fb2d7532c72 in QThreadPrivate::start (arg=0x7fb2d3703d80) at
thread/qthread_unix.cpp:361
#9  0x00007fb2d1b846db in start_thread (arg=0x7fb2ba196700) at
pthread_create.c:463
#10 0x00007fb2d6e3288f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fb2c270c700 (LWP 3706)):
#0  0x00007fb2d6e25bf9 in __GI___poll (fds=0x7fb2c270bc68, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb2ce183747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fb2ce18536a in xcb_wait_for_event () from
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fb2c54f3578 in QXcbEventQueue::run (this=0x558dcb5c5170) at
qxcbeventqueue.cpp:228
#4  0x00007fb2d7532c72 in QThreadPrivate::start (arg=0x558dcb5c5170) at
thread/qthread_unix.cpp:361
#5  0x00007fb2d1b846db in start_thread (arg=0x7fb2c270c700) at
pthread_create.c:463
#6  0x00007fb2d6e3288f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fb2dae661c0 (LWP 3704)):
[KCrash Handler]
#6  0x00007fb2d579fd16 in std::__atomic_base<int>::operator-- (this=0x20) at
/usr/include/c++/7/bits/atomic_base.h:304
#7  QAtomicOps<int>::deref<int> (_q_value=...) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:271
#8  QBasicAtomicInteger<int>::deref (this=0x20) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:115
#9  QSharedDataPointer<KFileItemPrivate>::~QSharedDataPointer
(this=0x558dcbf56fe0, __in_chrg=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:89
#10 KFileItem::~KFileItem (this=0x558dcbf56fe0, __in_chrg=<optimized out>) at
./src/core/kfileitem.h:47
#11 0x00007fb2d585e035 in QList<KFileItem>::node_destruct (this=0x558dcc1352a0,
n=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:455
#12 QList<KFileItem>::erase (this=0x558dcc1352a0, it=...) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:539
#13 0x00007fb2d585e5fa in KCoreDirListerCache::reinsert
(this=this@entry=0x7fb2d5ac03c0 <(anonymous
namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, item=...,
oldUrl=...) at ./src/core/kcoredirlister_p.h:309
#14 0x00007fb2d58536dd in KCoreDirListerCache::processPendingUpdates
(this=this@entry=0x7fb2d5ac03c0 <(anonymous
namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>) at
./src/core/kcoredirlister.cpp:2014
#15 0x00007fb2d5853cb4 in KCoreDirListerCache::slotResult (this=0x7fb2d5ac03c0
<(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>,
j=<optimized out>) at ./src/core/kcoredirlister.cpp:1341
#16 0x00007fb2d773b98f in QtPrivate::QSlotObjectBase::call (a=0x7ffe19fe5f90,
r=0x7fb2d5ac03c0 <(anonymous
namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>,
this=0x558dcbff4370) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#17 QMetaObject::activate (sender=sender@entry=0x558dcbdec040,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3,
argv=argv@entry=0x7ffe19fe5f90) at kernel/qobject.cpp:3776
#18 0x00007fb2d773bf47 in QMetaObject::activate
(sender=sender@entry=0x558dcbdec040, m=m@entry=0x7fb2d8ea5500
<KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3,
argv=argv@entry=0x7ffe19fe5f90) at kernel/qobject.cpp:3648
#19 0x00007fb2d8c4761c in KJob::result (this=this@entry=0x558dcbdec040,
_t1=<optimized out>, _t1@entry=0x558dcbdec040, _t2=...) at
./obj-x86_64-linux-gnu/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:573
#20 0x00007fb2d8c48151 in KJob::finishJob (this=0x558dcbdec040,
emitResult=<optimized out>) at ./src/lib/jobs/kjob.cpp:107
#21 0x00007fb2d8c4a00a in KJob::emitResult (this=<optimized out>) at
./src/lib/jobs/kjob.cpp:291
#22 0x00007fb2d5809090 in KIO::SimpleJob::slotFinished
(this=this@entry=0x558dcbdec040) at ./src/core/simplejob.cpp:232
#23 0x00007fb2d57fe3ab in KIO::ListJob::slotFinished (this=0x558dcbdec040) at
./src/core/listjob.cpp:247
#24 0x00007fb2d773b98f in QtPrivate::QSlotObjectBase::call (a=0x7ffe19fe61d0,
r=0x558dcbdec040, this=0x558dcbdef570) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#25 QMetaObject::activate (sender=sender@entry=0x558dcbec4870,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=4,
argv=argv@entry=0x0) at kernel/qobject.cpp:3776
#26 0x00007fb2d773bf47 in QMetaObject::activate
(sender=sender@entry=0x558dcbec4870, m=m@entry=0x7fb2d5aba620
<KIO::SlaveInterface::staticMetaObject>,
local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at
kernel/qobject.cpp:3648
#27 0x00007fb2d57dca23 in KIO::SlaveInterface::finished
(this=this@entry=0x558dcbec4870) at
./obj-x86_64-linux-gnu/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:441
#28 0x00007fb2d57e0a74 in KIO::SlaveInterface::dispatch (this=0x558dcbec4870,
_cmd=<optimized out>, rawdata=...) at ./src/core/slaveinterface.cpp:160
#29 0x00007fb2d57dd178 in KIO::SlaveInterface::dispatch (this=0x558dcbec4870)
at ./src/core/slaveinterface.cpp:89
#30 0x00007fb2d57e34a1 in KIO::Slave::gotInput (this=0x558dcbec4870) at
./src/core/slave.cpp:406
#31 0x00007fb2d773b98f in QtPrivate::QSlotObjectBase::call (a=0x7ffe19fe6470,
r=0x558dcbec4870, this=0x558dcbe6be20) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#32 QMetaObject::activate (sender=0x558dcbee5950, signalOffset=<optimized out>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at
kernel/qobject.cpp:3776
#33 0x00007fb2d773bf47 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7fb2d5ab9380 <KIO::Connection::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at
kernel/qobject.cpp:3648
#34 0x00007fb2d5783f89 in KIO::Connection::readyRead (this=<optimized out>) at
./obj-x86_64-linux-gnu/src/core/KF5KIOCore_autogen/include/moc_connection_p.cpp:147
#35 KIO::ConnectionPrivate::dequeue (this=0x558dcbe6d710) at
./src/core/connection.cpp:46
#36 0x00007fb2d773c3e2 in QObject::event (this=0x558dcbee5950, e=<optimized
out>) at kernel/qobject.cpp:1260
#37 0x00007fb2d850765c in QApplicationPrivate::notify_helper
(this=this@entry=0x558dcb5c22d0, receiver=receiver@entry=0x558dcbee5950,
e=e@entry=0x558dcc151910) at kernel/qapplication.cpp:3736
#38 0x00007fb2d850eb90 in QApplication::notify (this=0x7ffe19fe7720,
receiver=0x558dcbee5950, e=0x558dcc151910) at kernel/qapplication.cpp:3483
#39 0x00007fb2d770bd18 in QCoreApplication::notifyInternal2
(receiver=0x558dcbee5950, event=0x558dcc151910) at
kernel/qcoreapplication.cpp:1060
#40 0x00007fb2d770beee in QCoreApplication::sendEvent (receiver=<optimized
out>, event=event@entry=0x558dcc151910) at kernel/qcoreapplication.cpp:1450
#41 0x00007fb2d770e8d7 in QCoreApplicationPrivate::sendPostedEvents
(receiver=receiver@entry=0x0, event_type=event_type@entry=0,
data=0x558dcb5b9500) at kernel/qcoreapplication.cpp:1799
#42 0x00007fb2d770ee78 in QCoreApplication::sendPostedEvents
(receiver=receiver@entry=0x0, event_type=event_type@entry=0) at
kernel/qcoreapplication.cpp:1653
#43 0x00007fb2d7769793 in postEventSourceDispatch (s=0x558dcb6216a0) at
kernel/qeventdispatcher_glib.cpp:276
#44 0x00007fb2d0055417 in g_main_context_dispatch () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fb2d0055650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007fb2d00556dc in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007fb2d7768daf in QEventDispatcherGlib::processEvents
(this=0x558dcb62c490, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#48 0x00007fb2d770a03a in QEventLoop::exec (this=this@entry=0x7ffe19fe6a80,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#49 0x00007fb2d86f9097 in QDialog::exec (this=0x558dcbaac830) at
dialogs/qdialog.cpp:602
#50 0x00007fb2d86f8f9c in QDialog::exec (this=this@entry=0x7ffe19fe6bc0) at
dialogs/qdialog.cpp:598
#51 0x00007fb2d870b0e5 in QFileDialog::getSaveFileUrl (parent=0x558dcb711470,
caption=..., dir=..., filter=..., selectedFilter=selectedFilter@entry=0x0,
options=..., supportedSchemes=...) at dialogs/qfiledialog.cpp:2455
#52 0x00007fb2da7fd522 in KTextEditor::DocumentPrivate::documentSaveAs
(this=0x558dcb665cd0) at ./src/document/katedocument.cpp:4494
#53 0x00007fb2da7fa7d7 in KTextEditor::DocumentPrivate::documentSave
(this=0x558dcb665cd0) at ./src/document/katedocument.cpp:4486
#54 0x00007fb2da9941db in KTextEditor::DocumentPrivate::qt_static_metacall
(_o=<optimized out>, _c=<optimized out>, _id=<optimized out>,
_a=0x7ffe19fe6e30) at
./obj-x86_64-linux-gnu/src/KF5TextEditor_autogen/DV7UALDUNI/moc_katedocument.cpp:525
#55 0x00007fb2d773b875 in QMetaObject::activate
(sender=sender@entry=0x558dcb868db0, signalOffset=<optimized out>,
local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffe19fe6e30)
at kernel/qobject.cpp:3795
#56 0x00007fb2d773bf47 in QMetaObject::activate
(sender=sender@entry=0x558dcb868db0, m=m@entry=0x7fb2d8bdb4a0
<QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1,
argv=argv@entry=0x7ffe19fe6e30) at kernel/qobject.cpp:3648
#57 0x00007fb2d8500f12 in QAction::triggered (this=this@entry=0x558dcb868db0,
_t1=<optimized out>) at .moc/moc_qaction.cpp:380
#58 0x00007fb2d850352c in QAction::activate (this=0x558dcb868db0,
event=<optimized out>) at kernel/qaction.cpp:1166
#59 0x00007fb2d8503e81 in QAction::event (this=<optimized out>, e=<optimized
out>) at kernel/qaction.cpp:1092
#60 0x00007fb2d850765c in QApplicationPrivate::notify_helper
(this=this@entry=0x558dcb5c22d0, receiver=receiver@entry=0x558dcb868db0,
e=e@entry=0x7ffe19fe7150) at kernel/qapplication.cpp:3736
#61 0x00007fb2d850eb90 in QApplication::notify (this=0x7ffe19fe7720,
receiver=0x558dcb868db0, e=0x7ffe19fe7150) at kernel/qapplication.cpp:3483
#62 0x00007fb2d770bd18 in QCoreApplication::notifyInternal2
(receiver=0x558dcb868db0, event=0x7ffe19fe7150) at
kernel/qcoreapplication.cpp:1060
#63 0x00007fb2d7cfff42 in QShortcutMap::dispatchEvent
(this=this@entry=0x558dcb5c23b0, e=e@entry=0x7ffe19fe7200) at
kernel/qshortcutmap.cpp:700
#64 0x00007fb2d7d0000a in QShortcutMap::tryShortcut
(this=this@entry=0x558dcb5c23b0, e=e@entry=0x7ffe19fe7200) at
kernel/qshortcutmap.cpp:351
#65 0x00007fb2d7cb2d53 in QWindowSystemInterface::handleShortcutEvent
(window=<optimized out>, window@entry=0x558dcbaa33e0, timestamp=2925156,
keyCode=83, modifiers=..., nativeScanCode=39, nativeVirtualKey=115,
nativeModifiers=4, text=..., autorepeat=false, count=1) at
kernel/qwindowsysteminterface.cpp:465
#66 0x00007fb2d7cd15d7 in QGuiApplicationPrivate::processKeyEvent
(e=0x558dcbdace80) at kernel/qguiapplication.cpp:2209
#67 0x00007fb2d7cd6345 in QGuiApplicationPrivate::processWindowSystemEvent
(e=e@entry=0x558dcbdace80) at kernel/qguiapplication.cpp:1843
#68 0x00007fb2d7caeb4b in QWindowSystemInterface::sendWindowSystemEvents
(flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1151
#69 0x00007fb2c54f459a in xcbSourceDispatch (source=<optimized out>) at
qxcbeventdispatcher.cpp:105
#70 0x00007fb2d0055417 in g_main_context_dispatch () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#71 0x00007fb2d0055650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#72 0x00007fb2d00556dc in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#73 0x00007fb2d7768daf in QEventDispatcherGlib::processEvents
(this=0x558dcb62c490, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#74 0x00007fb2d770a03a in QEventLoop::exec (this=this@entry=0x7ffe19fe75b0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#75 0x00007fb2d7713170 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1363
#76 0x0000558dc98a1c74 in main (argc=<optimized out>, argv=<optimized out>) at
./kwrite/main.cpp:313

Possible duplicates by query: bug 402966.

Reported using DrKonqi

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

Reply via email to