Closed tgehrig closed 12 years ago
Okay, it also crashes from time to time with the external libpng:-(. Some startups are successful some not. I don't know why this is suddenly happening after working for so long here:-/. Could it be due to the addition of jsoncpp? At least I did not experience these crashes yesterday before I added jsoncpp to okapi/utilities.
Here is the backtrace from gdb with python:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff196a153 in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
(gdb) bt
#0 0x00007ffff196a153 in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#1 0x00007ffff196a1f2 in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#2 0x00007ffff516ce3f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
from /usr/lib/libQtCore.so.4
#3 0x00007ffff18aa767 in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#4 0x00007ffff5169a63 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#5 0x00007ffff18aa705 in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#6 0x00007ffff562d22c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#7 0x00007ffff56336fb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#8 0x00007ffff6599443 in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtGui.so
#9 0x00007ffff515a06c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#10 0x00007ffff5186d42 in ?? () from /usr/lib/libQtCore.so.4
#11 0x00007ffff5183824 in ?? () from /usr/lib/libQtCore.so.4
#12 0x00007ffff43d38c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#13 0x00007ffff43d7748 in ?? () from /lib/libglib-2.0.so.0
#14 0x00007ffff43d78fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#15 0x00007ffff5183513 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#16 0x00007ffff56dd46e in ?? () from /usr/lib/libQtGui.so.4
#17 0x00007ffff5158992 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#18 0x00007ffff5158d6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#19 0x00007ffff515caab in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#20 0x00007ffff6599fb0 in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtGui.so
#21 0x00000000004a7c5e in PyEval_EvalFrameEx ()
#22 0x00000000004a9671 in PyEval_EvalCodeEx ()
#23 0x00000000004a9742 in PyEval_EvalCode ()
#24 0x00000000004c9a0e in PyRun_FileExFlags ()
#25 0x00000000004c9c24 in PyRun_SimpleFileExFlags ()
#26 0x000000000041a7ff in Py_Main ()
#27 0x00007ffff69d8c4d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>,
---Type <return> to continue, or q <return> to quit---
ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>,
rtld_fini=<value optimized out>, stack_end=0x7fffffffda08) at libc-start.c:226
#28 0x00000000004199f9 in _start ()
I tried again with the internal libpng. This crash is totally random. There is no direct relation to the libpng version. It is also not related to having okapy in the PYTHONPATH. It happens anyways.
This seems to happen if the current version of okapi is build with the internal libpng version. Using the external libpng version the segfault does not appear