SBCL Crashes when a foreign thread callback triggers GC

Bug #1884403 reported by Andrew Kent on 2020-06-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Undecided
Unassigned

Bug Description

SBCL Crashes when a GC is triggered from a foreign thread callback. This doesn't crash if a GC is explicitly called (i.e. `sb-ext:gc` from user code does not crash).

A small demo here: https://github.com/realark/sbcl-crash

Critical Code: https://github.com/realark/sbcl-crash/blob/master/crash.lisp#L15-L42

FWIW I'm running 64 bit linux. I believe this also affects OSX and Windows, though I haven't tested those platforms extensively.

Stas Boukarev (stassats) wrote :

In ada26495684129987b531c65a94dd2d27ac3d9d4

Changed in sbcl:
status: New → Fix Committed
Andrew Kent (realark) wrote :

Wow, that was fast! Thank you!

Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers