Anyone have any idea why I get "Segmentation fault (core dumped)" if I am logged in as a regular user and issue the command 'ps'? When I am logged in as root, I don't get this error.
Not sure how long ago or what version your running....but there was a bug in the apps source code. Upgrade your procs system and compile the source locally. If the latest version compiles properly then you problem will probably go away.
Here's a little more info from gdb.
Not real sure what it means or if it helps.
[me@myserver me]$ gdb ps core
GNU gdb 19991004
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `ps'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
#0 _IO_fputs (str=0x8048ae8 "\n", fp=0x0) at iofputs.c:39
39 iofputs.c: No such file or directory.
(gdb)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.