Opened 3 months ago

Last modified 3 weeks ago

#59269 assigned defect

atlas returns segmentation fault with macOS 10.15 and Xcode 11

Reported by: vdoublie Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: catalina Cc: ccottap (Carlos Cotta), wahspilihp (Philip Shaw), nolaaa
Port: atlas

Description

building atlas to use with numpy parallelisation atlas + gcc9 returns segmentation fault

:info:build cd bin/ ; ./xatlas_build -1 0 -a 1 -l 1
:info:build /bin/sh: line 1:  8263 Segmentation fault: 11  ./xatlas_build -1 0 -a 1 -l 1
:info:build make[1]: *** [build] Error 139

and arch errors see log file attach config: MBP late 2015 13" 16Mb RAM 2,7 GHz Dual-Core Intel Core i5

maintainer: veence

Attachments (1)

atlas.log.gz (9.7 KB) - added by vdoublie 3 months ago.

Download all attachments as: .zip

Change History (13)

Changed 3 months ago by vdoublie

Attachment: atlas.log.gz added

comment:1 Changed 3 months ago by jmroot (Joshua Root)

Owner: set to Veence
Status: newassigned

comment:2 Changed 3 months ago by kencu (Ken)

looks like yet another stack-protect segfault, as a starting thought.

<https://github.com/macports/macports-ports/commit/a0be1d95abf6bf719c4f779a8d0701f535c9f00a>

comment:3 Changed 3 months ago by mf2k (Frank Schima)

Keywords: segmentation fault removed

comment:4 Changed 3 months ago by kuhnfe

Last edited 3 months ago by kuhnfe (previous) (diff)

comment:5 in reply to:  2 Changed 3 months ago by kuhnfe

I have the very same problem and checked the portfile which already has included the edit described by kencu. Still got the syntax error.

Replying to kencu:

looks like yet another stack-protect segfault, as a starting thought.

<https://github.com/macports/macports-ports/commit/a0be1d95abf6bf719c4f779a8d0701f535c9f00a>

comment:6 Changed 3 months ago by ccottap (Carlos Cotta)

Cc: ccottap added

comment:7 Changed 3 months ago by wahspilihp (Philip Shaw)

Cc: wahspilihp added

comment:8 Changed 3 months ago by machielbos

Same problem here. Updated to darwin19, tried to reinstall all ports and atlas build fails with

:info:build cd bin/ ; ./xatlas_build -1 0 -a 1 -l 1
:info:build /bin/sh: line 1: 29260 Segmentation fault: 11  ./xatlas_build -1 0 -a 1 -l 1
:info:build make[1]: *** [build] Error 139
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_atlas/atlas/work/ATLAS/build'

Some info of my compiler

bash-3.2$ clang -v
Apple clang version 11.0.0 (clang-1100.0.33.8)
Target: x86_64-apple-darwin19.0.0
Thread model: posix
--->  Attempting to fetch atlas-3.10.2_2.darwin_19.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/atlas
Last edited 3 weeks ago by ryandesign (Ryan Schmidt) (previous) (diff)

comment:9 Changed 2 months ago by murrayE

Any hope of getting this segmentation fault resolved in atlas? (Same problem here.)

comment:10 Changed 2 months ago by Veence (Vincent)

Sorry guys I was really swamped lately.

I’m going to see what I can do with the latest unstable atlas release. But don’t expect miracles. The last unstable release of Atlas is more than one year old, so the project is more or less in a coma, if not dead. I’m gonna try it nonetheless.

Thanks for your patience.

comment:11 Changed 3 weeks ago by ryandesign (Ryan Schmidt)

Cc: nolaaa added
Keywords: catalina added
Summary: atlas returns segmentation fault with macOS 101.5 and Xcode 11atlas returns segmentation fault with macOS 10.15 and Xcode 11

Has duplicate #59895.

comment:12 Changed 3 weeks ago by ccottap (Carlos Cotta)

The compilation of atlas is now successful for me. Not sure about what exactly has changed (most likely some other compilation libraries/tools were updated) but it seems to be working on my machine now (OS 10.15.12, XCode 11A1027).

Note: See TracTickets for help on using tickets.