Invalid corefile

New Message Reply Date view Thread view Subject view Author view

Nils Lande (nils.lande++at++ks-t.no)
Fri, 6 Aug 1999 09:11:46 +0200


   Hi,

I'm having problems with debugging a Performer application. From within the
application stage an assert() statement fails and produces a corefile. But
when I try to open the corefile with cvd (or dbx), cvd (and dbx) fails to
recognize the corefile. I have tried to call assert(false) early on in the
code and this produced valid corefiles.

I have had the same problem with segmentation violations and bus errors.

The output:
Assertion failed: nNMin < 99999 && nNMin > 0, file CenTerrainTile.cpp, line
1029
Abort (core dumped)

509$ dbx visualisation_dbg
dbx version 7.2.1.1m (patch 3293) Jul 27 1998 15:23:33
Executable /tmp_mnt/work/ula/sw/sgisrc/vsg/code/visualisation_dbg
(dbx) corefile
No current core file
(dbx) corefile core.1678
core.1678 is not a corefile: not a valid corefile magic number
Executable /tmp_mnt/work/ula/sw/sgisrc/vsg/code/visualisation_dbg
(dbx)

511$ cvd visualisation_dbg core.1678

Results in: "core.1678 is not a corefile"

I use prctl() to produce corefiles with process ID. Currently the
application is running as a single process

Has anybody got an idea of how to solve this problem?

I'm running on Performer 2.2.0 on an Octane.
506$ uname -aR
IRIX64 periskop 6.5 6.5.3m 01221553 IP30

    Thanks in advance,
    Nils

-------------------------------------------------------
 Nils Lande
 Company: Kongsberg Defence & Aerospace AS
           CCIT/Simulation & Training
           P.O Box 1003, 3601 Kongsberg
 Phone : +47 32 28 69 00 Direct: +47 32 28 69 41
 Fax : +47 32 28 69 01
 Email : nils.lande++at++kongsberg.com
-------------------------------------------------------

**********************************************************************
This footnote confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
**********************************************************************


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Fri Aug 06 1999 - 00:18:23 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.