-
Notifications
You must be signed in to change notification settings - Fork 157
Crash when adding atoms to a molecule. #179
Comments
Logged In: YES is this with "auto add-hydrogens" enabled? Original comment by: @milkypostman |
Logged In: YES Is this the same bug? Program received signal SIGSEGV, Segmentation fault. Original comment by: @cniehaus |
Logged In: YES
Do you mean "Adjust Hydrogens"? Yes, that option is active. Original comment by: @cniehaus |
Logged In: YES Does this bug still exist in the current trunk? Original comment by: @ghutchis |
Logged In: YES I believe this is fixed in the trunk. I'm marking this "fixed" pending confirmation from Carsten. If it isn't fixed, please speak up Carsten so we can re-open and re-visit the bug. Original comment by: @ghutchis |
Logged In: YES This Tracker item was closed automatically by the system. It was Original comment by: sf-robot |
gcc-Version 4.2.2 20071128
Qt 4.3.4
OpenBabel from today
Avogadro r1157
I am opening a file (a .cml file from out testfiles, doesn't matter which). After adding atoms at random I am getting this crash, usually after the second atom is added.
100% reproducable.
(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb6e455f5 in raise () from /lib/i686/libc.so.6
#2 0xb6e47041 in abort () from /lib/i686/libc.so.6
#3 0xb6e3e70e in __assert_fail () from /lib/i686/libc.so.6
#4 0xb719e459 in Avogadro::PrimitiveItemModel::removePrimitive () from /home/kde4/kde/build/avo/libavogadro/src/libavogadro.so.0
#5 0xb719e802 in Avogadro::PrimitiveItemModel::qt_metacall () from /home/kde4/kde/build/avo/libavogadro/src/libavogadro.so.0
#6 0xb730d447 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#7 0xb730dfb5 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#8 0xb71cb190 in Avogadro::Molecule::primitiveRemoved () from /home/kde4/kde/build/avo/libavogadro/src/libavogadro.so.0
#9 0xb71cbf08 in Avogadro::Molecule::DestroyBond () from /home/kde4/kde/build/avo/libavogadro/src/libavogadro.so.0
#10 0xb7e28358 in OpenBabel::OBMol::DeleteBond (this=0x82a83dc, bond=0x82cfadc) at mol.cpp:2700
#11 0xb7e29ad1 in OpenBabel::OBMol::DeleteHydrogen (this=0x82a83dc, atom=0x82ce594) at mol.cpp:1781
#12 0xb7e2a421 in OpenBabel::OBMol::DeleteHydrogens (this=0x82a83dc, atom=0x82cdb74) at mol.cpp:1757
#13 0xb5fb47eb in Avogadro::AddBondDrawCommand::redo () from /home/kde4/kde/build/avo/libavogadro/src/tools/libdrawtool.so
#14 0xb7199956 in Avogadro::UndoSequence::redo () from /home/kde4/kde/build/avo/libavogadro/src/libavogadro.so.0
#15 0xb7be3517 in QUndoStack::push () from /usr/lib/qt4/lib/libQtGui.so.4
#16 0xb71a9149 in Avogadro::GLWidget::mouseReleaseEvent () from /home/kde4/kde/build/avo/libavogadro/src/libavogadro.so.0
#17 0xb77359f4 in QWidget::event () from /usr/lib/qt4/lib/libQtGui.so.4
#18 0xb7d6467d in QGLWidget::event () from /usr/lib/qt4/lib/libQtOpenGL.so.4
#19 0xb71a9270 in Avogadro::GLWidget::event () from /home/kde4/kde/build/avo/libavogadro/src/libavogadro.so.0
#20 0xb76ef1c2 in QApplicationPrivate::notify_helper () from /usr/lib/qt4/lib/libQtGui.so.4
#21 0xb76f5e18 in QApplication::notify () from /usr/lib/qt4/lib/libQtGui.so.4
#22 0xb72fb378 in QCoreApplication::notifyInternal () from /usr/lib/qt4/lib/libQtCore.so.4
#23 0xb774845d in QTreeView::scrollTo () from /usr/lib/qt4/lib/libQtGui.so.4
#24 0xb7747b5c in QApplication::x11ProcessEvent () from /usr/lib/qt4/lib/libQtGui.so.4
#25 0xb776b91a in QTreeView::scrollTo () from /usr/lib/qt4/lib/libQtGui.so.4
#26 0xb72fa7e3 in QEventLoop::processEvents () from /usr/lib/qt4/lib/libQtCore.so.4
#27 0xb72fa8ea in QEventLoop::exec () from /usr/lib/qt4/lib/libQtCore.so.4
#28 0xb72fcc46 in QCoreApplication::exec () from /usr/lib/qt4/lib/libQtCore.so.4
#29 0xb76ee884 in QApplication::exec () from /usr/lib/qt4/lib/libQtGui.so.4
#30 0x08071506 in main ()
Reported by: @cniehaus
The text was updated successfully, but these errors were encountered: