STEllAR-GROUP / hpx

The C++ Standard Library for Parallelism and Concurrency
https://hpx.stellar-group.org
Boost Software License 1.0
2.54k stars 438 forks source link

new segfault in dataflow applications #286

Closed brycelelbach closed 12 years ago

brycelelbach commented 12 years ago

[reported by manderson] [Trac time Thu Jan 5 20:08:12 2012] In dataflow applications using futures such as neutron_star and adaptive1d, a new segfault has appears in start_row. It occurs at the call to

lcos::wait (lazyvals).

For example, in adaptive1d, it occurs at line 295 of hpx/examples/adaptive1d/dataflow/server/dataflow_stencil.cpp

In neutron_star, it occurs at line 295 of hpx/examples/neutron_star/dataflow/server/dataflow_stencil.cpp

The problem only appears when compiling in release mode.

Compiler: g++44 Boost 1_47_0

brycelelbach commented 12 years ago

[comment by manderson] [Trac time Thu Jan 5 20:36:52 2012] more info: the problem also occurs in Debug at the exact same place, only it takes much longer to get there. The problem shows up when running on 1 thread.

brycelelbach commented 12 years ago

[comment by hkaiser] [Trac time Thu Jan 5 22:44:09 2012] Fixed in rev. [6680]