Bug 225166

Summary: Plasma crashes when going between different applications on the task bar.
Product: [Unmaintained] plasma4 Reporter: Rick <bianchirick>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rick 2010-02-01 17:50:22 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.3.95 (KDE 4.3.95 (KDE 4.4 RC2))
Qt Version: 4.6.0
Operating System: Linux 2.6.32-12-generic i686
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
Plasma crashes when going between different applications on the task bar on (K)Ubuntu 10.04.

The crash can be reproduced every time.

 -- Backtrace:
Application: Plasma Workspace (kdeinit4), signal: Aborted
[Current thread is 1 (Thread 0xb78a7760 (LWP 2890))]

Thread 7 (Thread 0xac6d9b70 (LWP 2891)):
#0  0x00e28422 in __kernel_vsyscall ()
#1  0x003d8f55 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x010252e7 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x0763ae82 in ?? () from /usr/lib/libQtNetwork.so.4
#4  0x0102438e in ?? () from /usr/lib/libQtCore.so.4
#5  0x003d48de in start_thread (arg=0xac6d9b70) at pthread_create.c:300
#6  0x005e095e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xa9fd9b70 (LWP 19900)):
#0  0x00e28422 in __kernel_vsyscall ()
#1  0x003d8f55 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x010252e7 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x069638a0 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x0696636c in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x0696226b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x06966462 in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x06963b23 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x069644fe in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x06964c1b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#10 0x0102438e in ?? () from /usr/lib/libQtCore.so.4
#11 0x003d48de in start_thread (arg=0xa9fd9b70) at pthread_create.c:300
#12 0x005e095e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xa97d8b70 (LWP 19901)):
#0  0x00e28422 in __kernel_vsyscall ()
#1  0x003d8f55 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x010252e7 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x069638a0 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x0696636c in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x0696226b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x06966462 in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x06963b23 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x06966481 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x06963b23 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x069644fe in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x06964c1b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#12 0x0102438e in ?? () from /usr/lib/libQtCore.so.4
#13 0x003d48de in start_thread (arg=0xa97d8b70) at pthread_create.c:300
#14 0x005e095e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa8fd7b70 (LWP 19902)):
#0  0x00e28422 in __kernel_vsyscall ()
#1  0x003d8f55 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x010252e7 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x069638a0 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x0696636c in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x0696226b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x06966462 in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x06963b23 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x069644fe in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x06964c1b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#10 0x0102438e in ?? () from /usr/lib/libQtCore.so.4
#11 0x003d48de in start_thread (arg=0xa8fd7b70) at pthread_create.c:300
#12 0x005e095e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa85ffb70 (LWP 19903)):
#0  0x00e28422 in __kernel_vsyscall ()
#1  0x003d8f55 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x010252e7 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x069638a0 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x0696636c in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x0696226b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x06966462 in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x06963b23 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x069644fe in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x06964c1b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#10 0x0102438e in ?? () from /usr/lib/libQtCore.so.4
#11 0x003d48de in start_thread (arg=0xa85ffb70) at pthread_create.c:300
#12 0x005e095e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa78b5b70 (LWP 12238)):
#0  0x00e28422 in __kernel_vsyscall ()
#1  0x005edc53 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x005846d7 in _L_lock_9628 () from /lib/tls/i686/cmov/libc.so.6
#3  0x00582ef6 in *__GI___libc_free (mem=0x9dc41e8) at malloc.c:3736
#4  0x0128c246 in g_free () from /lib/libglib-2.0.so.0
#5  0x012832ca in ?? () from /lib/libglib-2.0.so.0
#6  0x01151f1d in QEventDispatcherGlib::~QEventDispatcherGlib() () from /usr/lib/libQtCore.so.4
#7  0x01023efa in ?? () from /usr/lib/libQtCore.so.4
#8  0x01024396 in ?? () from /usr/lib/libQtCore.so.4
#9  0x003d48de in start_thread (arg=0xa78b5b70) at pthread_create.c:300
#10 0x005e095e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb78a7760 (LWP 2890)):
[KCrash Handler]
#6  0x00e28422 in __kernel_vsyscall ()
#7  0x0053d5e1 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x00540a42 in *__GI_abort () at abort.c:92
#9  0x0057453d in __libc_message (do_abort=2, fmt=0x643798 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#10 0x0057e5e1 in malloc_printerr (action=<value optimized out>, str=0x6 <Address 0x6 out of bounds>, ptr=0x9361048) at malloc.c:6264
#11 0x0057fe38 in _int_free (av=<value optimized out>, p=<value optimized out>) at malloc.c:4792
#12 0x00582efd in *__GI___libc_free (mem=0x9361048) at malloc.c:3738
#13 0x004a0271 in operator delete(void*) () from /usr/lib/libstdc++.so.6
#14 0x01154383 in ?? () from /usr/lib/libQtCore.so.4
#15 0x0115116d in QEventDispatcherGlib::unregisterTimers(QObject*) () from /usr/lib/libQtCore.so.4
#16 0x0113bfd8 in QObject::~QObject() () from /usr/lib/libQtCore.so.4
#17 0x01140ead in ?? () from /usr/lib/libQtCore.so.4
#18 0x01134ac5 in qDeleteInEventHandler(QObject*) () from /usr/lib/libQtCore.so.4
#19 0x01140e64 in ?? () from /usr/lib/libQtCore.so.4
#20 0x01135f44 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#21 0x04a021dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#22 0x04a08e37 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00bac6fa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#24 0x011256fb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#25 0x01154aa6 in ?? () from /usr/lib/libQtCore.so.4
#26 0x01151737 in ?? () from /usr/lib/libQtCore.so.4
#27 0x01283955 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0x01287658 in ?? () from /lib/libglib-2.0.so.0
#29 0x01287818 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0x011513f5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0x04abfba5 in ?? () from /usr/lib/libQtGui.so.4
#32 0x01123d19 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#33 0x0112416a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0x0112835f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#35 0x04a02277 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#36 0x0149b19e in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so
#37 0x0804dff7 in _start ()

Possible duplicates by query: bug 224688, bug 221616, bug 220452, bug 214562, bug 214470.

Reported using DrKonqi
Comment 1 Dario Andres 2010-02-01 21:59:56 UTC
This could be related to the glibc bug : bug 196207.
Check this:
- Start Konsole
- Type "kquitapp plasma-desktop" + Enter (Plasma will be closed)
- Wait 10 seconds
- Type "export QT_NO_GLIB=1" + Enter
- Type "export MALLOC_CHECK_=" + Enter
- Type "plasma-desktop" + Enter
- Try to repeat the crash
If it doesn't crash, then it is likely to be bug 196207. 
Thanks
Comment 2 Rick 2010-02-01 22:15:57 UTC
Dario,
I followed your instructions and I did not get the crash again.

On Mon, Feb 1, 2010 at 1:59 PM, Dario Andres <andresbajotierra@gmail.com>wrote:

> https://bugs.kde.org/show_bug.cgi?id=225166
>
>
> Dario Andres <andresbajotierra@gmail.com> changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                 CC|                            |andresbajotierra@gmail.com
>
>
>
>
> --- Comment #1 from Dario Andres <andresbajotierra gmail com>  2010-02-01
> 21:59:56 ---
> This could be related to the glibc bug : bug 196207.
> Check this:
> - Start Konsole
> - Type "kquitapp plasma-desktop" + Enter (Plasma will be closed)
> - Wait 10 seconds
> - Type "export QT_NO_GLIB=1" + Enter
> - Type "export MALLOC_CHECK_=" + Enter
> - Type "plasma-desktop" + Enter
> - Try to repeat the crash
> If it doesn't crash, then it is likely to be bug 196207.
> Thanks
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 3 Dario Andres 2010-02-01 22:17:31 UTC
Then this is bug 196207. Ubuntu should provide a fixed glib package...
Regards

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