Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how do I enable core file creation at process crash?[SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
zzaappp
Apprentice
Apprentice


Joined: 06 Jun 2003
Posts: 176

PostPosted: Tue Apr 27, 2010 1:45 pm    Post subject: how do I enable core file creation at process crash?[SOLVED] Reply with quote

I have a nasty porting bug I'm working on. Very recently a "stable" application was built for 64-bit linux. Back in 32-bit land it was very stable. Now in 64-bits it crashes.

Back at the start of my career I remember core dumps showed up every time a process crashed. Those were very useful: I could load the debugger against the core and examine the stack and registers at the time of crash, and at least have a clue as where the failure was at.

Is there a way to enable the creation of core dumps for crashed processes? It would really help me out.

Thanks!

-z


Last edited by zzaappp on Tue Apr 27, 2010 2:31 pm; edited 2 times in total
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Apr 27, 2010 1:50 pm    Post subject: Reply with quote

See How to get meaningful backtraces in Gentoo.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
zzaappp
Apprentice
Apprentice


Joined: 06 Jun 2003
Posts: 176

PostPosted: Tue Apr 27, 2010 2:31 pm    Post subject: Reply with quote

This is EXACTLY why I love gentoo: The forums.

Thank you SO much for the help. I was really under the wire for this.

-z
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum