Windows build unstable with mingw tools installed via msys2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Building SBCL 2.1.2 on Windows results in an executable that randomly crashes. It crashes frequently enough that it's nearly impossible to get through building the contribs (but tends to fail on different contribs each time).
uname -a:
MINGW64_
A typical crash looks like the following:
C:/msys64/
--eval '(asdf:
Unhandled SB-SYS:
Unhandled memory fault at #xFFFFFFFFFFFFFFFA.
Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10057301C3}>
0: (SB-KERNEL::%SIGNAL #<TYPE-ERROR expected-type: SB-C::VOP datum: #<UNPRINTABLE instance of #<SB-C::VOP ..> {100568AD03}>>)
1: (ERROR TYPE-ERROR :DATUM #<UNPRINTABLE instance of #<SB-C::VOP :INFO SB-C:CLOSURE-INIT :ARGS #<SB-C:TN-REF :TN #<SB-C:TN t1[RAX] :NORMAL> :WRITE-P NIL :VOP SB-C:CLOSURE-INIT> :RESULTS NIL :CODEGEN-INFO (0)> {100568AD03}> :EXPECTED-TYPE SB-C::VOP :CONTEXT NIL)
2: (SB-KERNEL:
3: ("foreign function: #x7FF6DD2FC323")
4: ("foreign function: #x7FF6DD2D41F8")
unhandled condition in --disable-debugger mode, quitting
Unhandled SB-SYS:
Unhandled memory fault at #xFFFFFFFFFFFFFFFA.
Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10057301C3}>
0: (SB-KERNEL::%SIGNAL #<TYPE-ERROR expected-type: HASH-TABLE datum: #<UNPRINTABLE instance of #<FUNCTION SB-IMPL:
1: (ERROR TYPE-ERROR :DATUM #<UNPRINTABLE instance of #<FUNCTION SB-IMPL:
2: (SB-KERNEL:
3: ("foreign function: #x7FF6DD2FC323")
4: ("foreign function: #x7FF6DD2D41F8")
unhandled condition in --disable-debugger mode, quitting
summary: |
- Windows build unstable + Windows build unstable with mingw tools installed via msys2 |
Changed in sbcl: | |
status: | New → Fix Committed |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
There are literally zero occurrences of #+/-sb- linkable- runtime in the Lisp code, so it's clearly some sort of link-time problem, but I don't think there are any developers in a position to diagnose it.
The original commit (https:/ /sourceforge. net/p/sbcl/ sbcl/ci/ 402a8fab62) said "Support this feature on ... Windows" but if I had to guess, "support" only meant that it's not expressly disallowed to attempt to build it that way.