- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page