Bug 254235 - crashes with Aborted when using xrender + desktop grid
Summary: crashes with Aborted when using xrender + desktop grid
Status: RESOLVED DUPLICATE of bug 244813
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-15 09:39 UTC by Michal Svoboda
Modified: 2010-10-17 22:42 UTC (History)
0 users

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 Michal Svoboda 2010-10-15 09:39:11 UTC
Version:           unspecified (using KDE 4.5.2) 
OS:                Linux

Note: I don't have debug symbols here (binary packages), will try to send another trace soon.

Application: KWin (kwin), signal: Aborted
[Current thread is 1 (Thread 0x7fd09c92d780 (LWP 5515))]

Thread 2 (Thread 0x7fd08ce5d710 (LWP 5517)):
#0  0x00007fd09c1c2173 in poll () from /lib/libc.so.6
#1  0x00007fd0915e0134 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fd0915e0a42 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3  0x00007fd08d58cd94 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007fd091606ff6 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x00007fd09871bcb0 in start_thread () from /lib/libpthread.so.0
#6  0x00007fd09c1ca9fd in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd09c92d780 (LWP 5515)):
[KCrash Handler]
#6  0x00007fd09c12e595 in raise () from /lib/libc.so.6
#7  0x00007fd09c12fa16 in abort () from /lib/libc.so.6
#8  0x00007fd09c51ddbd in ?? () from /usr/lib/libkdeinit4_kwin.so
#9  0x00007fd07e82e3ae in ?? () from /usr/lib/kde4/kwin4_effect_builtins.so
#10 0x00007fd07e82f614 in ?? () from /usr/lib/kde4/kwin4_effect_builtins.so
#11 0x00007fd09c51fc6f in ?? () from /usr/lib/libkdeinit4_kwin.so
#12 0x00007fd09c51fc6f in ?? () from /usr/lib/libkdeinit4_kwin.so
#13 0x00007fd09c50baaa in ?? () from /usr/lib/libkdeinit4_kwin.so
#14 0x00007fd09c5126a4 in ?? () from /usr/lib/libkdeinit4_kwin.so
#15 0x00007fd09c506c8c in ?? () from /usr/lib/libkdeinit4_kwin.so
#16 0x00007fd09c48dc3d in ?? () from /usr/lib/libkdeinit4_kwin.so
#17 0x00007fd098aa22ff in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#18 0x00007fd098aa0e89 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#19 0x00007fd097c40564 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#20 0x00007fd097c44fda in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#21 0x00007fd09bcea1f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#22 0x00007fd098a8ceac in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#23 0x00007fd098abaa22 in ?? () from /usr/lib/libQtCore.so.4
#24 0x00007fd098abab60 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#25 0x00007fd097ce5042 in ?? () from /usr/lib/libQtGui.so.4
#26 0x00007fd098a8c242 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0x00007fd098a8c48c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0x00007fd098a9094b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#29 0x00007fd09c4a8e48 in kdemain () from /usr/lib/libkdeinit4_kwin.so
#30 0x00007fd09c11ac4d in __libc_start_main () from /lib/libc.so.6
#31 0x00000000004005c9 in _start ()


Reproducible: Sometimes

Steps to Reproduce:
enable xrender and desktop grid.
press the hotkey for desktop grid.
choose a dektop.
sometimes will crash when returning to the desktop. crash rate seems to be dependent on animation speed. on 'instant' the crashes are pretty frequent.
will recover from the crash however. thus so far this is just an annoyance.
Comment 1 Thomas Lübking 2010-10-17 16:39:12 UTC
useful trace:

@martin
happens on unreffing m_desktopButtonsViews in ::finish()

Application: KWin (kwin), signal: Segmentation fault
[Current thread is 1 (Thread 0xb1da9720 (LWP 13410))]

Thread 2 (Thread 0xa9107b70 (LWP 13420)):
#0  0xb782b424 in __kernel_vsyscall ()
#1  0xb67c33fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7595767 in ?? () from /usr/lib/libQtScript.so.4
#3  0xb75957b1 in ?? () from /usr/lib/libQtScript.so.4
#4  0xb67bee60 in start_thread () from /lib/libpthread.so.0
#5  0xb58defbe in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb1da9720 (LWP 13410)):
[KCrash Handler]
#7  0x00000000 in ?? ()
#8  0xae182ccf in KWin::DesktopGridEffect::finish (this=0xa0213d0) at /home/src/KDE4/KDE/kdebase/workspace/kwin/effects/desktopgrid/desktopgrid.cpp:1333
#9  0xae18369d in KWin::DesktopGridEffect::prePaintScreen (this=0xa0213d0, data=..., time=93) at /home/src/KDE4/KDE/kdebase/workspace/kwin/effects/desktopgrid/desktopgrid.cpp:146
#10 0xb77f398d in KWin::EffectsHandlerImpl::prePaintScreen (this=0x9ff4940, data=..., time=93) at /home/src/KDE4/KDE/kdebase/workspace/kwin/effects.cpp:159
#11 0xae1b6a01 in KWin::SlideEffect::prePaintScreen (this=0xa22ae68, data=..., time=93) at /home/src/KDE4/KDE/kdebase/workspace/kwin/effects/slide/slide.cpp:60
#12 0xb77f398d in KWin::EffectsHandlerImpl::prePaintScreen (this=0x9ff4940, data=..., time=93) at /home/src/KDE4/KDE/kdebase/workspace/kwin/effects.cpp:159
#13 0xae17bf20 in KWin::BoxSwitchEffect::prePaintScreen (this=0xa15bfe0, data=..., time=93) at /home/src/KDE4/KDE/kdebase/workspace/kwin/effects/boxswitch/boxswitch.cpp:138
#14 0xb77f398d in KWin::EffectsHandlerImpl::prePaintScreen (this=0x9ff4940, data=..., time=93) at /home/src/KDE4/KDE/kdebase/workspace/kwin/effects.cpp:159
#15 0xae18cfc6 in KWin::DimScreenEffect::prePaintScreen (this=0xa15f238, data=..., time=93) at /home/src/KDE4/KDE/kdebase/workspace/kwin/effects/dimscreen/dimscreen.cpp:56
#16 0xb77f398d in KWin::EffectsHandlerImpl::prePaintScreen (this=0x9ff4940, data=..., time=93) at /home/src/KDE4/KDE/kdebase/workspace/kwin/effects.cpp:159
#17 0xae1c52c0 in KWin::ZoomEffect::prePaintScreen (this=0xa143010, data=..., time=93) at /home/src/KDE4/KDE/kdebase/workspace/kwin/effects/zoom/zoom.cpp:268
#18 0xb77f398d in KWin::EffectsHandlerImpl::prePaintScreen (this=0x9ff4940, data=..., time=93) at /home/src/KDE4/KDE/kdebase/workspace/kwin/effects.cpp:159
#19 0xb77d4536 in KWin::Scene::paintScreen (this=0x9fc9840, mask=0xbfe1125c, region=0xbfe11324) at /home/src/KDE4/KDE/kdebase/workspace/kwin/scene.cpp:116
#20 0xb77de570 in KWin::SceneXrender::paint (this=0x9fc9840, damage=..., toplevels=...) at /home/src/KDE4/KDE/kdebase/workspace/kwin/scene_xrender.cpp:280
#21 0xb77d0411 in KWin::Workspace::performCompositing (this=0xa083ce0) at /home/src/KDE4/KDE/kdebase/workspace/kwin/composite.cpp:454
#22 0xb7744977 in KWin::Workspace::qt_metacall (this=0xa083ce0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfe1143c) at /home/src/KDE4/KDE/build/kdebase/workspace/kwin/workspace.moc:603
#23 0xb692ccfa in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#24 0xb693cb5f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#25 0xb6989cf7 in QTimer::timeout() () from /usr/lib/libQtCore.so.4
#26 0xb6942a9e in QTimer::timerEvent(QTimerEvent*) () from /usr/lib/libQtCore.so.4
#27 0xb693b864 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#28 0xb5e67584 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#29 0xb5e6c0ce in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#30 0xb6f31b5a in KApplication::notify (this=0xbfe11cc4, receiver=0xa083f94, event=0xbfe11980) at /home/src/KDE4/KDE/kdelibs/kdeui/kernel/kapplication.cpp:310
#31 0xb776125f in KWin::Application::notify (this=0xbfe11cc4, o=0xa083f94, e=0xbfe11980) at /home/src/KDE4/KDE/kdebase/workspace/kwin/main.cpp:376
#32 0xb692669b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#33 0xb69567de in ?? () from /usr/lib/libQtCore.so.4
#34 0xb6956938 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0xb5f18c46 in ?? () from /usr/lib/libQtGui.so.4
#36 0xb6925859 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0xb6925afa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#38 0xb692a52f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#39 0xb5e65407 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#40 0xb7763c22 in kdemain (argc=2, argv=0xbfe11f34) at /home/src/KDE4/KDE/kdebase/workspace/kwin/main.cpp:541
#41 0x080487ab in main (argc=2, argv=0xbfe11f34) at /home/src/KDE4/KDE/build/kdebase/workspace/kwin/kwin_dummy.cpp:3
Comment 2 Thomas Lübking 2010-10-17 21:29:17 UTC
stupid me - i had even written a patch ;-)

*** This bug has been marked as a duplicate of bug 244813 ***
Comment 3 Michal Svoboda 2010-10-17 22:13:58 UTC
Bug 244813 is marked as resolved and the patch attached to that bug seems to be from mid july 2010. 

KDE 4.5.2 is from october 2010 and the bug is still present. Can you please double check on the resolved status?
Comment 4 Thomas Lübking 2010-10-17 22:42:40 UTC
it's a dupe
(crashes in same occasion - at least when i reproduced your behaviour)

unfortunately -as hinted by comment #20- neither the attached patch nor martins workaround fixed it - at least for xrender (i assume that's the implication of that comment)