https://bugs.documentfoundation.org/show_bug.cgi?id=158792

            Bug ID: 158792
           Summary: Crash when closing (sometimes)
           Product: LibreOffice
           Version: 7.6.4.1 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Sometimes when closing LibreOffice (having Impress and Draw opened) it crashes.
I got a crash dumb and will attach it. I can't reliably reproduce the issue or
tell when exactly it happens.

Steps to Reproduce:
I can't really reproduce it. I use it to work and when closing it, it sometimes
crashes, I don't know what causes it to crash.

Actual Results:
Crash

Expected Results:
Don't crash


Reproducible: Couldn't Reproduce


User Profile Reset: No

Additional Info:
Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: 60(Build:1)
CPU threads: 8; OS: Linux 6.6; UI render: default; VCL: kf5 (cairo+wayland)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded


Application: soffice (soffice), signal: Segmentation fault

[KCrash Handler]
#4  BigPtrEntry::GetArray() const () at
/usr/src/debug/libreoffice-7.6.4.1/sw/inc/bparr.hxx:105
#5  SwNode::GetNodes() () at
/usr/src/debug/libreoffice-7.6.4.1/sw/inc/node.hxx:746
#6  SwNodeIndex::GetNodes() () at
/usr/src/debug/libreoffice-7.6.4.1/sw/inc/ndindex.hxx:120
#7  SwNodeIndex::DeRegisterIndex() () at
/usr/src/debug/libreoffice-7.6.4.1/sw/inc/ndindex.hxx:52
#8  SwNodeIndex::~SwNodeIndex() () at
/usr/src/debug/libreoffice-7.6.4.1/sw/inc/ndindex.hxx:77
#9  std::_Optional_payload_base<SwNodeIndex>::_M_destroy() () at
/usr/include/c++/13/optional:287
#10 std::_Optional_payload_base<SwNodeIndex>::_M_reset() () at
/usr/include/c++/13/optional:318
#11 std::_Optional_base_impl<SwNodeIndex, std::_Optional_base<SwNodeIndex,
false, false> >::_M_reset() () at /usr/include/c++/13/optional:468
#12 std::optional<SwNodeIndex>::reset() () at /usr/include/c++/13/optional:1182
#13 SwFormatContent::SetNewContentIdx(SwNodeIndex const*) () at
/usr/src/debug/libreoffice-7.6.4.1/sw/source/core/layout/atrfrm.cxx:601
#14 SwFormatContent::SetNewContentIdx(SwNodeIndex const*) () at
/usr/src/debug/libreoffice-7.6.4.1/sw/source/core/layout/atrfrm.cxx:596
#15 lcl_DelFormatIndices(SwFormat const*) (pFormat=0x5557457ca0f0) at
/usr/src/debug/libreoffice-7.6.4.1/sw/source/core/doc/docnew.cxx:194
#16 0x00007f2aaf16d674 in SwDoc::~SwDoc() () at
/usr/src/debug/libreoffice-7.6.4.1/sw/source/core/doc/docnew.cxx:487
#17 0x00007f2aaf121150 in SwDoc::release() () at
/usr/src/debug/libreoffice-7.6.4.1/sw/source/core/doc/doc.cxx:129
#18 SwDoc::release() () at
/usr/src/debug/libreoffice-7.6.4.1/sw/source/core/doc/doc.cxx:124
#19 0x00007f2aaf82604a in o3tl::default_delete<SwDocFac>::operator()(SwDocFac*)
() at /usr/src/debug/libreoffice-7.6.4.1/include/o3tl/deleter.hxx:46
#20 o3tl::default_delete<SwDocFac>::operator()(SwDocFac*) () at
/usr/src/debug/libreoffice-7.6.4.1/include/o3tl/deleter.hxx:46
#21 std::__uniq_ptr_impl<SwDocFac, o3tl::default_delete<SwDocFac>
>::reset(SwDocFac*) () at /usr/include/c++/13/bits/unique_ptr.h:211
#22 std::unique_ptr<SwDocFac, o3tl::default_delete<SwDocFac>
>::reset(SwDocFac*) () at /usr/include/c++/13/bits/unique_ptr.h:509
#23 SwTransferable::~SwTransferable() () at
/usr/src/debug/libreoffice-7.6.4.1/sw/source/uibase/dochdl/swdtflvr.cxx:297
#24 0x00007f2aaf8263c9 in SwTransferable::~SwTransferable() () at
/usr/src/debug/libreoffice-7.6.4.1/sw/source/uibase/dochdl/swdtflvr.cxx:319
#25 0x00007f2bd61d45f7 in
com::sun::star::uno::Reference<com::sun::star::datatransfer::XTransferable>::~Reference()
() at
/usr/src/debug/libreoffice-7.6.4.1/include/com/sun/star/uno/Reference.hxx:114
#26 QtMimeData::~QtMimeData() () at
/usr/src/debug/libreoffice-7.6.4.1/vcl/inc/qt5/QtTransferable.hxx:102
#27 QtMimeData::~QtMimeData() () at
/usr/src/debug/libreoffice-7.6.4.1/vcl/inc/qt5/QtTransferable.hxx:102
#28 0x00007f2bd42ec6fd in
QtWaylandClient::QWaylandClipboard::~QWaylandClipboard() (this=0x5557329090e0,
__in_chrg=<optimized out>) at qwaylandclipboard.cpp:64
#29 0x00007f2bd42ec729 in
QtWaylandClient::QWaylandClipboard::~QWaylandClipboard() (this=0x5557329090e0,
__in_chrg=<optimized out>) at qwaylandclipboard.cpp:66
#30 0x00007f2bd42c4f87 in
QScopedPointerDeleter<QPlatformClipboard>::cleanup(QPlatformClipboard*)
(pointer=<optimized out>) at /usr/include/qt5/QtCore/qscopedpointer.h:52
#31 QScopedPointer<QPlatformClipboard,
QScopedPointerDeleter<QPlatformClipboard> >::~QScopedPointer()
(this=0x555732902e78, __in_chrg=<optimized out>) at
/usr/include/qt5/QtCore/qscopedpointer.h:107
#32 QtWaylandClient::QWaylandIntegration::~QWaylandIntegration()
(this=0x555732902e40, __in_chrg=<optimized out>) at qwaylandintegration.cpp:135
#33 0x00007f2bd42c4ff9 in
QtWaylandClient::QWaylandIntegration::~QWaylandIntegration()
(this=0x555732902e40, __in_chrg=<optimized out>) at qwaylandintegration.cpp:135
#34 0x00007f2bd496f6d7 in QGuiApplicationPrivate::~QGuiApplicationPrivate()
(this=0x5557328fda20, __in_chrg=<optimized out>) at
kernel/qguiapplication.cpp:1731
#35 0x00007f2bd5ba3cb9 in QApplicationPrivate::~QApplicationPrivate()
(this=0x5557328fda20, __in_chrg=<optimized out>) at kernel/qapplication.cpp:163
#36 0x00007f2bd5ba5c99 in QApplication::~QApplication() (this=0x5557328fd810,
__in_chrg=<optimized out>) at kernel/qapplication.cpp:771
#37 0x00007f2bd61c49f7 in
std::default_delete<QApplication>::operator()(QApplication*) const () at
/usr/include/c++/13/bits/unique_ptr.h:99
#38 std::__uniq_ptr_impl<QApplication, std::default_delete<QApplication>
>::reset(QApplication*) () at /usr/include/c++/13/bits/unique_ptr.h:211
#39 std::unique_ptr<QApplication, std::default_delete<QApplication>
>::reset(QApplication*) () at /usr/include/c++/13/bits/unique_ptr.h:509
#40 QtInstance::~QtInstance() () at
/usr/src/debug/libreoffice-7.6.4.1/vcl/qt5/QtInstance.cxx:273
#41 0x00007f2bdf69714b in non-virtual thunk to
KF5SalInstance::~KF5SalInstance() () at
/usr/src/debug/libreoffice-7.6.4.1/vcl/unx/kf5/KF5SalInstance.hxx:24
#42 0x00007f2bddedc301 in DestroySalInstance(SalInstance*) () at
/usr/src/debug/libreoffice-7.6.4.1/vcl/source/app/salplug.cxx:363
#43 DeInitVCL() () at
/usr/src/debug/libreoffice-7.6.4.1/vcl/source/app/svmain.cxx:600
#44 0x00007f2bddedcef1 in ImplSVMain() () at
/usr/src/debug/libreoffice-7.6.4.1/vcl/source/app/svmain.cxx:229
#45 0x00007f2bdcfe0d28 in soffice_main() () at
/usr/src/debug/libreoffice-7.6.4.1/desktop/source/app/sofficemain.cxx:94
#46 0x000055573129007b in sal_main () at
/usr/src/debug/libreoffice-7.6.4.1/desktop/source/app/main.c:51
#47 main (argc=1165795568, argv=0x55573614c930) at
/usr/src/debug/libreoffice-7.6.4.1/desktop/source/app/main.c:49
[Inferior 1 (process 13658) detached]

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to