Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2013 14:16:32 GMT
From:      Mateusz Kwiatkowski <kwiat3k@panic.pl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/178664: Truss may kill process
Message-ID:  <201305151416.r4FEGWCi073615@oldred.FreeBSD.org>
Resent-Message-ID: <201305151420.r4FEK0BG043529@freefall.freebsd.org>

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

>Number:         178664
>Category:       misc
>Synopsis:       Truss may kill process
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 15 14:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Mateusz Kwiatkowski
>Release:        9.1-RELEASE
>Organization:
>Environment:
FreeBSD stokrotka-v6 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Truss may kill process when attached to it. 
>How-To-Repeat:
# sleep 100 &
[1] 93212
# truss -p 93212
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0)
= 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0)
= 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0)                 = 0 (0x0)
process exit, rval = 0
[1]  + done       sleep 100

Sleep ends immediately instead of waiting 100 seconds.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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