Bug 128882 - LO64b1 on macOS: crashing upon opening/creating a document
Summary: LO64b1 on macOS: crashing upon opening/creating a document
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.4.0.0.beta1+
Hardware: All macOS (All)
: highest critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
: 128899 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-11-18 23:16 UTC by Martin Srebotnjak
Modified: 2019-11-21 10:16 UTC (History)
3 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 Martin Srebotnjak 2019-11-18 23:16:33 UTC
Description:
Opening an existing document (text document, presentation, drawing) 64LOb1 on macOS crashes.
Exemptions are Math formulae, Calc spreadsheets and Base databases.

Steps to Reproduce:
1. Open LibreOffice 6.4b1 on macOS
2. Open/create text document/presentation/drawing
3.

Actual Results:
LO crashes.

Expected Results:
LO works?


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Comment 1 Xisco Faulí 2019-11-19 07:00:56 UTC
Indeed, I can reproduce it in

Version: 6.4.0.0.beta1
Build ID: 4d7e5b0c40ed843384704eca3ce21981d4e98920
CPU threads: 8; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; 
Locale: en-US (en_ES.UTF-8); UI-Language: en-US
Calc: threaded

but not in

Version: 6.4.0.0.beta1+
Build ID: c2097477e3a43d75c170a6f7a5daf5dcb2169329
CPU threads: 8; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; 
Locale: en-US (en_ES.UTF-8); UI-Language: en-US
Calc: threaded
(bisect repo)
Comment 2 Xisco Faulí 2019-11-19 07:04:53 UTC
Not reproduced in

Version: 6.4.0.0.alpha1+
Build ID: 9bc848cf0d301aa57eabcffa101a1cf87bad6470
CPU threads: 8; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; 
Locale: en-US (en_ES.UTF-8); UI-Language: en-US
Calc: threaded

(libreoffice-6-4-branch-point)
so I believe the problem is with the packaging?
Comment 3 Xisco Faulí 2019-11-19 07:08:30 UTC
Same problem is safe mode
Comment 4 Xisco Faulí 2019-11-19 07:10:39 UTC
@Stephan, do you reproduce this issue with a local build ?
Comment 5 Stephan Bergmann 2019-11-19 09:19:29 UTC
(In reply to Xisco Faulí from comment #1)
> Indeed, I can reproduce it in
> 
> Version: 6.4.0.0.beta1
> Build ID: 4d7e5b0c40ed843384704eca3ce21981d4e98920
> CPU threads: 8; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; 
> Locale: en-US (en_ES.UTF-8); UI-Language: en-US
> Calc: threaded

did you download that as pre-built (if yes, from where)?
Comment 6 Xisco Faulí 2019-11-19 09:23:11 UTC
(In reply to Stephan Bergmann from comment #5)
> (In reply to Xisco Faulí from comment #1)
> > Indeed, I can reproduce it in
> > 
> > Version: 6.4.0.0.beta1
> > Build ID: 4d7e5b0c40ed843384704eca3ce21981d4e98920
> > CPU threads: 8; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; 
> > Locale: en-US (en_ES.UTF-8); UI-Language: en-US
> > Calc: threaded
> 
> did you download that as pre-built (if yes, from where)?

From https://downloadarchive.documentfoundation.org/libreoffice/old/6.4.0.0.beta1/mac/x86_64/LibreOfficeDev_6.4.0.0.beta1_MacOS_x86-64.dmg
Comment 7 Stephan Bergmann 2019-11-19 20:54:38 UTC
(In reply to Xisco Faulí from comment #6)
> (In reply to Stephan Bergmann from comment #5)
> > (In reply to Xisco Faulí from comment #1)
> > > Indeed, I can reproduce it in
> > > 
> > > Version: 6.4.0.0.beta1
> > > Build ID: 4d7e5b0c40ed843384704eca3ce21981d4e98920
> > > CPU threads: 8; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; 
> > > Locale: en-US (en_ES.UTF-8); UI-Language: en-US
> > > Calc: threaded
> > 
> > did you download that as pre-built (if yes, from where)?
> 
> From
> https://downloadarchive.documentfoundation.org/libreoffice/old/6.4.0.0.beta1/
> mac/x86_64/LibreOfficeDev_6.4.0.0.beta1_MacOS_x86-64.dmg

Can reproduce the failure with that.  But unfortunately cannot get lldb to get a backtrace (maybe because the app is not from a certified developer?):  Even after copying from the .dmg to /Applications and using Finder context-menu Open to Open it anyway, then

> $ lldb -p 85619 # the pid of the running soffice
> (lldb) process attach --pid 85619
> error: attach failed: Error 1

and (after closing that instance of soffice)

> $ lldb /Applications/LibreOffice.app/Contents/MacOS/soffice 
> (lldb) target create "/Applications/LibreOffice.app/Contents/MacOS/soffice"
> Current executable set to '/Applications/LibreOffice.app/Contents/MacOS/soffice' (x86_64).
> (lldb) r
> error: process exited with status -1 (Error 1)

With a similar local build (4d7e5b0c40ed843384704eca3ce21981d4e98920, --disable-release-build --disable-debug --disable-dbgutil --with-package-format=dmg, among others) and installing workdir/installation/LibreOfficeDev/dmg/install/en-US/LibreOfficeDev_6.4.0.0.beta1_MacOS_x86-64.dmg, I can not reproduce the failure.

(All on macOS 10.15.1.)
Comment 8 Alex Thurgood 2019-11-20 12:46:34 UTC
*** Bug 128899 has been marked as a duplicate of this bug. ***
Comment 9 Alex Thurgood 2019-11-21 09:52:28 UTC
Try the WORKAROUND proposed in bug 128896#c4

Does that change anything ?
Comment 10 Martin Srebotnjak 2019-11-21 09:58:48 UTC
(In reply to Alex Thurgood from comment #9)
> Try the WORKAROUND proposed in bug 128896#c4
> 
> Does that change anything ?

No, it doesn't change anything.
Notice that Calc does open while Writer crashes ... So there is even different behavior depending on the module (in some way).
Comment 11 Xisco Faulí 2019-11-21 10:14:36 UTC
This issue is no longer reproducible with the new builds available at https://dev-builds.libreoffice.org/pre-releases/mac/x86_64/?C=S&O=D
Please, re-install LibreOffice 6.4 beta1
Closing as RESOLVED WORKSFORME
Comment 12 Martin Srebotnjak 2019-11-21 10:16:38 UTC
Do we know why the previous builds did not function properly?