Bug 424983 - Crashed after the file was changed and reloaded many times.
Summary: Crashed after the file was changed and reloaded many times.
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-08-04 02:04 UTC by Tony
Modified: 2020-10-26 21:19 UTC (History)
0 users

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 Tony 2020-08-04 02:04:05 UTC
Application: kate (20.11.70)

Qt Version: 5.15.0
Frameworks Version: 5.73.0
Operating System: Linux 5.7.12-xanmod1-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"

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

I was testing things related to bug 421498 which i am getting as well. 
So i opened plasma-org.kde.plasma.desktop-appletsrc and started chenaging the desktop layout and wallpaper type, to see what gets changed and not.
At some point kate notifes me that the file has been removed/deleted. I proceed to close kate and move to ~/.config to see the file still there, as soon as i click it i got the crash.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7fd9ce073800 (LWP 10735))]
[KCrash Handler]
#6  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x557055df1eb0) at /usr/include/c++/10/bits/atomic_base.h:420
#7  QAtomicOps<int>::loadRelaxed<int> (_q_value=...) at /usr/include/qt5/QtCore/qatomic_cxx11.h:239
#8  QBasicAtomicInteger<int>::loadRelaxed (this=0x557055df1eb0) at /usr/include/qt5/QtCore/qbasicatomic.h:107
#9  QtPrivate::RefCount::ref (this=0x557055df1eb0) at /usr/include/qt5/QtCore/qrefcount.h:55
#10 QList<KTextEditor::View*>::QList (l=..., this=0x7ffdcd11c070) at /usr/include/qt5/QtCore/qlist.h:856
#11 KTextEditor::DocumentPrivate::views (this=0x557256682820) at /usr/src/debug/ktexteditor-5.72.0git.20200802T115149~8e9617f1-ku.7.1.x86_64/src/document/katedocument.h:150
#12 Kate::TextBuffer::notifyAboutRangeChange (this=0x557256719c30, view=0x55725576a250, startLine=-1, endLine=-1, rangeWithAttribute=true) at /usr/src/debug/ktexteditor-5.72.0git.20200802T115149~8e9617f1-ku.7.1.x86_64/src/buffer/katetextbuffer.cpp:1006
#13 0x00007fd9ce6a9825 in KateViewInternal::updateBracketMarkAttributes (this=0x557256760df0) at /usr/include/c++/10/bits/atomic_base.h:325
#14 0x00007fd9ce693028 in KTextEditor::ViewPrivate::updateRendererConfig (this=0x55725576a250) at /usr/src/debug/ktexteditor-5.72.0git.20200802T115149~8e9617f1-ku.7.1.x86_64/src/view/kateview.cpp:2049
#15 KTextEditor::ViewPrivate::updateRendererConfig (this=0x55725576a250) at /usr/src/debug/ktexteditor-5.72.0git.20200802T115149~8e9617f1-ku.7.1.x86_64/src/view/kateview.cpp:2041
#16 0x00007fd9ce62b61a in KTextEditor::DocumentPrivate::readVariables (this=<optimized out>, onlyViewAndRenderer=<optimized out>) at /usr/src/debug/ktexteditor-5.72.0git.20200802T115149~8e9617f1-ku.7.1.x86_64/src/render/katerenderer.h:446
#17 0x00007fd9ce61ceba in KTextEditor::DocumentPrivate::openFile (this=0x557256682820) at /usr/src/debug/ktexteditor-5.72.0git.20200802T115149~8e9617f1-ku.7.1.x86_64/src/document/katedocument.cpp:2380
#18 0x00007fd9ce4ba8a5 in KParts::ReadOnlyPartPrivate::openLocalFile (this=this@entry=0x557255ee66e0) at /usr/src/debug/kparts-5.72.0git.20200801T170950~4915983-ku.5.1.x86_64/src/readonlypart.cpp:190
#19 0x00007fd9ce4bf327 in KParts::ReadOnlyPart::openUrl (this=0x557256682820, url=...) at /usr/src/debug/kparts-5.72.0git.20200801T170950~4915983-ku.5.1.x86_64/src/readonlypart.cpp:152
#20 0x00007fd9ce61d942 in KTextEditor::DocumentPrivate::openUrl (this=0x557256682820, url=...) at /usr/src/debug/ktexteditor-5.72.0git.20200802T115149~8e9617f1-ku.7.1.x86_64/src/document/katedocument.cpp:2793
#21 0x00005572555b2a1e in KateDocManager::openUrl (this=0x7ffdcd11d008, url=..., encoding=..., isTempFile=<optimized out>, docInfo=...) at /usr/src/debug/kate-20.11.70git.20200802T094246~e514635b2-ku.3.1.x86_64/kate/katedocmanager.cpp:199
#23 0x00005572555b0c50 in KateApp::openDocUrl (this=<optimized out>, url=..., encoding=..., isTempFile=<optimized out>) at /usr/include/qt5/QtCore/qarraydata.h:257
#24 0x00005572555dc7d2 in KateAppAdaptor::tokenOpenUrlAt (isTempFile=false, encoding=..., column=-1, line=-1, url=..., this=0x7ffdcd11d048) at /usr/src/debug/kate-20.11.70git.20200802T094246~e514635b2-ku.3.1.x86_64/kate/kateappadaptor.cpp:106
#25 KateAppAdaptor::qt_static_metacall (_o=0x7ffdcd11d048, _c=<optimized out>, _id=<optimized out>, _a=0x7ffdcd11c730) at /usr/src/debug/kate-20.11.70git.20200802T094246~e514635b2-ku.3.1.x86_64/build/kate/kate-lib_autogen/EWIEGA46WW/moc_kateappadaptor.cpp:147
#26 0x00005572555dcd63 in KateAppAdaptor::qt_metacall (this=0x7ffdcd11d048, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7ffdcd11c730) at /usr/src/debug/kate-20.11.70git.20200802T094246~e514635b2-ku.3.1.x86_64/build/kate/kate-lib_autogen/EWIEGA46WW/moc_kateappadaptor.cpp:222
#27 0x00007fd9cdc0b5d9 in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:201
#28 0x00007fd9cdc0eae4 in QDBusConnectionPrivate::activateCall (this=this@entry=0x7fd9b8003a00, object=<optimized out>, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:904
#29 0x00007fd9cdc0f393 in QDBusConnectionPrivate::activateCall (msg=..., flags=337, object=<optimized out>, this=0x7fd9b8003a00) at qdbusintegrator.cpp:853
#30 QDBusConnectionPrivate::activateObject (this=0x7fd9b8003a00, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1486
#31 0x00007fd9cdc11798 in QDBusActivateObjectEvent::placeMetaCall (this=0x5572568b9710) at qdbusintegrator.cpp:1606
#32 0x00007fd9ccb2bb41 in QObject::event (this=0x7ffdcd11cf60, e=0x5572568b9710) at kernel/qobject.cpp:1314
#33 0x00007fd9cd6a50cf in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x7ffdcd11cf60, e=0x5572568b9710) at kernel/qapplication.cpp:3671
#34 0x00007fd9ccaffc1a in QCoreApplication::notifyInternal2 (receiver=0x7ffdcd11cf60, event=0x5572568b9710) at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#35 0x00007fd9ccb02641 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x557255655890) at kernel/qcoreapplication.cpp:1815
#36 0x00007fd9ccb579d3 in postEventSourceDispatch (s=s@entry=0x557255730d70) at kernel/qeventdispatcher_glib.cpp:277
#37 0x00007fd9caad42b7 in g_main_dispatch (context=0x7fd9c0005000) at ../glib/gmain.c:3309
#38 g_main_context_dispatch (context=0x7fd9c0005000) at ../glib/gmain.c:3974
#39 0x00007fd9caad4638 in g_main_context_iterate (context=context@entry=0x7fd9c0005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4047
#40 0x00007fd9caad46ef in g_main_context_iteration (context=0x7fd9c0005000, may_block=may_block@entry=1) at ../glib/gmain.c:4108
#41 0x00007fd9ccb5705f in QEventDispatcherGlib::processEvents (this=0x55725573b810, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#42 0x00007fd9ccafe5db in QEventLoop::exec (this=this@entry=0x7ffdcd11cd00, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#43 0x00007fd9ccb06840 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#44 0x00005572555ac959 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kate-20.11.70git.20200802T094246~e514635b2-ku.3.1.x86_64/kate/main.cpp:633
[Inferior 1 (process 10735) detached]

The reporter indicates this bug may be a duplicate of or related to bug 422546.

Possible duplicates by query: bug 422546, bug 422092, bug 420495, bug 417542, bug 414147.

Reported using DrKonqi