Re: head_at_r334204, Bad link elm in callout_process()

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Tue, 29 May 2018 16:53:13 +0300
On 29/05/2018 14:53, Hans Petter Selasky wrote:
> On 05/29/18 13:20, Andriy Gapon wrote:
>> (kgdb) p *$4.lh_first->c_links.le.le_next
>> $6 = {
>>    c_links = {
>>      le = {
>>        le_next = 0x0,
>>        le_prev = 0xfffffe0003999f98
> 
> Where does the le_prev point?
> 
> Typically happens when callouts are not properly drained before freeing memory.

Yeah, this could have been a pilot error.
I added some debugging code and that code could do callout_init + callout_reset
on an active or pending callout.  I am not seeing the problem without the
debugging code.
Sorry for the noise!


-- 
Andriy Gapon
Received on Tue May 29 2018 - 11:53:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:16 UTC