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

            Bug ID: 474497
           Summary: Crash while saving
    Classification: Applications
           Product: kate
           Version: 23.08.0
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Application: kate (23.08.0)

Qt Version: 5.15.10
Frameworks Version: 5.110.0
Operating System: Linux 6.5.2-1-default x86_64
Windowing System: X11
Distribution: openSUSE Tumbleweed
DrKonqi: 5.27.7 [KCrashBackend]

-- Information about the crash:
Pressed CTRL+S, Kate crashed.

OpenSUSE tumbleweed packages installed - kate-23.08.0-1.1.x86_64.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Kate (kate), signal: Aborted

[KCrash Handler]
#4  0x00007f92ae691e0c in __pthread_kill_implementation () from
/lib64/libc.so.6
#5  0x00007f92ae63f0e6 in raise () from /lib64/libc.so.6
#6  0x00007f92ae6268d7 in abort () from /lib64/libc.so.6
#7  0x00007f92ae6277a3 in __libc_message.cold () from /lib64/libc.so.6
#8  0x00007f92ae69c7e7 in malloc_printerr () from /lib64/libc.so.6
#9  0x00007f92ae69ebb4 in _int_free () from /lib64/libc.so.6
#10 0x00007f92ae6a1513 in free () from /lib64/libc.so.6
#11 0x00007f92aef3f307 in QHashData::free_helper (this=0x55e766b88190,
node_delete=0x7f92af5d9cf0 <QHash<unsigned int,
int>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:573
#12 0x00007f92af691a48 in QHash<unsigned int, int>::freeData (x=<optimized
out>, this=0x55e766d3bd80) at
../../include/QtCore/../../src/corelib/tools/qhash.h:617
#13 QHash<unsigned int, int>::~QHash (this=0x55e766d3bd80, __in_chrg=<optimized
out>) at ../../include/QtCore/../../src/corelib/tools/qhash.h:250
#14 QMultiHash<unsigned int, int>::~QMultiHash (this=0x55e766d3bd80,
__in_chrg=<optimized out>) at
../../include/QtCore/../../src/corelib/tools/qhash.h:1020
#15 QTextFormatCollection::~QTextFormatCollection (this=0x55e766d3bd70,
__in_chrg=<optimized out>) at text/qtextformat.cpp:3828
#16 0x00007f92af6752c7 in QScopedPointerDeleter<QTextFormatCollection>::cleanup
(pointer=0x55e766d3bd70) at
../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:52
#17 QScopedPointer<QTextFormatCollection,
QScopedPointerDeleter<QTextFormatCollection> >::~QScopedPointer
(this=0x55e767019f10, __in_chrg=<optimized out>) at
../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:107
#18 QTextEngine::SpecialData::~SpecialData (this=0x55e767019ef0,
__in_chrg=<optimized out>) at text/qtextengine_p.h:607
#19 QTextEngine::~QTextEngine (this=0x55e766688650, __in_chrg=<optimized out>)
at text/qtextengine.cpp:1992
#20 0x00007f92af684628 in QTextLayout::~QTextLayout (this=<optimized out>,
__in_chrg=<optimized out>) at text/qtextlayout.cpp:389
#21 0x00007f92ae36e342 in std::default_delete<QTextLayout>::operator()
(this=<optimized out>, __ptr=0x55e76654be80) at
/usr/include/c++/13/bits/unique_ptr.h:93
#22 std::default_delete<QTextLayout>::operator() (__ptr=0x55e76654be80,
this=<optimized out>) at /usr/include/c++/13/bits/unique_ptr.h:93
#23 std::unique_ptr<QTextLayout, std::default_delete<QTextLayout>
>::~unique_ptr (this=<optimized out>, this=<optimized out>) at
/usr/include/c++/13/bits/unique_ptr.h:404
#24 KateLineLayout::~KateLineLayout (this=<optimized out>, this=<optimized
out>) at /usr/src/debug/ktexteditor-5.110.0/src/render/katelinelayout.h:26
#25 QExplicitlySharedDataPointer<KateLineLayout>::~QExplicitlySharedDataPointer
(this=<optimized out>, this=<optimized out>) at
/usr/include/qt5/QtCore/qshareddata.h:184
#26 QExplicitlySharedDataPointer<KateLineLayout>::~QExplicitlySharedDataPointer
(this=<optimized out>, this=<optimized out>) at
/usr/include/qt5/QtCore/qshareddata.h:184
#27 QPair<int, QExplicitlySharedDataPointer<KateLineLayout> >::~QPair
(this=<optimized out>, this=<optimized out>) at
/usr/include/qt5/QtCore/qpair.h:49
#28 std::_Destroy<QPair<int, QExplicitlySharedDataPointer<KateLineLayout> > >
(__pointer=0x55e766b23ac0) at /usr/include/c++/13/bits/stl_construct.h:151
#29 std::_Destroy_aux<false>::__destroy<QPair<int,
QExplicitlySharedDataPointer<KateLineLayout> >*> (__last=<optimized out>,
__first=0x55e766b23ac0) at /usr/include/c++/13/bits/stl_construct.h:163
#30 std::_Destroy<QPair<int, QExplicitlySharedDataPointer<KateLineLayout> >*>
(__last=<optimized out>, __first=<optimized out>) at
/usr/include/c++/13/bits/stl_construct.h:196
#31 std::_Destroy<QPair<int, QExplicitlySharedDataPointer<KateLineLayout> >*,
QPair<int, QExplicitlySharedDataPointer<KateLineLayout> > > (__last=<optimized
out>, __first=<optimized out>) at /usr/include/c++/13/bits/alloc_traits.h:947
#32 std::vector<QPair<int, QExplicitlySharedDataPointer<KateLineLayout> >,
std::allocator<QPair<int, QExplicitlySharedDataPointer<KateLineLayout> > >
>::_M_erase_at_end (__pos=0x55e766b23a70, this=0x55e76688fff8) at
/usr/include/c++/13/bits/stl_vector.h:1934
#33 std::vector<QPair<int, QExplicitlySharedDataPointer<KateLineLayout> >,
std::allocator<QPair<int, QExplicitlySharedDataPointer<KateLineLayout> > >
>::clear (this=0x55e76688fff8) at /usr/include/c++/13/bits/stl_vector.h:1603
#34 KateLineLayoutMap::clear (this=0x55e76688fff8) at
/usr/src/debug/ktexteditor-5.110.0/src/render/katelayoutcache.cpp:33
#35 KateLayoutCache::clear (this=0x55e76688ffe0) at
/usr/src/debug/ktexteditor-5.110.0/src/render/katelayoutcache.cpp:483
#36 0x00007f92ae3acd78 in KTextEditor::ViewPrivate::updateDocumentConfig
(this=0x55e7666f84d0) at
/usr/src/debug/ktexteditor-5.110.0/src/view/kateview.cpp:2339
#37 KTextEditor::ViewPrivate::updateDocumentConfig (this=0x55e7666f84d0) at
/usr/src/debug/ktexteditor-5.110.0/src/view/kateview.cpp:2317
#38 0x00007f92ae315f59 in KTextEditor::DocumentPrivate::updateConfig
(this=0x55e766d1c4f0) at
/usr/src/debug/ktexteditor-5.110.0/src/document/katedocument.cpp:5122
#39 0x00007f92ae317f64 in KTextEditor::DocumentPrivate::readVariables
(this=0x55e766d1c4f0, onlyViewAndRenderer=false) at
/usr/include/c++/13/bits/unique_ptr.h:199
#40 0x00007f92ae30df88 in KTextEditor::DocumentPrivate::saveFile
(this=<optimized out>) at
/usr/src/debug/ktexteditor-5.110.0/src/document/katedocument.cpp:2581
#41 0x00007f92aed9dd6d in KParts::ReadWritePart::save (this=0x55e766d1c4f0) at
/usr/src/debug/kparts-5.110.0/src/readwritepart.cpp:149
#42 0x00007f92ae3238b1 in KTextEditor::DocumentPrivate::qt_static_metacall
(_o=<optimized out>, _c=<optimized out>, _id=<optimized out>,
_a=0x7ffc5c539e60) at
/usr/src/debug/ktexteditor-5.110.0/build/src/KF5TextEditor_autogen/include/moc_katedocument.cpp:528
#43 0x00007f92af1257b3 in doActivate<false> (sender=0x55e76658b8f0,
signal_index=4, argv=0x7ffc5c539e60) at kernel/qobject.cpp:3937
#44 0x00007f92af11e47f in QMetaObject::activate
(sender=sender@entry=0x55e76658b8f0, m=m@entry=0x7f92b02bacc0
<QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1,
argv=argv@entry=0x7ffc5c539e60) at kernel/qobject.cpp:3985
#45 0x00007f92afd9e8b2 in QAction::triggered (this=this@entry=0x55e76658b8f0,
_t1=<optimized out>) at .moc/moc_qaction.cpp:376
#46 0x00007f92afda142f in QAction::activate (this=0x55e76658b8f0,
event=<optimized out>) at kernel/qaction.cpp:1161
#47 0x00007f92afda200d in QAction::event (e=<optimized out>, this=<optimized
out>) at kernel/qaction.cpp:1086
#48 QAction::event (this=<optimized out>, e=<optimized out>) at
kernel/qaction.cpp:1075
#49 0x00007f92afda519e in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55e76658b8f0, e=0x7ffc5c53a000) at
kernel/qapplication.cpp:3640
#50 0x00007f92af0ed568 in QCoreApplication::notifyInternal2
(receiver=0x55e76658b8f0, event=0x7ffc5c53a000) at
kernel/qcoreapplication.cpp:1064
#51 0x00007f92af0ed72e in QCoreApplication::sendEvent (receiver=<optimized
out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#52 0x00007f92af5ad671 in QShortcutMap::dispatchEvent (this=<optimized out>,
e=<optimized out>) at kernel/qshortcutmap.cpp:675
#53 0x00007f92af5ae28b in QShortcutMap::tryShortcut
(this=this@entry=0x55e764ab2198, e=e@entry=0x7ffc5c53a0c0) at
kernel/qshortcutmap.cpp:343
#54 0x00007f92af553976 in QWindowSystemInterface::handleShortcutEvent
(window=<optimized out>, timestamp=23511388, keyCode=83, modifiers=...,
nativeScanCode=39, nativeVirtualKey=115, nativeModifiers=20, text=...,
autorepeat=false, count=1) at kernel/qwindowsysteminterface.cpp:477
#55 0x00007f92af578d9d in QGuiApplicationPrivate::processKeyEvent
(e=0x7f929c018b90) at kernel/qguiapplication.cpp:2398
#56 0x00007f92af55036c in QWindowSystemInterface::sendWindowSystemEvents
(flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#57 0x00007f92ab31b1aa in xcbSourceDispatch (source=<optimized out>) at
qxcbeventdispatcher.cpp:105
#58 0x00007f92ac7169d8 in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#59 0x00007f92ac716de8 in ?? () from /lib64/libglib-2.0.so.0
#60 0x00007f92ac716e7c in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#61 0x00007f92af1464a6 in QEventDispatcherGlib::processEvents
(this=0x55e764c0d780, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#62 0x00007f92af0ebffb in QEventLoop::exec (this=this@entry=0x7ffc5c53a400,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#63 0x00007f92af0f4490 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#64 0x00007f92af57055c in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1870
#65 0x00007f92afda5115 in QApplication::exec () at kernel/qapplication.cpp:2832
#66 0x000055e763b73478 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/kate-23.08.0/apps/kate/main.cpp:609
[Inferior 1 (process 28201) detached]

Reported using DrKonqi

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

Reply via email to