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
segfault opening molecule xyz file from command line #1617
Comments
Weird. That line (layer.cpp:82) only returns a pointer. Even if the pointer were invalid, it seems like it would just return My guess is that it's trying to get some information from the layers which don't exist yet. But it opens fine from the command-line for me. I'll look into it. |
This issue has been mentioned on Avogadro Discussion. There might be relevant details there: https://discuss.avogadro.cc/t/1-99-segfaults-when-opening-a-file-via-the-command-line/5280/2 |
App would query if render plugins had options too early Added separate method (vs. checking for nullptr) Fix OpenChemistry#1617 Signed-off-by: Geoff Hutchison <geoff.hutchison@gmail.com>
Here are the build results |
Here are the build results |
@drew-parsons - I will probably make a 1.99.1 release soon .. but feel free to grab these as patches to the Debian packages. |
Here are the build results |
Avogadro version:
(but About reports "Avogadro Library Version: 1.97.0-4-42-gb9da376")
Desktop version: (please complete the following information):
Describe the bug
avogadro 1.99.0 segfaults when opening a file from the command line (I tested xyz files).
For instance a simple methane molecule, methane.xyz
To Reproduce
Steps to reproduce the behavior:
avogadro methane.xyz
Expected behavior
The molecule file loads without error via the GUI interface (File->Open). It should possible to open from the command line also.
Screenshots
Additional context
Add any other context about the problem here. Please consider uploading or linking test files.
The text was updated successfully, but these errors were encountered: