Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Core Dump as User

Status
Not open for further replies.

ostony

Programmer
Feb 21, 2001
20
US
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.

[me@myserver me]$ ps
Segmentation fault (core dumped)

Thanks!

Tony
 
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.

upgrade procs

If you need more info email me maxit@rcwing.com

Maxit
 
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)

Thanks again for the help.

Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top