You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using multiple threads, when calling connect with a mixture of neuron and devices, a segmentation fault occurs as threads create connections in non-thread-local sparse tables.
the following lines will generate a segmentation fault:
in this case thread0 and thread1 both try to create a connection in the connector of neuron 1 on thread 1. this can be traced back to the use of get_node(gid, thread) in the connection builders (AllToAllBuilder etc.) which defaults to thread=0 if no argument is given.
most likely this bug was not ecountered before since users rarely mix devices and neurons in a single list. the segmentation fault occurs with 2.10.0, 2.8.0, 2.6.0 and i did not go back further in time.
am i right in assuming this is not the desired behaviour?
ps: i am now working on a fix based on the nest3 branch.
The text was updated successfully, but these errors were encountered:
there still seem to be old connection routines like DivergentConnect in the connection_builder_manager. i thought these were completely replaced by the new connect framework? does it make sense to fix them aswell as they exist for a good reason or should i ignore them? @heplesser@hannahbos
using multiple threads, when calling connect with a mixture of neuron and devices, a segmentation fault occurs as threads create connections in non-thread-local sparse tables.
the following lines will generate a segmentation fault:
in this case thread0 and thread1 both try to create a connection in the connector of neuron 1 on thread 1. this can be traced back to the use of
get_node(gid, thread)
in the connection builders (AllToAllBuilder
etc.) which defaults to thread=0 if no argument is given.most likely this bug was not ecountered before since users rarely mix devices and neurons in a single list. the segmentation fault occurs with 2.10.0, 2.8.0, 2.6.0 and i did not go back further in time.
am i right in assuming this is not the desired behaviour?
ps: i am now working on a fix based on the nest3 branch.
The text was updated successfully, but these errors were encountered: