From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <98590139914489.tru64-unix-managers.marc@archive.invalid> From: "Iqbal, Shamsudeen M" Date: Thu, 29 Mar 2001 21:27:21 +0000 To: tru64-unix-managers Subject: program hangs after the 'return' and } statements X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=98590139914489 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