[9fans] panic
  Home FAQ Contact Sign in
comp.os.plan9 only
 
Advanced search
POPULAR GROUPS

more...

comp.os.plan9 Profile…
 Up
[9fans] panic         


Author: Markus Sonderegger
Date: Sep 17, 2008 05:16

hi,
i got the following panic in a kernel I compiled today:

panic: D2B called on non-block f0d72af8 (double-free?)
panic: D2B called on non-block f0d72af8 (double-free?)
dumpstack disabled
cpu0: exiting

it happen evertime i plug a usb device in. i don't know how
to debug this. any suggestions?
with my old kernel(2008-04-30) everthing works fine.

markus
2 Comments
Re: [9fans] panic         


Author: erik quanstrom
Date: Sep 17, 2008 06:23

> hi,
> i got the following panic in a kernel I compiled today:
>
> panic: D2B called on non-block f0d72af8 (double-free?)
> panic: D2B called on non-block f0d72af8 (double-free?)
> dumpstack disabled
> cpu0: exiting
>
> it happen evertime i plug a usb device in. i don't know how
> to debug this. any suggestions?
> with my old kernel(2008-04-30) everthing works fine.

it's very difficult to say without access to
a) the stack dump and
b) the kernel in question.
this is because it's hard to find this sort of problem without
knowing where the problem occurred. the stack dump
will provide addresses and the kernel image will be
enough to tie addresses to particular bits of code.

as an unrelated aside, this reference counting updates uninitialized memory.
Show full article (1.43Kb)
1 Comment
Re: [9fans] panic         


Author: geoff
Date: Sep 17, 2008 08:07

Sorry about that. We're soaking a version of the kernel that includes
a reference count in the Block struct. It's so far used by the
Ethernet drivers, IP stack and USB code, and usbohci.c escaped a
little too early.

I've just pushed out a newer allocb.c to sources that initializes the
refence count at allocation.
no comments

RELATED THREADS
SubjectArticles qty Group
Re: kern/89633: [sis] [panic] if_sis panic under extended load in 6.0-RELEASEfa.freebsd.bugs ·
Re: kern/111458: [panic] Panic on 6.2-RELEASE AMD in kern_mutexfa.freebsd.bugs ·