Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

Segfault when Molpro XML output loaded #478

Closed
cryos opened this issue Nov 6, 2009 · 5 comments
Closed

Segfault when Molpro XML output loaded #478

cryos opened this issue Nov 6, 2009 · 5 comments

Comments

@cryos
Copy link
Owner

cryos commented Nov 6, 2009

Molpro 2008 and 2009 produce XML output files alongside with usual *.out. Trying to open such file in Avogadro causes segmentation fault

Reported by: @annulen

@cryos
Copy link
Owner Author

cryos commented Nov 6, 2009

Original comment by: @annulen

@cryos
Copy link
Owner Author

cryos commented Nov 6, 2009

(gdb) bt
#0 0xf4e4fc2c in OpenBabel::XMLFormat::ReadMolecule () from /usr/local/lib/openbabel/2.2.3/xmlformat.so
#1 0xf7afb63e in OpenBabel::OBConversion::Read () from /usr/local/bin/../lib/libopenbabel.so.3
#2 0xf7d04548 in Avogadro::ReadFileThread::run (this=0x9555600)
at /tmp/annulen-avogadro-10e8e3d/libavogadro/src/moleculefile.cpp:693
#3 0xf6ab65e2 in ?? () from /usr/lib/libQtCore.so.4
#4 0xf6a4d4c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#5 0xf7e7f6de in clone () from /lib/i686/cmov/libc.so.6

Original comment by: @annulen

@cryos
Copy link
Owner Author

cryos commented Mar 10, 2010

For me, I'm seeing this as a failure from the command-line, but no crash in babel. Can you confirm that? If so, we need to handle this more gracefully in MoleculeFile

Try:

babel [File.XML] -oxyz

Original comment by: @ghutchis

@cryos
Copy link
Owner Author

cryos commented Apr 6, 2010

This should be fixed with recent OB snapshots. Can I close this?

Original comment by: @ghutchis

@cryos
Copy link
Owner Author

cryos commented Apr 21, 2010

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

Original comment by: sf-robot

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants