Force Field Crashes

Bugs item #1960307, was opened at 2008-05-08 07:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=835077&aid=1960307&group_id=165310

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Commands / Extensions
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Force Field Crashes

Initial Comment:
The force field utilities now seem to regularly crash if you repeat them several times.

For example, draw a molecule, optimize (using the force field extension).

Now edit the molecule and re-optimize. Crash. This is with the latest Avogadro SVN and Open Babel trunks.

Thread 0 Crashed:
0 libstdc++.6.dylib 0x91d8f00e std::basic_ostream<char, std::char_traits >::sentry::sentry(std::basic_ostream<char, std::char_traits >&) + 26
1 libstdc++.6.dylib 0x91d9014c std::basic_ostream<char, std::char_traits >& std::operator<< <std::char_traits >(std::basic_ostream<char, std::char_traits >&, char const*) + 32
2 libopenbabel.2.dylib 0x00295b6c OpenBabel::OBForceField::PrintTypes() + 60
3 libopenbabel.2.dylib 0x0034bbdb OpenBabel::OBForceFieldMMFF94::SetTypes() + 251
4 libopenbabel.2.dylib 0x00291bfe OpenBabel::OBForceField::Setup(OpenBabel::OBMol&, OpenBabel::OBFFConstraints&) + 366
5 libforcefieldextension.dylib 0x0f2fde84 Avogadro::ForceFieldExtension::performAction(QAction*, Avogadro::GLWidget*) + 1362


You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=835077&aid=1960307&group_id=165310