Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
29310 Discussions

Another SIGSEGV, segmentation fault occurred with ifort version 12.1.2

oleglebedev
New Contributor I
438 Views
Good day,
I have aSIGSEGV with ifort -v 12.1.2.
I think that it is a bug because I have no error with an old compiler 12.0.3.
GDB has shown the following traceback:
Reading symbols from /home/ulrich/test/oop_traj/bug_tgz/xmain...done.
(gdb) r
Starting program: /home/ulrich/test/oop_traj/bug_tgz/xmain
[Thread debugging using libthread_db enabled]
3
[New Thread 0x2aaaaacdc700 (LWP 19165)]
[New Thread 0x2aaaab0dd700 (LWP 19166)]
[New Thread 0x2aaaab4de700 (LWP 19167)]
[New Thread 0x2aaaab8df700 (LWP 19168)]
Program received signal SIGSEGV, Segmentation fault.
0x00000000005585ca in free ()


(gdb) where
#0 0x00000000005585ca in free ()
#1 0x00000000004539ec in for_dealloc_allocatable ()
#2 0x00000000004157e1 in TRAJECTORY_BASE_MODULE::deallocate_cartes_speed_sub (this=Cannot access memory at address 0xc031d4173e740e17
) at src/traj/trajectory_base.f90:148
#3 0x0000000000435778 in for_finalize ()
#4 0x0000000000435ebe in for_finalize ()
#5 0x0000000000435ebe in for_finalize ()
#6 0x0000000000435ebe in for_finalize ()
#7 0x0000000000418fd2 in TRAJECTORY_DYNAMICS_MODULE::iode_dodesol_rkm9st_fn (res=..., this=Cannot access memory at address 0x30002
) at src/traj/trajectory_dynamics.f90:52
#8 0x0000000000420bd0 in BRANCHING_MODULE::evaluatingsingletrajectory (traj=Cannot access memory at address 0xc031d4173e740e17
) at src/nonadiab/branching.f90:56
#9 0x00000000004240b1 in main () at src/main.f90:23
Take a look on line 147 and 148 at ./src/traj/trajectory_base.f90.
When I commented these two lines I have not got any errors.
PS
Run make all to quick build and run gdb.
Best, Oleg.
0 Kudos
0 Replies
Reply