LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-17-2010, 11:10 PM   #1
ethereal1m
Member
 
Registered: Jan 2010
Distribution: Ubuntu
Posts: 312

Rep: Reputation: 31
Question Segmentation fault when executing "procinfo -a"


Dear all,
I got segmentation fault error when I execute "procinfo -a" but not a problem when I just execute procinfo.

How can I troubleshoot the problem?

regards,
ethereal1m
 
Old 09-18-2010, 04:34 PM   #2
jangovich
LQ Newbie
 
Registered: Sep 2010
Location: Mississauga, Ontario
Distribution: Ubuntu 10.04
Posts: 21

Rep: Reputation: 5
Not an easy thing to do I would suggest using strace to try and get some information about what happens before it crashes (-f tells strace to follow forks):

Code:
strace -f procinfo -a
You might need to install strace first. A good tutorial on how to hunt bugs with strace can be found (see next message, apparently I can't post links in my first post).

Last edited by jangovich; 09-18-2010 at 04:44 PM. Reason: typo in command
 
Old 09-18-2010, 04:35 PM   #3
jangovich
LQ Newbie
 
Registered: Sep 2010
Location: Mississauga, Ontario
Distribution: Ubuntu 10.04
Posts: 21

Rep: Reputation: 5
Tutorial from Ksplice on strace: Strace — The Sysadmin’s Microscop.
 
Old 09-30-2010, 10:28 PM   #4
ethereal1m
Member
 
Registered: Jan 2010
Distribution: Ubuntu
Posts: 312

Original Poster
Rep: Reputation: 31
hmm, thanks for the reply, I need to organize my time to dig into this though...
I appreciate this...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Segmentation Fault" in gtkpod-git, should I try Amarok? [iPod Nano 5G] atari/ Linux - Software 4 04-19-2010 01:19 PM
"netstat -l" gives "segmentation fault" Earwig Linux - Newbie 2 03-31-2010 04:12 PM
Dosemu Error "segmentation fault" on fedora core 7 tritonw Linux - Software 1 01-04-2008 02:10 PM
sunbird 0.3 does not start, error: Segmentation fault : "$prog" ${1+"$@"} polemon Ubuntu 8 01-08-2007 04:22 AM
why iam getting problems like "...too many files opened" or "segmentation fault" naren_0101bits Linux - Newbie 2 07-19-2004 12:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration