https://bugs.kde.org/show_bug.cgi?id=393680
Bug ID: 393680 Summary: Kate crashed upon launching after closing a file not accessible anymore (SFTP) Product: kate Version: 18.04.0 Platform: Debian testing OS: Linux Status: UNCONFIRMED Keywords: drkonqi Severity: normal Priority: NOR Component: general Assignee: kwrite-bugs-n...@kde.org Reporter: davidebeatr...@gmail.com Target Milestone: --- Application: kate (18.04.0) Qt Version: 5.10.1 Frameworks Version: 5.44.0 Operating System: Linux 4.15.0-3-amd64 x86_64 Distribution: Debian GNU/Linux testing (buster) -- Information about the crash: - What I was doing when the application crashed: I edited a file stored in a remote SFTP location. After shutting down the remote SFTP server, I closed the file and then closed Kate. I opened a file by double-clicking on it and the crash happened. -- Backtrace: Application: Kate (kate), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7fcf6f7a4800 (LWP 16809))] Thread 3 (Thread 0x7fcf4f83d700 (LWP 16811)): #0 0x00007fcf63ea4c41 in g_main_context_query (context=context@entry=0x7fcf48000bf0, max_priority=<optimized out>, timeout=timeout@entry=0x7fcf4f83cc34, fds=fds@entry=0x7fcf48004db0, n_fds=n_fds@entry=3) at ../../../../glib/gmain.c:3633 #1 0x00007fcf63ea53b7 in g_main_context_iterate (context=context@entry=0x7fcf48000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3885 #2 0x00007fcf63ea554c in g_main_context_iteration (context=0x7fcf48000bf0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3964 #3 0x00007fcf6aa411bb in QEventDispatcherGlib::processEvents (this=0x7fcf48000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #4 0x00007fcf6a9e4b6a in QEventLoop::exec (this=this@entry=0x7fcf4f83cd70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #5 0x00007fcf6a7fa7ea in QThread::exec (this=this@entry=0x7fcf6b0d7d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:522 #6 0x00007fcf6ae64df5 in QDBusConnectionManager::run (this=0x7fcf6b0d7d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178 #7 0x00007fcf6a7ffb4f in QThreadPrivate::start (arg=0x7fcf6b0d7d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:376 #8 0x00007fcf65e005aa in start_thread (arg=0x7fcf4f83d700) at pthread_create.c:463 #9 0x00007fcf6a10bcbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7fcf5909b700 (LWP 16810)): #0 0x00007fcf6a1015d9 in __GI___poll (fds=0x7fcf5909aca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fcf662260f7 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007fcf66227d1a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007fcf5be4ab19 in QXcbEventReader::run (this=0x55df4899fed0) at qxcbconnection.cpp:1370 #4 0x00007fcf6a7ffb4f in QThreadPrivate::start (arg=0x55df4899fed0) at thread/qthread_unix.cpp:376 #5 0x00007fcf65e005aa in start_thread (arg=0x7fcf5909b700) at pthread_create.c:463 #6 0x00007fcf6a10bcbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7fcf6f7a4800 (LWP 16809)): [KCrash Handler] #6 0x00007fcf6bec758a in QWidget::testAttribute_helper (this=this@entry=0x0, attribute=attribute@entry=Qt::WA_WState_Created) at kernel/qwidget.cpp:11440 #7 0x00007fcf6bed050e in QWidget::testAttribute (attribute=Qt::WA_WState_Created, this=0x0) at ../../include/QtWidgets/../../src/widgets/kernel/qwidget.h:868 #8 QWidget::winId (this=0x0) at kernel/qwidget.cpp:2526 #9 0x000055df468ef39a in KateAppAdaptor::desktopNumber (this=<optimized out>) at ./kate/kateappadaptor.cpp:111 #10 0x000055df468e8615 in KateAppAdaptor::qt_static_metacall (_o=_o@entry=0x7ffd8911cf08, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=10, _a=_a@entry=0x7ffd8911c4d0) at ./obj-x86_64-linux-gnu/kate/kdeinit_kate_autogen/EWIEGA46WW/moc_kateappadaptor.cpp:147 #11 0x000055df468eca75 in KateAppAdaptor::qt_metacall (this=0x7ffd8911cf08, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7ffd8911c4d0) at ./obj-x86_64-linux-gnu/kate/kdeinit_kate_autogen/EWIEGA46WW/moc_kateappadaptor.cpp:210 #12 0x00007fcf6ae701a8 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x7fcf48004e80, object=object@entry=0x7ffd8911cf08, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:998 #13 0x00007fcf6ae75160 in QDBusConnectionPrivate::activateCall (this=this@entry=0x7fcf48004e80, object=0x7ffd8911cf08, flags=flags@entry=273, msg=...) at qdbusintegrator.cpp:901 #14 0x00007fcf6ae75a1c in QDBusConnectionPrivate::activateCall (msg=..., flags=273, object=<optimized out>, this=0x7fcf48004e80) at qdbusintegrator.cpp:850 #15 QDBusConnectionPrivate::activateObject (this=0x7fcf48004e80, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1491 #16 0x00007fcf6ae7813e in QDBusActivateObjectEvent::placeMetaCall (this=0x55df4933ed30) at qdbusintegrator.cpp:1611 #17 0x00007fcf6aa16d02 in QObject::event (this=0x7ffd8911ce80, e=<optimized out>) at kernel/qobject.cpp:1247 #18 0x00007fcf6be9e6cc in QApplicationPrivate::notify_helper (this=this@entry=0x55df48984580, receiver=receiver@entry=0x7ffd8911ce80, e=e@entry=0x55df4933ed30) at kernel/qapplication.cpp:3732 #19 0x00007fcf6bea5e84 in QApplication::notify (this=0x7ffd8911ce40, receiver=0x7ffd8911ce80, e=0x55df4933ed30) at kernel/qapplication.cpp:3491 #20 0x00007fcf6a9e6938 in QCoreApplication::notifyInternal2 (receiver=0x7ffd8911ce80, event=event@entry=0x55df4933ed30) at kernel/qcoreapplication.cpp:1050 #21 0x00007fcf6a9e94cd in QCoreApplication::sendEvent (event=0x55df4933ed30, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234 #22 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55df48983f10) at kernel/qcoreapplication.cpp:1740 #23 0x00007fcf6a9e9a58 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1594 #24 0x00007fcf6aa41b73 in postEventSourceDispatch (s=s@entry=0x55df489ceb00) at kernel/qeventdispatcher_glib.cpp:276 #25 0x00007fcf63ea5287 in g_main_dispatch (context=0x7fcf54004ff0) at ../../../../glib/gmain.c:3177 #26 g_main_context_dispatch (context=context@entry=0x7fcf54004ff0) at ../../../../glib/gmain.c:3830 #27 0x00007fcf63ea54c0 in g_main_context_iterate (context=context@entry=0x7fcf54004ff0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3903 #28 0x00007fcf63ea554c in g_main_context_iteration (context=0x7fcf54004ff0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3964 #29 0x00007fcf6aa4119f in QEventDispatcherGlib::processEvents (this=0x55df489e3a20, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #30 0x00007fcf5becf201 in QPAEventDispatcherGlib::processEvents (this=0x55df489e3a20, flags=...) at qeventdispatcher_glib.cpp:69 #31 0x00007fcf6a9e4b6a in QEventLoop::exec (this=this@entry=0x7ffd8911cc40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #32 0x00007fcf6a9eded4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1338 #33 0x000055df468984a7 in main (argc=<optimized out>, argv=<optimized out>) at ./kate/main.cpp:595 Possible duplicates by query: bug 204465. Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.