Subject: bin/15877: /bin/sh pipes fail when MALLOC_OPTIONS=J
To: None <gnats-bugs@gnats.netbsd.org>
From: None <eravin@panix.com>
List: netbsd-bugs
Date: 03/11/2002 14:47:13
>Number:         15877
>Category:       bin
>Synopsis:       /bin/sh pipes fail when MALLOC_OPTIONS=J
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 11 14:48:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ed Ravin
>Release:        1.5.2
>Organization:
Public Access Networks Corp
>Environment:
NetBSD panix2.panix.com 1.5.2 NetBSD 1.5.2 (PANIX-USER) #1: Mon Jan 14 23:28:51 EST 2002     marcotte@trinity.nyc.access.net:/devel/netbsd/1.5.2/src/sys/arch/i386/compile/PANIX-USER i386
>Description:
With the J malloc option turned on, /bin/sh pipes stop working.
The error message is "tcsetpgrp failed, errno=22".
>How-To-Repeat:
$ export MALLOC_OPTIONS=J
$ exec /bin/sh
$ ls | wc
tcsetpgrp failed, errno=22
$ export MALLOC_OPTIONS=j
$ exec /bin/sh
$ ls | wc
     242     302    3055

>Fix:

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