Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2011 20:55:55 GMT
From:      "Wojciech A. Koszek" <wkoszek@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Ilias Marinos <marinosi@ceid.upatras.gr>
Subject:   kern/159659: DTrace PID provider dies with: Trying sleep, but thread marked as sleeping prohibited
Message-ID:  <201108102055.p7AKttSo071214@freefall.freebsd.org>
Resent-Message-ID: <201108102100.p7AL0MdD071350@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108102055.p7AKttSo071214>