Bug 103175 - Crash when opening Libreoffice
Summary: Crash when opening Libreoffice
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.1.4.2 release
Hardware: All All
: highest critical
Assignee: Mike Kaganski
URL:
Whiteboard: target:6.1.0 target:6.0.3 target:5.4.6
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2016-10-13 06:02 UTC by michael.bischof3@googlemail.com
Modified: 2018-03-13 11:10 UTC (History)
3 users (show)

See Also:
Crash report or crash signature: ["SdrModel::ReadUserDataSequenceValue(com::sun::star::beans::PropertyValue const *)"]


Attachments
File that reproduces the bug (19.08 KB, application/vnd.oasis.opendocument.spreadsheet)
2018-03-11 21:08 UTC, Jens Landgré
Details

Note You need to log in before you can comment on or make changes to this bug.
Description michael.bischof3@googlemail.com 2016-10-13 06:02:57 UTC
Description:
Libreoffice crashed after trying to open a *.docx-file. Now, when I start Libreoffice, it starts with „document resauration“ and when I click „ok“ there it crashes. 

Steps to Reproduce:
1.Open LibreOffice
2.Click „ok“ on document restauration
3.

Actual Results:  
No result. I cannot start Libreoffice.

Expected Results:
That I can start Libreoffice.


Reproducible: Always

User Profile Reset: Yes

Additional Info:
Application Error


Fatal exception: Signal 6
Stack:
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x39530)[0x7ff31a0ca530]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x398c3)[0x7ff31a0ca8c3]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x399f8)[0x7ff31a0ca9f8]
/lib/x86_64-linux-gnu/libc.so.6(+0x354a0)[0x7ff319cfd4a0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7ff319cfd418]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7ff319cff01a]
/usr/lib/libreoffice/program/libmergedlo.so(+0x282b2fc)[0x7ff31cb132fc]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN11Application5AbortERKN3rtl8OUStringE+0x9a)[0x7ff31ca66d2a]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1859109)[0x7ff31bb41109]
/usr/lib/libreoffice/program/libmergedlo.so(+0x2784150)[0x7ff31ca6c150]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x39966)[0x7ff31a0ca966]
/lib/x86_64-linux-gnu/libc.so.6(+0x354a0)[0x7ff319cfd4a0]
/usr/lib/libreoffice/program/libmergedlo.so(com_sun_star_comp_sfx2_ScriptLibraryContainer_get_implementation+0x0)[0x7ff31b7f2a50]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x78c1c)[0x7ff313d0ac1c]
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(+0x7bd88)[0x7ff313d0dd88]
/usr/lib/libreoffice/program/libmergedlo.so(+0x176e127)[0x7ff31ba56127]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN14SfxObjectShell17GetBasicContainerEv+0xb0)[0x7ff31ba56ec0]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN12SfxBaseModel17getBasicLibrariesEv+0x5c)[0x7ff31ba7390c]
/usr/lib/libreoffice/program/libmergedlo.so(_ZNK4sfx217DocumentMacroMode15hasMacroLibraryEv+0x4c)[0x7ff31b9f004c]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN4sfx217DocumentMacroMode20checkMacrosOnLoadingERKN3com3sun4star3uno9ReferenceINS3_4task19XInteractionHandlerEEE+0x98)[0x7ff31b9f13f8]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1743fb3)[0x7ff31ba2bfb3]
/usr/lib/libreoffice/program/libmergedlo.so(+0x182bfac)[0x7ff31bb13fac]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN12SfxBaseModel17connectControllerERKN3com3sun4star3uno9ReferenceINS2_5frame11XControllerEEE+0x22c)[0x7ff31ba879cc]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1816b36)[0x7ff31bafeb36]
/usr/lib/libreoffice/program/libmergedlo.so(+0x11dd75b)[0x7ff31b4c575b]
/usr/lib/libreoffice/program/libmergedlo.so(+0x11de448)[0x7ff31b4c6448]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1174b5d)[0x7ff31b45cb5d]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1175906)[0x7ff31b45d906]
/usr/lib/libreoffice/program/libmergedlo.so(+0x163eb8a)[0x7ff31b926b8a]
/usr/lib/libreoffice/program/libmergedlo.so(+0x2586be8)[0x7ff31c86ebe8]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN17SalGenericDisplay21DispatchInternalEventEv+0x76)[0x7ff31cad6c56]
/usr/lib/libreoffice/program/libvclplug_genlo.so(_ZN13SalX11Display5YieldEv+0x24)[0x7ff30568caf4]
/usr/lib/libreoffice/program/libvclplug_genlo.so(+0x2f8ba)[0x7ff30568c8ba]
/usr/lib/libreoffice/program/libvclplug_genlo.so(_ZN7SalXLib5YieldEbb+0xe3)[0x7ff30568bee3]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN11Application5YieldEv+0x51)[0x7ff31ca67551]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN11Application7ExecuteEv+0x45)[0x7ff31ca690c5]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1860b48)[0x7ff31bb48b48]
/usr/lib/libreoffice/program/libmergedlo.so(+0x27852d1)[0x7ff31ca6d2d1]
/usr/lib/libreoffice/program/libmergedlo.so(_Z6SVMainv+0x22)[0x7ff31ca6d322]
/usr/lib/libreoffice/program/libmergedlo.so(soffice_main+0xa2)[0x7ff31bb656e2]
/usr/lib/libreoffice/program/soffice.bin[0x4006eb]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7ff319ce8830]
/usr/lib/libreoffice/program/soffice.bin[0x400729]


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0
Comment 1 Julien Nabet 2016-10-13 09:17:36 UTC
Do you confirmed you renamed your LO directory profile (see https://wiki.documentfoundation.org/UserProfile#GNU.2FLinux)

About the docx which caused the crash, would it be possible to attach it to the bugtracker (see https://bugs.documentfoundation.org/attachment.cgi?bugid=103175&action=enter) so we can try to reproduce this?

Finally, you can try to upgrade to 5.2.2 by using LO ppa.
Comment 2 QA Administrators 2017-05-02 11:36:41 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2017-05-31 10:46:00 UTC Comment hidden (obsolete)
Comment 4 Jens Landgré 2018-03-11 21:08:09 UTC
Created attachment 140569 [details]
File that reproduces the bug
Comment 5 Jens Landgré 2018-03-11 21:14:12 UTC
When opening the attached document using the following command I can reproduce this bug in both 5.1.4.2 and now with Ubuntu 17.10 and LibreOffice 5.4.5.1
Build ID: 1:5.4.5-0ubuntu0.17.10.5. I'm able to open the file in other progs, like Excel.

libreoffice --norestore Att\ göra\ GH\ 2018-2019.ods

Application Error


Fatal exception: Signal 6
Stack:
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x13505)[0x7fc3e9824505]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3b7f6)[0x7fc3e984c7f6]
/lib/x86_64-linux-gnu/libc.so.6(+0x37140)[0x7fc3e9468140]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7fc3e94680bb]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x16d)[0x7fc3e9469f5d]
/usr/lib/libreoffice/program/libmergedlo.so(+0x2cf9702)[0x7fc3ec763702]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN11Application5AbortERKN3rtl8OUStringE+0xa2)[0x7fc3ec6d0c82]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1ca6d80)[0x7fc3eb710d80]
/usr/lib/libreoffice/program/libmergedlo.so(+0x2c6c977)[0x7fc3ec6d6977]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x16352)[0x7fc3e9827352]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3b6bf)[0x7fc3e984c6bf]
/lib/x86_64-linux-gnu/libc.so.6(+0x37140)[0x7fc3e9468140]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN8SdrModel25ReadUserDataSequenceValueEPKN3com3sun4star5beans13PropertyValueE+0x54)[0x7fc3ebd54264]
/usr/lib/libreoffice/program/../program/libsclo.so(_ZN14ScPreviewShell20ReadUserDataSequenceERKN3com3sun4star3uno8SequenceINS2_5beans13PropertyValueEEE+0x67)[0x7fc3bd2b7347]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1c786e3)[0x7fc3eb6e26e3]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN17SfxBaseController11attachFrameERKN3com3sun4star3uno9ReferenceINS2_5frame6XFrameEEE+0x1cb)[0x7fc3eb6e3d6b]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1c6837d)[0x7fc3eb6d237d]
/usr/lib/libreoffice/program/libmergedlo.so(+0x15f9a8c)[0x7fc3eb063a8c]
/usr/lib/libreoffice/program/libmergedlo.so(+0x15fa4e6)[0x7fc3eb0644e6]
/usr/lib/libreoffice/program/libmergedlo.so(+0x15933b5)[0x7fc3eaffd3b5]
/usr/lib/libreoffice/program/libmergedlo.so(+0x15940a8)[0x7fc3eaffe0a8]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN10comphelper19SynchronousDispatch8dispatchERKN3com3sun4star3uno9ReferenceINS4_10XInterfaceEEERKN3rtl8OUStringESD_iRKNS4_8SequenceINS3_5beans13PropertyValueEEE+0x3b4)[0x7fc3eab1f844]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1cbbdde)[0x7fc3eb725dde]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1cc5e77)[0x7fc3eb72fe77]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1ca9f41)[0x7fc3eb713f41]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1cab0fa)[0x7fc3eb7150fa]
/usr/lib/libreoffice/program/libmergedlo.so(+0x2a71e7f)[0x7fc3ec4dbe7f]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN17SalGenericDisplay21DispatchInternalEventEv+0x67)[0x7fc3ec783797]
/usr/lib/libreoffice/program/libvclplug_gtk3lo.so(+0x41c1b)[0x7fc3d4c53c1b]
/usr/lib/libreoffice/program/libvclplug_gtk3lo.so(+0x41c91)[0x7fc3d4c53c91]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x155)[0x7fc3e7a9ce25]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4b1f0)[0x7fc3e7a9d1f0]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7fc3e7a9d27c]
/usr/lib/libreoffice/program/libvclplug_gtk3lo.so(+0x41284)[0x7fc3d4c53284]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN11Application5YieldEv+0x5d)[0x7fc3ec6d158d]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN11Application7ExecuteEv+0x45)[0x7fc3ec6d3915]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1cac481)[0x7fc3eb716481]
/usr/lib/libreoffice/program/libmergedlo.so(+0x2c6e476)[0x7fc3ec6d8476]
/usr/lib/libreoffice/program/libmergedlo.so(_Z6SVMainv+0x30)[0x7fc3ec6d8580]
/usr/lib/libreoffice/program/libmergedlo.so(soffice_main+0x115)[0x7fc3eb7377c5]
/usr/lib/libreoffice/program/soffice.bin(+0x78b)[0x55d24694a78b]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7fc3e94521c1]
/usr/lib/libreoffice/program/soffice.bin(+0x7ca)[0x55d24694a7ca]
Comment 6 Julien Nabet 2018-03-11 22:08:08 UTC
On pc Debian x86-64 with master sources updated today, I could also reproduce the crash but it seems cause is different.
Indeed, both bts you show Michael and you are different.

