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

            Bug ID: 165113
           Summary: Crash when ODM Navigator tries to open a section file.
           Product: LibreOffice
           Version: 24.8.4.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
We have a very large document split on section files (ODT), and coordinated
with a Master document (ODM). Sections have cross-references in between them,
and needs coordination to maintain them.

The Writer is fragile (crashes) when editing these.
Resuming the document edit opens both the ODM and the ODT files, but it is
uncertain if the ODM tracks things properly at this time.

We have opened the sections separately, and then restarted the ODM edit -- at
least at that time the updated section content, and cross-references have
worked.

Steps to Reproduce:
1.Have an ODM document with multiple ODT sections inside it.
  Start with "ooffice document.odm"
2.Open Navigator (F5), activate "Master View"
3.Left-click on section needing editing
4. Right-click and choose "Edit"
5. CRASH

Actual Results:
Fatal exception: Signal 6
Stack:
#0
/usr/lib64/libreoffice/program/libuno_sal.so.3(_ZN3sal13backtrace_getEj+0x39)
[0x7f077f50ce49]
#1 /usr/lib64/libreoffice/program/libuno_sal.so.3(+0x3898e) [0x7f077f51e98e]
#2 /usr/lib64/libreoffice/program/libuno_sal.so.3(+0x38c16) [0x7f077f51ec16]
#3 /lib64/libc.so.6(+0x1a050) [0x7f077f1f1050]
#4 /lib64/libc.so.6(+0x73114) [0x7f077f24a114]
#5 /lib64/libc.so.6(gsignal+0x1e) [0x7f077f1f0f9e]
#6 /lib64/libc.so.6(abort+0xdf) [0x7f077f1d8942]
#7 /lib64/libstdc++.so.6(_ZNSt6chrono3_V212system_clock3nowEv+0)
[0x7f077ee3ebb0]
#8 /usr/lib64/libreoffice/program/../program/libswlo.so(+0xa10ebf)
[0x7f0736610ebf]
#9
/usr/lib64/libreoffice/program/../program/libswlo.so(_ZN11SwPostItMgr20IsHitSidebarDragAreaERK5Point+0x86)
[0x7f0736611076]
#10
/usr/lib64/libreoffice/program/../program/libswlo.so(_ZN9SwEditWin9MouseMoveERK10MouseEvent+0xc6)
[0x7f073662b796]
#11 /usr/lib64/libreoffice/program/libvcllo.so(+0x187dd8) [0x7f077b787dd8]
#12 /usr/lib64/libreoffice/program/libvcllo.so(+0x12cfa4) [0x7f077b72cfa4]
#13 /usr/lib64/libreoffice/program/libvcllo.so(+0x18a6c6) [0x7f077b78a6c6]
#14
/usr/lib64/libreoffice/program/libvcllo.so(_ZN16SalUserEventList18DispatchUserEventsEb+0x175)
[0x7f077ba300a5]
#15
/usr/lib64/libreoffice/program/libvclplug_qt6lo.so(_ZN10QtInstance9ImplYieldEbb+0x3f)
[0x7f0776426f1f]
#16
/usr/lib64/libreoffice/program/libvclplug_qt6lo.so(_ZN10QtInstance7DoYieldEbb+0xef)
[0x7f07764270df]
#17 /usr/lib64/libreoffice/program/libvcllo.so(+0x476cbe) [0x7f077ba76cbe]
#18 /usr/lib64/libreoffice/program/libvcllo.so(_ZN11Application7ExecuteEv+0x88)
[0x7f077ba78858]
#19 /usr/lib64/libreoffice/program/libsofficeapp.so(+0x26688) [0x7f077f415688]
#20 /usr/lib64/libreoffice/program/libvcllo.so(_Z10ImplSVMainv+0x3f2)
[0x7f077ba8d012]
#21 /usr/lib64/libreoffice/program/libsofficeapp.so(soffice_main+0x12b)
[0x7f077f430f1b]
#22 /usr/lib64/libreoffice/program/soffice.bin(+0x10c7) [0x556a9de4a0c7]
#23 /lib64/libc.so.6(+0x3248) [0x7f077f1da248]
#24 /lib64/libc.so.6(__libc_start_main+0x8b) [0x7f077f1da30b]
#25 /usr/lib64/libreoffice/program/soffice.bin(+0x1105) [0x556a9de4a105]

- - -
reason           soffice.bin killed by SIGABRT
crash_function   std::chrono::_V2::system_clock::now()
package          libreoffice-core-1:24.8.4.2-2.fc41


First backtrace frame:

{   "signal": 6
,   "executable": "/usr/lib64/libreoffice/program/soffice.bin"
,   "stacktrace":
      [ {   "crash_thread": true
        ,   "frames":
              [ {   "address": 140607061131540
                ,   "build_id": "515c33a35f41020661fea8ac4eb995e26ccd6b00"
                ,   "build_id_offset": 471316
                ,   "function_name": "__pthread_kill_implementation"
                ,   "file_name": "/lib64/libc.so.6"
                }
              , {   "address": 140607060766622
                ,   "build_id": "515c33a35f41020661fea8ac4eb995e26ccd6b00"
                ,   "build_id_offset": 106398
                ,   "function_name": "raise"
                ,   "file_name": "/lib64/libc.so.6"
                }
              , {   "address": 140607060666690
                ,   "build_id": "515c33a35f41020661fea8ac4eb995e26ccd6b00"
                ,   "build_id_offset": 6466
                ,   "function_name": "abort"
                ,   "file_name": "/lib64/libc.so.6"
                }
              , {   "address": 140607064099867
                ,   "build_id": "ce6fa84ea24ad23dee980e1a3862f8cd30cf42ad"
                ,   "build_id_offset": 232475
                ,   "file_name":
"/usr/lib64/libreoffice/program/libuno_sal.so.3"
                }
              , {   "address": 140607060766800
                ,   "build_id": "515c33a35f41020661fea8ac4eb995e26ccd6b00"
                ,   "build_id_offset": 106576
                ,   "file_name": "/lib64/libc.so.6"
                }
              , {   "address": 140607061131540
                ,   "build_id": "515c33a35f41020661fea8ac4eb995e26ccd6b00"
                ,   "build_id_offset": 471316
                ,   "function_name": "__pthread_kill_implementation"
                ,   "file_name": "/lib64/libc.so.6"
                }
              , {   "address": 140607060766622
                ,   "build_id": "515c33a35f41020661fea8ac4eb995e26ccd6b00"
                ,   "build_id_offset": 106398
                ,   "function_name": "raise"
                ,   "file_name": "/lib64/libc.so.6"
                }
              , {   "address": 140607060666690
                ,   "build_id": "515c33a35f41020661fea8ac4eb995e26ccd6b00"
                ,   "build_id_offset": 6466
                ,   "function_name": "abort"
                ,   "file_name": "/lib64/libc.so.6"
                }
              , {   "address": 140607056243632
                ,   "build_id": "2433a579334ce4caa8fb2d2fee7b787288792ae0"
                ,   "build_id_offset": 256944
                ,   "function_name": "std::chrono::_V2::system_clock::now()"
                ,   "file_name": "/lib64/libstdc++.so.6"
                }
              , {   "address": 140605839707839
                ,   "build_id": "2e76201623da36cc276560158633025229d9cb15"
                ,   "build_id_offset": 10555071
                ,   "file_name":
"/usr/lib64/libreoffice/program/../program/libswlo.so"
                }
              , {   "address": 140605839708278
                ,   "build_id": "2e76201623da36cc276560158633025229d9cb15"
                ,   "build_id_offset": 10555510
                ,   "function_name": "SwPostItMgr::IsHitSidebarDragArea(Point
const&)"
                ,   "file_name":
"/usr/lib64/libreoffice/program/../program/libswlo.so"
                }
              , {   "address": 140605839816598
                ,   "build_id": "2e76201623da36cc276560158633025229d9cb15"
                ,   "build_id_offset": 10663830
                ,   "function_name": "SwEditWin::MouseMove(MouseEvent const&)"
                ,   "file_name":
"/usr/lib64/libreoffice/program/../program/libswlo.so"
                }
              , {   "address": 140606998871512
                ,   "build_id": "7513bc31afd3a883ae7eb8c06663c7b12934299e"
                ,   "build_id_offset": 1605080
                ,   "file_name": "/usr/lib64/libreoffice/program/libvcllo.so"
                }
              , {   "address": 140606998499236
                ,   "build_id": "7513bc31afd3a883ae7eb8c06663c7b12934299e"
                ,   "build_id_offset": 1232804
                ,   "file_name": "/usr/lib64/libreoffice/program/libvcllo.so"
                }
              , {   "address": 140606998881990
                ,   "build_id": "7513bc31afd3a883ae7eb8c06663c7b12934299e"
                ,   "build_id_offset": 1615558
                ,   "file_name": "/usr/lib64/libreoffice/program/libvcllo.so"
                }
              , {   "address": 140607001657509
                ,   "build_id": "7513bc31afd3a883ae7eb8c06663c7b12934299e"
                ,   "build_id_offset": 4391077
                ,   "function_name":
"SalUserEventList::DispatchUserEvents(bool)"
                ,   "file_name": "/usr/lib64/libreoffice/program/libvcllo.so"
                }
              , {   "address": 140606678380319
                ,   "build_id": "a85ccc93b397b3f058d022f0415c71930bc3f4b0"
                ,   "build_id_offset": 327455
                ,   "function_name": "QtInstance::ImplYield(bool, bool)"
                ,   "file_name":
"/usr/lib64/libreoffice/program/libvclplug_qt6lo.so"
                }
              , {   "address": 140606678380767
                ,   "build_id": "a85ccc93b397b3f058d022f0415c71930bc3f4b0"
                ,   "build_id_offset": 327903
                ,   "function_name": "QtInstance::DoYield(bool, bool)"
                ,   "file_name":
"/usr/lib64/libreoffice/program/libvclplug_qt6lo.so"
                }
              , {   "address": 140607001947326
                ,   "build_id": "7513bc31afd3a883ae7eb8c06663c7b12934299e"
                ,   "build_id_offset": 4680894
                ,   "file_name": "/usr/lib64/libreoffice/program/libvcllo.so"
                }
              , {   "address": 140607001954392
                ,   "build_id": "7513bc31afd3a883ae7eb8c06663c7b12934299e"
                ,   "build_id_offset": 4687960
                ,   "function_name": "Application::Execute()"
                ,   "file_name": "/usr/lib64/libreoffice/program/libvcllo.so"
                }
              , {   "address": 140607063013000
                ,   "build_id": "e3f1d27c99e532194c275e558c06a5592e1ec6ea"
                ,   "build_id_offset": 157320
                ,   "file_name":
"/usr/lib64/libreoffice/program/libsofficeapp.so"
                }
              , {   "address": 140607002038290
                ,   "build_id": "7513bc31afd3a883ae7eb8c06663c7b12934299e"
                ,   "build_id_offset": 4771858
                ,   "function_name": "ImplSVMain()"
                ,   "file_name": "/usr/lib64/libreoffice/program/libvcllo.so"
                }
              , {   "address": 140607063125787
                ,   "build_id": "e3f1d27c99e532194c275e558c06a5592e1ec6ea"
                ,   "build_id_offset": 270107
                ,   "function_name": "soffice_main"
                ,   "file_name":
"/usr/lib64/libreoffice/program/libsofficeapp.so"
                }
              , {   "address": 94352205078727
                ,   "build_id": "f1aba68195856a9ab245ab7bcebc71bd72e431d1"
                ,   "build_id_offset": 4295
                ,   "file_name": "/usr/lib64/libreoffice/program/soffice.bin"
                }
              , {   "address": 140607060673096
                ,   "build_id": "515c33a35f41020661fea8ac4eb995e26ccd6b00"
                ,   "build_id_offset": 12872
                ,   "function_name": "__libc_start_call_main"
                ,   "file_name": "/lib64/libc.so.6"
                }
              , {   "address": 140607060673291
                ,   "build_id": "515c33a35f41020661fea8ac4eb995e26ccd6b00"
                ,   "build_id_offset": 13067
                ,   "function_name": "__libc_start_main@@GLIBC_2.34"
                ,   "file_name": "/lib64/libc.so.6"
                }
              , {   "address": 94352205078789
                ,   "build_id": "f1aba68195856a9ab245ab7bcebc71bd72e431d1"
                ,   "build_id_offset": 4357
                ,   "file_name": "/usr/lib64/libreoffice/program/soffice.bin"
                } ]
        }


Expected Results:
Opening the section editor, coordinating with the master document.


Reproducible: Always


User Profile Reset: No

Additional Info:
After restart recovery, opening the section, and closing it: the navigator does
successfully open section editor.

(64k limit on bug report cuts first submit here)

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

Reply via email to