panic: Duplicate free

Robert Watson rwatson at freebsd.org
Tue Nov 2 09:03:39 PST 2004


On Mon, 1 Nov 2004, Andrzej Tobola wrote:

> Today -current, diskless station boot: 

Could you try running "show pcpu", and then try an explicit call to trace
with the pid of the current thread running on the current CPU?
Occasionally I've seen this work in situations where otherwise a trace
doesn't (such as sometimes in interrupts).

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert at fledge.watson.org      Principal Research Scientist, McAfee Research


> 
> ....
> subnet mask ......
> Adjusted interface sis0
> SLab at 0xc0fcdfa8, freei 8 = 0.
> panic: Duplicate free of item 0xc0fcd800 from zone 0xc0c45ae0(Mbuf)
> 
> KDB: enter: panic
> [thread 100001]
> Stopped at      kdb_enter+0x2a: movl     %esi,%esi
> db> where
> *** error reading from address 104 ***
> db> trace
> *** error reading from address 104 ***
> 
> 
> When kernel is generated without:
> ....
> makeoptions     DEBUG=-g
> options         DDB
> options         KDB
> options         WITNESS
> options         WITNESS_SKIPSPIN
> options         INVARIANTS
> options         INVARIANT_SUPPORT
> 
> all is OK
> 
> any clue ?
> 
> -a
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
> 



More information about the freebsd-current mailing list