program hangs after the 'return' and } statements

From: Iqbal, Shamsudeen M <Shamsudeen.Iqbal_at_ca.com>
Date: Thu, 29 Mar 2001 16:27:21 -0500

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_at_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_at_ca.com
Received on Thu Mar 29 2001 - 21:30:33 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT