Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-19-2009, 11:12 PM   #1
Registered: Jul 2004
Location: Mile High
Posts: 161

Rep: Reputation: 30
Segfault in application, but no core or application to troubleshoot.

I am trying to troubleshoot an application that is generating several segfaults with an error 14, but the application is not crashing. The program continues to run. I would assume I can connect to a running process to debug it, but I'm not sure what to gather. The program has several background processes associated with it so I'm sure I'll need to attach to the actual internal process.

Does anyone have any experience in this to offer some insight?
Old 02-20-2009, 03:31 AM   #2
Registered: Feb 2006
Location: Ahmedabad
Distribution: rhel5
Posts: 185
Blog Entries: 2

Rep: Reputation: 31
you can attach debugger (like gdb) to running process.
run gdb
and then
attach <process id>

but you ll not be able to debug it if the application was not compiled with debug information
Old 02-20-2009, 06:32 AM   #3
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Another way is to run the application through a tracer:
strace -f -o /tmp/logapp appname

And then maybe in /tmp/logapp there are some information when it happens and for which system call.
Old 02-20-2009, 08:59 AM   #4
Registered: Jul 2004
Location: Mile High
Posts: 161

Original Poster
Rep: Reputation: 30
vkmgeek - I'll check with the APP team to see if they compiled with debug or not.

nx5000 - I thought about this, but it takes over 4 hours for the segfault and the machine is under pretty heavy load at the time. I thought this would generate....well how about we call it a ton of information. I do realize this may be my only option though.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
KDE jar MIME is application/zip and not application/java-archive in Ubuntu Intrepid? arobinson74 Linux - Software 2 09-18-2009 12:40 PM
Update OpenGeu application menu after installing an application silencer07 Linux - Desktop 0 10-20-2008 10:19 PM
Application Launch Failure - several distros gastroman Linux - Desktop 9 01-18-2007 02:48 AM
send signal to privileged application from unprivileged application aral Programming 5 10-27-2006 01:34 PM
how i migrate windows application to Linux base application vandarakalpesh Linux - Software 0 06-26-2004 04:34 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:14 AM.

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