Bug 167792 - crash after deleting all text
Summary: crash after deleting all text
Status: RESOLVED WORKSFORME
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-30 23:39 UTC by Cadé David
Modified: 2009-02-11 23:25 UTC (History)
3 users (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 Cadé David 2008-07-30 23:39:53 UTC
Version:            (using KDE 4.1.0)
Installed from:    Debian testing/unstable Packages
OS:                Linux

I wrote some random text in the runner and after deleting it completely with backspace, the next stroke on backspace killed krunner.
I can't reproduce it, it looks like some weird race conditions... 

The backtrace :
Application : Interface d'exécution de commande (krunner), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb476e740 (LWP 10792)]
[New Thread 0xaebffb90 (LWP 12384)]
[New Thread 0xaf7ffb90 (LWP 10849)]
[New Thread 0xaffffb90 (LWP 10848)]
[New Thread 0xb07ffb90 (LWP 10847)]
[New Thread 0xb11abb90 (LWP 10846)]
[KCrash handler]
#5  0xb7f16fd7 in memcpy () from /lib/libc.so.6
#6  0xb6b48f86 in QIODevice::read (this=0xaee00c58, data=0xb083df5a "", 
    maxSize=44)
    at ../../include/QtCore/private/../../../src/corelib/tools/qringbuffer_p.h:242
#7  0xb6b34050 in QDataStream::readRawData (this=0xaee57b38, s=0xb083df5a "", 
    len=44) at io/qdatastream.cpp:887
#8  0xb6b10579 in operator>> (in=@0xaee57b38, str=@0xb083d93c)
    at tools/qstring.cpp:6720
#9  0xb7865316 in KServicePrivate::load (this=0xb083d928, s=@0xaee57b38)
    at /tmp/buildd/kde4libs-4.1.0/kdecore/services/kservice.cpp:323
#10 0xb78655bb in KService (this=0xb083d918, _str=@0xaee57b38, 
    _offset=1164783)
    at /tmp/buildd/kde4libs-4.1.0/kdecore/services/kservice_p.h:41
#11 0xb786e861 in KServiceFactory::createEntry (this=0xaef37200, 
    offset=1164783)
    at /tmp/buildd/kde4libs-4.1.0/kdecore/services/kservicefactory.cpp:196
#12 0xb786df71 in KServiceFactory::serviceOffers (this=0xaef37200, 
    serviceTypeOffset=29134, serviceOffersOffset=<value optimized out>)
    at /tmp/buildd/kde4libs-4.1.0/kdecore/services/kservicefactory.cpp:281
#13 0xb787e34a in KServiceTypeTrader::defaultOffers (this=0x86fd750, 
    serviceType=@0xb07ff138, constraint=@0xb07ff144)
    at /tmp/buildd/kde4libs-4.1.0/kdecore/services/kservicetypetrader.cpp:125
#14 0xb787ec35 in KServiceTypeTrader::query (this=0x86fd750, 
    serviceType=@0xb07ff138, constraint=@0xb07ff144)
    at /tmp/buildd/kde4libs-4.1.0/kdecore/services/kservicetypetrader.cpp:141
#15 0xb26f8c34 in ServiceRunner::match (this=0x82ea278, context=@0xb07ff1a0)
    at /tmp/buildd/kdebase-workspace-4.1.0/plasma/runners/services/servicerunner.cpp:55
#16 0xb7d86d07 in Plasma::AbstractRunner::performMatch (this=0x82ea278, 
    globalContext=@0x86761c8)
    at /tmp/buildd/kdebase-workspace-4.1.0/libs/plasma/abstractrunner.cpp:131
#17 0xb7de59d7 in Plasma::FindMatchesJob::run (this=0x8935490)
    at /tmp/buildd/kdebase-workspace-4.1.0/libs/plasma/runnermanager.cpp:171
#18 0xb5d42860 in ThreadWeaver::JobRunHelper::runTheJob (this=0xb07ff278, 
    th=0x828ea78, job=0x8935490)
    at /tmp/buildd/kde4libs-4.1.0/threadweaver/Weaver/Job.cpp:106
#19 0xb5d42a45 in ThreadWeaver::Job::execute (this=0x8935490, th=0x828ea78)
    at /tmp/buildd/kde4libs-4.1.0/threadweaver/Weaver/Job.cpp:135
#20 0xb5d41712 in ThreadWeaver::ThreadRunHelper::run (this=0xb07ff2f0, 
    parent=0x867a400, th=0x828ea78)
    at /tmp/buildd/kde4libs-4.1.0/threadweaver/Weaver/Thread.cpp:95
#21 0xb5d418d5 in ThreadWeaver::Thread::run (this=0x828ea78)
    at /tmp/buildd/kde4libs-4.1.0/threadweaver/Weaver/Thread.cpp:142
#22 0xb6ac3322 in QThreadPrivate::start (arg=0x828ea78)
    at thread/qthread_unix.cpp:190
#23 0xb58cbfd3 in start_thread () from /lib/libpthread.so.0
#24 0xb7f6ba8e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xaffffb90 (LWP 10848)):
#0  0xb58d0550 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb7f772ed in pthread_cond_wait () from /lib/libc.so.6
#2  0xb6ac4332 in QWaitCondition::wait (this=0x867a418, mutex=0x867a5c0, 
    time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  0xb5d3fbbb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x867a400, th=0x87342f0)
    at /tmp/buildd/kde4libs-4.1.0/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0xb5d434dc in ThreadWeaver::WorkingHardState::waitForAvailableJob (
    this=0x867a650, th=0x87342f0)
    at /tmp/buildd/kde4libs-4.1.0/threadweaver/Weaver/WorkingHardState.cpp:80
#5  0xb5d3e45b in ThreadWeaver::WeaverImpl::waitForAvailableJob (
    this=0x867a400, th=0x87342f0)
    at /tmp/buildd/kde4libs-4.1.0/threadweaver/Weaver/WeaverImpl.cpp:356
#6  0xb5d4361f in ThreadWeaver::WorkingHardState::applyForWork (
    this=0x867a650, th=0x87342f0)
    at /tmp/buildd/kde4libs-4.1.0/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0xb5d40c33 in ThreadWeaver::WeaverImpl::applyForWork (this=0x867a400, 
    th=0x87342f0, previous=0x870a868)
    at /tmp/buildd/kde4libs-4.1.0/threadweaver/Weaver/WeaverImpl.cpp:351
#8  0xb5d4175d in ThreadWeaver::ThreadRunHelper::run (this=0xaffff2f0, 
    parent=0x867a400, th=0x87342f0)
    at /tmp/buildd/kde4libs-4.1.0/threadweaver/Weaver/Thread.cpp:87
#9  0xb5d418d5 in ThreadWeaver::Thread::run (this=0x87342f0)
    at /tmp/buildd/kde4libs-4.1.0/threadweaver/Weaver/Thread.cpp:142
#10 0xb6ac3322 in QThreadPrivate::start (arg=0x87342f0)
    at thread/qthread_unix.cpp:190
#11 0xb58cbfd3 in start_thread () from /lib/libpthread.so.0
#12 0xb7f6ba8e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xaf7ffb90 (LWP 10849)):
#0  0xb58d0550 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb7f772ed in pthread_cond_wait () from /lib/libc.so.6
#2  0xb6ac4332 in QWaitCondition::wait (this=0x867a418, mutex=0x867a5c0, 
    time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  0xb5d3fbbb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x867a400, th=0x871cea8)
    at /tmp/buildd/kde4libs-4.1.0/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0xb5d434dc in ThreadWeaver::WorkingHardState::waitForAvailableJob (
    this=0x867a650, th=0x871cea8)
    at /tmp/buildd/kde4libs-4.1.0/threadweaver/Weaver/WorkingHardState.cpp:80
#5  0xb5d3e45b in ThreadWeaver::WeaverImpl::waitForAvailableJob (
    this=0x867a400, th=0x871cea8)
    at /tmp/buildd/kde4libs-4.1.0/threadweaver/Weaver/WeaverImpl.cpp:356
#6  0xb5d4361f in ThreadWeaver::WorkingHardState::applyForWork (
    this=0x867a650, th=0x871cea8)
    at /tmp/buildd/kde4libs-4.1.0/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0xb5d40c33 in ThreadWeaver::WeaverImpl::applyForWork (this=0x867a400, 
    th=0x871cea8, previous=0xaef370d8)
    at /tmp/buildd/kde4libs-4.1.0/threadweaver/Weaver/WeaverImpl.cpp:351
#8  0xb5d4175d in ThreadWeaver::ThreadRunHelper::run (this=0xaf7ff2f0, 
    parent=0x867a400, th=0x871cea8)
    at /tmp/buildd/kde4libs-4.1.0/threadweaver/Weaver/Thread.cpp:87
#9  0xb5d418d5 in ThreadWeaver::Thread::run (this=0x871cea8)
    at /tmp/buildd/kde4libs-4.1.0/threadweaver/Weaver/Thread.cpp:142
#10 0xb6ac3322 in QThreadPrivate::start (arg=0x871cea8)
    at thread/qthread_unix.cpp:190
#11 0xb58cbfd3 in start_thread () from /lib/libpthread.so.0
#12 0xb7f6ba8e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaebffb90 (LWP 12384)):
#0  0xb7f65187 in select () from /lib/libc.so.6
#1  0xb6b91a10 in QProcessManager::run (this=0x82105c8)
    at io/qprocess_unix.cpp:307
#2  0xb6ac3322 in QThreadPrivate::start (arg=0x82105c8)
    at thread/qthread_unix.cpp:190
#3  0xb58cbfd3 in start_thread () from /lib/libpthread.so.0
#4  0xb7f6ba8e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb476e740 (LWP 10792)):
#0  0xb58d0550 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb7f772ed in pthread_cond_wait () from /lib/libc.so.6
#2  0xb6ac4332 in QWaitCondition::wait (this=0x8210940, mutex=0x821092c, 
    time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  0xb6ac34c3 in QThread::wait (this=0x82105c8, time=4294967295)
    at thread/qthread_unix.cpp:561
#4  0xb6b94b7f in ~QProcessManager (this=0x82105c8)
    at io/qprocess_unix.cpp:270
#5  0xb6b94dda in ~QGlobalStaticDeleter (this=0xb6c975f8)
    at ../../include/QtCore/../../src/corelib/global/qglobal.h:1567
#6  0xb7ed4be4 in exit () from /lib/libc.so.6
#7  0xb6fef3bb in qt_xio_errhandler () at kernel/qapplication_x11.cpp:590
#8  0xb7b2c03a in KApplication::xioErrhandler (this=0x82048c0, dpy=0x8204278)
    at /tmp/buildd/kde4libs-4.1.0/kdeui/kernel/kapplication.cpp:417
#9  0xb7b2c076 in kde_xio_errhandler (dpy=0x8204278)
    at /tmp/buildd/kde4libs-4.1.0/kdeui/kernel/kapplication.cpp:130
#10 0xb6d59902 in _XIOError () from /usr/lib/libX11.so.6
#11 0xb6d618c5 in ?? () from /usr/lib/libX11.so.6
#12 0x08204278 in ?? ()
#13 0x00029803 in ?? ()
#14 0xbfa569c8 in ?? ()
#15 0xbfa569c4 in ?? ()
#16 0x08206548 in ?? ()
#17 0x00029882 in ?? ()
#18 0x00000000 in ?? ()
#0  0xb58d0550 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
Comment 1 Dario Andres 2008-12-11 23:44:29 UTC
*** Bug 168728 has been marked as a duplicate of this bug. ***
Comment 2 Dario Andres 2008-12-11 23:45:22 UTC
*** Bug 177522 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2008-12-11 23:47:58 UTC
As stated in Bug 177522, this also happens in 4.1.85 (using Devel) 
Comment 4 Dario Andres 2008-12-25 16:35:49 UTC
This may be related to bug 177701
Comment 5 Dario Andres 2009-02-07 00:13:59 UTC
Have you experienced this bug again using a recent KDE (4.1.4 / 4.2.0 / 4.2svn / 4.3svn) ? Thanks :)
Comment 6 Cadé David 2009-02-11 20:25:21 UTC
I am now using a KDE4.2 stock from debian and am not experiencing this bug anymore, for now.
Should I close the bug?
Comment 7 Dario Andres 2009-02-11 23:25:29 UTC
Closing as the reporter can't reproduce the crash anymore. Please reopen if anyone experience this again in KDE4.2 :) Thanks