Date: Thu, 13 Oct 2011 19:19:04 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: Filippo Sironi <filippo.sironi@gmail.com> Cc: hackers@FreeBSD.org Subject: Re: kernel panic on free in FreeBSD 7.2 Message-ID: <4E970F78.9050000@FreeBSD.org> In-Reply-To: <C80586C9-3A2C-41A9-86A1-FFEB4F387CCE@gmail.com> References: <C80586C9-3A2C-41A9-86A1-FFEB4F387CCE@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E970F78.9050000>