[Kst] [Bug 241273] New: deadlock when zooming data
Timo Lindfors
timo.lindfors at iki.fi
Thu Jun 10 10:03:14 CEST 2010
https://bugs.kde.org/show_bug.cgi?id=241273
Summary: deadlock when zooming data
Product: kst
Version: 1.10.0_devel
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kst at kde.org
ReportedBy: timo.lindfors at iki.fi
Version: 1.10.0_devel (using Devel)
OS: Linux
Steps to reproduce:
1) Follow the steps listed in bug #240597
Actual results:
9) kst stops responding.
More info:
1) gdb shows a deadlock:
(gdb) thread apply all bt
Thread 2 (Thread 0x7fd47a2da710 (LWP 15934)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00007fd489189ce2 in KstWaitCondition::wait(QMutex*, unsigned long) ()
from /home/lindi/scm/graphics/kst/src/libkst/libkstbase.so.1
#2 0x00007fd48914c9d9 in KstRWLock::writeLock() const () from
/home/lindi/scm/graphics/kst/src/libkst/libkstbase.so.1
#3 0x00007fd4893f1eac in KstDataObject::writeLockInputsAndOutputs() const ()
from /home/lindi/scm/graphics/kst/src/libkstmath/libkstmath.so.1
#4 0x00007fd48940b3c5 in KstVCurve::update(int) () from
/home/lindi/scm/graphics/kst/src/libkstmath/libkstmath.so.1
#5 0x00007fd48a0fd83b in UpdateThread::doUpdates(bool, bool*) () from
/home/lindi/scm/graphics/kst/src/libkstapp/libkstapp.so.1
#6 0x00007fd48a0fed06 in UpdateThread::run() () from
/home/lindi/scm/graphics/kst/src/libkstapp/libkstapp.so.1
#7 0x00007fd486b78e5b in QThreadInstance::start(void*) () from
/usr/lib/libqt-mt.so.3
#8 0x00007fd4827348ba in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#9 0x00007fd4873bb01d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7fd48a656760 (LWP 15933)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00007fd489189ce2 in KstWaitCondition::wait(QMutex*, unsigned long) ()
from /home/lindi/scm/graphics/kst/src/libkst/libkstbase.so.1
#2 0x00007fd48914c723 in KstRWLock::readLock() const () from
/home/lindi/scm/graphics/kst/src/libkst/libkstbase.so.1
#3 0x00007fd48940efee in KstVCurve::paint(KstCurveRenderContext const&) ()
from /home/lindi/scm/graphics/kst/src/libkstmath/libkstmath.so.1
#4 0x00007fd48a017729 in Kst2DPlot::draw(KstPainter&) () from
/home/lindi/scm/graphics/kst/src/libkstapp/libkstapp.so.1
#5 0x00007fd48a017e83 in Kst2DPlot::draw() () from
/home/lindi/scm/graphics/kst/src/libkstapp/libkstapp.so.1
#6 0x00007fd48a017f40 in Kst2DPlot::updateSelf() () from
/home/lindi/scm/graphics/kst/src/libkstapp/libkstapp.so.1
#7 0x00007fd48a056b1d in KstViewObject::paintUpdate() () from
/home/lindi/scm/graphics/kst/src/libkstapp/libkstapp.so.1
#8 0x00007fd48a059c93 in KstViewObject::paint(KstPainter&, QRegion const&) ()
from /home/lindi/scm/graphics/kst/src/libkstapp/libkstapp.so.1
#9 0x00007fd48a05a114 in KstViewObject::paint(KstPainter&, QRegion const&) ()
from /home/lindi/scm/graphics/kst/src/libkstapp/libkstapp.so.1
#10 0x00007fd48a06e09f in KstTopLevelView::paint(KstPainter::PaintType, QRegion
const&) () from /home/lindi/scm/graphics/kst/src/libkstapp/libkstapp.so.1
#11 0x00007fd48a06e18b in KstTopLevelView::paint(KstPainter::PaintType) () from
/home/lindi/scm/graphics/kst/src/libkstapp/libkstapp.so.1
#12 0x00007fd48a051a81 in KstViewWidget::paintEvent(QPaintEvent*) () from
/home/lindi/scm/graphics/kst/src/libkstapp/libkstapp.so.1
#13 0x00007fd489ffd3b5 in Kst2DPlot::wheelEvent(QWidget*, QWheelEvent*) () from
/home/lindi/scm/graphics/kst/src/libkstapp/libkstapp.so.1
#14 0x00007fd48a05446f in KstViewWidget::wheelEvent(QWheelEvent*) () from
/home/lindi/scm/graphics/kst/src/libkstapp/libkstapp.so.1
#15 0x00007fd486c0fe30 in QWidget::event(QEvent*) () from
/usr/lib/libqt-mt.so.3
#16 0x00007fd486b7e725 in QApplication::internalNotify(QObject*, QEvent*) ()
from /usr/lib/libqt-mt.so.3
#17 0x00007fd486b7fae3 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libqt-mt.so.3
#18 0x00007fd488e1e4a4 in KApplication::notify(QObject*, QEvent*) () from
/usr/lib/libkdecore.so.4
#19 0x00007fd486b13bec in QETWidget::translateWheelEvent(int, int, int, int,
Qt::Orientation) () from /usr/lib/libqt-mt.so.3
#20 0x00007fd486b1df49 in QETWidget::translateMouseEvent(_XEvent const*) ()
from /usr/lib/libqt-mt.so.3
#21 0x00007fd486b1cd68 in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/lib/libqt-mt.so.3
#22 0x00007fd486b2f35a in QEventLoop::processEvents(unsigned int) () from
/usr/lib/libqt-mt.so.3
#23 0x00007fd486b94fa1 in QEventLoop::enterLoop() () from
/usr/lib/libqt-mt.so.3
#24 0x00007fd486b94e62 in QEventLoop::exec() () from /usr/lib/libqt-mt.so.3
#25 0x000000000040d493 in main ()
Reproducible: Didn't try
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kst
mailing list