-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
OSX: openmp crash with macports libomp12.0.0 #8977
Comments
This issue did not get any activity in the past 30 days and will be closed in 365 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue. |
seems to be no darktable issue but an libomp12 issue. |
I've built darktable with libomp 12 and don't get a crash. Is there anything specific I should do to reproduce the issue? |
unfortunately it's just opening an image in darkroom that results in an crash if omp parallelization is affected
build darktable and then run even after uninstalling all libomp versions from macports and reinstalling it from source ... quite strange: |
I’m guessing then it’s either a bug in new libomp exposed by new XCode or a bug in new XCode exposed by new libomp, because I’m not seeing it with older XCode… |
so i'll check when the official package is out ;) |
I've rechecked my build on the latest macOS (and M1 Mac) and indeed it crashes. So I guess it's not about Xcode version, but rather macOS version. I'll try reverting to older libomp as you suggesting. |
since this is is no darktable issue and the osx build instructions are updated to deal with this, this issue can be closed. |
I confirm that libomp 11.1.0 works fine on M1 Mac. Should we maybe report this issue upstream somewhere (macports or libomp)?.. |
I think both places need to know about the issue. |
with libomp 12.0.1 the issue is no longer reproducible with latest Xcode and sdk |
but it's reproducible for me built on Xcode 11.3.1 and run on macOS 11 |
then it's better to keep the downgrade ... |
libomp13.0.0 is out - crash not reproducible with build using Xcode13, sdk12 (macports deployment target 10.15) and darktable build with additional option |
Seems that indeed crash was fixed, no need for libomp downgrade, amended BUILD.txt accordingly. |
not really a darktable bug, but worth to have in mind when building darktable on osx, maybe worth to ckeck if thats also on other platforms using libomp12:
opening an image in darkroom crashes, if darktable is linked with libomp12.0.0 (libomp11.1.0.0 is fine)
imageop_math.c:208:
a further crash (using a jpg) interpolation.c:1622:
To Reproduce
build with latest macports with libomp12.0.0
Which commit introduced the error
definitely not introduced with a specific commit - i built an older revision of current master and this also crashed.
reactivating libomp11.1.0.0 results in a build that runs properly
Platform
The text was updated successfully, but these errors were encountered: