<div dir="ltr">Hi,<div>My application runs fine when built without LLVM/Clang's OpenMP offload options,</div><div>but segfaults at run time with them. Below is a back trace of the app, any idea</div><div>as from the trace to why the app while target clause is not embedded yet at all</div><div>crashes?</div><div><br></div><div><pre style="font-family:Consolas,Menlo,"Liberation Mono",Courier,monospace;margin:1em 1em 1em 1.6em;padding:8px;background-color:rgb(250,250,250);border:1px solid rgb(226,226,226);border-radius:3px;width:auto;overflow:auto hidden;color:rgb(51,51,51);font-size:12px">(gdb) bt
#0 0x00003fffb7202b50 in std::_Rb_tree_decrement(std::_Rb_tree_node_base*) ()
from /lib64/libstdc++.so.6
#1 0x000000001001e718 in operator-- (this=<optimized out>)
at /usr/lib/gcc/ppc64le-redhat-linux/4.8.5/../../../../include/c++/4.8.5/bits/stl_tree.h:204
#2 _M_get_insert_unique_pos (this=<optimized out>, __k=...)
at /usr/lib/gcc/ppc64le-redhat-linux/4.8.5/../../../../include/c++/4.8.5/bits/stl_tree.h:1333
#3 std::_Rb_tree<Name, std::pair<Name const, double (nest::sli_neuron::*)() const>, std::_Select1st<std::pair<Name const, double (nest::sli_neuron::*)() const> >, std::less<Name>, std::allocator<std::pair<Name const, double (nest::sli_neuron::*)() const> > >::_M_insert_unique<std::pair<Name, double (nest::sli_neuron::*)() const> >(std::pair<Name, double (nest::sli_neuron::*)() const>&&) (
this=0x10050d68 <nest::sli_neuron::recordablesMap_+8>, __v=<optimized out>)
at /usr/lib/gcc/ppc64le-redhat-linux/4.8.5/../../../../include/c++/4.8.5/bits/stl_tree.h:1377
#4 0x0000000010019188 in insert<std::pair<Name, double (nest::sli_neuron::*)() const>, void> (this=<optimized out>, __x=<optimized out>)
at /usr/lib/gcc/ppc64le-redhat-linux/4.8.5/../../../../include/c++/4.8.5/bits/stl_map.h:603
#5 insert_ (this=<optimized out>, n=..., f=<optimized out>)
at /gpfs/homeb/pcp0/pcp0151/projects/nest-simulator/nestkernel/recordables_map.h:110
#6 create (this=<optimized out>)
at /gpfs/homeb/pcp0/pcp0151/projects/nest-simulator/nest/sli_neuron.cpp:63
#7 nest::sli_neuron::sli_neuron (this=0x100d8240)
at /gpfs/homeb/pcp0/pcp0151/projects/nest-simulator/nest/sli_neuron.cpp:90
#8 0x0000000010016450 in nest::GenericModel<nest::sli_neuron>::GenericModel (
Python Exception <class 'gdb.error'> There is no member named _M_dataplus.:
this=0x100d8210, name=..., deprecation_info=)
at /gpfs/homeb/pcp0/pcp0151/projects/nest-simulator/nestkernel/genericmodel.h:130
#9 0x0000000010010e10 in nest::ModelManager::register_node_model<nest::sli_neuron> (this=0x101139e8, name=..., private_model=<optimized out>,
deprecation_info=<incomplete type>)
at /gpfs/homeb/pcp0/pcp0151/projects/nest-simulator/nestkernel/model_manager_impl.h:56
#10 0x00000000100108c0 in neststartup (argc=<optimized out>,
argv=<optimized out>, engine=...)
at /gpfs/homeb/pcp0/pcp0151/projects/nest-simulator/nest/neststartup.cpp:144
#11 0x000000001000fc40 in main (argc=<optimized out>, argv=<optimized out>)
---Type <return> to continue, or q <return> to quit---
at /gpfs/homeb/pcp0/pcp0151/projects/nest-simulator/nest/main.cpp:50</pre></div></div>