"Frank Buss" <fb@...> writes:
>> (defun test-crash ()
>> (loop for i from 0 to 100 do
>> (format t "test: ~a~%" i)
>> (loop for j from 0 to 1000 do
>> (sb-alien::load-shared-object "kernel32.dll")
> fatal error encountered in SBCL pid 1284:
> GC invariant lost, file "gencgc.c", line 812
After some poking around I managed to reproduce this with an MSYS
build running under cmd.exe. (This is a heisenbug, so if you're
trying to reproduce it twiddling with the test-case is probably
going to be necessary. For me adding a few WRITE-STRINGs and
removing the CLOSE-SHARED-OBJECTS did it.)
...no clues on the cause yet beyond the failed assert, though.
> Is the LDB debugger available for win32?
You can build SBCL with SB-LDB by adding :SB-LDB in
customize-target-features.lisp (see INSTALL file), but LDB doesn't
seem to helpful here for me.
By the way, what do you need CLOSE-SHARED-OBJECTS for?
-- Nikodemus Schemer: "Buddha is small, clean, and serious."
Lispnik: "Buddha is big, has hairy armpits, and laughs."