-
Notifications
You must be signed in to change notification settings - Fork 69
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
Error in `python': double free or corruption (out) #138
Comments
python3.6
then error: |
This looks related to this comment in #137, but I can't seem to replicate. It could also be related to #105. Can you see if installing 875d5d5 fixes it? |
I tried to install it locally with this commit version, but still the same problem git clone [email protected]:coin-or/CyLP.git
git checkout 875d5d5
cd CyLP
python setup.py install |
oh, I didn't expect someone to have the same problem as me. If you solve it, can you tell me? thanks!! that’s my problem #137 |
and the different is ,when i build
and my step is
|
git clone -n https://github.com/coin-or/CyLP.git
cd Cylp
git checkout 875d5d5ad07cd1b4b53d3715e4aa29164a025e9
python setup.py install
# Need to add this step
cd cylp/cy
python
>> from cylp.cy import CyClpSimplex
>> s = CyClpSimplex() |
ok, i get the same error~ |
I don't understand this. Are you saying it only happens if you are in this directory? In general, for Python 3, you should not be in the directory containing the source when you work with the package because relative imports don't work correctly. In any case, I can't replicate any of this. Can you give some more details, such as what distro and version you're using, etc. |
OK, I now tried running CyLP through valgrind and I do see some memory errors---they're just not causing a crash in my case (strangely). So I will try to debug this. |
I haven't really been able to uncover anything. The memory errors I see seem to be internal to Python (using uninitialized value kind of stuff, which are not always consequential errors). So I guess I will need some help in replicating this after all. It looks a bit strange to me. |
If anyone who is seeing this issue can build CyLP with debugging symbols and run through valgrind, that would be super helpful. Even better, build Cbc from source with debugging symbols. I think just doing UPDATE: After building the Cbc source, you need to set the environment variable |
which version should i build Cylp? the 875d5d5 or the latest ? |
I guess that building the latest would give us the most information. But the best would be to build both in different virtual environments. |
The text was updated successfully, but these errors were encountered: