Skip to content

test allocate_as_barrier_proc hangs #347

@mexas

Description

@mexas

FreeBSD laptop, 2 cores, opencoarrays 1.8.4 with GCC 7.0.0,
on make test, hangs at:

# make test
===>  Testing for opencoarrays-1.8.4
(cd /usr/ports/lang/opencoarrays/work/.build && ctest)
Test project /usr/ports/lang/opencoarrays/work/.build
      Start  1: initialize_mpi
 1/40 Test  #1: initialize_mpi ...................   Passed    0.06 sec
      Start  2: register
 2/40 Test  #2: register .........................   Passed    0.07 sec
      Start  3: register_vector
 3/40 Test  #3: register_vector ..................***Failed  Required regular expression not found.Regex=[Test passed.
]  5.18 sec
      Start  4: register_alloc_vector
 4/40 Test  #4: register_alloc_vector ............***Failed  Required regular expression not found.Regex=[Test passed.
]  5.04 sec
      Start  5: allocate_as_barrier
 5/40 Test  #5: allocate_as_barrier ..............***Failed  Required regular expression not found.Regex=[Test passed.
]  5.68 sec
      Start  6: allocate_as_barrier_proc

top shows

  PID USERNAME   PRI NICE   SIZE    RES STATE   C   TIME     CPU COMMAND
 2004 root        21    0   232M   202M bo_wwa  1   0:03   6.18% allocate_as_barrier
 2021 root        20    0   232M 17196K range   0   0:04   0.00% allocate_as_barrier
 2022 root        20    0   232M 17108K range   0   0:04   0.00% allocate_as_barrier
 2020 root        20    0   232M 17204K range   0   0:04   0.00% allocate_as_barrier
 2019 root        20    0   232M 17204K range   0   0:03   0.00% allocate_as_barrier
 2018 root        20    0   232M 17260K range   0   0:03   0.00% allocate_as_barrier
 2016 root        20    0   232M 17332K range   1   0:03   0.00% allocate_as_barrier
 2012 root        20    0   232M 17152K range   0   0:03   0.00% allocate_as_barrier
 2010 root        20    0   232M 17092K range   0   0:03   0.00% allocate_as_barrier
 2014 root        20    0   232M 17224K range   0   0:03   0.00% allocate_as_barrier
 2005 root        20    0   232M 17056K range   0   0:03   0.00% allocate_as_barrier
 1997 root        20    0   232M 17264K range   0   0:01   0.00% allocate_as_barrier

I put here only allocate_as_barrier threads, excluding all other processes.

Killing the process with CTRL/C results in a system panic.
I'll report this to FreeBSD too.

I haven't seen this on my other laptop, which has identical FreeBSD,
opencoarrays and GCC versions. The only difference is that the other
laptop has 4 cores.

Thanks

Anton

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions