-
Notifications
You must be signed in to change notification settings - Fork 99
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
Segmentation fault with some files #21
Comments
Segmentation faults with PLIP are usually always related to OpenBabel, also seems to be the way in this case. Tested again with OpenBabel 2.4.90, PLIP 1.4.1 in Python 2.7.12
Structures with only DNA and no ligands should not result in a crash, PLIP wil report that no ligands are contained or there are no interactions. |
I can however run the file with openbabel just fine:
It seems to generate a valid PDB file in aaa.pdb. I suspect the error comes from some specific action in the python openbabel or pybel module? |
Being hit by this again with an other PDB file. I could identify the segfault happens at the following line supplemental.py, in canonicalize, line 348:
|
…el canonical SMILES conversion can be avoided by skipping the step for mapping between canonical and PDB atom order with the flag --nopdbcanmap
I added a new command line flag in the newest commit to address the problem. |
Tested with all 4 offending structures and works fine. |
I have 3 files in PDB format that cause a segmentation fault when I run plipcmd.
All the files I use are generated by OpenStructure, and only these 3 appear to cause a crash. I don't actually know if they are due to a single or multiple bugs. The PDB files from RCSB work fine.
I can see it crash with plip 1.4.0 and 1.4.1, both running Python 2.7.11 and OpenBabel 2.4.1.
I tried to run it on your web server and the job didn't get through either:
So it doesn't seem to be specific to our system.
The text was updated successfully, but these errors were encountered: