Bug 155273 - Immediate crash when I open any .docx file and inability to directly open file
Summary: Immediate crash when I open any .docx file and inability to directly open file
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.5.1 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-13 05:11 UTC by sc07790
Modified: 2023-05-19 16:39 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sc07790 2023-05-13 05:11:04 UTC
Description:
LibreOffice immediately crashes upon opening a file; I am unable to edit, let alone view, any file. This occurs with .docx and other file extensions; I have not found a file extension that doesn't fail. I have removed all the configuration files, reinstalled LibreOffice, and tried once more, but there is still failure. System is running Debian Bookworm 12 with KDE as the desktop environment. Kernel version is 6.0.0.0 and it occurs in 6.1.0.7 as well. Libreoffice was installed through the packages in the repository [libreoffice-kde]. It fails even when running safe mode using the "libreoffice --safe-mode" command in terminal. The terminal output upon failure is present in "Other Information" 

Steps to Reproduce:
1.Open LibreOffice/LibreOffice Writer
2.Select Open.... under the File taskbar tab
3.Select desired file and open 

Actual Results:
Immediate crash and closing of LibreOffice

Expected Results:
Selected file contents are displayed and are available to be edit


Reproducible: Always


User Profile Reset: Yes

Additional Info:
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
terminate called recursively


