dtrace ustack kernel panic

Alex Samorukov ml at os2.kiev.ua
Sun Jul 31 13:46:46 UTC 2011


Hi,

I just tried your test on -STABLE + 1 fix from current [1] and got no trap.

dtrace: buffer size lowered to 2m
CPU     ID                    FUNCTION:NAME
   4  42224                    accept:return nc accept:return

Assertion failed: (dpr != NULL), file 
/usr/src/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common/dt_proc.c, 
line 751.
Abort (core dumped)


Also 1st dtrace was killed as well.

I tried 2 times with the same result. Box is amd64.

This is bt from gdb:

(gdb) bt
#0  0x0000000800fa2f9c in thr_kill () from /lib/libc.so.7
#1  0x000000080103f6cb in abort () from /lib/libc.so.7
#2  0x0000000800786758 in dt_proc_lookup () from /lib/libdtrace.so.2
#3  0x00000008007867db in dt_proc_lock () from /lib/libdtrace.so.2
#4  0x00000008007a5bcb in dt_print_ustack () from /lib/libdtrace.so.2
#5  0x00000008007a8504 in dt_print_agg () from /lib/libdtrace.so.2
#6  0x00000008007a88ca in dtrace_consume () from /lib/libdtrace.so.2
#7  0x000000080077e1a2 in dtrace_work () from /lib/libdtrace.so.2
#8  0x00000000004044ba in ?? ()
#9  0x000000000040222e in ?? ()
[skip]

[1] http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/159064

On 07/26/2011 03:20 AM, maestro something wrote:
> Hi,
>
> when using the ustack action on the latest FreeBSD8.2 i386 the kernel
> panics.



More information about the freebsd-stable mailing list