Unix Programming - core dump doesn't show back trace

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > August 2005 > core dump doesn't show back trace





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author core dump doesn't show back trace
pankajtakawale

2005-08-26, 6:00 pm

I am having a core dump (aix 5.1) which doesnt show back trace. It only
shows frame#0 pthread_mutex_destroy().........
I can not figure out the problem point in my c++ application.
It also says .. no debugging symbols found.
gdb also shows "process received seg fault"
My application is built without "-g" option.
What do i need to do?

Maxim Yegorushkin

2005-08-26, 6:00 pm


pankajtakawale wrote:
> I am having a core dump (aix 5.1) which doesnt show back trace. It only
> shows frame#0 pthread_mutex_destroy().........


You might have overwritten stack.

> I can not figure out the problem point in my c++ application.
> It also says .. no debugging symbols found.
> gdb also shows "process received seg fault"
> My application is built without "-g" option.


Add -ggdb compiler switch to enable debug symbols. Additionally you may
like to turn off any optimization -Ox switches.

Paul Pluzhnikov

2005-08-26, 6:00 pm

"pankajtakawale" <pankaj.takawale@gmail.com> writes:

> I am having a core dump (aix 5.1) which doesnt show back trace.


Please learn to cross-post instead of multi-posting, and look for
an answer in comp.sys.hp.hpux

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
pankajtakawale

2005-08-27, 2:51 am

Sorry for multi-posting

discussion thread :
http://groups.google.co.in/group/co...326e77895afe668

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com