Bug 125260 - FILEOPEN: Crash with unexpected error when opening a docx file
Summary: FILEOPEN: Crash with unexpected error when opening a docx file
Status: RESOLVED DUPLICATE of bug 124607
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.1.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-13 12:01 UTC by Stéphane Aulery
Modified: 2019-05-13 12:37 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
2_document_connot_be_opened.docx (21.72 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-05-13 12:01 UTC, Stéphane Aulery
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane Aulery 2019-05-13 12:01:45 UTC
Created attachment 151357 [details]
2_document_connot_be_opened.docx

From: Oliver Sander <oliver.sander@tu-dresden.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libreoffice-writer: Writer aborts with 'unexpected error' when opening one particular docx file
Date: Sun, 14 Apr 2019 16:07:27 +0200

Package: libreoffice-writer
Version: 1:6.1.5-2
Severity: normal

The following problem happens with LO Writer 6.1.5.2 from Debian, but not
with the same version downloaded from https://www.libreoffice.org/download/
I filed an upstream bug: https://bugs.documentfoundation.org/show_bug.cgi?id=124607
but upstream canno reproduce it.  So could this be a packaging bug...

Opening the attached file gives me a textbox saying "Due to an expected error LO crashed" (my translation of a German text). 

If I then click 'ok', the document recuperation dialog starts, but when I click on "start recuperation", I get a hard segfault with the screen message attached below.

My LO version is

Version: 6.1.5.2
Build-ID: 1:6.1.5-1
CPU-Threads: 4; BS: Linux 4.19; UI-Render: Standard; VCL: gtk3; 
Gebietsschema: de-DE (de_DE.UTF-8); Calc: group threaded

Here is the backtrace.  I have tried the libreoffice-writer-dbgsym package,
but that did not make the backtrace more helpful.

~/tmp> lowriter 2_Document_cannot_be_opened.docx 

(soffice:17598): GLib-GObject-WARNING **: 13:38:40.702: ../../../gobject/gsignal.c:3492: signal name 'selection_changed' is invalid for instance '0x562015104ed0' of type 'OOoAtkObjCompTxt'


Fatal exception: Signal 6
Stack:
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3d693)[0x7f28b3639693]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3d8a3)[0x7f28b36398a3]
/lib/x86_64-linux-gnu/libc.so.6(+0x37940)[0x7f28b3429940]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x10b)[0x7f28b34298bb]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x121)[0x7f28b3414535]
/usr/lib/libreoffice/program/libmergedlo.so(+0x11e6746)[0x7f28b4840746]
/usr/lib/libreoffice/program/libvclplug_gtk3lo.so(+0x88427)[0x7f28abbcc427]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x158)[0x7f28b2921dd8]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4e1c8)[0x7f28b29221c8]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7f28b292225c]
/usr/lib/libreoffice/program/libvclplug_gtk3lo.so(+0x89963)[0x7f28abbcd963]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN11Application5YieldEv+0x2e)[0x7f28b6493b9e]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN6Dialog7ExecuteEv+0x6e)[0x7f28b61e2d7e]
/usr/lib/libreoffice/program/libmergedlo.so(+0x237d15f)[0x7f28b59d715f]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1efbac5)[0x7f28b5555ac5]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1efc239)[0x7f28b5556239]
/usr/lib/libreoffice/program/libmergedlo.so(+0x2e3ec8b)[0x7f28b6498c8b]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x17772)[0x7f28b3613772]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3d76f)[0x7f28b363976f]
/lib/x86_64-linux-gnu/libc.so.6(+0x37940)[0x7f28b3429940]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x10b)[0x7f28b34298bb]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x121)[0x7f28b3414535]
/usr/lib/libreoffice/program/libmergedlo.so(+0x11e6746)[0x7f28b4840746]
/usr/lib/libreoffice/program/libvclplug_gtk3lo.so(+0x88427)[0x7f28abbcc427]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x158)[0x7f28b2921dd8]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4e1c8)[0x7f28b29221c8]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7f28b292225c]
/usr/lib/libreoffice/program/libvclplug_gtk3lo.so(+0x89963)[0x7f28abbcd963]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN11Application5YieldEv+0x2e)[0x7f28b6493b9e]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN6Dialog7ExecuteEv+0x6e)[0x7f28b61e2d7e]
/usr/lib/libreoffice/program/libmergedlo.so(+0x237d32c)[0x7f28b59d732c]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1efbac5)[0x7f28b5555ac5]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1effe77)[0x7f28b5559e77]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1f0062a)[0x7f28b555a62a]
/usr/lib/libreoffice/program/libmergedlo.so(+0x2c1e098)[0x7f28b6278098]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN16SalUserEventList18DispatchUserEventsEb+0x187)[0x7f28b64758e7]
/usr/lib/libreoffice/program/libvclplug_gtk3lo.so(+0x88669)[0x7f28abbcc669]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x158)[0x7f28b2921dd8]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4e1c8)[0x7f28b29221c8]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7f28b292225c]
/usr/lib/libreoffice/program/libvclplug_gtk3lo.so(+0x89963)[0x7f28abbcd963]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN11Application5YieldEv+0x2e)[0x7f28b6493b9e]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN11Application7ExecuteEv+0x45)[0x7f28b6495315]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1f01a96)[0x7f28b555ba96]
/usr/lib/libreoffice/program/libmergedlo.so(+0x2e40416)[0x7f28b649a416]
/usr/lib/libreoffice/program/libmergedlo.so(_Z6SVMainv+0x30)[0x7f28b649a510]
/usr/lib/libreoffice/program/libmergedlo.so(soffice_main+0x91)[0x7f28b5577e41]
/usr/lib/libreoffice/program/soffice.bin(+0x107b)[0x56201332e07b]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb)[0x7f28b341609b]
/usr/lib/libreoffice/program/soffice.bin(+0x10ba)[0x56201332e0ba]
~/tmp>
Comment 1 Dieter 2019-05-13 12:21:32 UTC
What's the difference between this bug and bug 124607?
Comment 2 Xisco Faulí 2019-05-13 12:27:37 UTC
As mentioned in bug 124607. it seems to be a Debian problem...

*** This bug has been marked as a duplicate of bug 124607 ***
Comment 3 Stéphane Aulery 2019-05-13 12:37:34 UTC
Ok, I didn't find it. Oliver reported it twice on LO and Debian.