-
Notifications
You must be signed in to change notification settings - Fork 86
createProcess segfaults on Mac #295
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
Comments
It doesn't crash on Linux, and I suspect this is because |
CC @bgamari |
I'm working on a PR. Should have it ready in a couple of hours. |
Seems like this regression was introduced in PR #229 released with 1.6.14.0.
Unfortunately, that includes 9.4.7 and 9.6.3 that were released after the bug had been fixed. |
|
... by (a member of) the GHC team, one should add. But the future interests me more than the past: Would be great to see updates of 9.4 and 9.6 with the new |
The following test case produces a segfault with
ghc-9.4.5
on Mac. The version ofprocess
is1.6.16.0
.I used the copy of
ghc
installed bystack
:It's crashing in
strlen
:Although the backtrace says it's in
find_executable
, I think it's actually infind_in_search_path
which has been inlined by the C compiler:It doesn't crash when the Haskell
cwd
value is aJust
.The text was updated successfully, but these errors were encountered: