TileDB icon indicating copy to clipboard operation
TileDB copied to clipboard

Hang when building libmagic on MacOS 12.3

Open lums658 opened this issue 3 years ago • 0 comments

I have run into some weird MacOS issue that is triggered by the build of libmagic. If I reboot my machine it builds fine. But, if I do the following, it will hang:

  • Reboot machine
  • Do clean build on M1 on local hard drive — this will build just fine. Repeatedly.
  • Do a clean build on M1 on SMB mounted hard drive from my NAS — this will hang. Reproducibly.
  • Then — and this is the weird part — if I go back to local hard drive and do a clean build — it will hang in the same place
  • Repeat

Spooky action at a distance—the hang on the SMB share causes there to be a hang in the same place on the local drive.

A "clean build" in this case is:

cd build
/bin/rm -rf *
cmake .. -DTILEDB_WERROR=OFF -DTILEDB_VERBOSE=ON -DCMAKE_BUILD_TYPE=DebWithRelInfo
make

Needless to say, this makes no sense. I do notice that “syspolicyd” and “fileproviderd” are pegged near 100% CPU, so maybe there is some weird security thing that gets tripped. I have run into other strange issues with MacOS and file accesses.

Moral of the story: Don’t do that then. But it’s still weird.


SC-17410

lums658 avatar May 02 '22 16:05 lums658