-
Notifications
You must be signed in to change notification settings - Fork 62
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
byte_conversion
, bytscl
and formats
tests fail on Apple Silicon CI
#1876
Comments
OK, but too much troubles on OSX now, I need some quiet time to investigate :( |
see #1881 |
as of now, we have the following failures on CI:
The test_hdf failure is:
|
I also noticed this we need to fix it and release v1.1.1 asap |
@slayoo #1904 shows NO ERRORS on macos-12 (when did you see an error ?) So on osx 14 = ARM64 = Apple Silicon = M1/M2/M3 the culprit could be that the HDF5 library has the same problem as GDL, i.e., #1881 I have no currently a M1 machine at hand to handle #1881 but it would serve nothing if the HDF5 library is rotten there... |
Yesterday's
|
I get the diff --git a/src/basic_pro.cpp b/src/basic_pro.cpp
index 87c0e005..33a5c28f 100644
--- a/src/basic_pro.cpp
+++ b/src/basic_pro.cpp
@@ -2142,7 +2142,9 @@ static DWORD launch_cmd(BOOL hide, BOOL nowait,
// wait until child terminates
int status;
- pid_t wpid = wait(&status);
+ if (wait(&status) == -1) {
+ Warning(DString("SPAWN: Error waiting for child process: ") + strerror(errno));
+ }
if (exit_statusKeyword)
e->SetKW(exit_statusIx, new DLongGDL(status >> 8)); to track down whats happening. At least in my local build, Since However, I could not yet figure why I get Maybe someone else has a clue, I'll try to dig into this a bit more, too. Best Jan BTW: In #1913 build on MacOS 14 fails with this error, too: https://github.com/gnudatalanguage/gdl/actions/runs/11942416687/job/33289421103?pr=1913 |
As I mentioned in #1910 we do have a trouble in SPAWN for wait() I am not sure it is the best way to just make a small patch without trying to do a good management of wait() and SPAWN ... I also check that this is the only occurrence of |
I tried |
@alaingdl Got the reason: The culprit is setting SIGCHLD to SIG_IGN (gdl.cpp, line 519). This was introduced in #1870 (at least according to the commit message). However, in doing so, a We might have another problem for the other failing tests on Apple, though. Best, Jan |
closing as we have 2 different issues there. One solved (spwan). The other not easily solvable (arm64 different math). Opening another issue. |
@gnudatalanguage/gdldevs, anyone having access to an Apple Silicon machine, help welcome! Thanks
Example output (https://github.com/gnudatalanguage/gdl/actions/runs/10431443505/job/28891119074)
The text was updated successfully, but these errors were encountered: