Bug 209618 - Krunner crashes during typing [QVector<QPointF>::free, ~QVector, ~QPolygonF]
Summary: Krunner crashes during typing [QVector<QPointF>::free, ~QVector, ~QPolygonF]
Status: RESOLVED DUPLICATE of bug 196207
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-06 11:55 UTC by Tomas Vavra
Modified: 2009-12-17 19:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Vavra 2009-10-06 11:55:03 UTC
Application: krunner (0.1)
KDE Version: 4.3.70 (KDE 4.3.70 (KDE 4.4 >= 20091002)) (Compiled from sources)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-1-amd64 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
When I want to run something I get this type of crash.

 -- Backtrace:
Application: Run Command Interface (krunner), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f99303d0840 (LWP 16950))]

Thread 5 (Thread 0x7f990a138910 (LWP 16958)):
#0  0x00007f992b40df99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f992b68c1b9 in QWaitConditionPrivate::wait (this=0x1cc9548, mutex=0x1d0a850, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x1cc9548, mutex=0x1d0a850, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f992da88e44 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /opt/kde4/lib/libthreadweaver.so.4
#4  0x00007f992da8b58b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /opt/kde4/lib/libthreadweaver.so.4
#5  0x00007f992da89b5f in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /opt/kde4/lib/libthreadweaver.so.4
#6  0x00007f992da89f99 in ThreadWeaver::Thread::run() () from /opt/kde4/lib/libthreadweaver.so.4
#7  0x00007f992b68b1c5 in QThreadPrivate::start (arg=0x1f42960) at thread/qthread_unix.cpp:188
#8  0x00007f992b40973a in start_thread () from /lib/libpthread.so.0
#9  0x00007f992942b49d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f9909937910 (LWP 16959)):
#0  0x00007f992b40df99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f992b68c1b9 in QWaitConditionPrivate::wait (this=0x1cc9548, mutex=0x1d0a850, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x1cc9548, mutex=0x1d0a850, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f992da88e44 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /opt/kde4/lib/libthreadweaver.so.4
#4  0x00007f992da8b58b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /opt/kde4/lib/libthreadweaver.so.4
#5  0x00007f992da89b5f in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /opt/kde4/lib/libthreadweaver.so.4
#6  0x00007f992da89f99 in ThreadWeaver::Thread::run() () from /opt/kde4/lib/libthreadweaver.so.4
#7  0x00007f992b68b1c5 in QThreadPrivate::start (arg=0x1faea90) at thread/qthread_unix.cpp:188
#8  0x00007f992b40973a in start_thread () from /lib/libpthread.so.0
#9  0x00007f992942b49d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f9909136910 (LWP 16960)):
#0  0x00007f992b40df99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f992b68c1b9 in QWaitConditionPrivate::wait (this=0x1cc9548, mutex=0x1d0a850, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x1cc9548, mutex=0x1d0a850, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f992da88e44 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /opt/kde4/lib/libthreadweaver.so.4
#4  0x00007f992da8b58b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /opt/kde4/lib/libthreadweaver.so.4
#5  0x00007f992da89b5f in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /opt/kde4/lib/libthreadweaver.so.4
#6  0x00007f992da89f99 in ThreadWeaver::Thread::run() () from /opt/kde4/lib/libthreadweaver.so.4
#7  0x00007f992b68b1c5 in QThreadPrivate::start (arg=0x1ee8710) at thread/qthread_unix.cpp:188
#8  0x00007f992b40973a in start_thread () from /lib/libpthread.so.0
#9  0x00007f992942b49d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9908935910 (LWP 16961)):
#0  0x00007f992b40df99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f992b68c1b9 in QWaitConditionPrivate::wait (this=0x1cc9548, mutex=0x1d0a850, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x1cc9548, mutex=0x1d0a850, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f992da88e44 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /opt/kde4/lib/libthreadweaver.so.4
#4  0x00007f992da8b58b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /opt/kde4/lib/libthreadweaver.so.4
#5  0x00007f992da8b5a4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /opt/kde4/lib/libthreadweaver.so.4
#6  0x00007f992da89b5f in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /opt/kde4/lib/libthreadweaver.so.4
#7  0x00007f992da89f99 in ThreadWeaver::Thread::run() () from /opt/kde4/lib/libthreadweaver.so.4
#8  0x00007f992b68b1c5 in QThreadPrivate::start (arg=0x1f98a70) at thread/qthread_unix.cpp:188
#9  0x00007f992b40973a in start_thread () from /lib/libpthread.so.0
#10 0x00007f992942b49d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f99303d0840 (LWP 16950)):
[KCrash Handler]
#5  0x00007f99293d0d01 in ?? () from /lib/libc.so.6
#6  0x00007f99293d2a00 in ?? () from /lib/libc.so.6
#7  0x00007f992c91ce37 in QVector<QPointF>::free (this=0x1e63450, exposedRegion=..., allItems=0x7fff8266fc5f) at ../../include/QtCore/../../src/corelib/tools/qvector.h:425
#8  ~QVector (this=0x1e63450, exposedRegion=..., allItems=0x7fff8266fc5f) at ../../include/QtCore/../../src/corelib/tools/qvector.h:114
#9  ~QPolygonF (this=0x1e63450, exposedRegion=..., allItems=0x7fff8266fc5f) at ../../include/QtGui/../../src/gui/painting/qpolygon.h:129
#10 QGraphicsViewPrivate::findItems (this=0x1e63450, exposedRegion=..., allItems=0x7fff8266fc5f) at graphicsview/qgraphicsview.cpp:1065
#11 0x00007f992c91fe71 in QGraphicsView::paintEvent (this=0x1d95f10, event=<value optimized out>) at graphicsview/qgraphicsview.cpp:3470
#12 0x00007f99300eb22d in ResultsView::paintEvent(QPaintEvent*) () from /opt/kde4/lib/libkdeinit4_krunner.so
#13 0x00007f992c396406 in QWidget::event (this=0x1d95f10, event=0x7fff82670650) at kernel/qwidget.cpp:7687
#14 0x00007f992c6fe73b in QFrame::event (this=0x1d95f10, e=0x7fff82670650) at widgets/qframe.cpp:559
#15 0x00007f992c91ec3b in QGraphicsView::viewportEvent (this=0x1d95f10, event=0x7fff82670650) at graphicsview/qgraphicsview.cpp:2919
#16 0x00007f992b7703f8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1d36150, event=0x7fff82670650) at kernel/qcoreapplication.cpp:726
#17 0x00007f992c3462bc in QApplicationPrivate::notify_helper (this=0x1be6c40, receiver=0x1d36150, e=0x7fff82670650) at kernel/qapplication.cpp:4052
#18 0x00007f992c34e31a in QApplication::notify (this=0x1bd33c0, receiver=0x1d36150, e=0x7fff82670650) at kernel/qapplication.cpp:4021
#19 0x00007f992d20784b in KApplication::notify(QObject*, QEvent*) () from /opt/kde4/lib/libkdeui.so.5
#20 0x00007f992b7710dc in QCoreApplication::notifyInternal (this=0x1bd33c0, receiver=0x1d36150, event=0x7fff82670650) at kernel/qcoreapplication.cpp:610
#21 0x00007f992c39d42e in QWidgetPrivate::drawWidget (this=0x1ce9820, pdev=0x1cd8c38, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1be3ea0) at kernel/qwidget.cpp:5079
#22 0x00007f992c39db77 in QWidgetPrivate::paintSiblingsRecursive (this=0x1e63450, pdev=0x1cd8c38, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1be3ea0)
    at kernel/qwidget.cpp:5189
#23 0x00007f992c39d0a7 in QWidgetPrivate::drawWidget (this=0x1e63450, pdev=0x1cd8c38, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1be3ea0) at kernel/qwidget.cpp:5128
#24 0x00007f992c39db77 in QWidgetPrivate::paintSiblingsRecursive (this=0x1d39510, pdev=0x1cd8c38, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1be3ea0)
    at kernel/qwidget.cpp:5189
#25 0x00007f992c39d0a7 in QWidgetPrivate::drawWidget (this=0x1d39510, pdev=0x1cd8c38, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1be3ea0) at kernel/qwidget.cpp:5128
#26 0x00007f992c39db77 in QWidgetPrivate::paintSiblingsRecursive (this=0x1cd95c0, pdev=0x1cd8c38, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1be3ea0)
    at kernel/qwidget.cpp:5189
#27 0x00007f992c39d0a7 in QWidgetPrivate::drawWidget (this=0x1cd95c0, pdev=0x1cd8c38, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1be3ea0) at kernel/qwidget.cpp:5128
#28 0x00007f992c39db77 in QWidgetPrivate::paintSiblingsRecursive (this=0x1ce04a0, pdev=0x1cd8c38, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1be3ea0)
    at kernel/qwidget.cpp:5189
#29 0x00007f992c39d0a7 in QWidgetPrivate::drawWidget (this=0x1ce04a0, pdev=0x1cd8c38, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1be3ea0) at kernel/qwidget.cpp:5128
#30 0x00007f992c512f15 in QWidgetBackingStore::sync (this=0x1be3ea0) at painting/qbackingstore.cpp:1269
#31 0x00007f992c38f490 in QWidgetPrivate::syncBackingStore (this=0x1ce04a0) at kernel/qwidget.cpp:1603
#32 0x00007f992c3962a1 in QWidget::event (this=0x1cdf300, event=0x24a6d30) at kernel/qwidget.cpp:7827
#33 0x00007f99300dc470 in KRunnerDialog::event(QEvent*) () from /opt/kde4/lib/libkdeinit4_krunner.so
#34 0x00007f992c3462ed in QApplicationPrivate::notify_helper (this=0x1be6c40, receiver=0x1cdf300, e=0x24a6d30) at kernel/qapplication.cpp:4056
#35 0x00007f992c34e31a in QApplication::notify (this=0x1bd33c0, receiver=0x1cdf300, e=0x24a6d30) at kernel/qapplication.cpp:4021
#36 0x00007f992d20784b in KApplication::notify(QObject*, QEvent*) () from /opt/kde4/lib/libkdeui.so.5
#37 0x00007f992b7710dc in QCoreApplication::notifyInternal (this=0x1bd33c0, receiver=0x1cdf300, event=0x24a6d30) at kernel/qcoreapplication.cpp:610
#38 0x00007f992b771d24 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x1bafda0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1bafda0) at kernel/qcoreapplication.cpp:1247
#40 0x00007f992b799b03 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#41 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#42 0x00007f9928ab312a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#43 0x00007f9928ab6988 in ?? () from /lib/libglib-2.0.so.0
#44 0x00007f9928ab6b3c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#45 0x00007f992b79978f in QEventDispatcherGlib::processEvents (this=0x1baf360, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#46 0x00007f992c3dbdaf in QGuiEventDispatcherGlib::processEvents (this=0x23f06a0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#47 0x00007f992b76f9a2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007f992b76fd74 in QEventLoop::exec (this=0x7fff82672150, flags=...) at kernel/qeventloop.cpp:201
#49 0x00007f992b771fe4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#50 0x00007f99300e05ec in kdemain () from /opt/kde4/lib/libkdeinit4_krunner.so
#51 0x00007f992937ea8d in __libc_start_main () from /lib/libc.so.6
#52 0x0000000000400839 in _start () at ../sysdeps/x86_64/elf/start.S:113

Reported using DrKonqi
Comment 1 Jacopo De Simoi 2009-12-17 19:18:35 UTC
This is in fact a glibc bug, due to a race in free(), it should be fixed in 2.11.1

*** This bug has been marked as a duplicate of bug 196207 ***