whizard is hosted by Hepforge, IPPP Durham

Opened 9 years ago

Closed 9 years ago

#780 closed defect (fixed)

New fks_regions tests segfaults with Intel

Reported by: Juergen Reuter Owned by: kilian
Priority: P3 Milestone: v2.3.0
Component: core Version: 2.2.8
Severity: normal Keywords:
Cc:

Description

When using the Intel compiler, the new fks_regions tests segfault with the Intel compiler (no special flags). Investigating.

$ ./fks_regions.run 
Running script ./fks_regions.run
| ============================================================================
| Running self-test: fks_regions
| ----------------------------------------------------------------------------
Running test: fks_regions_1 ... success.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image              PC                Routine            Line        Source             
lt-whizard_ut      0000000000FFD455  Unknown               Unknown  Unknown
lt-whizard_ut      0000000000FFB217  Unknown               Unknown  Unknown
lt-whizard_ut      0000000000FB71F4  Unknown               Unknown  Unknown
lt-whizard_ut      0000000000FB7006  Unknown               Unknown  Unknown
lt-whizard_ut      0000000000F59CF6  Unknown               Unknown  Unknown
lt-whizard_ut      0000000000F61F00  Unknown               Unknown  Unknown
libpthread.so.0    00007F41B9F5F340  Unknown               Unknown  Unknown
libwhizard.so.1    00007F41BEADCA9D  Unknown               Unknown  Unknown
lt-whizard_ut      0000000000848964  Unknown               Unknown  Unknown
libwhizard.so.1    00007F41BF1A9659  Unknown               Unknown  Unknown
lt-whizard_ut      00000000008373CC  Unknown               Unknown  Unknown
lt-whizard_ut      0000000000480909  Unknown               Unknown  Unknown
lt-whizard_ut      000000000046A150  Unknown               Unknown  Unknown
lt-whizard_ut      000000000046821E  Unknown               Unknown  Unknown
libc.so.6          00007F41B9BABEC5  Unknown               Unknown  Unknown
lt-whizard_ut      0000000000468129  Unknown               Unknown  Unknown

Change History (2)

comment:1 Changed 9 years ago by Juergen Reuter

This is the backtrace:

Running test: fks_regions_1 ... success.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4e519cd in fks_regions::region_data_write (reg_data=0x7fffffffa318, unit=12) at fks_regions.f90:2095
2095	     select type (fks_mapping => reg_data%fks_mapping)
(gdb) bt
#0  0x00007ffff4e519cd in fks_regions::region_data_write (reg_data=0x7fffffffa318, unit=12) at fks_regions.f90:2095
#1  0x0000000000848824 in fks_regions_uti::fks_regions_2 (u=12) at fks_regions_uti.f90:234
#2  0x00007ffff551e589 in unit_tests::test (name=<error reading variable: Cannot access memory at address 0x112a000>, 
    description=<error reading variable: Cannot access memory at address 0x112a000>, u_log=11, results=..., .tmp.NAME.len_V$2a9=13, .tmp.DESCRIPTION.len_V$2ac=63)
    at unit_tests.f90:184
#3  0x000000000083728c in fks_regions_ut::fks_regions_test (u=11, results=...) at fks_regions_ut.f90:52
#4  0x00000000004807c9 in whizard_check (check=..., results=...) at main_ut.f90:548
#5  0x000000000046a010 in main_ut () at main_ut.f90:289
#6  0x00000000004680de in main ()
#7  0x00007fffeff20ec5 in __libc_start_main (main=0x4680b0 <main>, argc=3, argv=0x7fffffffe3d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, 
    stack_end=0x7fffffffe3c8) at libc-start.c:287
#8  0x0000000000467fe9 in _start ()

comment:2 Changed 9 years ago by Juergen Reuter

Resolution: fixed
Status: newclosed

Resolved in r7490.

Note: See TracTickets for help on using tickets.