Fatal exception: Signal 6
Stack:
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x376b2)[0x7fa2fbf9b6b2]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3788a)[0x7fa2fbf9b88a]
/lib/x86_64-linux-gnu/libc.so.6(+0x3bf90)[0x7fa2f7a5af90]
/lib/x86_64-linux-gnu/libc.so.6(+0x8accc)[0x7fa2f7aa9ccc]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x12)[0x7fa2f7a5aef2]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7fa2f7a45472]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0xaae9a)[0x7fa2f78aae9a]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0xa8e1a)[0x7fa2f78a8e1a]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0xa7e89)[0x7fa2f78a7e89]
/lib/x86_64-linux-gnu/libstdc++.so.6(__gxx_personality_v0+0x86)[0x7fa2f78a85a6]
/lib/x86_64-linux-gnu/libgcc_s.so.1(+0x16934)[0x7fa2fbf17934]
/lib/x86_64-linux-gnu/libgcc_s.so.1(_Unwind_Resume+0x12d)[0x7fa2fbf1838d]
/usr/lib/libreoffice/program/libmergedlo.so(+0xff09eb)[0x7fa2f8bf09eb]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x377d2)[0x7fa2fbf9b7d2]
/lib/x86_64-linux-gnu/libc.so.6(+0x3bf90)[0x7fa2f7a5af90]
/lib/x86_64-linux-gnu/libc.so.6(+0x8accc)[0x7fa2f7aa9ccc]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x12)[0x7fa2f7a5aef2]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7fa2f7a45472]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0x9d919)[0x7fa2f789d919]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0xa8e1a)[0x7fa2f78a8e1a]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0xa8e85)[0x7fa2f78a8e85]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0xa90d8)[0x7fa2f78a90d8]
/usr/lib/libreoffice/program/libpyuno.so(+0x927f)[0x7fa2eb61b27f]
/usr/lib/libreoffice/program/libpyuno.so(+0x9284)[0x7fa2eb61b284]
/usr/lib/libreoffice/program/libpyuno.so(_ZNK5pyuno7Runtime19extractUnoExceptionERKNS_5PyRefES3_S3_+0x541)[0x7fa2eb629c01]
/usr/lib/libreoffice/program/libpythonloaderlo.so(pyuno_Loader_get_implementation+0x1be)[0x7fa2f04d000e]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x5ded2)[0x7fa2f5823ed2]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x5e438)[0x7fa2f5824438]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x5e4c0)[0x7fa2f58244c0]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x5f7a9)[0x7fa2f58257a9]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x6016c)[0x7fa2f582616c]
/usr/lib/libreoffice/program/libmergedlo.so(+0x19d17da)[0x7fa2f95d17da]
/usr/lib/libreoffice/program/libmergedlo.so(+0x19d36d7)[0x7fa2f95d36d7]
/usr/lib/libreoffice/program/libmergedlo.so(+0x19db82e)[0x7fa2f95db82e]
/usr/lib/libreoffice/program/libmergedlo.so(+0x19e6ae9)[0x7fa2f95e6ae9]
/usr/lib/libreoffice/program/libmergedlo.so(linguistic_LngSvcMgr_get_implementation+0x38a)[0x7fa2f95ed08a]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x5ded2)[0x7fa2f5823ed2]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x5e438)[0x7fa2f5824438]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x5e4c0)[0x7fa2f58244c0]
/usr/lib/libreoffice/program/libswlo.so(_ZN8SwModuleC2EP16SfxObjectFactoryS1_S1_+0x55c)[0x7fa2e956a58c]
/usr/lib/libreoffice/program/libswlo.so(+0xdee5d4)[0x7fa2e97ee5d4]
/usr/lib/libreoffice/program/libswlo.so(_ZN9SwGlobals6ensureEv+0x35)[0x7fa2e9558ee5]
/usr/lib/libreoffice/program/libswlo.so(Writer_SwTextDocument_get_implementation+0x38)[0x7fa2e97090b8]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x5ded2)[0x7fa2f5823ed2]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x5e3da)[0x7fa2f58243da]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x5e4c0)[0x7fa2f58244c0]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1de0ac1)[0x7fa2f99e0ac1]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1877138)[0x7fa2f9477138]
/usr/lib/libreoffice/program/libmergedlo.so(+0x17e4bd8)[0x7fa2f93e4bd8]
/usr/lib/libreoffice/program/libmergedlo.so(+0x17e51ec)[0x7fa2f93e51ec]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN10comphelper19SynchronousDispatch8dispatchERKN3com3sun4star3uno9ReferenceINS4_10XInterfaceEEERKN3rtl8OUStringESD_RKNS4_8SequenceINS3_5beans13PropertyValueEEE+0x2bb)[0x7fa2f8eb466b]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1ba71e3)[0x7fa2f97a71e3]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1c0ff87)[0x7fa2f980ff87]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN13SfxDispatcher7ExecuteEt11SfxCallModeRK10SfxItemSet+0x14e)[0x7fa2f9818a9e]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1ba57c3)[0x7fa2f97a57c3]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1c0ff87)[0x7fa2f980ff87]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN13SfxDispatcher14PostMsgHandlerESt10unique_ptrI10SfxRequestSt14default_deleteIS1_EE+0x170)[0x7fa2f98116e0]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1c119e4)[0x7fa2f98119e4]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1d4c861)[0x7fa2f994c861]
/usr/lib/libreoffice/program/libmergedlo.so(+0x2a22de8)[0x7fa2fa622de8]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN16SalUserEventList18DispatchUserEventsEb+0x171)[0x7fa2fa82aef1]
/usr/lib/libreoffice/program/libvclplug_genlo.so(+0x30146)[0x7fa2f119e146]
/usr/lib/libreoffice/program/libvclplug_genlo.so(+0x301c7)[0x7fa2f119e1c7]
/usr/lib/libreoffice/program/libvclplug_genlo.so(+0x257cb)[0x7fa2f11937cb]
/usr/lib/libreoffice/program/libmergedlo.so(+0x2c70612)[0x7fa2fa870612]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN11Application7ExecuteEv+0x85)[0x7fa2fa898e95]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1e25676)[0x7fa2f9a25676]
/usr/lib/libreoffice/program/libmergedlo.so(_Z10ImplSVMainv+0x4f)[0x7fa2fa89bdbf]
/usr/lib/libreoffice/program/libmergedlo.so(soffice_main+0x126)[0x7fa2f9a203c6]
/usr/lib/libreoffice/program/soffice.bin(+0x107b)[0x5622eb80007b]
/lib/x86_64-linux-gnu/libc.so.6(+0x2718a)[0x7fa2f7a4618a]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85)[0x7fa2f7a46245]
/usr/lib/libreoffice/program/soffice.bin(+0x10b1)[0x5622eb8000b1]
Comment 1 Stéphane Guillou (stragu) 2023-05-13 09:09:43 UTC
Thank you for the report.

Can you please:
1) see if the issue is related to the KF5 VCL by running from a terminal:

SAL_USE_VCLPLUGIN=gen soffice

or

SAL_USE_VCLPLUGIN=gen libreoffice7.4

2) Do you get a crash reporter dialog at restart? If so, please share the link to the crash report.

3) test version 7.5.3 to see if the issue is still reproducible
Comment 2 Julien Nabet 2023-05-13 14:06:23 UTC
Did you install anything specific concerning Python?
What does your system respond if you type this in a terminal/console:
python --version
?

I'm asking this because I see libpyuno in the stacktrace.

I'm also astonished to see libvclplug_genlo since you use kde. I would have expected some qt libs related to kde.
Comment 3 sc07790 2023-05-19 16:18:05 UTC
(In reply to Stéphane Guillou (stragu) from comment #1)
> Thank you for the report.
> 
> Can you please:
> 1) see if the issue is related to the KF5 VCL by running from a terminal:
> 
> SAL_USE_VCLPLUGIN=gen soffice
> 
> or
> 
> SAL_USE_VCLPLUGIN=gen libreoffice7.4
> 
> 2) Do you get a crash reporter dialog at restart? If so, please share the
> link to the crash report.
> 
> 3) test version 7.5.3 to see if the issue is still reproducible


Sorry for the late reply! I didn't have email notifications activated.

Re:1) I tried both "SAL_USE_VCLPLUGIN=gen libreoffice" and "SAL_USE_VCLPLUGIN=gen soffice"

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
terminate called recursively


