PANIC: acquire_spinlock: attempt to acquire lock twice on non-SMP system
|Reported by:||nicsma||Owned by:||axeld|
|Has a Patch:||no||Platform:||All|
I'm trying to get the GHC Haskell compiler running on Haiku. At some point in the configure script, it runs a C program which reliably gives the kernel panic above on the hrev47958 nightly (x86, GCC 2/4 hybrid). I've attached the C program (panic.c) but I haven't tried to minimise it because I don't really know what it does.
I'm running on QEMU, single-processor. If I enable SMP I get a different panic most of the time:
PANIC: acquire_spinlock(): Failed to acquire spinlock 0xce99c850 for a long time!
I've also attached the serial debug output from the UP and SMP runs.