avaframe / AvaFrame

https://avaframe.org
European Union Public License 1.2
16 stars 2 forks source link

Problem in pytest of updatesFieldC #1002

Closed fso42 closed 3 months ago

fso42 commented 3 months ago

There is a random bug in

test_updateFieldsC():

if the values of particles x and y are changed. Seg faults in various configurations (pytest, different values, script etc)

Seems to be related to below problems, at least those are the errors that came up on debugging:

https://stackoverflow.com/questions/64723939/what-does-double-free-or-corruption-top-mean-in-python and https://github.com/openssl/openssl/issues/12900 Seems to be a malloc/heap -> i.e Memory allocation

fso42 commented 3 months ago

Relevant code is commented for know. Issue is for future reference.