Opened 2 years ago

Closed 6 weeks ago

#59269 closed defect (wontfix)

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 2 years ago.

Download all attachments as: .zip

Change History (16)

Changed 2 years ago by vdoublie

Attachment: atlas.log.gz added

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Owner: set to Veence
Status: newassigned

comment:2 Changed 2 years 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 2 years ago by mf2k (Frank Schima)

Keywords: segmentation fault removed

comment:4 Changed 2 years ago by kuhnfe

Last edited 2 years ago by kuhnfe (previous) (diff)

comment:5 in reply to:  2 Changed 2 years 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 2 years ago by ccottap (Carlos Cotta)

Cc: ccottap added

comment:7 Changed 2 years ago by wahspilihp (Philip Shaw)

Cc: wahspilihp added

comment:8 Changed 2 years 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 21 months ago by ryandesign (Ryan Schmidt) (previous) (diff)

comment:9 Changed 23 months ago by murrayE

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

comment:10 Changed 23 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 21 months 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 21 months 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).

comment:13 Changed 20 months ago by Veence (Vincent)

Ok, that’s a good thing. I think I’m going to give up on maintaining atlas, if only because my Mac is now more than six years old, and I’m unable to access new hardware, while Atlas has a lot of assembly routines that may, or may not, work on recent CPUs.

Besides, every compilation cycle takes more or less four hours, so Atlas is really a pain to test/debug on an old machine such as mine.

Last edited 20 months ago by Veence (Vincent) (previous) (diff)

comment:14 Changed 19 months ago by pcapak

I had the same problem on a macports install that was upgraded to Catalina from High-sierra but was able to install atlas on a new Catalina machine. I was able to clear up the issue on the upgraded machine by following the instructions here to re-install Xcode https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt. I am using Xcode 11.3. When I followed the instructions it said it was installing updates for Xcode 11.0 and 11.3.

comment:15 Changed 6 weeks ago by Veence (Vincent)

Resolution: wontfix
Status: assignedclosed

I’m closing all old tickets, since I’m not sure they’re relevant at all. Please reopen a new one in case the issue is still at hand.

Note: See TracTickets for help on using tickets.