Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] MacOS crash at startup all the time (critical) #166

Closed
2 tasks done
krl91 opened this issue Sep 13, 2022 · 27 comments
Closed
2 tasks done

[Bug] MacOS crash at startup all the time (critical) #166

krl91 opened this issue Sep 13, 2022 · 27 comments
Assignees

Comments

@krl91
Copy link

krl91 commented Sep 13, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Forums discussion

https://forum.freecadweb.org/viewtopic.php?f=3&t=71835&p=626089#p626089

Version

0.20 (Release)

Full version info

MacBook Pro:
2,9 GHz Intel Core i5
16 Go or RAM
Intel Iris Graphics 550 1536 Mo

Subproject(s) affected?

No response

Issue description

I'm using MacOS 12.5.1 (MacIntel) and just installed last Downloadable version of FreeCAD for MacOS (20.1)
When I launch it I have the small window that is showing the loading of FreeCAD and the it crah all the time itself, so it sound to be a critical bug.... so I go back on FreeCAD 19 that works well..

The error is [0912/192441.802114:ERROR:icu_util.cc(251)] Couldn't mmap icu data file

Same issue on FreeCAD 0.21.
FreeCAD 0.19 works

Anything else?

/Applications/FreeCAD.app/Contents/MacOS/FreeCAD --write-log
packages in environment at /Users/runner/work/FreeCAD-Bundle/FreeCAD-Bundle/conda/osx/APP/FreeCAD.app/Contents/Resources:
#
# Name                    Version                   Build  Channel
aom                       3.4.0                hb486fe8_1    conda-forge
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
arpack                    3.7.0                hefb7bc6_2    conda-forge
atk-1.0                   2.36.0               he69c4ee_4    conda-forge
blas                      2.116                  openblas    conda-forge
blas-devel                3.9.0           16_osx64_openblas    conda-forge
blinker                   1.4                        py_1    conda-forge
boost                     1.74.0          py310h509978a_5    conda-forge
boost-cpp                 1.74.0               h8b082ac_8    conda-forge
brotli                    1.0.9                h5eb16cf_7    conda-forge
brotli-bin                1.0.9                h5eb16cf_7    conda-forge
brotlipy                  0.7.0           py310h1961e1f_1004    conda-forge
bzip2                     1.0.8                h0d85af4_4    conda-forge
c-ares                    1.18.1               h0d85af4_0    conda-forge
ca-certificates           2022.6.15            h033912b_0    conda-forge
cairo                     1.16.0            h56d7d38_1012    conda-forge
calculix                  2.20                 h61d0cde_0    conda-forge
certifi                   2022.6.15       py310h2ec42d9_0    conda-forge
cffi                      1.15.1          py310h96bbf6e_0    conda-forge
charset-normalizer        2.1.0              pyhd8ed1ab_0    conda-forge
coin3d                    4.0.0             hf16527e_1011    conda-forge
cryptography              37.0.4          py310h52c3658_0    conda-forge
curl                      7.83.1               h372c54d_0    conda-forge
cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
docutils                  0.19            py310h2ec42d9_0    conda-forge
double-conversion         3.2.0                he49afe7_0    conda-forge
eigen                     3.4.0                h940c156_0    conda-forge
expat                     2.4.8                h96cf925_0    conda-forge
ezdxf                     0.18            py310habb735a_0    conda-forge
ffmpeg                    4.4.2           gpl_h5a1d76f_107    conda-forge
flann                     1.9.1             h30321d8_1010    conda-forge
fltk                      1.3.8                h7ffa276_0    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.14.0               h676cef8_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
fonttools                 4.36.0          py310h3c08dca_0    conda-forge
freecad                   0.20.1          py310h41becee_1    conda-forge
freeimage                 3.18.0              haafd79f_10    conda-forge
freetype                  2.12.1               h3f81eb7_0    conda-forge
fribidi                   1.0.10               hbcb3906_0    conda-forge
gdk-pixbuf                2.42.8               hb161b9c_0    conda-forge
gettext                   0.19.8.1          hd1a6beb_1008    conda-forge
giflib                    5.2.1                hbcb3906_2    conda-forge
gitdb                     4.0.9              pyhd8ed1ab_0    conda-forge
gitpython                 3.1.27             pyhd8ed1ab_0    conda-forge
gl2ps                     1.4.2                h4cff582_0    conda-forge
glew                      2.1.0                h046ec9c_2    conda-forge
glib                      2.72.1               h2292cb8_0    conda-forge
glib-tools                2.72.1               h2292cb8_0    conda-forge
gmp                       6.2.1                h2e338ed_0    conda-forge
gmpy2                     2.1.2           py310hf5ec7bd_0    conda-forge
gmsh                      4.10.5               he204d90_0    conda-forge
gnutls                    3.7.7                h047ecf1_0    conda-forge
graphite2                 1.3.13            h2e338ed_1001    conda-forge
graphviz                  5.0.0                ha5baa68_0    conda-forge
gst-plugins-base          1.20.3               hda0ba4b_0    conda-forge
gstreamer                 1.20.3               hdc08c3f_0    conda-forge
gtk2                      2.24.33              h7c1209e_2    conda-forge
gts                       0.7.6                hccb3bdf_2    conda-forge
harfbuzz                  5.1.0                h00bb2c2_0    conda-forge
hdf4                      4.2.15               h0623a88_4    conda-forge
hdf5                      1.12.1          nompi_ha60fbc9_104    conda-forge
icu                       70.1                 h96cf925_0    conda-forge
idna                      3.3                pyhd8ed1ab_0    conda-forge
imath                     3.1.5                hd9580d2_0    conda-forge
jasper                    2.0.33               h013e400_0    conda-forge
jinja2                    3.1.2              pyhd8ed1ab_1    conda-forge
jpeg                      9e                   hac89ed1_2    conda-forge
jsoncpp                   1.9.5                h940c156_1    conda-forge
jxrlib                    1.1                  h35c211d_2    conda-forge
kiwisolver                1.4.4           py310habb735a_0    conda-forge
krb5                      1.19.3               hb49756b_0    conda-forge
lame                      3.100             h35c211d_1001    conda-forge
lcms2                     2.12                 h577c468_0    conda-forge
lerc                      4.0.0                hb486fe8_0    conda-forge
libblas                   3.9.0           16_osx64_openblas    conda-forge
libbrotlicommon           1.0.9                h5eb16cf_7    conda-forge
libbrotlidec              1.0.9                h5eb16cf_7    conda-forge
libbrotlienc              1.0.9                h5eb16cf_7    conda-forge
libcblas                  3.9.0           16_osx64_openblas    conda-forge
libclang                  14.0.6          default_h55ffa42_0    conda-forge
libclang13                14.0.6          default_hb5731bd_0    conda-forge
libcurl                   7.83.1               h372c54d_0    conda-forge
libcxx                    14.0.6               hce7ea42_0    conda-forge
libdeflate                1.13                 h775f41a_0    conda-forge
libedit                   3.1.20191231         h0678c8f_2    conda-forge
libev                     4.33                 haf1e3a3_1    conda-forge
libffi                    3.4.2                h0d85af4_5    conda-forge
libgd                     2.3.3                h1e214de_3    conda-forge
libgfortran               5.0.0           10_4_0_h97931a8_25    conda-forge
libgfortran5              11.3.0              h082f757_25    conda-forge
libglib                   2.72.1               hfbcb929_0    conda-forge
libiconv                  1.16                 haf1e3a3_0    conda-forge
libidn2                   2.3.3                hac89ed1_0    conda-forge
liblapack                 3.9.0           16_osx64_openblas    conda-forge
liblapacke                3.9.0           16_osx64_openblas    conda-forge
libllvm14                 14.0.6               h41df66c_0    conda-forge
libnetcdf                 4.8.1           nompi_h6609ca0_102    conda-forge
libnghttp2                1.47.0               h7cbc4dc_1    conda-forge
libogg                    1.3.4                h35c211d_1    conda-forge
libopenblas               0.3.21          openmp_h1027af7_0    conda-forge
libopencv                 4.6.0           py310hdaa94e3_2    conda-forge
libopus                   1.3.1                hc929b4f_1    conda-forge
libpng                    1.6.37               h5481273_4    conda-forge
libpq                     14.5                 h76c7896_0    conda-forge
libprotobuf               3.20.1               hfa58983_1    conda-forge
libraw                    0.20.2               hefd3b78_1    conda-forge
libredwg                  0.11.3876       py310pl5321ha9f0948_2    conda-forge
librsvg                   2.54.4               h3d48ba6_0    conda-forge
libsqlite                 3.39.2               h5a3d3bf_1    conda-forge
libssh2                   1.10.0               h7535e13_3    conda-forge
libtasn1                  4.18.0               hac89ed1_1    conda-forge
libtheora                 1.1.1             h0d85af4_1005    conda-forge
libtiff                   4.4.0                h5e0c7b4_3    conda-forge
libtool                   2.4.6             he49afe7_1008    conda-forge
libunistring              0.9.10               h0d85af4_0    conda-forge
libvorbis                 1.3.7                h046ec9c_0    conda-forge
libvpx                    1.11.0               he49afe7_3    conda-forge
libwebp                   1.2.4                hfa4350a_0    conda-forge
libwebp-base              1.2.4                h775f41a_0    conda-forge
libxcb                    1.13              h0d85af4_1004    conda-forge
libxml2                   2.9.14               hea49891_4    conda-forge
libxslt                   1.1.35               heaa0ce8_0    conda-forge
libzip                    1.9.2                h3ad4413_1    conda-forge
libzlib                   1.2.12               hfe4f2af_2    conda-forge
llvm-openmp               14.0.4               ha654fa7_0    conda-forge
lml                       0.1.0              pyh9f0ad1d_0    conda-forge
loguru                    0.6.0           py310h2ec42d9_1    conda-forge
lxml                      4.9.1           py310h6c45266_0    conda-forge
lz4-c                     1.9.3                he49afe7_1    conda-forge
markupsafe                2.1.1           py310h1961e1f_1    conda-forge
matplotlib-base           3.5.3           py310h6438751_1    conda-forge
meshpy                    2020.1          py310h514ec25_2    conda-forge
mpc                       1.2.1                hbb51d92_0    conda-forge
mpfr                      4.1.0                h0f52abe_1    conda-forge
mpmath                    1.2.1              pyhd8ed1ab_0    conda-forge
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
mysql-common              8.0.30               h924029e_0    conda-forge
mysql-libs                8.0.30               h3cab752_0    conda-forge
ncurses                   6.3                  h96cf925_1    conda-forge
nettle                    3.8.1                h96f3785_1    conda-forge
nine                      1.1.0                      py_0    conda-forge
nspr                      4.32                 hcd9eead_1    conda-forge
nss                       3.78                 ha8197d3_0    conda-forge
numpy                     1.23.2          py310hf910466_0    conda-forge
occt                      7.6.2                h1c46427_3    conda-forge
olefile                   0.46               pyh9f0ad1d_1    conda-forge
openblas                  0.3.21          openmp_hf6976e5_0    conda-forge
opencamlib                2019.07         py310hb4dbaa5_4    conda-forge
opencv                    4.6.0           py310h2ec42d9_2    conda-forge
openexr                   3.1.5                h6fbc5c6_0    conda-forge
openglider                0.0.7.1            pyhd8ed1ab_0    conda-forge
openh264                  2.3.0                hb486fe8_0    conda-forge
openjpeg                  2.5.0                h5d0d7b0_1    conda-forge
openssl                   1.1.1q               hfe4f2af_0    conda-forge
p11-kit                   0.24.1               h65f8906_0    conda-forge
packaging                 21.3               pyhd8ed1ab_0    conda-forge
pandas                    1.4.3           py310h3099161_0    conda-forge
pango                     1.50.9               hc8ec20f_0    conda-forge
parabem                   0.3.0           py310h88c5a66_1    conda-forge
pcl                       1.12.1               hd88d915_0    conda-forge
pcre                      8.45                 he49afe7_0    conda-forge
perl                      5.32.1          2_h0d85af4_perl5    conda-forge
pillow                    9.2.0           py310h54af1cc_2    conda-forge
pip                       22.2.2             pyhd8ed1ab_0    conda-forge
pivy                      0.6.7           py310habb735a_2    conda-forge
pixman                    0.40.0               hbcb3906_0    conda-forge
platformdirs              2.5.2              pyhd8ed1ab_1    conda-forge
ply                       3.11                       py_1    conda-forge
proj                      9.0.1                h05f0992_1    conda-forge
pthread-stubs             0.4               hc929b4f_1001    conda-forge
pugixml                   1.11.4               he49afe7_0    conda-forge
py-opencv                 4.6.0           py310ha188af9_2    conda-forge
pycollada                 0.7.2              pyhd8ed1ab_0    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pyexcel-ezodf             0.3.4                      py_0    conda-forge
pyexcel-io                0.6.6              pyhd8ed1ab_0    conda-forge
pyexcel-ods3              0.6.1              pyhd8ed1ab_0    conda-forge
pyopenssl                 22.0.0             pyhd8ed1ab_0    conda-forge
pyparsing                 3.0.9              pyhd8ed1ab_0    conda-forge
pyside2                   5.15.5          py310h407abdb_1    conda-forge
pysocks                   1.7.1           py310h2ec42d9_5    conda-forge
python                    3.10.5          hdaaf3db_0_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python_abi                3.10                    2_cp310    conda-forge
pytools                   2022.1.12          pyhd8ed1ab_0    conda-forge
pytz                      2022.2.1           pyhd8ed1ab_0    conda-forge
pyyaml                    6.0             py310h1961e1f_4    conda-forge
qhull                     2020.2               h940c156_2    conda-forge
qt                        5.15.4               hb3ad848_0    conda-forge
qt-main                   5.15.4               h938c29d_2    conda-forge
qt-webengine              5.15.4               h72ca1e5_3    conda-forge
qt.py                     1.2.2                      py_0    conda-forge
rapidjson                 1.1.0             hb1e8313_1002    conda-forge
readline                  8.1.2                h3899abd_0    conda-forge
requests                  2.28.1             pyhd8ed1ab_0    conda-forge
scipy                     1.9.0           py310h70707f4_0    conda-forge
setuptools                65.1.0          py310h2ec42d9_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
smesh                     9.8.0.2              he8082b2_3    conda-forge
smmap                     3.0.5              pyh44b312d_0    conda-forge
soqt                      1.6.0                h1b54a9f_3    conda-forge
sqlite                    3.39.2               hd9f0692_1    conda-forge
svgwrite                  1.4.3              pyhd8ed1ab_0    conda-forge
svt-av1                   1.2.1                hbbd2c75_0    conda-forge
sympy                     1.10.1          py310h2ec42d9_0    conda-forge
tbb                       2021.5.0             hbb4e6a2_1    conda-forge
tbb-devel                 2021.5.0             hbb4e6a2_1    conda-forge
tk                        8.6.12               h5dbffcc_0    conda-forge
typing_extensions         4.3.0              pyha770c72_0    conda-forge
tzdata                    2022c                h191b570_0    conda-forge
unicodedata2              14.0.0          py310h1961e1f_1    conda-forge
urllib3                   1.26.11            pyhd8ed1ab_0    conda-forge
utfcpp                    3.2.1                h694c41f_0    conda-forge
vtk                       9.1.0           qt_py310ha3f681f_211    conda-forge
wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
x264                      1!164.3095           h775f41a_2    conda-forge
x265                      3.5                  hbb4e6a2_3    conda-forge
xerces-c                  3.2.3                hf5b2a72_5    conda-forge
xlrd                      2.0.1              pyhd8ed1ab_3    conda-forge
xlutils                   2.0.0                      py_0    freecad/label/dev
xlwt                      1.3.0                      py_1    conda-forge
xorg-fixesproto           5.0               h0d85af4_1002    conda-forge
xorg-kbproto              1.0.7             h35c211d_1002    conda-forge
xorg-libice               1.0.10               h0d85af4_0    conda-forge
xorg-libsm                1.2.3             h0d85af4_1000    conda-forge
xorg-libx11               1.7.2                h0d85af4_0    conda-forge
xorg-libxau               1.0.9                h35c211d_0    conda-forge
xorg-libxdmcp             1.1.3                h35c211d_0    conda-forge
xorg-libxext              1.3.4                h0d85af4_1    conda-forge
xorg-libxfixes            5.0.3             h0d85af4_1004    conda-forge
xorg-libxrender           0.9.10            h0d85af4_1003    conda-forge
xorg-renderproto          0.11.1            h0d85af4_1002    conda-forge
xorg-xextproto            7.3.0             h35c211d_1002    conda-forge
xorg-xproto               7.0.31            h35c211d_1007    conda-forge
xz                        5.2.6                h775f41a_0    conda-forge
yaml                      0.2.5                h0d85af4_2    conda-forge
zlib                      1.2.12               hfe4f2af_2    conda-forge
zstd                      1.5.2                hfa58983_4    conda-forge
FreeCAD 0.20.1, Libs: 0.20.1R29410 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2022
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####
  #                    #      # #   #   #
  #     ##  #### ####  #     #   #  #   #
  ####  # # #  # #  #  #     #####  #   #
  #     #   #### ####  #    #     # #   #
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

[0912/192441.802114:ERROR:icu_util.cc(251)] Couldn't mmap icu data file
/Applications/FreeCAD.app/Contents/MacOS/FreeCAD: line 19:  6079 Trace/BPT trap: 5       "${PREFIX}/bin/freecad" $@

Code of Conduct

  • I agree to follow this project's Code of Conduct
@pcontezini
Copy link

Working fine here, same version of Freecad running on Intel MacOS 12.6

It seems to be a problem with your QT library, check if you have it installed somewhere in your system and is loading from there instead of the embedded library (LD_LIBRARY_PATH?)

https://bugzilla.redhat.com/show_bug.cgi?id=1920379

@rbuckland
Copy link

Also have this issue:

  1. seems a few people have had the issue - https://forum.freecadweb.org/viewtopic.php?style=10&t=71737
  2. am unable to login to freecadforum to report on that bug (registration not sending activation email)

OS Info

  • macOS Big Sur, 11.4
  • 3.4Ghz , 8GB RAM
  • 550G Free

Tried

  • rm -rf ~/Library/Preferences/FreeCAD ~/Library/Application\ Support/FreeCAD
  • Uninstall and Re-install

debug log ..

...>8...>8...>8...>8...>8...>8...>8...
FreeCAD 0.20.1, Libs: 0.20.1R29410 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2022
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

[0918/164453.258879:ERROR:icu_util.cc(251)] Couldn't mmap icu data file
/Applications/FreeCAD.app/Contents/MacOS/FreeCAD: line 19: 41930 Trace/BPT trap: 5       "${PREFIX}/bin/freecad" $@
Ramons-iMac:~ rbuckland$ rm -rf ~/Library/Preferences/FreeCAD ~/Library/Application\ Support/FreeCAD
Ramons-iMac:~ rbuckland$ /Applications/FreeCAD.app/Contents/MacOS/FreeCAD --write-log
# packages in environment at /Users/runner/work/FreeCAD-Bundle/FreeCAD-Bundle/conda/osx/APP/FreeCAD.app/Contents/Resources:
#
# Name                    Version                   Build  Channel
aom                       3.4.0                hb486fe8_1    conda-forge
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
arpack                    3.7.0                hefb7bc6_2    conda-forge
atk-1.0                   2.36.0               he69c4ee_4    conda-forge
blas                      2.116                  openblas    conda-forge
blas-devel                3.9.0           16_osx64_openblas    conda-forge
blinker                   1.4                        py_1    conda-forge
boost                     1.74.0          py310h509978a_5    conda-forge
boost-cpp                 1.74.0               h8b082ac_8    conda-forge
brotli                    1.0.9                h5eb16cf_7    conda-forge
brotli-bin                1.0.9                h5eb16cf_7    conda-forge
brotlipy                  0.7.0           py310h1961e1f_1004    conda-forge
bzip2                     1.0.8                h0d85af4_4    conda-forge
c-ares                    1.18.1               h0d85af4_0    conda-forge
ca-certificates           2022.6.15            h033912b_0    conda-forge
cairo                     1.16.0            h56d7d38_1012    conda-forge
calculix                  2.20                 h61d0cde_0    conda-forge
certifi                   2022.6.15       py310h2ec42d9_0    conda-forge
cffi                      1.15.1          py310h96bbf6e_0    conda-forge
charset-normalizer        2.1.0              pyhd8ed1ab_0    conda-forge
coin3d                    4.0.0             hf16527e_1011    conda-forge
cryptography              37.0.4          py310h52c3658_0    conda-forge
curl                      7.83.1               h372c54d_0    conda-forge
cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
docutils                  0.19            py310h2ec42d9_0    conda-forge
double-conversion         3.2.0                he49afe7_0    conda-forge
eigen                     3.4.0                h940c156_0    conda-forge
expat                     2.4.8                h96cf925_0    conda-forge
ezdxf                     0.18            py310habb735a_0    conda-forge
ffmpeg                    4.4.2           gpl_h5a1d76f_107    conda-forge
flann                     1.9.1             h30321d8_1010    conda-forge
fltk                      1.3.8                h7ffa276_0    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.14.0               h676cef8_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
fonttools                 4.36.0          py310h3c08dca_0    conda-forge
freecad                   0.20.1          py310h41becee_1    conda-forge
freeimage                 3.18.0              haafd79f_10    conda-forge
freetype                  2.12.1               h3f81eb7_0    conda-forge
fribidi                   1.0.10               hbcb3906_0    conda-forge
gdk-pixbuf                2.42.8               hb161b9c_0    conda-forge
gettext                   0.19.8.1          hd1a6beb_1008    conda-forge
giflib                    5.2.1                hbcb3906_2    conda-forge
gitdb                     4.0.9              pyhd8ed1ab_0    conda-forge
gitpython                 3.1.27             pyhd8ed1ab_0    conda-forge
gl2ps                     1.4.2                h4cff582_0    conda-forge
glew                      2.1.0                h046ec9c_2    conda-forge
glib                      2.72.1               h2292cb8_0    conda-forge
glib-tools                2.72.1               h2292cb8_0    conda-forge
gmp                       6.2.1                h2e338ed_0    conda-forge
gmpy2                     2.1.2           py310hf5ec7bd_0    conda-forge
gmsh                      4.10.5               he204d90_0    conda-forge
gnutls                    3.7.7                h047ecf1_0    conda-forge
graphite2                 1.3.13            h2e338ed_1001    conda-forge
graphviz                  5.0.0                ha5baa68_0    conda-forge
gst-plugins-base          1.20.3               hda0ba4b_0    conda-forge
gstreamer                 1.20.3               hdc08c3f_0    conda-forge
gtk2                      2.24.33              h7c1209e_2    conda-forge
gts                       0.7.6                hccb3bdf_2    conda-forge
harfbuzz                  5.1.0                h00bb2c2_0    conda-forge
hdf4                      4.2.15               h0623a88_4    conda-forge
hdf5                      1.12.1          nompi_ha60fbc9_104    conda-forge
icu                       70.1                 h96cf925_0    conda-forge
idna                      3.3                pyhd8ed1ab_0    conda-forge
imath                     3.1.5                hd9580d2_0    conda-forge
jasper                    2.0.33               h013e400_0    conda-forge
jinja2                    3.1.2              pyhd8ed1ab_1    conda-forge
jpeg                      9e                   hac89ed1_2    conda-forge
jsoncpp                   1.9.5                h940c156_1    conda-forge
jxrlib                    1.1                  h35c211d_2    conda-forge
kiwisolver                1.4.4           py310habb735a_0    conda-forge
krb5                      1.19.3               hb49756b_0    conda-forge
lame                      3.100             h35c211d_1001    conda-forge
lcms2                     2.12                 h577c468_0    conda-forge
lerc                      4.0.0                hb486fe8_0    conda-forge
libblas                   3.9.0           16_osx64_openblas    conda-forge
libbrotlicommon           1.0.9                h5eb16cf_7    conda-forge
libbrotlidec              1.0.9                h5eb16cf_7    conda-forge
libbrotlienc              1.0.9                h5eb16cf_7    conda-forge
libcblas                  3.9.0           16_osx64_openblas    conda-forge
libclang                  14.0.6          default_h55ffa42_0    conda-forge
libclang13                14.0.6          default_hb5731bd_0    conda-forge
libcurl                   7.83.1               h372c54d_0    conda-forge
libcxx                    14.0.6               hce7ea42_0    conda-forge
libdeflate                1.13                 h775f41a_0    conda-forge
libedit                   3.1.20191231         h0678c8f_2    conda-forge
libev                     4.33                 haf1e3a3_1    conda-forge
libffi                    3.4.2                h0d85af4_5    conda-forge
libgd                     2.3.3                h1e214de_3    conda-forge
libgfortran               5.0.0           10_4_0_h97931a8_25    conda-forge
libgfortran5              11.3.0              h082f757_25    conda-forge
libglib                   2.72.1               hfbcb929_0    conda-forge
libiconv                  1.16                 haf1e3a3_0    conda-forge
libidn2                   2.3.3                hac89ed1_0    conda-forge
liblapack                 3.9.0           16_osx64_openblas    conda-forge
liblapacke                3.9.0           16_osx64_openblas    conda-forge
libllvm14                 14.0.6               h41df66c_0    conda-forge
libnetcdf                 4.8.1           nompi_h6609ca0_102    conda-forge
libnghttp2                1.47.0               h7cbc4dc_1    conda-forge
libogg                    1.3.4                h35c211d_1    conda-forge
libopenblas               0.3.21          openmp_h1027af7_0    conda-forge
libopencv                 4.6.0           py310hdaa94e3_2    conda-forge
libopus                   1.3.1                hc929b4f_1    conda-forge
libpng                    1.6.37               h5481273_4    conda-forge
libpq                     14.5                 h76c7896_0    conda-forge
libprotobuf               3.20.1               hfa58983_1    conda-forge
libraw                    0.20.2               hefd3b78_1    conda-forge
libredwg                  0.11.3876       py310pl5321ha9f0948_2    conda-forge
librsvg                   2.54.4               h3d48ba6_0    conda-forge
libsqlite                 3.39.2               h5a3d3bf_1    conda-forge
libssh2                   1.10.0               h7535e13_3    conda-forge
libtasn1                  4.18.0               hac89ed1_1    conda-forge
libtheora                 1.1.1             h0d85af4_1005    conda-forge
libtiff                   4.4.0                h5e0c7b4_3    conda-forge
libtool                   2.4.6             he49afe7_1008    conda-forge
libunistring              0.9.10               h0d85af4_0    conda-forge
libvorbis                 1.3.7                h046ec9c_0    conda-forge
libvpx                    1.11.0               he49afe7_3    conda-forge
libwebp                   1.2.4                hfa4350a_0    conda-forge
libwebp-base              1.2.4                h775f41a_0    conda-forge
libxcb                    1.13              h0d85af4_1004    conda-forge
libxml2                   2.9.14               hea49891_4    conda-forge
libxslt                   1.1.35               heaa0ce8_0    conda-forge
libzip                    1.9.2                h3ad4413_1    conda-forge
libzlib                   1.2.12               hfe4f2af_2    conda-forge
llvm-openmp               14.0.4               ha654fa7_0    conda-forge
lml                       0.1.0              pyh9f0ad1d_0    conda-forge
loguru                    0.6.0           py310h2ec42d9_1    conda-forge
lxml                      4.9.1           py310h6c45266_0    conda-forge
lz4-c                     1.9.3                he49afe7_1    conda-forge
markupsafe                2.1.1           py310h1961e1f_1    conda-forge
matplotlib-base           3.5.3           py310h6438751_1    conda-forge
meshpy                    2020.1          py310h514ec25_2    conda-forge
mpc                       1.2.1                hbb51d92_0    conda-forge
mpfr                      4.1.0                h0f52abe_1    conda-forge
mpmath                    1.2.1              pyhd8ed1ab_0    conda-forge
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
mysql-common              8.0.30               h924029e_0    conda-forge
mysql-libs                8.0.30               h3cab752_0    conda-forge
ncurses                   6.3                  h96cf925_1    conda-forge
nettle                    3.8.1                h96f3785_1    conda-forge
nine                      1.1.0                      py_0    conda-forge
nspr                      4.32                 hcd9eead_1    conda-forge
nss                       3.78                 ha8197d3_0    conda-forge
numpy                     1.23.2          py310hf910466_0    conda-forge
occt                      7.6.2                h1c46427_3    conda-forge
olefile                   0.46               pyh9f0ad1d_1    conda-forge
openblas                  0.3.21          openmp_hf6976e5_0    conda-forge
opencamlib                2019.07         py310hb4dbaa5_4    conda-forge
opencv                    4.6.0           py310h2ec42d9_2    conda-forge
openexr                   3.1.5                h6fbc5c6_0    conda-forge
openglider                0.0.7.1            pyhd8ed1ab_0    conda-forge
openh264                  2.3.0                hb486fe8_0    conda-forge
openjpeg                  2.5.0                h5d0d7b0_1    conda-forge
openssl                   1.1.1q               hfe4f2af_0    conda-forge
p11-kit                   0.24.1               h65f8906_0    conda-forge
packaging                 21.3               pyhd8ed1ab_0    conda-forge
pandas                    1.4.3           py310h3099161_0    conda-forge
pango                     1.50.9               hc8ec20f_0    conda-forge
parabem                   0.3.0           py310h88c5a66_1    conda-forge
pcl                       1.12.1               hd88d915_0    conda-forge
pcre                      8.45                 he49afe7_0    conda-forge
perl                      5.32.1          2_h0d85af4_perl5    conda-forge
pillow                    9.2.0           py310h54af1cc_2    conda-forge
pip                       22.2.2             pyhd8ed1ab_0    conda-forge
pivy                      0.6.7           py310habb735a_2    conda-forge
pixman                    0.40.0               hbcb3906_0    conda-forge
platformdirs              2.5.2              pyhd8ed1ab_1    conda-forge
ply                       3.11                       py_1    conda-forge
proj                      9.0.1                h05f0992_1    conda-forge
pthread-stubs             0.4               hc929b4f_1001    conda-forge
pugixml                   1.11.4               he49afe7_0    conda-forge
py-opencv                 4.6.0           py310ha188af9_2    conda-forge
pycollada                 0.7.2              pyhd8ed1ab_0    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pyexcel-ezodf             0.3.4                      py_0    conda-forge
pyexcel-io                0.6.6              pyhd8ed1ab_0    conda-forge
pyexcel-ods3              0.6.1              pyhd8ed1ab_0    conda-forge
pyopenssl                 22.0.0             pyhd8ed1ab_0    conda-forge
pyparsing                 3.0.9              pyhd8ed1ab_0    conda-forge
pyside2                   5.15.5          py310h407abdb_1    conda-forge
pysocks                   1.7.1           py310h2ec42d9_5    conda-forge
python                    3.10.5          hdaaf3db_0_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python_abi                3.10                    2_cp310    conda-forge
pytools                   2022.1.12          pyhd8ed1ab_0    conda-forge
pytz                      2022.2.1           pyhd8ed1ab_0    conda-forge
pyyaml                    6.0             py310h1961e1f_4    conda-forge
qhull                     2020.2               h940c156_2    conda-forge
qt                        5.15.4               hb3ad848_0    conda-forge
qt-main                   5.15.4               h938c29d_2    conda-forge
qt-webengine              5.15.4               h72ca1e5_3    conda-forge
qt.py                     1.2.2                      py_0    conda-forge
rapidjson                 1.1.0             hb1e8313_1002    conda-forge
readline                  8.1.2                h3899abd_0    conda-forge
requests                  2.28.1             pyhd8ed1ab_0    conda-forge
scipy                     1.9.0           py310h70707f4_0    conda-forge
setuptools                65.1.0          py310h2ec42d9_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
smesh                     9.8.0.2              he8082b2_3    conda-forge
smmap                     3.0.5              pyh44b312d_0    conda-forge
soqt                      1.6.0                h1b54a9f_3    conda-forge
sqlite                    3.39.2               hd9f0692_1    conda-forge
svgwrite                  1.4.3              pyhd8ed1ab_0    conda-forge
svt-av1                   1.2.1                hbbd2c75_0    conda-forge
sympy                     1.10.1          py310h2ec42d9_0    conda-forge
tbb                       2021.5.0             hbb4e6a2_1    conda-forge
tbb-devel                 2021.5.0             hbb4e6a2_1    conda-forge
tk                        8.6.12               h5dbffcc_0    conda-forge
typing_extensions         4.3.0              pyha770c72_0    conda-forge
tzdata                    2022c                h191b570_0    conda-forge
unicodedata2              14.0.0          py310h1961e1f_1    conda-forge
urllib3                   1.26.11            pyhd8ed1ab_0    conda-forge
utfcpp                    3.2.1                h694c41f_0    conda-forge
vtk                       9.1.0           qt_py310ha3f681f_211    conda-forge
wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
x264                      1!164.3095           h775f41a_2    conda-forge
x265                      3.5                  hbb4e6a2_3    conda-forge
xerces-c                  3.2.3                hf5b2a72_5    conda-forge
xlrd                      2.0.1              pyhd8ed1ab_3    conda-forge
xlutils                   2.0.0                      py_0    freecad/label/dev
xlwt                      1.3.0                      py_1    conda-forge
xorg-fixesproto           5.0               h0d85af4_1002    conda-forge
xorg-kbproto              1.0.7             h35c211d_1002    conda-forge
xorg-libice               1.0.10               h0d85af4_0    conda-forge
xorg-libsm                1.2.3             h0d85af4_1000    conda-forge
xorg-libx11               1.7.2                h0d85af4_0    conda-forge
xorg-libxau               1.0.9                h35c211d_0    conda-forge
xorg-libxdmcp             1.1.3                h35c211d_0    conda-forge
xorg-libxext              1.3.4                h0d85af4_1    conda-forge
xorg-libxfixes            5.0.3             h0d85af4_1004    conda-forge
xorg-libxrender           0.9.10            h0d85af4_1003    conda-forge
xorg-renderproto          0.11.1            h0d85af4_1002    conda-forge
xorg-xextproto            7.3.0             h35c211d_1002    conda-forge
xorg-xproto               7.0.31            h35c211d_1007    conda-forge
xz                        5.2.6                h775f41a_0    conda-forge
yaml                      0.2.5                h0d85af4_2    conda-forge
zlib                      1.2.12               hfe4f2af_2    conda-forge
zstd                      1.5.2                hfa58983_4    conda-forge
FreeCAD 0.20.1, Libs: 0.20.1R29410 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2022
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

[0918/164603.720834:ERROR:icu_util.cc(251)] Couldn't mmap icu data file
/Applications/FreeCAD.app/Contents/MacOS/FreeCAD: line 19: 42005 Trace/BPT trap: 5       "${PREFIX}/bin/freecad" $@
Ramons-iMac:~ rbuckland$ 

@rbuckland
Copy link

This bug is related to compile parameters on qtwebengine it seems;
Homebrew/homebrew-core#104008 (comment)

Freecad is using

qt-webengine              5.15.4               h72ca1e5_3    conda-forge

@rbuckland
Copy link

Tested the lateste weekly-bundle and it has the same issue

`FreeCAD_weekly-builds-30377-2022-09-15-conda-macOS-x86_64-py310.dmg`
[0918/204855.489244:ERROR:icu_util.cc(251)] Couldn't mmap icu data file
/Applications/FreeCAD.app/Contents/MacOS/FreeCAD: line 19: 47074 Trace/BPT trap: 5       "${PREFIX}/bin/freecad" $@

@rbuckland
Copy link

digging a little deeper

  1. the file is expected to be in /Applications/FreeCAD.app/Contents/Resources - https://lists.qt-project.org/pipermail/qtwebengine/2015-February/000157.html
    but it is found in /Applications/FreeCAD.app/Contents/Resources/resources/
Ramons-iMac:~ rbuckland$ find /Applications/FreeCAD.app -name icudtl.dat 
/Applications/FreeCAD.app/Contents/Resources/resources/icudtl.dat

The file that attempts to load the ICU file is Chromium - presumably qtwebengine is loading it
ref: https://chromium.googlesource.com/chromium/src/base/+/master/i18n/icu_util.cc#251
(note: i cant tell if this is the same version as bundled inside FreeCAD - but line number is close (offby-1 perhaps)

I have tried locating the file icudtl.dat into /Applications/FreeCAD.app/Contents/Resources but no joy - will keep digging.

@mishka-zz
Copy link

I can confirm that symlinking the icudtl.dat and *.pak files into /Applications/FreeCAD.app/Contents/Resources/ will make it work.

@leonelhs
Copy link

This works for me:

chdir /Applications/FreeCAD.app/Contents/Resources
ln -s resources Resources

@luzpaz
Copy link
Collaborator

luzpaz commented Oct 17, 2022

CC @ipatch

@luzpaz
Copy link
Collaborator

luzpaz commented Nov 15, 2022

Closed dupe FreeCAD/FreeCAD#7787 in favor of this ticket. Can we get some traction on this ?

@WelchITConsulting
Copy link

This works for me:

chdir /Applications/FreeCAD.app/Contents/Resources
ln -s resources Resources

Thanks this worked for me too.

@luzpaz
Copy link
Collaborator

luzpaz commented Nov 16, 2022

Hi @looooo, can we tweak the conda macos build with this symlink fix ?

@looooo
Copy link
Contributor

looooo commented Nov 19, 2022

I hope this does the job:
2a602fb

@luzpaz
Copy link
Collaborator

luzpaz commented Dec 1, 2022

Thank!
Can any macOS'ers check if this fixed it ?

@mishka-zz
Copy link

Should it be included into a development version yet? Just tried FreeCAD_weekly-builds-31432-2022-12-25-conda-macOS-x86_64-py310.dmg (5ca6d46ff76965ddb4ecabfe1d71cc708a64cac72e80612e79e1772119acfb21) with no luck:

FreeCAD 0.21.0, Libs: 0.21.0R31432 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2022
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

[1225/145022.852744:ERROR:icu_util.cc(251)] Couldn't mmap icu data file
/Applications/FreeCAD.app/Contents/MacOS/FreeCAD: line 19: 46616 Trace/BPT trap: 5       "${PREFIX}/bin/freecad" $@

% uname -a
Darwin Fourteen 22.2.0 Darwin Kernel Version 22.2.0: Fri Nov 11 02:03:51 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T6000 arm64

Filesystem formatted APFS case sensitive. Symlinking Resources -> resources makes it work.

@pavelrevak
Copy link

Installing version from: https://github.com/FreeCAD/FreeCAD-Bundle/releases/tag/weekly-builds, there is for MacOS - ARM version from 2022-12-31 and still is not fixed there, but fix with symlink helped me.

I tried only rename FreeCAD.app/Contents/Resources/resources to FreeCAD.app/Contents/Resources/Resources/ and also it helped, so symlink is useless in that case, just use right folder name with upper case first letter.

On my MAC I always use use case-sensitive file system, so please do not forget on us

@challengy1
Copy link

This information made me happy. Making a symbolic link worked well.
ln -s resources Resources
Three days ago, I reformatted my system disk for Ventura clean installation to make my Mac case sensitive. Installing FreeCAD 20.2, I encountered a crash on startup.
When I tried with 21.0 weekly build, the situation was same.
I hope this issue may be resolved in next release. I don't think many Mac user switch to case sensitive but some will do.
Thank you everybody. Chao.

@krl91
Copy link
Author

krl91 commented Apr 6, 2023

Could someone correct this bug on the stable and official version? so sad it takes years for a cast issue to be corrected.... so bad that a so small correction takes so much time ! I also rename the folder resources into Resources and it works well, should be a 5 minutes correction .... if no one cares about it, how can I push this modification for next stable release?

@luzpaz
Copy link
Collaborator

luzpaz commented Apr 6, 2023

@chennes is this something you can correct in the macOS conda build ?

@luzpaz luzpaz transferred this issue from FreeCAD/FreeCAD Apr 6, 2023
@luzpaz
Copy link
Collaborator

luzpaz commented Apr 6, 2023

Moved to FreeCAD-Bundle

@adrianinsaval
Copy link
Member

looo mentioned 2a602fb as potential fix, but I see it was only applied to osx-arm script, maybe it should be applied to the regular osx bundle script too? I suggest one of the interested parties to make a PR doing this.

@chennes
Copy link
Member

chennes commented Apr 12, 2023

If my quick scan of this topic is correct, then 7dc3210 will fix this

@luzpaz
Copy link
Collaborator

luzpaz commented Apr 12, 2023

It would be nice to trigger a new appimage build to see if this fixes the issue (instead of waiting a week for new builds to occur)

@adrianinsaval
Copy link
Member

When a commit is made to this repo a new bundle is made automatically, a fixed bundle should be available in ~30min

@adrianinsaval
Copy link
Member

adrianinsaval commented Apr 12, 2023

the new bundle is available, please test and report.

(instead of waiting a week for new builds to occur)
btw, builds are made twice a week actually (despite the "weekly" name)

@luzpaz
Copy link
Collaborator

luzpaz commented Apr 13, 2023

@krl91 👆

@krl91
Copy link
Author

krl91 commented Apr 13, 2023

Hi,
I just tested with https://github.com/FreeCAD/FreeCAD-Bundle/releases/download/weekly-builds/FreeCAD_weekly-builds-32532-2023-04-12-conda-macOS-x86_64-py310.dmg

  • First problem: the name of the folder is still the same
  • Same crash at start up
    Can you rename this folder (on macOS "Resources" folder name is standard)? why is it so complicated?

ls /Applications/FreeCAD.app/Contents/Resources/
Ext freecad-doc.icns qml
LICENSE freecad-script.icns qt.conf
Mod freecad.icns resources
bin lib sbin
cmake libexec share
conda-meta man ssl
doc mkspecs translations
etc phrasebooks var
fonts plugins

also the solution on 7dc3210 is a quick and dirty one: why creating a link for a folder that has the wrong name...

@luzpaz

@adrianinsaval
Copy link
Member

870a89b should have fixed this, I'm going to assum it did. Please comment or reopen if this issue is still present on the latest release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests