Page 1 of 1
realflow hangs on exit
Posted: Fri Oct 28, 2011 11:51 pm
by redpawfx
Here at work, we just got 2012 up and running and at the same time, are switching to fedora 15
Immediately on switching to fedora (KDE window manager)
I noticed that even on realflow 5 AND 2012, when you try to exit out of the program,
it locks up and pegs a processor seemingly forever.
to completly "kill it" I actually have to killall realflow.bin, as even control -c'ing in the shell it was launched from does not actually kill the UI or the process..
What could be causing this? and have you guys seen this problem in the past?
let me know, we didn't have this problem with fedora 10.
thanks
-johnc
redpawfx
Re: realflow hangs on exit
Posted: Mon Oct 31, 2011 1:43 pm
by gus
Hi John,
Trying to replicate this at our end without luck...but I am on Fedora14.
Seems to be working just fine in here. Also tried various Debian, Ubuntu, and other Fedora.
Could you tell us the specs of the machine ? Especially interested in Graphics card and driver version.
Cheers,
g-)
Re: realflow hangs on exit
Posted: Tue Nov 01, 2011 7:26 pm
by redpawfx
Hey Gus,
we have Dells T5500 or some such,
Graphics card is NVidia Quadro 1800FX
Driver currently is nvidias 275.09.07
64 bit Fedora 15 with KDE/xfce desktop environment
And as I said in the previous e-mail, it seems that it is happening in both 5.0.3 and 2012 versions that we have,
hopefully we can figure this out, let me know if you need any more info
-johnc
Re: realflow hangs on exit
Posted: Wed Nov 02, 2011 6:46 pm
by enrique
Hi redpawfx,
could you please send us a backtrace of the frozen process?
To get that, you need to know the pid of realflow: "ps -ef | grep realflow.bin"
and then attach gdb to that process: "gdb -p <PID>"
After gdb finishes loading symbols and stuff, just write the command "bt" and it will show the trace.
We will try to solve this issue with that information.
thanks
Re: realflow hangs on exit
Posted: Wed Nov 09, 2011 1:36 am
by redpawfx
Hope this helps!
attaching gdb froze realflow and then running BT resulted in this....
Code: Select all
#0 0x00007f69037241f3 in select () from /lib64/libc.so.6
#1 0x00007f69043355d7 in QEventDispatcherUNIX::select(int, fd_set*, fd_set*, fd_set*, timeval*) ()
from /usr/local/realflow-2012.01/lib/libQtCore.so.4
#2 0x00007f6904f1cbe8 in QEventDispatcherX11::select(int, fd_set*, fd_set*, fd_set*, timeval*) ()
from /usr/local/realflow-2012.01/lib/libQtGui.so.4
#3 0x00007f69043376f5 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) ()
from /usr/local/realflow-2012.01/lib/libQtCore.so.4
#4 0x00007f6904337af7 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/local/realflow-2012.01/lib/libQtCore.so.4
#5 0x00007f6904f1cf4b in QEventDispatcherX11::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/local/realflow-2012.01/lib/libQtGui.so.4
#6 0x00007f6904309423 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/local/realflow-2012.01/lib/libQtCore.so.4
#7 0x00007f69043095db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/local/realflow-2012.01/lib/libQtCore.so.4
#8 0x00007f690430dbbf in QCoreApplication::exec() () from /usr/local/realflow-2012.01/lib/libQtCore.so.4
#9 0x00000000004b8356 in mainGUIMode(int, char**) ()
#10 0x00000000004b9b8b in main ()
trying to exit realflow first, letting it freeze, and then attaching GDB and running BT resulted in this...
Code: Select all
#0 0x00007f9362645916 in ?? () from /usr/local/realflow-2012.01/lib/libnl_caronte_x64.so
#1 0x00007f9362645fec in ?? () from /usr/local/realflow-2012.01/lib/libnl_caronte_x64.so
#2 0x00007f936264682c in ?? () from /usr/local/realflow-2012.01/lib/libnl_caronte_x64.so
#3 0x00007f93624fd9e2 in nextlimit::caronte::BdSimulation::workCrew_destroy() ()
from /usr/local/realflow-2012.01/lib/libnl_caronte_x64.so
#4 0x00007f93624fdb51 in nextlimit::caronte::BdSimulation::editing_end() ()
from /usr/local/realflow-2012.01/lib/libnl_caronte_x64.so
#5 0x00007f9361a75249 in nextlimit::realflow::BodyDynamicsEngine::onEditingEnd() ()
from /usr/local/realflow-2012.01/lib/librfCore_x64.so
#6 0x00007f9360f161a7 in MainForm::closeEvent(QCloseEvent*) () from /usr/local/realflow-2012.01/lib/librfGUI_x64.so
#7 0x00007f935c37ef4a in QWidget::event(QEvent*) () from /usr/local/realflow-2012.01/lib/libQtGui.so.4
#8 0x00007f935c7642b0 in QMainWindow::event(QEvent*) () from /usr/local/realflow-2012.01/lib/libQtGui.so.4
#9 0x00007f935c32aab0 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
from /usr/local/realflow-2012.01/lib/libQtGui.so.4
#10 0x00007f935c32bd8e in QApplication::notify(QObject*, QEvent*) () from /usr/local/realflow-2012.01/lib/libQtGui.so.4
#11 0x00007f935b7adddb in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
from /usr/local/realflow-2012.01/lib/libQtCore.so.4
#12 0x00007f935c379ff2 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) ()
from /usr/local/realflow-2012.01/lib/libQtGui.so.4
#13 0x00007f935c37a082 in QWidget::close() () from /usr/local/realflow-2012.01/lib/libQtGui.so.4
#14 0x00007f935c3819f3 in QWidget::qt_metacall(QMetaObject::Call, int, void**) ()
from /usr/local/realflow-2012.01/lib/libQtGui.so.4
#15 0x00007f935c9c0c15 in QMainWindow::qt_metacall(QMetaObject::Call, int, void**) ()
from /usr/local/realflow-2012.01/lib/libQtGui.so.4
#16 0x00007f9361184f45 in MainForm::qt_metacall(QMetaObject::Call, int, void**) ()
from /usr/local/realflow-2012.01/lib/librfGUI_x64.so
#17 0x00007f935b7c077f in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/local/realflow-2012.01/lib/libQtCore.so.4
#18 0x00007f935c323ce7 in QAction::triggered(bool) () from /usr/local/realflow-2012.01/lib/libQtGui.so.4
#19 0x00007f935c324054 in QAction::activate(QAction::ActionEvent) () from /usr/local/realflow-2012.01/lib/libQtGui.so.4
#20 0x00007f935c78dff2 in QMenuPrivate::activateCausedStack(QList<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) () from /usr/local/realflow-2012.01/lib/libQtGui.so.4
#21 0x00007f935c791a3b in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) ()
from /usr/local/realflow-2012.01/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
#22 0x00007f935c37e8ee in QWidget::event(QEvent*) () from /usr/local/realflow-2012.01/lib/libQtGui.so.4
#23 0x00007f935c78f74b in QMenu::event(QEvent*) () from /usr/local/realflow-2012.01/lib/libQtGui.so.4
#24 0x00007f935c32aab0 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
from /usr/local/realflow-2012.01/lib/libQtGui.so.4
#25 0x00007f935c32c862 in QApplication::notify(QObject*, QEvent*) () from /usr/local/realflow-2012.01/lib/libQtGui.so.4
#26 0x00007f935b7adddb in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
from /usr/local/realflow-2012.01/lib/libQtCore.so.4
#27 0x00007f935c32b91c in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/local/realflow-2012.01/lib/libQtGui.so.4
#28 0x00007f935c39c07d in QETWidget::translateMouseEvent(_XEvent const*) ()
from /usr/local/realflow-2012.01/lib/libQtGui.so.4
#29 0x00007f935c39af1f in QApplication::x11ProcessEvent(_XEvent*) () from /usr/local/realflow-2012.01/lib/libQtGui.so.4
#30 0x00007f935c3c0ebc in QEventDispatcherX11::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/local/realflow-2012.01/lib/libQtGui.so.4
#31 0x00007f935b7ad423 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/local/realflow-2012.01/lib/libQtCore.so.4
#32 0x00007f935b7ad5db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/local/realflow-2012.01/lib/libQtCore.so.4
#33 0x00007f935b7b1bbf in QCoreApplication::exec() () from /usr/local/realflow-2012.01/lib/libQtCore.so.4
#34 0x00000000004b8356 in mainGUIMode(int, char**) ()
#35 0x00000000004b9b8b in main ()
Re: realflow hangs on exit
Posted: Wed Nov 09, 2011 12:22 pm
by gus
Hi John,
Could you give it a try to the version I just shared with you?
It is a patched version that will hopefully overcome those issues.
g-)
Re: realflow hangs on exit
Posted: Wed Nov 09, 2011 8:10 pm
by redpawfx
It appears so far that this patch fixes the problem. We're going to start testing with it, and I'll let you know if we come across any other wierdness
thanks for the quick fix !
-johnc
Re: realflow hangs on exit
Posted: Wed Nov 09, 2011 8:46 pm
by gus
Hi John,
Great that it seems to be working.
Please do let us know if you find any more issues.
g-)