Re: Analysing core files
From: Paul Pluzhnikov (ppluzhnikov-nsp_at_charter.net)
Date: 11/26/05
- Next message: Argus225: "Re: Analysing core files"
- Previous message: Charles Sullivan: "Re: Use of timing loop???"
- In reply to: grid: "Re: Analysing core files"
- Next in thread: Argus225: "Re: Analysing core files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 25 Nov 2005 20:02:50 -0800
grid <prohit99@gmail.com> writes:
> Regarding the Linux Vs Solaris thing,this works on Solaris but fails
> in IA64 Linux.
Ah, I see. I though you had x86_64, on which it is quite common to
get good stack traces. IA64, OTOH, is a real bitch, as far as
decoding call stack goes, and incomplete stack traces and "gdb lost
in outer space" are very common.
> But I need it to be working on Linux,there are no alternatives.
Do this:
Port your code to Linux/x86_64 (since you already run on Linux
and in 64-bit mode, this should be a very easy port).
Run your code under valgrind, and fix *all* errors it finds.
Unless your software has been thoroughly tested with purify or
Insure++ on Solaris, there is a very hight chance VG will find
the error that's causing your crash.
You could also try purify or Insure++ on Linux/x86_64.
After fixing all errors, rebuild your code on Linux/IA64 and see
if the bug is still there.
> Because I know it might be a OS specific thingy,thats
> probably not properly implemented on this platform in Linux.
Unless your code has large Linux-specific portions, there
is a very high chance that the bug is also present on Solaris;
but simply doesn't show up as a crash.
If you don't have $$s for Purify, check with dbx RTC (type "help rtc"
at the (dbx) prompt). And if you don't have dbx, get it: SunStudio11
is now free.
Cheers,
-- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email.
- Next message: Argus225: "Re: Analysing core files"
- Previous message: Charles Sullivan: "Re: Use of timing loop???"
- In reply to: grid: "Re: Analysing core files"
- Next in thread: Argus225: "Re: Analysing core files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|