-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2CV simulation ends with SIGSEGV #11
Comments
I can reproduce this SIGSEGV with These is an error in pyvle.cpp
|
The manager::Simulation::run and manager::Manager::run functions can return NULL pointer (no storage plug-ins in the View). So we need to check the simulation results before dereference/delete it (Closes vle-forge#11). Remarks: some duplicated code in the pyvle_run* functions.
The manager::Simulation::run and manager::Manager::run functions can return NULL pointer (no storage plug-ins in the View). So we need to check the simulation results before dereference/delete it (Closes vle-forge#11). Remarks: some duplicated code in the pyvle_run* functions.
with pyvle 1.1.2 and 2CV from recordb from master
userPrompt:~/tests> python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
debugging with gdb
Program received signal SIGSEGV, Segmentation fault.
pyvle_convert_dataframe (out=...) at /usr/include/c++/4.8/bits/stl_map.h:330
330 { return _M_t.begin(); }
(gdb) quit
The text was updated successfully, but these errors were encountered: