Attached is a ktrace of expect spawning a 64-bit executable. I can't do this for the 32-bit testcase because the system crashes before any ktrace output is written to disk. Ivo's screenshot implicated a 'spin lock held too long'.
I tried replacing the testcase with something that does "sleep(10)" instead. The crash still happens immediately (upon program start, not program exit). In Ivo's screenshot, "sched lock 4" implicates the ULE scheduler, something to do with thread queues. kern/kern_mutex.c suggests that kfreebsd 9.2 compiled with WITNESS might give a little more info. Regards, -- Steven Chamberlain ste...@pyro.eu.org
ktrace.txt.gz
Description: GNU Zip compressed data