[issue1312] ktrace -c -f related panic

Stathis Kamperis (via DragonFly issue tracker) sinknull at crater.dragonflybsd.org
Thu Mar 12 09:12:00 PDT 2009

New submission from Stathis Kamperis <ekamperi at gmail.com>:


-c and -f aren't allowed to execute due to a wrong check in ktrace(1).
In FreeBSD it has been fixed:

ktrace_clear_callback(), which is applied on every process of the system,
doesn't check whether the X process is traced to a vnode. Therefore, if it isn't
traced, a NULL pointer dereference occurs when trying to access p->p_tracenode.

Patch in:

Please review.

Best regards,
Stathis Kamperis

assignedto: Beket
messages: 6312
nosy: Beket
priority: bug
status: unread
title: ktrace -c -f related panic

DragonFly issue tracker <bugs at lists.dragonflybsd.org>

More information about the Bugs mailing list