-
Notifications
You must be signed in to change notification settings - Fork 157
Crash when playing around with the forcefields. #181
Comments
Logged In: YES Second crash by playing with forcefields. The backtrace doesn't look related though... Program received signal SIGSEGV, Segmentation fault. Original comment by: @cniehaus |
Logged In: YES Third backtrace related to forcefields. This time on a different computer but same settings. Latest OpenBabel and Avogadro. I was again simple adding many many atoms to the canvas, connecting them at random and from time to time activated the forcefield feature. #0 0xb7eb3a1a in OpenBabel::OBForceFieldGhemical::E_VDW (this=0xb7f5e920, Original comment by: @cniehaus |
Logged In: YES I'll put if (_gradientPtr) before the memset. In non-threaded applications this can't happen, but the OB force field code is not thread safe by itself. Original comment by: @timvdm |
Logged In: YES Is this bug still in SVN trunk Tim? If not, let's close it. Thanks! Original comment by: @ghutchis |
Logged In: YES This Tracker item was closed automatically by the system. It was Original comment by: sf-robot |
Latest OB and Avogadro (trunk). Qt 4.4beta1.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb67e5b90 (LWP 15168)]
0xb6e731f7 in memset () from /lib/libc.so.6
(gdb) bt
#0 0xb6e731f7 in memset () from /lib/libc.so.6
#1 0xb7f26eb8 in OpenBabel::OBForceField::ClearGradients (this=0xb7fc9920) at ../../include/openbabel/forcefield.h:473
#2 0xb7f1d53a in OpenBabel::OBForceFieldGhemical::Energy (this=0xb7fc9920, gradients=true) at forcefieldghemical.cpp:901
#3 0xb7e8d40c in OpenBabel::OBForceField::SteepestDescentInitialize (this=0xb7fc9920, steps=25, econv=0.0001, method=2) at forcefield.cpp:2223
#4 0xb7e8d55a in OpenBabel::OBForceField::SteepestDescent (this=0xb7fc9920, steps=25, econv=0.0001, method=2) at forcefield.cpp:2291
#5 0xb6bfa25d in Avogadro::AutoOptThread::update () from /home/kde-devel/kde/build/avo-git/libavogadro/src/tools/libautoopttool.so
#6 0xb6bfa37d in Avogadro::AutoOptThread::run () from /home/kde-devel/kde/build/avo-git/libavogadro/src/tools/libautoopttool.so
#7 0xb723bcc7 in QThreadPrivate::start () from /usr/lib/libQtCore.so.4
#8 0xb71b7192 in start_thread () from /lib/libpthread.so.0
#9 0xb6ec802e in clone () from /lib/libc.so.6
Reported by: @cniehaus
The text was updated successfully, but these errors were encountered: