>Number:         159659
>Category:       kern
>Synopsis:       DTrace PID provider dies with: Trying sleep, but thread marked 
>as sleeping prohibited
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 10 21:00:22 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Wojciech A. Koszek
>Release:        FreeBSD  9.0-BETA1
>Organization:
FreeBSD Project
>Environment:

# uname -a
FreeBSD  9.0-BETA1 FreeBSD 9.0-BETA1 #1 r224679M: Sat Aug  6 17:06:30 UTC
2011     wkoszek@:/usr/obj/usr/src/sys/DTRACE  i386

System built with:
# cat /etc/make.conf
STRIP=
CFLAGS+=-fno-omit-frame-pointer
DEBUG_FLAGS=-g

# cat /etc/src.conf
WITH_CTF=1


>Description:

I have a program called "main". Program is compiled in a following way:

        gcc -O0 -pipe -fno-omit-frame-pointer -std=gnu99 -c main.c
        ctfconvert -L VERSION -g main.o
        gcc  -O0 -pipe -fno-omit-frame-pointer -std=gnu99 -o main main.o
        ctfmerge -L VERSION -g -o main main.o

When I run it couple of times with:

        dtrace -q  -s test.1.d -c ./main 

Kernel dies with

        Trying sleep, but thread marked as sleeping prohibited

Backtrace is here:

        http://people.freebsd.org/~wkoszek/traces/dtrace_panic1.png

>How-To-Repeat:

Download:

        http://people.freebsd.org/~wkoszek/dtrace/dtrace.tgz

or sync to:

        //depot/user/wkoszek/solaris/...

in Perforce. Type  "make freebsd" and hit:

        dtrace -q  -s test.1.d -c ./main

Couple of times.

>Fix:

        


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to