Bug 205355 - Krunner crash i don't know why (abort, malloc errors, QByteArray::resize, QKeyMapperPrivate::translateKeyEventInternal)
Summary: Krunner crash i don't know why (abort, malloc errors, QByteArray::resize, QKe...
Status: RESOLVED UPSTREAM
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 211878 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-27 16:44 UTC by Bob K
Modified: 2010-01-09 10:55 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bob K 2009-08-27 16:44:21 UTC
Application that crashed: krunner
Version of the application: 0.1
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-020631rc5-generic i686
Distribution: Ubuntu 9.04

 -- Backtrace:
Application: Run Command Interface (kdeinit4), signal: Aborted
[Current thread is 0 (LWP 5216)]

Thread 5 (Thread 0xa8bffb90 (LWP 6046)):
#0  0xb7f68430 in __kernel_vsyscall ()
#1  0xb647a0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb665a2ed in __pthread_cond_wait (cond=0x98ac748, mutex=0x98ac730) at forward.c:139
#3  0xb7d5c172 in QWaitCondition::wait (this=0x98ad260, mutex=0x98a9ef0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb4cdd148 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x98ad248, th=0x98e7b20) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb4cdfeec in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x98b2158, th=0x98e7b20) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb4cdbd2b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x98ad248, th=0x98e7b20) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb4cdffea in ThreadWeaver::WorkingHardState::applyForWork (this=0x98b2158, th=0x98e7b20) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb4cdd6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x98ad248, th=0x98e7b20, previous=0xa297bf0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb4cddfbe in ThreadWeaver::ThreadRunHelper::run (this=0xa8bff330, parent=0x98ad248, th=0x98e7b20) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Thread.cpp:87
#10 0xb4cde5fb in ThreadWeaver::Thread::run (this=0x98e7b20) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Thread.cpp:142
#11 0xb7d5b132 in QThreadPrivate::start (arg=0x98e7b20) at thread/qthread_unix.cpp:188
#12 0xb64764ff in start_thread (arg=0xa8bffb90) at pthread_create.c:297
#13 0xb664b49e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa83feb90 (LWP 6047)):
#0  0xb7f68430 in __kernel_vsyscall ()
#1  0xb647a0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb665a2ed in __pthread_cond_wait (cond=0x98ac748, mutex=0x98ac730) at forward.c:139
#3  0xb7d5c172 in QWaitCondition::wait (this=0x98ad260, mutex=0x98a9ef0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb4cdd148 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x98ad248, th=0x990e770) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb4cdfeec in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x98b2158, th=0x990e770) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb4cdbd2b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x98ad248, th=0x990e770) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb4cdffea in ThreadWeaver::WorkingHardState::applyForWork (this=0x98b2158, th=0x990e770) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb4cdd6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x98ad248, th=0x990e770, previous=0xa3014c8) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb4cddfbe in ThreadWeaver::ThreadRunHelper::run (this=0xa83fe330, parent=0x98ad248, th=0x990e770) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Thread.cpp:87
#10 0xb4cde5fb in ThreadWeaver::Thread::run (this=0x990e770) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Thread.cpp:142
#11 0xb7d5b132 in QThreadPrivate::start (arg=0x990e770) at thread/qthread_unix.cpp:188
#12 0xb64764ff in start_thread (arg=0xa83feb90) at pthread_create.c:297
#13 0xb664b49e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa7bfdb90 (LWP 6048)):
#0  0xb7f68430 in __kernel_vsyscall ()
#1  0xb647a0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb665a2ed in __pthread_cond_wait (cond=0x98ac748, mutex=0x98ac730) at forward.c:139
#3  0xb7d5c172 in QWaitCondition::wait (this=0x98ad260, mutex=0x98a9ef0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb4cdd148 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x98ad248, th=0x99bc1d8) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb4cdfeec in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x98b2158, th=0x99bc1d8) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb4cdbd2b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x98ad248, th=0x99bc1d8) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb4cdffea in ThreadWeaver::WorkingHardState::applyForWork (this=0x98b2158, th=0x99bc1d8) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb4cdd6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x98ad248, th=0x99bc1d8, previous=0xa390af0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb4cddfbe in ThreadWeaver::ThreadRunHelper::run (this=0xa7bfd330, parent=0x98ad248, th=0x99bc1d8) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Thread.cpp:87
#10 0xb4cde5fb in ThreadWeaver::Thread::run (this=0x99bc1d8) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Thread.cpp:142
#11 0xb7d5b132 in QThreadPrivate::start (arg=0x99bc1d8) at thread/qthread_unix.cpp:188
#12 0xb64764ff in start_thread (arg=0xa7bfdb90) at pthread_create.c:297
#13 0xb664b49e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa73fcb90 (LWP 6049)):
#0  0xb7f68430 in __kernel_vsyscall ()
#1  0xb647a0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb665a2ed in __pthread_cond_wait (cond=0x98ac748, mutex=0x98ac730) at forward.c:139
#3  0xb7d5c172 in QWaitCondition::wait (this=0x98ad260, mutex=0x98a9ef0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb4cdd148 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x98ad248, th=0x9b535a0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb4cdfeec in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x98b2158, th=0x9b535a0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb4cdbd2b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x98ad248, th=0x9b535a0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb4cdffea in ThreadWeaver::WorkingHardState::applyForWork (this=0x98b2158, th=0x9b535a0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb4cdd6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x98ad248, th=0x9b535a0, previous=0x0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb4ce0009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x98b2158, th=0x9b535a0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0xb4cdd6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x98ad248, th=0x9b535a0, previous=0x0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0xb4ce0009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x98b2158, th=0x9b535a0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WorkingHardState.cpp:74
#12 0xb4cdd6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x98ad248, th=0x9b535a0, previous=0xa2956b0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/WeaverImpl.cpp:351
#13 0xb4cddfbe in ThreadWeaver::ThreadRunHelper::run (this=0xa73fc330, parent=0x98ad248, th=0x9b535a0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Thread.cpp:87
#14 0xb4cde5fb in ThreadWeaver::Thread::run (this=0x9b535a0) at /build/buildd/kde4libs-4.3.0/threadweaver/Weaver/Thread.cpp:142
#15 0xb7d5b132 in QThreadPrivate::start (arg=0x9b535a0) at thread/qthread_unix.cpp:188
#16 0xb64764ff in start_thread (arg=0xa73fcb90) at pthread_create.c:297
#17 0xb664b49e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb5f84a10 (LWP 5216)):
[KCrash Handler]
#6  0xb7f68430 in __kernel_vsyscall ()
#7  0xb65926d0 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb6594098 in *__GI_abort () at abort.c:88
#9  0xb65d024d in __libc_message (do_abort=2, fmt=0xb66ab5a8 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:170
#10 0xb65d707f in malloc_consolidate (av=0xa6400010) at malloc.c:5994
#11 0xb65d8b8d in _int_malloc (av=0xa6400010, bytes=533) at malloc.c:4229
#12 0xb65da9c5 in *__GI___libc_malloc (bytes=533) at malloc.c:3551
#13 0xb7d558ed in qMalloc (size=533) at global/qmalloc.cpp:55
#14 0xb7d5e6b3 in QByteArray::resize (this=0xbf996264, size=513) at tools/qbytearray.cpp:1336
#15 0xb69b1355 in QKeyMapperPrivate::translateKeyEventInternal (this=0x986ebb8, keyWidget=0x99b0d58, event=0xbf99778c, keysym=@0xbf996410, count=@0xbf996420, text=@0xbf996414, modifiers=@0xbf99641c, 
    code=@0xbf996424, type=@0xbf996418, statefulTranslation=false) at kernel/qkeymapper_x11.cpp:1355
#16 0xb6986c5f in QApplication::x11ProcessEvent (this=0x98397f0, event=0xbf99778c) at kernel/qapplication_x11.cpp:3255
#17 0xb69b337a in x11EventSourceDispatch (s=0x983c9a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#18 0xb64c3b88 in IA__g_main_context_dispatch (context=0x983ba90) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#19 0xb64c70eb in g_main_context_iterate (context=0x983ba90, block=1, dispatch=1, self=0x98397c8) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#20 0xb64c7268 in IA__g_main_context_iteration (context=0x983ba90, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#21 0xb7e7b2f8 in QEventDispatcherGlib::processEvents (this=0x97d4d40, flags={i = -1080460984}) at kernel/qeventdispatcher_glib.cpp:327
#22 0xb69b2a75 in QGuiEventDispatcherGlib::processEvents (this=0x97d4d40, flags={i = -1080460936}) at kernel/qguieventdispatcher_glib.cpp:202
#23 0xb7e4e1fa in QEventLoop::processEvents (this=0xbf9979f0, flags={i = -1080460872}) at kernel/qeventloop.cpp:149
#24 0xb7e4e642 in QEventLoop::exec (this=0xbf9979f0, flags={i = -1080460808}) at kernel/qeventloop.cpp:201
#25 0xb7e50ae9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#26 0xb6910bb7 in QApplication::exec () at kernel/qapplication.cpp:3525
#27 0xb4ae9016 in kdemain (argc=1, argv=0x98009b0) at /build/buildd/kdebase-workspace-4.3.0/krunner/main.cpp:65
#28 0x0804e27d in launch (argc=1, _name=0x9820384 "/usr/bin/krunner", args=0x9820395 "", cwd=0x0, envc=0, envs=0x9820399 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x805136d "0")
    at /build/buildd/kde4libs-4.3.0/kinit/kinit.cpp:676
#29 0x0804ea5d in handle_launcher_request (sock=7, who=<value optimized out>) at /build/buildd/kde4libs-4.3.0/kinit/kinit.cpp:1168
#30 0x0804efe5 in handle_requests (waitForPid=0) at /build/buildd/kde4libs-4.3.0/kinit/kinit.cpp:1361
#31 0x0804fbca in main (argc=2, argv=0xbf9981c4, envp=0xbf9981d0) at /build/buildd/kde4libs-4.3.0/kinit/kinit.cpp:1788

Reported using DrKonqi
Comment 1 Dario Andres 2009-08-28 20:54:16 UTC
- Was the system slow and/or using too much CPU or memory when the crash happened ? The backtrace seems weird.
Thanks
Comment 2 Bob K 2009-08-28 23:23:31 UTC
Yes it was, i'm remember to that exactly.
I just tried to ty------------p-------e (one - means 2 second), then i have pressed some backspace, then typed again (The system is still under heavy load) then it has crashed.

So it may be due to some race condition...
Comment 3 Jacopo De Simoi 2009-12-27 00:29:30 UTC
race condition in glib, marking as upstream, should be fixed with .11.1 release
Comment 4 Jacopo De Simoi 2010-01-09 10:55:56 UTC
*** Bug 211878 has been marked as a duplicate of this bug. ***