From: David C. <cl...@au...> - 2006-03-02 00:06:27
|
For problem #1, the process in wait() is most likely not hung, but waiting on a child process. (Maybe a child is hung). Check the ps output for children of that process and see what is running. For problem #2 and #3, I think these are both the same thing. The sed command is in read() because it is waiting for input. For example, if I do this: $ sed -e 's/foo/bar/' it just sits there waiting for input, and if I attach to the process it shows it is in read(). So it wants input. More typical use would be: $ cat somefile | sed -e 's/foo/bar/' or $ sed -e 's/foo/bar/' < somefile or $ sed -e 's/foo/bar/' somefile On Tue, Feb 28, 2006 at 06:07:42PM -0500, Scott Fletcher wrote: > Hi! After some researching and debugging, I came to the conclusion that > there is some issues with the AIX's libc.a file. > > Problem #1 - When I tried to compile OpenSSL, the compiler hung. So, a > simple testcase here that produce this problem. > > --snip-- > # gcc -0 aix_ppc32.o aix_ppc32.s > --snip-- > > Then I ran the debugger and got this. > > --snip-- > (gdb) backtrace > #0 0xd022cf18 in wait() > #1 0xffffffff in ?? () from (unknown load module) > --snip-- > > The wait() is found in the AIX's libc.a file. > > > > Problem #2 - When I tried to run the GNU Sed command, it got hung. So, a > simple testcase here that produce the problem. > > --snip-- > # export install_sh='/usr/local/src/sed-4.1.5/config/install-sh' > # sed -e "install_sh=$install_sh" > zz_blank.txt > --snip-- > > When I ran the debugger, I got this. > > --snip-- > (gdb) backtrace > #0 0xd01e62c8 in read() > #1 0xffffffff in ?? () from (unknown load module) > --snip-- > > The read() is found in the AIX's libc.a file. > > Problem #3 - When I tried to run both the AIX's sed and the GNU's Sed, > they still got hung. So, a simple testcase here used by both of them > that produce the problem. > > --snip-- > # sed -e 'ls/^X//' > --snip-- > > When I ran the debugger, I got this. > > --snip-- > (gdb) backtrace > #0 0xd01e62c8 in read() > #1 0xffffffff in ?? () from (unknown load module) > --snip- > > How come we have this problem? What's the solution to these problems. I > am unable to build the web server (GNU softwares) on it's own without > doing some of the source code hacking. > > Thanks... > > > -- David Clissold cl...@au... |