Date: Tue, 7 Dec 1999 18:06:13 +0600 (NOVT) From: nnd@mail.nsk.ru To: FreeBSD-gnats-submit@freebsd.org Subject: bin/15328: Threaded "system" does'nt work in -current Message-ID: <199912071206.SAA29309@wint.itfs.nsk.su>
next in thread | raw e-mail | index | archive | help
>Number: 15328 >Category: bin >Synopsis: Threaded "system" does'nt work in -current >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 7 04:10:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Nickolay Dudorov >Release: FreeBSD 4.0-CURRENT i386 >Organization: STE Infoteka >Environment: FreeBSD-CURRENT cvsup-ed and makeworld-ed today i.e. December 7 1999. >Description: The program from the "How-To-Repeat" section just does'nt finished if compiled with "-pthread" option to gcc. The same problem exists in the "configure" stage of the 'gtk12' port and (may be) in (the now deleted by me) 'xmms' program from ports/audio. >How-To-Repeat: Compile the following program with the command: cc -Wall -O -o systest -pthread systest.c and start it by "./systest" - you see the "date" output, but the program does'nt finish (and cant be killed by SIGINT, but successfully killed by SIGTERM). ====================== systest.c ======================== #include <stdlib.h> int main() { system("date"); exit(0); } >Fix: It can be found by Daniel Eischen - the author of the last commit to the 'lib/libc_r/uthread' ;-) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912071206.SAA29309>