Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 1996 23:48:59 +0800 (CST)
From:      Chien-Ta Lee <jdli@Adonis.Dorm10.NCTU.edu.tw>
To:        freebsd-current@freebsd.org
Subject:   Re: new pipe is broken (Feb-6)
Message-ID:  <199602061548.XAA00545@Adonis.Dorm10.NCTU.edu.tw>

next in thread | raw e-mail | index | archive | help
>Chien-Ta Lee stands accused of saying:
>> 
>> 
>> 	Hi :
>> 
>> 	I think the new pipe is broekn, my Jan31 kernel with sys_pipe.c
>> 	Rev 1.4 works fine on making world, but Feb6 kernel with sys_pipe.c
>> 	Rev 1.8 hangs.
>> 
>> 	It just stops at the final line without core, without panic, without
>> 	causing system load (load = 0.00), just sleep there ....
>
>In situations like this, you should try to include 'ps alxww' output 
>for the relevant processes so that people can identify what the
>process is sleeping on.
>

Here you are ...
  UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT  TT       TIME COMMAND
    0   524   168   0  10  0   388  792 wait   I+    p0    0:00.15 make depend all
    0   525   524   0  10  0   480  320 wait   I+    p0    0:00.01 /bin/sh -ec sh /usr/src/lib/libedit/makelist -bc /usr/src/lib/libedit/vi.c /usr/src/lib/libedit/emacs.c /usr/src/lib/libedit/common.c > help.c
    0   526   525   0  10  0   484  324 wait   I+    p0    0:00.02 sh /usr/src/lib/libedit/makelist /usr/src/lib/libedit/vi.c /usr/src/lib/libedit/emacs.c /usr/src/lib/libedit/common.c
    0   528   526   0  -6  0   196   96 pipdwc I+    p0    0:00.01 cat /usr/src/lib/libedit/vi.c /usr/src/lib/libedit/emacs.c /usr/src/lib/libedit/common.c
    0   529   526   0  -6  0   344  896 piperd I+    p0    0:00.08 awk \n^IBEGIN {\n^I    printf("/* Automatically generated file, do not edit */\\n");\n^I    printf("#include \\"sys.h\\"\\n#include \\"el.h\\"\\n");\n^I    printf("private struct el_bindings_t el_func_help[] = {\\n");\n^I    low = "abcdefghijklmnopqrstuvwxyz_";\n^I    high = "ABCDEFGHIJKLMNOPQRSTUVWXYZ_";\n^I    for (i = 1; i <= length(low); i++)\n^I^Itr[substr(low, i, 1)] = substr(high, i, 1);\n^I}\n^I/\\(\\):/ {\n^I    pr = substr($2, 1, 2);\n^I    if (pr == "vi" || pr == "em" || pr == "ed") {\n^I^Iname = substr($2, 1, length($2) - 3);\n^I^Iuname = "";\n^I^Ifname = "";\n^I^Ifor (i = 1; i <= length(name); i++) {\n^I^I    s = substr(name, i, 1);\n^I^I    uname = uname tr[s];\n^I^I    if (s == "_")\n^I^I^Is = "-";\n^I^I    fname = fname s;\n^I^I}\n^I^I     \n^I^Iprintf("    { %-30.30s %-30.30s\\n","\\"" fname "\\",", uname ",");\n^I^Iok = 1; \n^I    }\n^I}\n^I/^ \\*/ {\n^I    if (ok) {\n^I^Iprintf("      \\"");\!
n^I^Ifor (i = 2; i < NF; i++)\n^I^I    printf("%s ", $i);\n^I^Iprintf("%s\\" },\\n", $i);\n^I^Iok = 0;\n^I    }\n^I}\n^IEND {\n^I    printf("    { NULL, 0, NULL }\\n");\n^I    printf("};\\n");\n^I    printf("\\nprotected el_bindings_t* help__get()");\n^I    printf("{ return el_func_help; }\\n");\n^I}



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