DTrace/FreeBSD source snapshot

Andrew Gallatin gallatin at cs.duke.edu
Mon Feb 4 13:35:01 PST 2008

With this installed, I'm seeing a problem running any
dtrace scripts:

dtrace: failed to compile script /nfs/home/gallatin/dtrace/printa.d:
"/usr/lib/dtrace/psinfo.d", line 37: syntax error near "uid_t"

I'm guessing dtrace doesn't know what a uid_t is.   Is this some sort
of installation problem on my part?

While I was trying to figure out what was going on, the
machine fell over:

panic: solaris assert: ((__curthread())->td_proc) == p, file:
/var/tmp/dtrace/src/sys/modules/dtrace/fasttrap/../../../cddl/dev/fasttrap/fasttrap.c,line: 425
cpuid = 1
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
panic() at panic+0x17d
fasttrap_fork() at fasttrap_fork+0x107
fork1() at fork1+0xdfc
kproc_create() at kproc_create+0x66
nfs_nfsiodnew() at nfs_nfsiodnew+0xc9
nfs_asyncio() at nfs_asyncio+0xb1
nfs_strategy() at nfs_strategy+0x54
bufstrategy() at bufstrategy+0x2c
nfs_writebp() at nfs_writebp+0xba
nfs_flush() at nfs_flush+0x80c
nfs_close() at nfs_close+0x1bf
vn_close() at vn_close+0x7d
vn_closefile() at vn_closefile+0x69
_fdrop() at _fdrop+0x23
closef() at closef+0x2a2
kern_close() at kern_close+0x15d
syscall() at syscall+0x274
Xfast_syscall() at Xfast_syscall+0xab
--- syscall (6, FreeBSD ELF64, close), rip = 0x800879d1c, rsp = 0x7fffffffe598, rbp = 0 ---
Uptime: 19m45s


More information about the freebsd-current mailing list