Fatal exception: Signal 6
Stack:
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x376b2)[0x7f5df5b826b2]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3788a)[0x7f5df5b8288a]
/lib/x86_64-linux-gnu/libc.so.6(+0x3bf90)[0x7f5df165af90]
/lib/x86_64-linux-gnu/libc.so.6(+0x8accc)[0x7f5df16a9ccc]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x12)[0x7f5df165aef2]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f5df1645472]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0xaae9a)[0x7f5df14aae9a]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0xa8e1a)[0x7f5df14a8e1a]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0xa7e89)[0x7f5df14a7e89]
/lib/x86_64-linux-gnu/libstdc++.so.6(__gxx_personality_v0+0x86)[0x7f5df14a85a6]
/lib/x86_64-linux-gnu/libgcc_s.so.1(+0x16934)[0x7f5df5afe934]
/lib/x86_64-linux-gnu/libgcc_s.so.1(_Unwind_Resume+0x12d)[0x7f5df5aff38d]
/usr/lib/libreoffice/program/libmergedlo.so(+0xff09eb)[0x7f5df27f09eb]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x377d2)[0x7f5df5b827d2]
/lib/x86_64-linux-gnu/libc.so.6(+0x3bf90)[0x7f5df165af90]
/lib/x86_64-linux-gnu/libc.so.6(+0x8accc)[0x7f5df16a9ccc]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x12)[0x7f5df165aef2]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f5df1645472]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0x9d919)[0x7f5df149d919]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0xa8e1a)[0x7f5df14a8e1a]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0xa8e85)[0x7f5df14a8e85]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0xa90d8)[0x7f5df14a90d8]
/usr/lib/libreoffice/program/libpyuno.so(+0x927f)[0x7f5de84b827f]
/usr/lib/libreoffice/program/libpyuno.so(+0x9284)[0x7f5de84b8284]
/usr/lib/libreoffice/program/libpyuno.so(_ZNK5pyuno7Runtime19extractUnoExceptionERKNS_5PyRefES3_S3_+0x541)[0x7f5de84c6c01]
/usr/lib/libreoffice/program/libpythonloaderlo.so(pyuno_Loader_get_implementation+0x1be)[0x7f5de8e1600e]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x5ded2)[0x7f5def40ded2]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x5e438)[0x7f5def40e438]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x5e4c0)[0x7f5def40e4c0]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x5f7a9)[0x7f5def40f7a9]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x6016c)[0x7f5def41016c]
/usr/lib/libreoffice/program/libmergedlo.so(+0x19d17da)[0x7f5df31d17da]
/usr/lib/libreoffice/program/libmergedlo.so(+0x19d36d7)[0x7f5df31d36d7]
/usr/lib/libreoffice/program/libmergedlo.so(+0x19db82e)[0x7f5df31db82e]
/usr/lib/libreoffice/program/libmergedlo.so(+0x19e6ae9)[0x7f5df31e6ae9]
/usr/lib/libreoffice/program/libmergedlo.so(linguistic_LngSvcMgr_get_implementation+0x38a)[0x7f5df31ed08a]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x5ded2)[0x7f5def40ded2]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x5e438)[0x7f5def40e438]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x5e4c0)[0x7f5def40e4c0]
/usr/lib/libreoffice/program/libswlo.so(_ZN8SwModuleC2EP16SfxObjectFactoryS1_S1_+0x55c)[0x7f5dda36a58c]
/usr/lib/libreoffice/program/libswlo.so(+0xdee5d4)[0x7f5dda5ee5d4]
/usr/lib/libreoffice/program/libswlo.so(_ZN9SwGlobals6ensureEv+0x35)[0x7f5dda358ee5]
/usr/lib/libreoffice/program/libswlo.so(Writer_SwTextDocument_get_implementation+0x38)[0x7f5dda5090b8]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x5ded2)[0x7f5def40ded2]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x5e3da)[0x7f5def40e3da]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x5e4c0)[0x7f5def40e4c0]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1de0ac1)[0x7f5df35e0ac1]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1877138)[0x7f5df3077138]
/usr/lib/libreoffice/program/libmergedlo.so(+0x17e4bd8)[0x7f5df2fe4bd8]
/usr/lib/libreoffice/program/libmergedlo.so(+0x17e51ec)[0x7f5df2fe51ec]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN10comphelper19SynchronousDispatch8dispatchERKN3com3sun4star3uno9ReferenceINS4_10XInterfaceEEERKN3rtl8OUStringESD_RKNS4_8SequenceINS3_5beans13PropertyValueEEE+0x2bb)[0x7f5df2ab466b]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1ba71e3)[0x7f5df33a71e3]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1c0ff87)[0x7f5df340ff87]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN13SfxDispatcher7ExecuteEt11SfxCallModeRK10SfxItemSet+0x14e)[0x7f5df3418a9e]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1ba57c3)[0x7f5df33a57c3]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1c0ff87)[0x7f5df340ff87]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN13SfxDispatcher14PostMsgHandlerESt10unique_ptrI10SfxRequestSt14default_deleteIS1_EE+0x170)[0x7f5df34116e0]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1c119e4)[0x7f5df34119e4]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1d4c861)[0x7f5df354c861]
/usr/lib/libreoffice/program/libmergedlo.so(+0x2a22de8)[0x7f5df4222de8]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN16SalUserEventList18DispatchUserEventsEb+0x171)[0x7f5df442aef1]
/usr/lib/libreoffice/program/libvclplug_genlo.so(+0x30146)[0x7f5dead9e146]
/usr/lib/libreoffice/program/libvclplug_genlo.so(+0x301c7)[0x7f5dead9e1c7]
/usr/lib/libreoffice/program/libvclplug_genlo.so(+0x257cb)[0x7f5dead937cb]
/usr/lib/libreoffice/program/libmergedlo.so(+0x2c70612)[0x7f5df4470612]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN11Application7ExecuteEv+0x85)[0x7f5df4498e95]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1e25676)[0x7f5df3625676]
/usr/lib/libreoffice/program/libmergedlo.so(_Z10ImplSVMainv+0x4f)[0x7f5df449bdbf]
/usr/lib/libreoffice/program/libmergedlo.so(soffice_main+0x126)[0x7f5df36203c6]
/usr/lib/libreoffice/program/soffice.bin(+0x107b)[0x55f3dbd0407b]
/lib/x86_64-linux-gnu/libc.so.6(+0x2718a)[0x7f5df164618a]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85)[0x7f5df1646245]
/usr/lib/libreoffice/program/soffice.bin(+0x10b1)[0x55f3dbd040b1]

Re:2)No dialog box; it opens as if nothing failed

Re:3) Tried this after typing everything else, it works and I am satisfied! Thank you very much! Should I mark this bug as resolved if possible or should I leave it open since the previous version still has the issue?
Comment 4 Julien Nabet 2023-05-19 16:39:16 UTC
Thank you for the feedback.
Let's put this one to WFM if you don't reproduce this anymore with LO 7.5.3