Bug 124607 - Opening docx file makes LO writer crash
Summary: Opening docx file makes LO writer crash
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
: 125260 (view as bug list)
Depends on:
Blocks: DOCX-Opening
  Show dependency treegraph
 
Reported: 2019-04-08 11:41 UTC by Oliver Sander
Modified: 2020-01-24 09:38 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
File that causes the crash (21.72 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-04-08 11:41 UTC, Oliver Sander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Sander 2019-04-08 11:41:32 UTC
Created attachment 150609 [details]
File that causes the crash

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

This has been reproduced independently on two separate Linux machines.  On a third machine the file opens without issues...

~/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 Xisco Faulí 2019-04-08 13:04:56 UTC
I can't reproduce it in

Versión: 6.2.2.2
Id. de compilación: 2b840030fec2aae0fd2658d8d4f9548af4e3518d
Subprocs. CPU: 1; SO: Windows 6.1; Repres. IU: predet.; VCL: win; 
Configuración regional: es-ES (es_ES); Idioma de IU: es-ES
Calc: threaded

Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 2 Oliver Sander 2019-04-08 18:36:12 UTC
I installed 

Version: 6.2.2.2
Build ID: 2b840030fec2aae0fd2658d8d4f9548af4e3518d
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: kde5; 
Locale: de-DE (de_DE.UTF-8); UI-Language: en-US
Calc: threaded

and the problem went away.

On the other hand, I just asked the person that originally sent me the problematic document, and he can still reproduce the issue with

Version: 6.2.2.2
Build-ID: 6.2.2-3
CPU-Threads: 4; BS: Linux 5.0; UI-Render: Standard; VCL: kde5;
Gebietsschema: de-DE (de_DE.UTF-8); UI-Sprache: de-DE
Calc: threaded

I don't really know what to make of this...
Comment 3 Xisco Faulí 2019-04-09 12:20:51 UTC
(In reply to Oliver Sander from comment #2)
> I installed 
> 
> Version: 6.2.2.2
> Build ID: 2b840030fec2aae0fd2658d8d4f9548af4e3518d
> CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: kde5; 
> Locale: de-DE (de_DE.UTF-8); UI-Language: en-US
> Calc: threaded
> 
> and the problem went away.
> 
> On the other hand, I just asked the person that originally sent me the
> problematic document, and he can still reproduce the issue with
> 
> Version: 6.2.2.2
> Build-ID: 6.2.2-3
> CPU-Threads: 4; BS: Linux 5.0; UI-Render: Standard; VCL: kde5;
> Gebietsschema: de-DE (de_DE.UTF-8); UI-Sprache: de-DE
> Calc: threaded
> 
> I don't really know what to make of this...

Good to hear.
Could you please tell the person to re-test with a clean profile -> https://wiki.documentfoundation.org/UserProfile ?
Comment 4 Oliver Sander 2019-04-09 18:22:11 UTC
I did.  The result, I was told, of running LO in 'safe-mode', was that the problem persists.

I tried the same with my installation of 6.1.5.2 which I used for my original bug report.  Same result: the problem persists.
Comment 5 Oliver Sander 2019-04-14 20:59:20 UTC
Next attempt: I downloaded and installed version 6.1.5.2 from https://www.libreoffice.org/download 

Version: 6.1.5.2
Build ID: 90f8dcf33c87b3705e78202e3df5142b201bd805
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: kde4; 
Locale: de-DE (de_DE.UTF-8); Calc: group threaded

and with that I can open the file without problems.  Remember that I got the original bug with the same version, but taken from Debian.  So maybe this is a Debian packaging bug?  For reference, here is the downstream bug I filed:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=927063
Comment 6 Xisco Faulí 2019-04-17 14:51:34 UTC
(In reply to Oliver Sander from comment #5)
> Next attempt: I downloaded and installed version 6.1.5.2 from
> https://www.libreoffice.org/download 
> 
> Version: 6.1.5.2
> Build ID: 90f8dcf33c87b3705e78202e3df5142b201bd805
> CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: kde4; 
> Locale: de-DE (de_DE.UTF-8); Calc: group threaded
> 
> and with that I can open the file without problems.  Remember that I got the
> original bug with the same version, but taken from Debian.  So maybe this is
> a Debian packaging bug?  For reference, here is the downstream bug I filed:
> 
>   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=927063

it seems to be a debian problem then...
Adding Rene to the loop
Comment 7 Xisco Faulí 2019-05-13 12:27:37 UTC
*** Bug 125260 has been marked as a duplicate of this bug. ***
Comment 8 QA Administrators 2019-11-10 03:49:31 UTC Comment hidden (obsolete)
Comment 9 Oliver Sander 2019-11-13 20:20:05 UTC
The situation is unchanged.
Comment 10 QA Administrators 2019-11-14 03:45:24 UTC Comment hidden (obsolete)
Comment 11 Xisco Faulí 2020-01-20 18:41:59 UTC
I can't reproduce it in

Version: 6.5.0.0.alpha0+
Build ID: fc1f85127968d1c2e0a53dace51bf8a78f9e6ca5
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

on debian 10

Could you please try to reproduce it with a master build from http://dev-builds.libreoffice.org/daily/master/ ?
You can install it alongside the standard version.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the master build
Comment 12 Oliver Sander 2020-01-24 09:38:04 UTC
I tested it with the LibreOffice provided by current Debian unstable, and LO did not crash.  So whatever caused this bug seems to have gone.  Thanks for your help.