BhallaLab / moose-core

C++ basecode and python scripting interface
https://moose.ncbs.res.in
GNU General Public License v3.0
15 stars 26 forks source link

seg fault moose.delete('/test') for non exist object #429

Closed hrani closed 3 years ago

hrani commented 3 years ago

when object which doesn't exist if ask to delete we get Seg fault import moose moose.delete('/test') #where '/test' is neither created nor exist then we get seg fault

Works: import moose moose.Neutral('/test') moose.delete('/test') #works

dilawar commented 3 years ago

430 fixes it. Also somewhat related to #424

hrani commented 3 years ago

Build failing for OSX, lot of warning messages. Not sure why failing

dilawar commented 3 years ago

Both builds are passing https://travis-ci.org/github/BhallaLab/moose-core/pull_requests. Linker warnings generated by clang https://travis-ci.org/github/BhallaLab/moose-core/jobs/730360830 are not critical.