Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: crashes in amd64 8.99.51/9.99.2 with panic: pr_find_pagehead: [npfcn4pl]

8.99.51 crash:
panic: pr_find_pagehead: [npfcn4pl] item 0xffff98a0b89491b8 poolid 182 != 181
cpu1: Begin traceback...
vpanic() at netbsd:vpanic+0x160
snprintf() at netbsd:snprintf
pool_put() at netbsd:pool_put+0x6b9
pool_cache_invalidate_groups() at netbsd:pool_cache_invalidate_groups+0x71
pool_cache_invalidate() at netbsd:pool_cache_invalidate+0xd5
pool_reclaim() at netbsd:pool_reclaim+0xa7
pool_drain() at netbsd:pool_drain+0x85
uvmpd_pool_drain_thread() at netbsd:uvmpd_pool_drain_thread+0x74
cpu1: End traceback...

Mmh, interesting, there is a pool mismatch. (This is a bug detection feature
I added recently.)

Here NPF called pool_cache_put() on the wrong pool. It seems that a buffer
allocated from conn_cache[1] ended up being freed in conn_cache[0], probably
in npf_conn_destroy().

Mindaugas, can you have a look? Thanks

Home | Main Index | Thread Index | Old Index