Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

SIGSEV, segmentation fault occured

askar
Beginner
709 Views
I post this message again because i didn't find any solutions to this problem and i hope thatsomeone can help me out.
Hi all,
i have exactly the same problem described by xiongye. I have also made the same link and when i am trying to run my program i get the same error message :
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
dvs75 006088B7 Unknown Unknown Unknown
dvs75 0826D970 Unknown Unknown Unknown
dvs75 5453454E Unknown Unknown Unknown
Stack trace terminated abnormally.
I have unlimited stack size and i have checked the code in an alpha workstation and in my pc compiled with the compaq compiler and the code runs perfect.In the system with the ifc compiler i used-openmp option. Do you believe that this produces theerror?Any help is appreciated.
Thanks
Andreas
0 Kudos
2 Replies
pan_jianping
Beginner
709 Views
I installed intel fortran 8.0 in Fedora Linux and ran one program called siesta. I met the similar error (with unlimited stacksize):
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
siesta 082A5B89 Unknown Unknown Unknown
siesta 082A52C2 Unknown Unknown Unknown
siesta 082A4C9D Unknown Unknown Unknown
siesta 081EF167 Unknown Unknown Unknown
siesta 081EF1E5 Unknown Unknown Unknown
siesta 080E8773 Unknown Unknown Unknown
Stack trace terminated abnormally.
And sometimes, it just stops without giving any error explictly. If I strace it, it will give this in the end of strace output:
gettimeofday({1088645514, 663104}, NULL) = 0
times({tms_utime=1699, tms_stime=65, tms_cutime=0, tms_cstime=0}) = 12151389
gettimeofday({1088645514, 663245}, NULL) = 0
old_mmap(NULL, 258048, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x41da1000
old_mmap(NULL, 770048, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x42088000
brk(0x8732000)                          = 0x8732000
brk(0x8726000)                          = 0x8726000
old_mmap(NULL, 561152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x42144000
munmap(0x41e47000, 462848)              = 0
old_mmap(NULL, 675840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x41de0000
munmap(0x42144000, 561152)              = 0
old_mmap(NULL, 2281472, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x42144000
munmap(0x41eb8000, 1900544)             = 0
old_mmap(NULL, 815104, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x41e85000
munmap(0x41de0000, 675840)              = 0
brk(0x8750000)                          = 0x8750000
old_mmap(NULL, 987136, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x41f4c000
munmap(0x41e85000, 815104)              = 0
old_mmap(NULL, 2740224, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x42371000
--- SIGSEGV (Segmentation fault) ---
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
   Any help or suggestion is greatly appreciated!
0 Kudos
florinm1982
Beginner
709 Views
Hi!

Check if you read from some files and in the do loop (if you do so) you are more steps than data available in the files.

I received the same type of error when reading from some files where I had fewer recordings than the number of iteration the do loop had expected to read.

Also check if all the things that you read from files are the type that you expect to be... there may be strange characters...

Florin M.

Message Edited by florinm1982 on 08-07-2004 07:59 PM

0 Kudos
Reply