-
Notifications
You must be signed in to change notification settings - Fork 158
Crash when clicking on the canvas while no molecule loaded #152
Comments
Logged In: YES You don't mention what tool was active, what engines were active, I am assuming this is on a Linux OS. It looks to me like it was the draw tool and it was attempting to add an atom. It seems to crash in Qt Core or libc though and I don't get why. I am not observing similar behaviour. Is this Qt 4.3.3? Original comment by: @cryos |
Logged In: YES I am currently on a different PC so I cannot check some questions now. What I can tell you: The machine runs OpenSUSE 10.3 with Qt 4.3.3. Original comment by: @cniehaus |
Logged In: YES After recompiling Avogadro with installed libc-profile I am now getting this backtrace. To reproduce on this machine: Simply click on the canvas when no molecule is loaded. It doesn't matter if I select any engines or not, in this case no engine was active. It only happens when I am in the Draw Tool. #0 0xa94563c1 in ?? () This is another backtrace I just got. #0 0xb73a78f2 in QSettingsPrivate::actualKey () from /usr/lib/libQtCore.so.4 Original comment by: @cniehaus |
Logged In: YES I just managed to crash Avogadro while an molecule is loaded. This means it doesn't matter if Avo has a molecule loaded or not, the Manipulationtool has a bug so that adding an Atom crashes Avo. Original comment by: @cniehaus |
Logged In: NO Can you run through gdb? I think this is really weird. The offending code seems to be something like: These all look really safe. About the only thing I can imagine is if your settings file is corrupted. Try deleting ~/.config/SourceForge/Avogadro Original comment by: nobody |
Logged In: YES Carsten reported via e-mail that this bug is now fixed in SVN trunk (now at 1100 or so). I'm marking this closed. Similar problems should open a new bug report. Original comment by: @ghutchis |
Logged In: YES This Tracker item was closed automatically by the system. It was Original comment by: sf-robot |
Update as "insert from SMILES" commands like Avo1.x
This is the backtrace:
[Switching to Thread 0xb6d6a6d0 (LWP 17065)]
0xb6f106cc in memcpy () from /lib/libc.so.6
(gdb) bt
#0 0xb6f106cc in memcpy () from /lib/libc.so.6
#1 0xb72ee8b8 in QString::insert () from /usr/lib/libQtCore.so.4
#2 0xb7331910 in QSettingsPrivate::actualKey () from /usr/lib/libQtCore.so.4
#3 0xb7332558 in QSettings::value () from /usr/lib/libQtCore.so.4
#4 0xb722b7ab in Avogadro::Engine::readSettings () from /home/kde-devel/kde/lib/libavogadro.so.0
#5 0xb720ddad in Avogadro::GLWidget::addPrimitive () from /home/kde-devel/kde/lib/libavogadro.so.0
#6 0xb72102be in Avogadro::GLWidget::qt_metacall () from /home/kde-devel/kde/lib/libavogadro.so.0
#7 0xb736fc70 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#8 0xb73705b2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#9 0xb7227982 in Avogadro::Molecule::primitiveAdded () from /home/kde-devel/kde/lib/libavogadro.so.0
#10 0xb7229095 in Avogadro::Molecule::CreateAtom () from /home/kde-devel/kde/lib/libavogadro.so.0
#11 0xb722b13b in covariant return thunk to Avogadro::Molecule::CreateAtom() ()
from /home/kde-devel/kde/lib/libavogadro.so.0
#12 0xb7e13e5f in OpenBabel::OBMol::NewAtom (this=0x81e9d8c) at mol.cpp:1437
#13 0xb69cc1e8 in Avogadro::DrawTool::newAtom ()
from /home/kde-devel/kde/build/avogadro/libavogadro/src/tools/libdrawtool.so
#14 0xb69cd82b in Avogadro::DrawTool::mousePress ()
from /home/kde-devel/kde/build/avogadro/libavogadro/src/tools/libdrawtool.so
#15 0xb721063c in Avogadro::GLWidget::mousePressEvent () from /home/kde-devel/kde/lib/libavogadro.so.0
#16 0xb77b9f4d in QWidget::event () from /usr/lib/libQtGui.so.4
#17 0xb7d2b6d6 in QGLWidget::event () from /usr/lib/libQtOpenGL.so.4
#18 0xb72106e2 in Avogadro::GLWidget::event () from /home/kde-devel/kde/lib/libavogadro.so.0
#19 0xb777509d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#20 0xb777b80d in QApplication::notify () from /usr/lib/libQtGui.so.4
#21 0xb735e90b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#22 0xb77cbdd3 in QETWidget::translateMouseEvent () from /usr/lib/libQtGui.so.4
---Type to continue, or q to quit---
#23 0xb77cb436 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#24 0xb77eeaba in x11EventSourceDispatch () from /usr/lib/libQtGui.so.4
#25 0xb6e1b5d6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0xb6e1e972 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0x080b9e20 in ?? ()
#28 0x00000000 in ?? ()
All I am doing is to click on the black canvas while nothing is loaded.
Todays SVN of Avogadro.
Reported by: @cniehaus
The text was updated successfully, but these errors were encountered: