tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Iqbal, Shamsudeen M" <Shamsudeen.Iqbal () ca ! com>
To: tru64-unix-managers
Subject: program hangs after the 'return' and } statements
Date: Thu, 29 Mar 2001 21:27:21 +0000	[thread overview]
Message-ID: <98590139914489.tru64-unix-managers.marc@archive.invalid> (raw)

Hi

I am trying to compile & run a C program in DEC5.0 (OSF v5.0) which runs fine at DEC4d (OSFv4.0).

It compiles fine on DEC5.0 with no errors.  When I execute, it just hangs at the end of the program again with no errors.  But when I run inside the 'dbx' debugger, it gives a Segmentation Fault after completing the execution of the program.  Please look at the following dbx output:  

(dbx) stop at 128
[2] stop at "sda_init.c":128
(dbx) run -i ifx-ol723hp11_bbqa02@usbbqa02 -m scan -w
test1
[2] thread 0x3 stopped at   [main:128 ,0x1200023e0]     return RetCode;
(dbx) print RetCode
0
(dbx) next
thread 0x3   [main:129 ,0x1200023e4]    }
(dbx) next
thread 0x3 signal Segmentation fault at
warning: PC value 0x3ff8201b090 not valid, trying RA
> [exit, 0x3ff800d81a0]         ldq     t0, 8(s0)
(dbx)


Has anybody been into this kind of situation?  I ran the same program on a Solaris machine which runs successfully.  Appreciate very much if someone can help me out on this. 

Thanks and have a nice day.

S Iqbal	
shamsudeen.iqbal@ca.com

                 reply	other threads:[~2001-03-29 21:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox