Comment 1 for bug 1959338

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?