Interrupt test failing on Mac OS X Sierra 10.12.6
Closed this issue · 6 comments
Versions:
commit 9a8ac0e (HEAD -> master, origin/master, origin/HEAD)
Homebrew 1.7.1-242-g0d81ad0
autoconf (GNU Autoconf) 2.69
automake (GNU automake) 1.16.1
glibtool (GNU libtool) 2.4.6
libtool -V: Apple Inc. version cctools-900
GNU Make 3.81
gcc -v:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.0.0 (clang-900.0.39.2)
Target: x86_64-apple-darwin16.7.0
make test -j8
CXX src/prime_serverd-prime_serverd.o
CXX src/libprime_server_la-prime_server.lo
CXX src/libprime_server_la-netstring_protocol.lo
CXX src/libprime_server_la-zmq_helpers.lo
CXX src/libprime_server_la-http_util.lo
CXX src/libprime_server_la-http_protocol.lo
CXX src/prime_httpd-prime_httpd.o
CXX src/prime_proxyd-prime_proxyd.o
CXX src/prime_workerd-prime_workerd.o
CXX src/prime_echod-prime_echod.o
CXX src/prime_filed-prime_filed.o
CXXLD libprime_server.la
CXXLD prime_serverd
CXXLD prime_workerd
CXXLD prime_filed
CXXLD prime_echod
CXXLD prime_proxyd
CXXLD prime_httpd
/Applications/Xcode.app/Contents/Developer/usr/bin/make test/zmq test/netstring test/http test/shaping test/interrupt
CXX test/zmq-zmq.o
CXX test/netstring-netstring.o
CXX test/shaping-shaping.o
CXX test/http-http.o
CXX test/interrupt-interrupt.o
CXXLD test/zmq
CXXLD test/shaping
CXXLD test/interrupt
CXXLD test/netstring
CXXLD test/http
/Applications/Xcode.app/Contents/Developer/usr/bin/make check-TESTS
./test-driver: line 107: 29761 Bus error: 10 "$@" > $log_file 2>&1
FAIL: test/interrupt
PASS: test/zmq
PASS: test/shaping
PASS: test/netstring
PASS: test/http
Testsuite summary for prime_server 0.6.3
TOTAL: 5
PASS: 4
SKIP: 0
XFAIL: 0
FAIL: 1
XPASS: 0
ERROR: 0
============================================================================
See ./test-suite.log
Please report to https://github.com/kevinkreiser/prime_server/issues
make[2]: *** [test-suite.log] Error 1
make[1]: *** [check-TESTS] Error 2
make: *** [check-am] Error 2
Contents of test_suite.log:
prime_server 0.6.3: ./test-suite.log
TOTAL: 5
PASS: 4
SKIP: 0
XFAIL: 0
FAIL: 1
XPASS: 0
ERROR: 0
.. contents:: :depth: 2
FAIL: test/interrupt
=== Testing interrupt ===
test_early [PASS]
test_loopFAIL test/interrupt (exit status: 138)
I'm pretty sure this is a duplicate of #65. Can you confirm whether this is a new unrelated issue or not?
Change -O2 to -O0 didn't help on my machine
Moving to the lambda_bug branch did work.
@kevinkreiser I am experiencing this on macOS Big Sur 11.1. I tried building the lambda_bug branch as per @MattRiddell but it doesn't fix the problem.
Specifically, I am getting the error ./test-driver: line 109: 43837 Illegal instruction: 4 "$@" > $log_file 2>&1
.
Homebrew 2.7.5
autoconf (GNU Autoconf) 2.69
automake (GNU automake) 1.16.3
glibtool (GNU libtool) 2.4.6
GNU Make 3.81
libtool -V: Apple Inc. version cctools-973.4
gcc -v:
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1200.0.32.27)
Target: x86_64-apple-darwin20.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
i need to carve out some time to debug this further sorry for the delays here
@kevinkreiser Hey no problem, thanks for the response :D.
Same problem here on Catalina
./test-driver: line 109: 5051 Illegal instruction: 4 "$@" > $log_file 2>&1
Homebrew 2.7.5-78-ge42e981
libtool -V: Apple Inc. version cctools-977.1
gcc -v:
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin