remove-static-links is not gc safe

Bug #2045433 reported by Stas Boukarev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Committed
Undecided
Unassigned

Bug Description

(sb-thread:make-thread (lambda ()
                         (loop (gc :full t) (sleep 0.001)))
                       :name "gc stress")

(sb-vm::remove-static-links (sb-int:find-fdefn 'sb-ext:print-symbol-with-prefix))

hangs.

Revision history for this message
Douglas Katzman (dougk) wrote :

I don't think urgently needs attention. I plan to remove static linking except for cores created from the editcore steps. Any day now.

Revision history for this message
Douglas Katzman (dougk) wrote :

After https://sourceforge.net/p/sbcl/sbcl/ci/e69a2fdd though this problem still technically exists, it is not really relevant because only an ELF core undergoes static linking, and it's my intent that users not redefine functions in the ELF text section at runtime.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.