kernel panic on free in FreeBSD 7.2

Andriy Gapon avg at FreeBSD.org
Thu Oct 13 16:19:08 UTC 2011


on 13/10/2011 17:47 Filippo Sironi said the following:
> Hi guys,
> 
> I have an odd problem regarding memory.
> The (slightly) modified kernel of FreeBSD 7.2 I'm using panics with this error: "panic: smp_tlb_shootdown: interrupts disabled" upon calling free() on three out of four memory buffers I allocate using malloc() in M_TEMP. Unfortunately no information the position of the instruction pointer are given, however, I isolated the problem using a set of old fashioned printf() calls.
> The faulty code is activated either by a system call I added or by the exit function (on thread exit).
> 
> The problem doesn't show if the virtual machine I'm using is configured with a single processor.
> 
> Any suggestions?
> 

Obtain a stack trace of the panic?

-- 
Andriy Gapon


More information about the freebsd-hackers mailing list