[Bug 172033] Crash on launch: LibreOfficeDev daily master build (macOS)

2026-05-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=172033

Patrick (volunteer)  changed:

   What|Removed |Added

 Resolution|--- |FIXED
   Assignee|[email protected] |[email protected]
   |desktop.org |
 Status|NEW |RESOLVED

--- Comment #14 from Patrick (volunteer)  ---
The patch got committed a little too late for the tomorrow's nightly master
build, so I expect the fix to be in the 16 May nightly master build.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 172033] Crash on launch: LibreOfficeDev daily master build (macOS)

2026-05-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=172033

--- Comment #13 from Commit Notification 
 ---
Patrick Luby committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/4b3d4939f45413f66595fbbd3a8e142624373c56

tdf#172033 Run install_name_tool on libfontconfig when building macOS

It will be available in 26.8.0.

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

Affected users are encouraged to test the fix and report feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 172033] Crash on launch: LibreOfficeDev daily master build (macOS)

2026-05-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=172033

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:26.8.0

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 172033] Crash on launch: LibreOfficeDev daily master build (macOS)

2026-05-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=172033

--- Comment #12 from [email protected]  ---
Also seems like we should figure out how to rename the dylib to
libfontconfig-lo.1.dylib; I can work on that.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 172033] Crash on launch: LibreOfficeDev daily master build (macOS)

2026-05-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=172033

--- Comment #11 from Patrick (volunteer)  ---
I think that I have a fix in the following patch:

https://gerrit.libreoffice.org/c/core/+/205175

But it needs review as I don't have any familiarity with the fontconfig code.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 172033] Crash on launch: LibreOfficeDev daily master build (macOS)

2026-05-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=172033

--- Comment #10 from Sierk Bornemann  ---
(In reply to Patrick (volunteer) from comment #9)
> Found the cause: building with --enable-headless causes libfontconfig to be
> built.

I guess, this seems to be the change, which enables it:

Bug 169711 - Crash on macOS when running LibreOffice headless via Terminal
without GUI
Commit Notification 2026-04-30 11:13:07 UTC
https://bugs.documentfoundation.org/show_bug.cgi?id=169711#c20

Commit Apr 30 13:12:52 2026: tdf#169711 Enable headless mode on macOS builds
https://github.com/LibreOffice/core/commit/65f1b7351d5deccbae84156fef4c9580ac34dcb9
https://gerrit.libreoffice.org/c/core/+/200535

Since this change, the crash problem above seems to occur, the commit date
seems also corresponding.

Preparatory:

Commit Nov 28 20:56:03 2025: Introduce --enable-headless to add it as a
possibility on macOS
https://git.libreoffice.org/core/+/5d4a689293d47c7671315452f6b90a185fe809c0%5E%21


> Still need to figure out why libfontconfig is messed up in libmerged.

+1

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 172033] Crash on launch: LibreOfficeDev daily master build (macOS)

2026-05-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=172033

--- Comment #9 from Patrick (volunteer)  ---
Found the cause: building with --enable-headless causes libfontconfig to be
built.

Still need to figure out why libfontconfig is messed up in libmerged.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 172033] Crash on launch: LibreOfficeDev daily master build (macOS)

2026-05-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=172033

--- Comment #8 from Patrick (volunteer)  ---
OK. I did a "make distclean" and rebuilt master with the ./configure command
arguments (except for the --with-external-tar or --srcdir arguments) in the
following nightly build log:

https://ci.libreoffice.org/job/lo_daily_tb_mac_arm64/lastBuild/consoleFull

I can still reproduce this bug in the 12 May 2026 nightly build but not in the
.dmg built with the same nightly build ./configure command arguments.

So I compared the output of "otool -L Contents/Frameworks/libmergedlo.dylib" in
both installations and found the following:

-  
/Users/tdf/lode/jenkins/workspace/lo_gerrit/tb/build_master/workdir/UnpackedTarball/fontconfig/src/.libs/libfontconfig.1.dylib
(compatibility version 18.0.0, current version 18.1.0)
+  
/Volumes/LOBuilds/lode/dev/core/workdir/UnpackedTarball/fontconfig/src/.libs/libfontconfig.1.dylib
(compatibility version 18.0.0, current version 18.1.0

>From the above, I think the build is linking libfontconfig.1.dylib in the wrong
location. The reason LibreOffice launches in my locally built .dmg is that the
"/Volumes/LOBuilds/.../libfontconfig.1.dylib" path exists in my machine's
build.

I would think the otool -L output should be
"@loader_path/libfontconfig.1.dylib" instead of an absolute path like all of
the other *.dylib files in the installation's Contents/Frameworks folder.

Let me see if I can find where the build does the @loader_path stuff. I am
guessing there is a list of *.dylib files somewhere in the build that
libfontconfig.1.dylib needs to be added to.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 172033] Crash on launch: LibreOfficeDev daily master build (macOS)

2026-05-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=172033

--- Comment #7 from Julien Nabet  ---
(In reply to Patrick (volunteer) from comment #6)
> ...
> Maybe I am missing a configure option that the nightly build uses that
> triggers the libmerged problem?

Taking a look at distro-configs/LibreOfficeMacOSX.conf, I noticed this:
--enable-mergelibs=more
--without-system-fontconfig

(see
https://opengrok.libreoffice.org/xref/core/distro-configs/LibreOfficeMacOSX.conf?r=65f1b7351d5deccbae84156fef4c9580ac34dcb9
for the complete file)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 172033] Crash on launch: LibreOfficeDev daily master build (macOS)

2026-05-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=172033

Patrick (volunteer)  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #6 from Patrick (volunteer)  ---
I can reproduce the crash in the 10 May 2026 nightly master build.

However, I cannot reproduce the crash in my local master build (did a git pull
-r 2 or 3 hours ago) with either --enable-mergelibs=, --enable-mergelibs=yes,
or --enable-mergelibs=more.

After each build, I ran the following command from my build root and I don't
get any output. So, at least in my local build, libfontconfig is not getting
added to libmerged:

otool -L instdir/LibreOfficeDev.app/Contents/Frameworks/libmergedlo.dylib |
grep libfont

Maybe I am missing a configure option that the nightly build uses that triggers
the libmerged problem?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 172033] Crash on launch: LibreOfficeDev daily master build (macOS)

2026-05-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=172033

Julien Nabet  changed:

   What|Removed |Added

Summary|Crash on launch:|Crash on launch:
   |LibreOfficeDev daily master |LibreOfficeDev daily master
   |build   |build (macOS)

-- 
You are receiving this mail because:
You are the assignee for the bug.