Xisco: do you think we should create a new bugtracker or should we "recycle" this one?
Comment 7 Xisco Faulí 2018-03-11 23:08:14 UTC
Yep, let's keep this one open!

Regression introduced by:

author	Mike Kaganski <mike.kaganski@collabora.com>	2016-06-28 19:13:22 +1000
committer	Miklos Vajna <vmiklos@collabora.co.uk>	2016-06-28 17:27:28 +0000
commit	0cb200d000fad8ba31c7400e08cd031823f27308 (patch)
tree	cfe441bb41ad09c86bc60d4cbe18d83982c0bf90
parent	c1ab6613ae7b45f2d90aafd6c6a829a471ceca55 (diff)
tdf#99729: fix text alignment (no autofit & no full width)

Bisected with: bibisect-linux-64-5.3

Adding Cc: to Mike Kaganski
Comment 8 Mike Kaganski 2018-03-12 07:09:55 UTC
https://gerrit.libreoffice.org/51096
Comment 9 Commit Notification 2018-03-12 08:09:21 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=de53d4690d25b9f1bbc0def6c66ce5b45b2fdc96

tdf#103175: Initialize DrawLayer if required

It will be available in 6.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 10 Xisco Faulí 2018-03-12 09:28:25 UTC
Wow Mike, that was really fast! Thanks a lot
I've just cherry-picked it to 6-0, 5-4 and 5-4-6
Comment 11 Xisco Faulí 2018-03-13 10:37:04 UTC
Verified in

Version: 6.1.0.0.alpha0+
Build ID: 6d20aeeda8a346ac10782d44214a89878fd00c40
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group
Comment 12 Commit Notification 2018-03-13 10:38:56 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "libreoffice-5-4":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=9f4bb984750887422dea4d1f6c4ef183f57b0ae5&h=libreoffice-5-4

tdf#103175: Initialize DrawLayer if required

It will be available in 5.4.7.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 13 Commit Notification 2018-03-13 10:39:07 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "libreoffice-6-0":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=e722d9a406da01514bb256def98624da3eafee0c&h=libreoffice-6-0

tdf#103175: Initialize DrawLayer if required

It will be available in 6.0.3.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 14 Commit Notification 2018-03-13 10:59:22 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "libreoffice-5-4-6":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=95357b76001a74a23bdc0b68d2e5749124084bce&h=libreoffice-5-4-6

tdf#103175: Initialize DrawLayer if required

It will be available in 5.4.6.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 15 Julien Nabet 2018-03-13 11:10:10 UTC
Let's simplify a bit targets.