Bug 302768 - kwin crashes when starting Compiz
Summary: kwin crashes when starting Compiz
Status: RESOLVED DUPLICATE of bug 293182
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-29 21:39 UTC by BryanFRitt
Modified: 2012-09-03 15:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
mgraesslin: NVIDIA+


Attachments
New crash information added by DrKonqi (6.42 KB, text/plain)
2012-09-03 15:32 UTC, BryanFRitt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BryanFRitt 2012-06-29 21:39:21 UTC
Application: kwin (4.8.3 (4.8.3))
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-26-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
If I run
`compiz --replace`
kwin will crash
Note: using Ubuntu repositories.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f97987ab7c0 (LWP 24057))]

Thread 3 (Thread 0x7f9778fbc700 (LWP 24069)):
#0  0x00007f9797fdc823 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f9793725366 in qt_safe_select (nfds=32, fdread=0x7f9770000ae8, fdwrite=0x7f9770000d80, fdexcept=0x7f9770001018, orig_timeout=<optimized out>) at kernel/qcore_unix.cpp:83
#2  0x00007f979372a7b2 in QEventDispatcherUNIXPrivate::doSelect (this=0x7f9770000930, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f979372aca3 in QEventDispatcherUNIX::processEvents (this=0x7f9770000910, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#4  0x00007f97936f7c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f97936f7ed7 in QEventLoop::exec (this=0x7f9778fbbcd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f97935f6fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f97936d79ff in QInotifyFileSystemWatcherEngine::run (this=0x1682570) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f97935f9fcb in QThreadPrivate::start (arg=0x1682570) at thread/qthread_unix.cpp:298
#9  0x00007f9794247b74 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#10 0x00007f978c821e9a in start_thread (arg=0x7f9778fbc700) at pthread_create.c:308
#11 0x00007f9797fe34bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f976bfff700 (LWP 24073)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9794a9c222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f9794a9c259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f9794247b74 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#4  0x00007f978c821e9a in start_thread (arg=0x7f976bfff700) at pthread_create.c:308
#5  0x00007f9797fe34bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f97987ab7c0 (LWP 24057)):
[KCrash Handler]
#6  0x00007f9797f27445 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f9797f2abab in __GI_abort () at abort.c:91
#8  0x00007f9797f64e2e in __libc_message (do_abort=2, fmt=0x7f979806d0d0 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
#9  0x00007f9797f6f626 in malloc_printerr (action=3, str=0x7f979806a099 "invalid fastbin entry (free)", ptr=<optimized out>) at malloc.c:5007
#10 0x00007f978c618c01 in ?? () from /usr/lib/nvidia-current-updates/tls/libnvidia-tls.so.295.49
#11 0x00007f979830c3d9 in ~QByteArray (this=0x7ffff0c09ce0, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qbytearray.h:401
#12 KWin::Application::crashHandler (signal=<optimized out>) at ../../kwin/main.cpp:383
#13 0x00007f9797b20d19 in KCrash::defaultCrashHandler (sig=11) at ../../kdeui/util/kcrash.cpp:307
#14 <signal handler called>
#15 0x0000000000000090 in ?? ()
#16 0x00007f979837a6ca in KWin::Deleted::copyToDeleted (this=0x11f0510, c=0x250f8c0) at ../../kwin/deleted.cpp:78
#17 0x00007f979837a94d in KWin::Deleted::create (c=0x250f8c0) at ../../kwin/deleted.cpp:53
#18 0x00007f979835c310 in KWin::Unmanaged::release (this=0x250f8c0) at ../../kwin/unmanaged.cpp:85
#19 0x00007f97982f4c5d in KWin::Workspace::~Workspace (this=0xfaac20, __in_chrg=<optimized out>) at ../../kwin/workspace.cpp:533
#20 0x00007f97982f54c9 in KWin::Workspace::~Workspace (this=0xfaac20, __in_chrg=<optimized out>) at ../../kwin/workspace.cpp:563
#21 0x00007f979830d757 in KWin::Application::lostSelection (this=0x7ffff0c0b360) at ../../kwin/main.cpp:351
#22 0x00007f979370d281 in QMetaObject::activate (sender=0x7ffff0c0b378, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#23 0x00007f9797b260c3 in KSelectionOwner::filterEvent (this=0x7ffff0c0b378, ev_P=<optimized out>) at ../../kdeui/util/kmanagerselection.cpp:224
#24 0x00007f9797ac1076 in publicx11Event (e=0x7ffff0c0b050, this=<optimized out>) at ../../kdeui/kernel/kapplication.cpp:918
#25 KApplication::x11EventFilter (this=<optimized out>, _event=0x7ffff0c0b050) at ../../kdeui/kernel/kapplication.cpp:930
#26 0x00007f9792aeab85 in qt_x11EventFilter (ev=0x7ffff0c0b050) at kernel/qapplication_x11.cpp:441
#27 qt_x11EventFilter (ev=0x7ffff0c0b050) at kernel/qapplication_x11.cpp:429
#28 0x00007f9792af9f98 in QApplication::x11ProcessEvent (this=0x7ffff0c0b360, event=0x7ffff0c0b050) at kernel/qapplication_x11.cpp:3444
#29 0x00007f9792b24b3a in QEventDispatcherX11::processEvents (this=0xdfee40, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#30 0x00007f97936f7c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007f97936f7ed7 in QEventLoop::exec (this=0x7ffff0c0b2a0, flags=...) at kernel/qeventloop.cpp:204
#32 0x00007f97936fcf67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#33 0x00007f979830ea06 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../kwin/main.cpp:541
#34 0x00007f9797f1276d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=2, ubp_av=0x7ffff0c0ba88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffff0c0ba78) at libc-start.c:226
#35 0x0000000000400661 in _start ()

Possible duplicates by query: bug 302750, bug 302042, bug 301155, bug 300614, bug 299137.

Reported using DrKonqi
Comment 1 Thomas Lübking 2012-06-29 21:45:26 UTC

*** This bug has been marked as a duplicate of bug 293182 ***
Comment 2 BryanFRitt 2012-09-03 15:32:12 UTC
Created attachment 73627 [details]
New crash information added by DrKonqi

kwin (4.8.4 (4.8.4)) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.1

- What I was doing when the application crashed:
Restarting Compiz via a script run from alt+F2
script, comments removed, etc...
#!/bin/bash
PREFIX=/opt/compiz++
export LD_LIBRARY_PATH=/opt/compiz++/lib:/opt/compiz++/lib64:/opt/compiz++/lib32::$LD_LIBRARY_PATH
DECORATOR="kde4-window-decorator"
$PREFIX/bin/compiz --replace ccp &
WAIT=6
echo "sleeping $WAIT seconds before starting $PREFIX/bin/$DECORATOR --replace &";
sleep $WAIT
/usr/local/bin/$DECORATOR --replace &
echo "done starting up compiz, etc...";

-- Backtrace (Reduced):
#6  0x00007f6b5e34b445 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f6b5e34ebab in __GI_abort () at abort.c:91
[...]
#9  0x00007f6b5e393626 in malloc_printerr (action=3, str=0x7f6b5e48e099 "invalid fastbin entry (free)", ptr=<optimized out>) at malloc.c:5007
[...]
#11 0x00007f6b5e730609 in ~QByteArray (this=0x7fff6be55160, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qbytearray.h:401
#12 KWin::Application::crashHandler (signal=<optimized out>) at ../../kwin/main.cpp:383