schrodinger / pymol-open-source

Open-source foundation of the user-sponsored PyMOL molecular visualization system.
https://pymol.org/
Other
1.2k stars 281 forks source link

If a surface is shown, `unset solvent_radius` causes segfault #169

Closed blake-riley closed 3 years ago

blake-riley commented 3 years ago

This segfault made me lose a small amount of work, so I'm reporting it as a bug. Was a mistake when I typed it in, and definitely not something that will be done by most users.

While I get a Warning on the unset command,

Warning: The behavior of "unset" for global numeric settings will change. Use "set solvent_radius, 0" to ensure consistent behavior in future PyMOL versions.

I don't think this syntax change will fix the problem.

It feels a lot like a divide by zero error under the hood.


I'm running PyMOL Incentive 2.4.2 on macOS.

MWE:

unset solvent_radius;
fetch 6h8s;
show surface;

crashes on surface generation.