Re: Analysing core files

From: Paul Pluzhnikov (ppluzhnikov-nsp_at_charter.net)
Date: 11/26/05


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.


Relevant Pages

  • Re: No Commmon CD-ROM drive was detected
    ... Tried the USB drive last night - same error about No Common CD Drive. ... because I was only going to use Linux on this box). ... the computer from the Installation Disc which I burned I receive the ... It is a read-write type I assume. ...
    (Ubuntu)
  • Re: 2.7 thoughts: common well-architected object model
    ... Coming from the kernel an outline of a common ... A core component model has to be defined by the kernel ... Linux to scale as well as it does. ...
    (Linux-Kernel)
  • Re: questions from a newbie
    ... which would be common to the whole x86 32bit arch, ... example linux can run in my machine as well as in yours, ... In a system like Windows, ... And if you have a large amount ...
    (alt.lang.asm)
  • Re: Best scanning manager program?
    ... >Remember that Vuescan is cross-platform (Mac OSX, Linux, Windows) ... However, and it's a massive "however", Vuescan UI mess has nothing to ... Vuecan brakes most elementary UI guidelines common to *ALL* operating ... they don't go against the elementary, common sense design guidelines. ...
    (comp.periphs.scanners)
  • Re: legal copies of windows XP
    ... True to a certain extent but I would also add 'basic users' to techies. ... Linux is fine for people who use their PC for surfing, ... I still use XP for gaming, video editing and the less common software like ...
    (uk.legal)