Bug 253882 - KWin crashed when switching between virtual terminals
Summary: KWin crashed when switching between virtual terminals
Status: RESOLVED DUPLICATE of bug 258345
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:
: 261864 264952 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-11 22:13 UTC by dave
Modified: 2011-05-06 22:15 UTC (History)
2 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 dave 2010-10-11 22:13:54 UTC
Application: kwin (4.5.1 (KDE 4.5.1))
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-25-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed: ctrl+alt+F1 to ctrl+alt+F7 crashed when returning to Xwindows

-- Backtrace:
Application: KWin (kwin), signal: Aborted
[Current thread is 1 (Thread 0x7f71574f07a0 (LWP 1810))]

Thread 3 (Thread 0x7f713f903710 (LWP 1811)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f7156d053ac in _L_lock_12430 () from /lib/libc.so.6
#2  0x00007f7156d03e48 in *__GI___libc_free (mem=0x7f7157004e40) at malloc.c:3736
#3  0x00007f714d1b68bb in ?? () from /usr/lib/nvidia-current/tls/libnvidia-tls.so.260.19.06
#4  0x00007f71535756ec in QScopedPointerDeleter<QObjectData>::cleanup (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#5  ~QScopedPointer (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#6  ~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:963
#7  0x00007f7153589ed7 in ~QEventDispatcherUNIX (this=0x7f7157004e40, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:627
#8  0x00007f7153468b34 in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:302
#9  0x00007f71534692f6 in ~__pthread_cleanup_class (arg=0x7f715388cf40) at /usr/include/pthread.h:535
#10 QThreadPrivate::start (arg=0x7f715388cf40) at thread/qthread_unix.cpp:271
#11 0x00007f7154a96953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#12 0x00007f71531d79ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#13 0x00007f7156d6c6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f713ca24710 (LWP 1813)):
#0  0x00007f7153463ccc in QBasicAtomicInt::testAndSetOrdered (this=0x290fa20) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:145
#1  QBasicAtomicInt::testAndSetRelease (this=0x290fa20) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:272
#2  QMutex::unlock (this=0x290fa20) at thread/qmutex.cpp:382
#3  0x00007f715355ef35 in QMutexLocker::unlock (receiver=0x0, event_type=<value optimized out>, data=0x290f9e0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:114
#4  ~QMutexLocker (receiver=0x0, event_type=<value optimized out>, data=0x290f9e0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:108
#5  QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x290f9e0) at kernel/qcoreapplication.cpp:1409
#6  0x00007f715358b7a0 in QEventDispatcherUNIX::processEvents (this=0x28f9fe0, flags=) at kernel/qeventdispatcher_unix.cpp:891
#7  0x00007f715355add2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#8  0x00007f715355b1bc in QEventLoop::exec (this=0x7f713ca23cb0, flags=) at kernel/qeventloop.cpp:201
#9  0x00007f715346636d in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#10 0x00007f715353ab48 in QInotifyFileSystemWatcherEngine::run (this=0x290f8d0) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007f71534692ee in QThreadPrivate::start (arg=0x290f8d0) at thread/qthread_unix.cpp:266
#12 0x00007f7154a96953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#13 0x00007f71531d79ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#14 0x00007f7156d6c6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f71574f07a0 (LWP 1810)):
[KCrash Handler]
#6  0x00007f7156cb9a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f7156cbd5c0 in *__GI_abort () at abort.c:92
#8  0x00007f7156cf34fb in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f7156cfd5b6 in malloc_printerr (action=3, str=0x7f7156dd0c28 "free(): invalid next size (normal)", ptr=<value optimized out>) at malloc.c:6264
#10 0x00007f7156d03e53 in *__GI___libc_free (mem=<value optimized out>) at malloc.c:3738
#11 0x00007f714d1b68bb in ?? () from /usr/lib/nvidia-current/tls/libnvidia-tls.so.260.19.06
#12 0x00007f71570c881c in QList<KWin::WindowQuad>::node_destruct (this=<value optimized out>, data=0x712) at /usr/include/qt4/QtCore/qlist.h:418
#13 QList<KWin::WindowQuad>::free (this=<value optimized out>, data=0x712) at /usr/include/qt4/QtCore/qlist.h:741
#14 0x00007f71570c8ded in QList<KWin::Scene::Phase2Data>::free(QListData::Data*) () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#15 0x00007f71570c6c54 in ~QList (this=0x23784c0, orig_mask=<value optimized out>) at /usr/include/qt4/QtCore/qlist.h:716
#16 KWin::Scene::paintGenericScreen (this=0x23784c0, orig_mask=<value optimized out>) at ../../kwin/scene.cpp:213
#17 0x00007f71570c416a in KWin::Scene::finalPaintScreen (this=0x23784c0, mask=32, region=<value optimized out>, data=...) at ../../kwin/scene.cpp:177
#18 0x00007f71570de086 in KWin::EffectsHandlerImpl::paintScreen (this=<value optimized out>, mask=32, region=) at ../../kwin/effects.cpp:172
#19 0x00007f713e68fa3f in KWin::LogoutEffect::paintScreen (this=0x24ee3b0, mask=32, region=<value optimized out>, data=...) at ../../../kwin/effects/logout/logout.cpp:207
#20 0x00007f71570de11e in KWin::EffectsHandlerImpl::paintScreen (this=0x23d1b60, mask=32, region=) at ../../kwin/effects.cpp:168
#21 0x00007f713e6afaac in KWin::ShadowEffect::paintScreen (this=0x267a9b0, mask=32, region=) at ../../../kwin/effects/shadow/shadow.cpp:189
#22 0x00007f71570de11e in KWin::EffectsHandlerImpl::paintScreen (this=0x23d1b60, mask=32, region=) at ../../kwin/effects.cpp:168
#23 0x00007f713e6be8ee in KWin::BlurEffect::paintScreen (this=<value optimized out>, mask=32, region=) at ../../../kwin/effects/blur/blur.cpp:235
#24 0x00007f71570de11e in KWin::EffectsHandlerImpl::paintScreen (this=0x23d1b60, mask=32, region=) at ../../kwin/effects.cpp:168
#25 0x00007f713e695e72 in KWin::PresentWindowsEffect::paintScreen (this=0x26868f0, mask=32, region=) at ../../../kwin/effects/presentwindows/presentwindows.cpp:196
#26 0x00007f71570de11e in KWin::EffectsHandlerImpl::paintScreen (this=0x23d1b60, mask=32, region=) at ../../kwin/effects.cpp:168
#27 0x00007f7155682caf in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#28 0x00007f71570de11e in KWin::EffectsHandlerImpl::paintScreen (this=0x23d1b60, mask=32, region=) at ../../kwin/effects.cpp:168
#29 0x00007f7155682caf in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#30 0x00007f71570de11e in KWin::EffectsHandlerImpl::paintScreen (this=0x23d1b60, mask=32, region=) at ../../kwin/effects.cpp:168
#31 0x00007f7155682caf in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#32 0x00007f71570de11e in KWin::EffectsHandlerImpl::paintScreen (this=0x23d1b60, mask=32, region=) at ../../kwin/effects.cpp:168
#33 0x00007f7155682caf in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#34 0x00007f71570de11e in KWin::EffectsHandlerImpl::paintScreen (this=0x23d1b60, mask=32, region=) at ../../kwin/effects.cpp:168
#35 0x00007f7155682caf in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#36 0x00007f71570de11e in KWin::EffectsHandlerImpl::paintScreen (this=0x23d1b60, mask=32, region=) at ../../kwin/effects.cpp:168
#37 0x00007f7155682caf in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#38 0x00007f71570de11e in KWin::EffectsHandlerImpl::paintScreen (this=0x23d1b60, mask=32, region=) at ../../kwin/effects.cpp:168
#39 0x00007f713e6dd207 in KWin::FlipSwitchEffect::paintScreen (this=0x26597e0, mask=32, region=<value optimized out>, data=...) at ../../../kwin/effects/flipswitch/flipswitch.cpp:146
#40 0x00007f71570de11e in KWin::EffectsHandlerImpl::paintScreen (this=0x23d1b60, mask=32, region=) at ../../kwin/effects.cpp:168
#41 0x00007f713e679359 in KWin::DesktopGridEffect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/effects/desktopgrid/desktopgrid.cpp:155
#42 0x00007f71570de11e in KWin::EffectsHandlerImpl::paintScreen (this=0x23d1b60, mask=32, region=) at ../../kwin/effects.cpp:168
#43 0x00007f713e673ef2 in KWin::BoxSwitchEffect::paintScreen (this=0x2672cf0, mask=32, region=) at ../../../kwin/effects/boxswitch/boxswitch.cpp:142
#44 0x00007f71570de11e in KWin::EffectsHandlerImpl::paintScreen (this=0x23d1b60, mask=32, region=) at ../../kwin/effects.cpp:168
#45 0x00007f713e6ce842 in KWin::CubeEffect::paintScreen (this=<value optimized out>, mask=32, region=) at ../../../kwin/effects/cube/cube.cpp:697
#46 0x00007f71570de11e in KWin::EffectsHandlerImpl::paintScreen (this=0x23d1b60, mask=32, region=) at ../../kwin/effects.cpp:168
#47 0x00007f713e6d5652 in KWin::CubeSlideEffect::paintScreen (this=<value optimized out>, mask=32, region=) at ../../../kwin/effects/cube/cubeslide.cpp:111
#48 0x00007f71570de11e in KWin::EffectsHandlerImpl::paintScreen (this=0x23d1b60, mask=32, region=) at ../../kwin/effects.cpp:168
#49 0x00007f7155682caf in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#50 0x00007f71570de11e in KWin::EffectsHandlerImpl::paintScreen (this=0x23d1b60, mask=32, region=) at ../../kwin/effects.cpp:168
#51 0x00007f7155682caf in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#52 0x00007f71570de11e in KWin::EffectsHandlerImpl::paintScreen (this=0x23d1b60, mask=32, region=) at ../../kwin/effects.cpp:168
#53 0x00007f713e6c5164 in KWin::CoverSwitchEffect::paintScreen (this=0x27c5ac0, mask=32, region=<value optimized out>, data=...) at ../../../kwin/effects/coverswitch/coverswitch.cpp:124
#54 0x00007f71570de11e in KWin::EffectsHandlerImpl::paintScreen (this=0x23d1b60, mask=32, region=) at ../../kwin/effects.cpp:168
#55 0x00007f7155682caf in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#56 0x00007f71570de11e in KWin::EffectsHandlerImpl::paintScreen (this=0x23d1b60, mask=32, region=) at ../../kwin/effects.cpp:168
#57 0x00007f7155682caf in KWin::Effect::paintScreen (this=<value optimized out>, mask=32, region=<value optimized out>, data=...) at ../../../kwin/lib/kwineffects.cpp:227
#58 0x00007f71570de11e in KWin::EffectsHandlerImpl::paintScreen (this=0x23d1b60, mask=32, region=) at ../../kwin/effects.cpp:168
#59 0x00007f713e6be301 in KWin::ZoomEffect::paintScreen (this=<value optimized out>, mask=32, region=) at ../../../kwin/effects/zoom/zoom.cpp:73
#60 0x00007f71570de11e in KWin::EffectsHandlerImpl::paintScreen (this=0x23d1b60, mask=32, region=) at ../../kwin/effects.cpp:168
#61 0x00007f71570c5855 in KWin::Scene::paintScreen (this=0x23784c0, mask=0x7fff8dbeb8fc, region=0x7fff8dbeba20) at ../../kwin/scene.cpp:137
#62 0x00007f71570d6af0 in KWin::SceneOpenGL::paint (this=0x23784c0, damage=<value optimized out>, toplevels=<value optimized out>) at ../../kwin/scene_opengl.cpp:754
#63 0x00007f71570c0967 in KWin::Workspace::performCompositing (this=<value optimized out>) at ../../kwin/composite.cpp:454
#64 0x00007f7157041e9d in KWin::Workspace::qt_metacall (this=0x1fcd450, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff8dbebbd0) at ./workspace.moc:583
#65 0x00007f7153573da7 in QMetaObject::activate (sender=0x1fcd918, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3280
#66 0x00007f715356db99 in QObject::event (this=0x1fcd918, e=0x712) at kernel/qobject.cpp:1183
#67 0x00007f71526aa6ec in QApplicationPrivate::notify_helper (this=0x1f41ee0, receiver=0x1fcd918, e=0x7fff8dbec320) at kernel/qapplication.cpp:4396
#68 0x00007f71526b01dd in QApplication::notify (this=0x7fff8dbec710, receiver=0x1fcd918, e=0x7fff8dbec320) at kernel/qapplication.cpp:4277
#69 0x00007f7156868536 in KApplication::notify (this=0x7fff8dbec710, receiver=0x1fcd918, event=0x7fff8dbec320) at ../../kdeui/kernel/kapplication.cpp:310
#70 0x00007f715355c0ac in QCoreApplication::notifyInternal (this=0x7fff8dbec710, receiver=0x1fcd918, event=0x7fff8dbec320) at kernel/qcoreapplication.cpp:732
#71 0x00007f715358b6e2 in QCoreApplication::sendEvent (this=0x1f428f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#72 QTimerInfoList::activateTimers (this=0x1f428f0) at kernel/qeventdispatcher_unix.cpp:602
#73 0x00007f715358b81c in QEventDispatcherUNIX::processEvents (this=0x1f1ec80, flags=) at kernel/qeventdispatcher_unix.cpp:923
#74 0x00007f715275db3f in QEventDispatcherX11::processEvents (this=<value optimized out>, flags=) at kernel/qeventdispatcher_x11.cpp:152
#75 0x00007f715355add2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#76 0x00007f715355b1bc in QEventLoop::exec (this=0x7fff8dbec650, flags=) at kernel/qeventloop.cpp:201
#77 0x00007f715355f26b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#78 0x00007f715705e67d in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../kwin/main.cpp:531
#79 0x00007f7156ca4c4d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff8dbecd18) at libc-start.c:226
#80 0x00000000004006b9 in _start ()

Possible duplicates by query: bug 251521, bug 250441, bug 250155, bug 249236, bug 249047.

Reported using DrKonqi
Comment 1 Christoph Feck 2010-10-11 22:27:31 UTC
NVIDIA's memory hack not thread safe?
Comment 2 Thomas Lübking 2011-01-02 16:22:45 UTC
*** Bug 261864 has been marked as a duplicate of this bug. ***
Comment 3 Martin Flöser 2011-01-23 21:01:25 UTC
(In reply to comment #1)
> NVIDIA's memory hack not thread safe?

that could explain a lot about the lots of crashes with NVIDIA lately.
Comment 4 Martin Flöser 2011-05-06 22:05:49 UTC
*** Bug 264952 has been marked as a duplicate of this bug. ***
Comment 5 Martin Flöser 2011-05-06 22:15:28 UTC
let's merge all nvidia-tls bugs

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