Re: WTF is going on? pipe breakage, patch(1) breakage??
FWIW, the pipe breakage seems to have been caused by /bin/sh freeing the job table (jobs.c lines 744-746) then later using a value in the freed region as an argument to setpgid() and tcsetpgrp() (jobs.c lines 753-760) when the job had more than one process in it (a pipeline). phkmalloc was overwriting the freed memory with garbage, causing tcsetpgrp() and setpgid() to be called with bogus process group ID's. I'm going to commit the fix for this tomorrow after I've tested it some more. In the meantime, ln -sf j /etc/malloc.conf will work around the error. The bug seems to have been there since at least 4.4BSD-Lite. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: WTF is going on? pipe breakage, patch(1) breakage??
This can be related: occasionally top terminates after displaying the process list only once. Unfortunately, this is hard to reproduce and when run again top just start working properly. -- Alexander Kabaev To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: WTF is going on? pipe breakage, patch(1) breakage??
I'm definitely seeing problems with pipes, and major problems with the tty process group/session/job control/etc. code. I've had commands like: cvs diff -Nu | less terminate after showing one screenful with cvs recieving SIGPIPE; the same command sometimes causes my login shell to get sent SIGTTOU (which causes sshd to disconnect me). Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
WTF is going on? pipe breakage, patch(1) breakage??
Running `make clean patch' in a loop is randomly failing for me on an SMP machine: bash$ uname -a FreeBSD 5.0-CURRENT FreeBSD 5.0-CURRENT #273: Thu Aug 8 21:33:19 PDT 2002 bash$ cd /usr/ports/editors/vim bash$ PATCH_DEBUG=1 make clean patch ===> Applying distribution patch 6.1.012 patch: misordered hunks! output would be garbled *** Error code 1 bash$ !! ===> Applying distribution patch 6.1.014 1 out of 13 hunks failed--saving rejects to src/ops.c.rej *** Error code 1 bash$ !! ===> Applying distribution patch 6.1.090 1 out of 2 hunks failed--saving rejects to src/move.c.rej *** Error code 1 bash$ !! ===> Applying distribution patch 6.1.150 ===> Applying FreeBSD patches for vim-6.1.151 [ all patches cleanly applied ] bash$ !! ===> Applying distribution patch 6.1.150 ===> Applying FreeBSD patches for vim-6.1.151 [ all patches cleanly applied ] bash$ !! ===> Applying distribution patch 6.1.140 2 out of 2 hunks failed--saving rejects to src/os_unix.c.rej *** Error code 2 ===> Applying distribution patch 6.1.014 1 out of 13 hunks failed--saving rejects to src/ops.c.rej *** Error code 1 bash$ !! ===> Applying distribution patch 6.1.150 ===> Applying FreeBSD patches for vim-6.1.151 [ all patches cleanly applied ] ===> Applying distribution patch 6.1.013 1 out of 1 hunks failed--saving rejects to src/option.c.rej *** Error code 1 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message