LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-15-2007, 07:17 AM   #1
arunachalam
Member
 
Registered: Sep 2005
Posts: 53

Rep: Reputation: 15
finding hang reason


hello all,

Is there a way to find the reason for a hang in a process using gdb (like attaching the proceess to it) or any other tool.


thanks in advance,
Arunachalam.
 
Old 09-15-2007, 07:47 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
I usually use strace. For example:

strace someApplication
 
Old 09-15-2007, 08:08 AM   #3
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I agree...
 
Old 09-15-2007, 08:14 AM   #4
arunachalam
Member
 
Registered: Sep 2005
Posts: 53

Original Poster
Rep: Reputation: 15
Hello macemoneta and alias(AwesomeMachine)

Thanks a lot for the reply. I ll check using this.

Regards,
Arunachalam.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gtk+-2.0.8 not finding pango for some reason. prismra Linux - Software 3 08-20-2005 04:00 PM
Finding Module Dependencies Boot Hang Vandalin Linux - General 37 06-14-2004 11:07 AM
system hang reason of soundcard ajishcheeran Linux - Hardware 1 04-17-2004 02:33 PM
Hang at Finding Module Dependencies dhsieh Linux - Hardware 1 10-03-2003 09:35 PM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:27 AM.

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