* program hangs after the 'return' and } statements
@ 2001-03-29 21:27 Iqbal, Shamsudeen M
0 siblings, 0 replies; only message in thread
From: Iqbal, Shamsudeen M @ 2001-03-29 21:27 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-03-29 21:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-29 21:27 program hangs after the 'return' and } statements Iqbal, Shamsudeen M
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox