Bug 221622 - Krunner died when doing calculation [mem2chunk_check, free_check, QList<ThreadWeaver::QueuePolicy*>::free]
Summary: Krunner died when doing calculation [mem2chunk_check, free_check, QList<Threa...
Status: RESOLVED DUPLICATE of bug 192607
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-07 10:13 UTC by Pascal d'Hermilly
Modified: 2010-01-09 11:42 UTC (History)
2 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 Pascal d'Hermilly 2010-01-07 10:13:13 UTC
Application: krunner (0.1)
KDE Platform Version: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-16-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
I opened krunner with alt+f2 and started typing
1700/7,5=
When I got to around 7, it died. 
It is not reproduceable.

btw. I experimented a little afterward.
1700/7,g=
also made it chrash. Again not reproducable. I don't have the backtrace of this because apparently it the chrash-handler doesn't handle after first chrash. Not so nice for debugging.

 -- Backtrace:
Application: Run Command Interface (kdeinit4), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f0103dec7f0 (LWP 1740))]

Thread 6 (Thread 0x7f00e1106910 (LWP 1749)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f01022c867b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0xc6df78, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xc6df78, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f0100a843ec in QHostInfoAgent::run (this=0xc6df60) at kernel/qhostinfo.cpp:252
#4  0x00007f01022c76c5 in QThreadPrivate::start (arg=0xc6df60) at thread/qthread_unix.cpp:244
#5  0x00007f0102038a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f0100e037bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f00de3a7910 (LWP 2323)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f01022c867b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x961720, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x961720, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f00f8a12096 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9617b0, th=0x8b1fb0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f00f8a1474b in ThreadWeaver::WorkingHardState::applyForWork (this=0x94eea0, th=0x8b1fb0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f00f8a12bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f00de3a6fb0, parent=0x9617b0, th=0x8b1fb0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f00f8a13058 in ThreadWeaver::Thread::run (this=0x8b1fb0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f01022c76c5 in QThreadPrivate::start (arg=0x8b1fb0) at thread/qthread_unix.cpp:244
#8  0x00007f0102038a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f0100e037bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 4 (Thread 0x7f00ddba6910 (LWP 2324)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f01022c867b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x961720, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x961720, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f00f8a12096 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9617b0, th=0xdf4e50) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f00f8a1474b in ThreadWeaver::WorkingHardState::applyForWork (this=0x94eea0, th=0xdf4e50) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f00f8a12bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f00ddba5fb0, parent=0x9617b0, th=0xdf4e50) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f00f8a13058 in ThreadWeaver::Thread::run (this=0xdf4e50) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f01022c76c5 in QThreadPrivate::start (arg=0xdf4e50) at thread/qthread_unix.cpp:244
#8  0x00007f0102038a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f0100e037bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f00dd3a5910 (LWP 2325)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f01022c867b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x961720, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x961720, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f00f8a12096 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9617b0, th=0xdf9760) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f00f8a1474b in ThreadWeaver::WorkingHardState::applyForWork (this=0x94eea0, th=0xdf9760) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f00f8a12bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f00dd3a4fb0, parent=0x9617b0, th=0xdf9760) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f00f8a13058 in ThreadWeaver::Thread::run (this=0xdf9760) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f01022c76c5 in QThreadPrivate::start (arg=0xdf9760) at thread/qthread_unix.cpp:244
#8  0x00007f0102038a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f0100e037bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f00dcba4910 (LWP 2326)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f01022c867b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x961720, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x961720, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f00f8a12096 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9617b0, th=0xe1b570) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f00f8a1474b in ThreadWeaver::WorkingHardState::applyForWork (this=0x94eea0, th=0xe1b570) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f00f8a12bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f00dcba3fb0, parent=0x9617b0, th=0xe1b570) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f00f8a13058 in ThreadWeaver::Thread::run (this=0xe1b570) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f01022c76c5 in QThreadPrivate::start (arg=0xe1b570) at thread/qthread_unix.cpp:244
#8  0x00007f0102038a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f0100e037bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0103dec7f0 (LWP 1740)):
[KCrash Handler]
#5  mem2chunk_check (mem=0x127c870, magic_p=0x0) at hooks.c:166
#6  0x00007f0100d9ba20 in free_check (mem=0x127c870, caller=<value optimized out>) at hooks.c:279
#7  0x00007f00f8a1407f in QList<ThreadWeaver::QueuePolicy*>::free (this=0xde2320, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qlist.h:649
#8  ~QList (this=0xde2320, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qlist.h:621
#9  ~QueuePolicyList (this=0xde2320, __in_chrg=<value optimized out>) at ../../../threadweaver/Weaver/Job.cpp:47
#10 ~Private (this=0xde2320, __in_chrg=<value optimized out>) at ../../../threadweaver/Weaver/Job.cpp:61
#11 ~Job (this=0xde2320, __in_chrg=<value optimized out>) at ../../../threadweaver/Weaver/Job.cpp:89
#12 0x00007f00fa601a4f in ~FindMatchesJob (this=0xde2320, __in_chrg=<value optimized out>) at ../../plasma/private/runnerjobs.cpp:142
#13 0x00007f01023cad3d in QObject::event (this=0xde2320, e=0x127c9b0) at kernel/qobject.cpp:1243
#14 0x00007f0101560e8c in QApplicationPrivate::notify_helper (this=0x76d660, receiver=0xde2320, e=0x127c9b0) at kernel/qapplication.cpp:4242
#15 0x00007f010156748d in QApplication::notify (this=0x76d260, receiver=0xde2320, e=0x127c9b0) at kernel/qapplication.cpp:4125
#16 0x00007f01028ff856 in KApplication::notify (this=0x76d260, receiver=0xde2320, event=0x127c9b0) at ../../kdeui/kernel/kapplication.cpp:302
#17 0x00007f01023bb04c in QCoreApplication::notifyInternal (this=0x76d260, receiver=0xde2320, event=0x127c9b0) at kernel/qcoreapplication.cpp:704
#18 0x00007f01023bd7c7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x6de270) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x6de270) at kernel/qcoreapplication.cpp:1345
#20 0x00007f01023e4ae3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#21 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#22 0x00007f00fd7f1bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#23 0x00007f00fd7f5598 in ?? () from /lib/libglib-2.0.so.0
#24 0x00007f00fd7f56c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#25 0x00007f01023e4623 in QEventDispatcherGlib::processEvents (this=0x76b5b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#26 0x00007f010160f2fe in QGuiEventDispatcherGlib::processEvents (this=0x127c870, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#27 0x00007f01023b9972 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#28 0x00007f01023b9d4c in QEventLoop::exec (this=0x7fff266bef60, flags=) at kernel/qeventloop.cpp:201
#29 0x00007f01023bda8b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#30 0x00007f00f60a5204 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../krunner/main.cpp:65
#31 0x0000000000406fb8 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x40a4a1 "0") at ../../kinit/kinit.cpp:705
#32 0x0000000000407c70 in handle_launcher_request (sock=8, who=<value optimized out>) at ../../kinit/kinit.cpp:1197
#33 0x0000000000408121 in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1390
#34 0x0000000000408dea in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1825
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Dario Andres 2010-01-07 13:08:55 UTC
I wonder if this could be related to bug 196207.
About the crash handler not appearing on the second crash of an "auto-restarting" app, that is an issue(or feature?) in kdelibs (KCrash class)
Regards
Comment 2 Pascal d'Hermilly 2010-01-07 13:47:11 UTC
About the non-appearing chrash-handler: According to bug 178361 (about plasma) it is a feature.
Comment 3 Jacopo De Simoi 2010-01-09 11:42:02 UTC

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