Thread start bug on ppc64

Bug #1959338 reported by Douglas Katzman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Douglas Katzman

Bug Description

::: Running :GC-DEADLOCK
....fatal error encountered in SBCL pid 49436 tid 54974:
GC invariant lost, file "thread.c", line 565

which is:
gc_assert(functionp(startfun));

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

With some printf() debugging:

.......fatal error encountered in SBCL pid 8073 tid 18192:
bad startup info: 0x10035f0020 (nil)

--- a/src/runtime/thread.c
+++ b/src/runtime/thread.c
@@ -562,6 +562,7 @@ void* new_thread_trampoline(void* arg)
     struct vector* startup_info = VECTOR(lispthread->startup_info); // 'lispthread' is pinned
     gc_assert(header_widetag(startup_info->header) == SIMPLE_VECTOR_WIDETAG);
     lispobj startfun = startup_info->data[0]; // 'startup_info' is pinned
+ if (!functionp(startfun)) lose("bad startup info: %p %p\n", startup_info, startfun);
     gc_assert(functionp(startfun));

How is this possible?

Douglas Katzman (dougk)
Changed in sbcl:
assignee: nobody → Douglas Katzman (dougk)
status: New → Fix Committed
Changed in sbcl:
status: Fix Committed → Fix Released
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.