<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>293654</bug_id>
          
          <creation_ts>2012-02-08 16:56:31 +0000</creation_ts>
          <short_desc>crashed kwin @ PresentWindowsEffect</short_desc>
          <delta_ts>2012-02-08 19:16:31 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>kwin</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Francesco Riosa">vivo75+kde</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1224570</commentid>
    <comment_count>0</comment_count>
    <who name="Francesco Riosa">vivo75+kde</who>
    <bug_when>2012-02-08 16:56:31 +0000</bug_when>
    <thetext>Application: kwin (4.8.00 (4.8.0))
KDE Platform Version: 4.8.00 (4.8.0) (Compiled from sources)
Qt Version: 4.8.0
Operating System: Linux 3.2.5-vs2.3.2.6-hardened x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
after some minutes of inactivity re-activated the composition with alt+shift+F12
then bringing the mouse to the corner activating the present windows effect
selected one window
kwin crash

- Unusual behavior I noticed:
notably firefox was totally black and unresponsive _before_ re-activation of compostion and it  was still closing when the kwin crash happened

this is the content of debug area 1212, kwin pid was probably 10562

[...]
kwin(10562) KDecorationPlugins::loadPlugin: kwin : path  &quot;/usr/lib64/kde4/kwin3_oxygen.so&quot;  for  &quot;kwin3_oxygen&quot;
kwin(10562) KWin::Extensions::init: Extensions: shape: 0x &quot;11&quot;  composite: 0x &quot;4&quot;  render: 0x &quot;b&quot;  fixes: 0x &quot;50&quot;  non_native_pixmaps:  false
kwin(10562) KWin::Workspace::setupCompositing: Compositing is suspended
kwin(10562) KWin::Workspace::updateClientArea: screens:  1 desktops:  3
kwin(10562) KWin::Workspace::updateClientArea: Done.
kwin(10562) KWin::Workspace::updateClientArea: screens:  1 desktops:  3
kwin(10562) KWin::Workspace::updateClientArea: Done.
[...]
kwin(10562) KWin::Workspace::updateClientArea: screens:  1 desktops:  3
kwin(10562) KWin::Workspace::updateClientArea: Done.
kwin(10562) KWin::Workspace::updateClientArea: screens:  1 desktops:  3
kwin(10562) KWin::Workspace::updateClientArea: Done.
kwin(10562) KWin::Workspace::updateClientArea: screens:  1 desktops:  3
kwin(10562) KWin::Workspace::updateClientArea: Done.
kwin(10562) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 5494303
kwin(10562) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: &apos;ID: 25166075 ;WMCLASS: &quot;krunner&quot; : &quot;krunner&quot; ;Caption: &quot;Esegui comando&quot; &apos; : 5494303
kwin(10562) KWin::Workspace::allowClientActivation: Activation, compared: &apos;ID: 25166075 ;WMCLASS: &quot;krunner&quot; : &quot;krunner&quot; ;Caption: &quot;Esegui comando&quot; &apos; : 5494303 : 5494063 : true
kwin(10562) KWin::Workspace::updateClientArea: screens:  1 desktops:  3
kwin(10562) KWin::Workspace::updateClientArea: Done.
kwin(10562) KWin::Client::configureRequest: KWin::Client(0x3002828210) true false false
kwin(10562) KWin::Client::configureRequest: PERMITTED &apos;ID: 25166075 ;WMCLASS: &quot;krunner&quot; : &quot;krunner&quot; ;Caption: &quot;Esegui comando&quot; &apos; true
kwin(10562) KWin::Workspace::updateClientArea: screens:  1 desktops:  3
kwin(10562) KWin::Workspace::updateClientArea: Done.
kwin(10562) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 4294967295
kwin(10562) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: &apos;ID: 88080410 ;WMCLASS: &quot;kate&quot; : &quot;kate&quot; ;Caption: &quot;digikam-devel: file:///home/vivo/digikam-devel/README_devel_setup â Kate&quot; &apos; : 5542260
kwin(10562) KWin::Workspace::allowClientActivation: Activation, compared: &apos;ID: 88080410 ;WMCLASS: &quot;kate&quot; : &quot;kate&quot; ;Caption: &quot;digikam-devel: file:///home/vivo/digikam-devel/README_devel_setup â Kate&quot; &apos; : 5542260 : 5542150 : true
kwin(10562) KWin::Workspace::updateClientArea: screens:  1 desktops:  3
kwin(10562) KWin::Workspace::updateClientArea: Done.
kwin(10562) KWin::Workspace::updateClientArea: screens:  1 desktops:  3
kwin(10562) KWin::Workspace::updateClientArea: Done.
kwin(10562) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 5537475
kwin(10562) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: &apos;ID: 88080524 ;WMCLASS: &quot;kate&quot; : &quot;kate&quot; ;Caption: &quot;Errori o avvertimenti durante l&apos;apertura dei documenti â Kate&quot; &apos; : 5537475
kwin(10562) KWin::Workspace::allowClientActivation: Activation: Belongs to active application
kwin(10562) KWin::Workspace::updateClientArea: screens:  1 desktops:  3
kwin(10562) KWin::Workspace::updateClientArea: Done.
kwin(10562) KWin::Workspace::allowFullClientRaising: Raising: Belongs to active application
kwin(10562) KWin::Workspace::allowFullClientRaising: Raising: Belongs to active application
kwin(10562) KWin::Workspace::updateClientArea: screens:  1 desktops:  3
kwin(10562) KWin::Workspace::updateClientArea: Done.
kwin(10562) KWin::Extensions::init: Extensions: shape: 0x &quot;11&quot;  composite: 0x &quot;4&quot;  render: 0x &quot;b&quot;  fixes: 0x &quot;50&quot;  non_native_pixmaps:  false
kwin(10562) KWin::Extensions::init: Extensions: shape: 0x &quot;11&quot;  composite: 0x &quot;4&quot;  render: 0x &quot;b&quot;  fixes: 0x &quot;50&quot;  non_native_pixmaps:  false
kwin(10562) KWin::CompositingPrefs::detect: glx version is  1 . 4
kwin(10562) KWin::Workspace::setupCompositing: Initializing OpenGL compositing
kwin(10562) KWin::SceneOpenGL::initBufferConfigs: Drawable visual (depth  24 ): 0x &quot;31a&quot;
kwin(10562) KWin::SceneOpenGL::initBufferConfigs: Drawable visual (depth  32 ): 0x &quot;76&quot;
kwin(10562) KWin::SceneOpenGL::initBuffer: Buffer visual (depth  24 ): 0x &quot;32a&quot;
kwin(10562) KWin::ShaderManager::initShaders: Ortho Shader is valid
kwin(10562) KWin::ShaderManager::initShaders: Generic Shader is valid
kwin(10562) KWin::ShaderManager::initShaders: Color Shader is valid
kwin(10562) KWin::SceneOpenGL::SceneOpenGL: DB: true , Direct: true
kwin(10562) KWin::currentRefreshRate: Refresh rate  60 Hz
kwin(10562) KWin::EffectsHandlerImpl::loadEffect: Trying to load  &quot;kwin4_effect_slidingpopups&quot;
kwin(10562) KWin::EffectsHandlerImpl::loadEffect: Trying to load  &quot;kwin4_effect_fade&quot;
kwin(10562) KWin::EffectsHandlerImpl::loadEffect: Trying to load  &quot;kwin4_effect_desktopgrid&quot;
kwin(10562) KWin::EffectsHandlerImpl::loadEffect: Trying to load  &quot;kwin4_effect_fadedesktop&quot;
kwin(10562) KWin::EffectsHandlerImpl::loadEffect: Trying to load  &quot;kwin4_effect_presentwindows&quot;
kwin(10562) KWin::EffectsHandlerImpl::loadEffect: Trying to load  &quot;kwin4_effect_dashboard&quot;
kwin(10562) KWin::EffectsHandlerImpl::loadEffect: Trying to load  &quot;kwin4_effect_login&quot;
kwin(10562) KWin::EffectsHandlerImpl::loadEffect: Trying to load  &quot;kwin4_effect_startupfeedback&quot;
kwin(10562) KWin::EffectsHandlerImpl::loadEffect: Trying to load  &quot;kwin4_effect_outline&quot;
kwin(10562) KWin::EffectsHandlerImpl::loadEffect: Trying to load  &quot;kwin4_effect_boxswitch&quot;
kwin(10562) KWin::EffectsHandlerImpl::loadEffect: Trying to load  &quot;kwin4_effect_taskbarthumbnail&quot;
kwin(10562) KWin::EffectsHandlerImpl::loadEffect: Trying to load  &quot;kwin4_effect_logout&quot;
kwin(10562) KWin::EffectsHandlerImpl::loadEffect: Trying to load  &quot;kwin4_effect_screenshot&quot;
kwin(10562) KWin::EffectsHandlerImpl::loadEffect: Trying to load  &quot;kwin4_effect_translucency&quot;
kwin(10562) KWin::EffectsHandlerImpl::loadEffect: Trying to load  &quot;kwin4_effect_highlightwindow&quot;
kwin(10562) KWin::EffectsHandlerImpl::loadEffect: Trying to load  &quot;kwin4_effect_zoom&quot;
kwin(10562) KWin::EffectsHandlerImpl::loadEffect: Trying to load  &quot;kwin4_effect_dialogparent&quot;
kwin(10562) KWin::EffectsHandlerImpl::loadEffect: Trying to load  &quot;kwin4_effect_minimizeanimation&quot;
kwin(10562) KWin::EffectsHandlerImpl::loadEffect: Trying to load  &quot;kwin4_effect_coverswitch&quot;
kwin(10562) KWin::Client::pingTimeout: Ping timeout: &quot;Re: [Lcms-user] accessing (all) tags from a profile - Mozilla Firefox&quot;
kwin(10562) KWin::Client::killProcess: Kill process: 11963 ( &quot;localhost&quot; )
kwin(10562) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 7093626
kwin(10562) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: &apos;ID: 92274706 ;WMCLASS: &quot;kwin_killer_helper&quot; : &quot;kwin_killer_helper&quot; ;Caption: &quot;Avvertimento â KWin&quot; &apos; : 7093626
kwin(10562) KWin::Workspace::allowClientActivation: Activation, compared: &apos;ID: 92274706 ;WMCLASS: &quot;kwin_killer_helper&quot; : &quot;kwin_killer_helper&quot; ;Caption: &quot;Avvertimento â KWin&quot; &apos; : 7093626 : 7096159 : false
kwin(10562) KWin::Workspace::updateClientArea: screens:  1 desktops:  3
kwin(10562) KWin::Workspace::updateClientArea: Done.

kwin(12875) KDecorationPlugins::loadPlugin: kwin : path  &quot;/usr/lib64/kde4/kwin3_oxygen.so&quot;  for  &quot;kwin3_oxygen&quot;
[...]

The crash does not seem to be reproducible.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library &quot;/lib64/libthread_db.so.1&quot;.
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  0x0000032950a4e5f4 in QWidget::hide (this=0x0) at /usr/include/qt4/QtGui/qwidget.h:498
#7  0x0000032950a41fe4 in KWin::PresentWindowsEffect::setHighlightedWindow (this=0x3002bd73c0, w=0x3002568450) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/kwin/effects/presentwindows/presentwindows.cpp:1806
#8  0x0000032950a4b203 in KWin::PresentWindowsEffect::slotWindowClosed (this=0x3002bd73c0, w=0x300240a5a0) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/kwin/effects/presentwindows/presentwindows.cpp:475
#9  0x0000032976e8e117 in QMetaObject::activate (sender=0x3002b94af0, m=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=0x3e921c44760) at kernel/qobject.cpp:3547
#10 0x000003297820b0a2 in KWin::EffectsHandler::windowClosed (this=&lt;optimized out&gt;, _t1=0x300240a5a0) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999_build/kwin/libkwineffects/kwineffects.moc:260
#11 0x0000032976e8e117 in QMetaObject::activate (sender=0x30026fa820, m=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=0x3e921c448d0) at kernel/qobject.cpp:3547
#12 0x000003297bf1f12f in KWin::Toplevel::windowClosed (this=&lt;optimized out&gt;, _t1=0x30026fa820, _t2=0x3002637340) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999_build/kwin/toplevel.moc:326
#13 0x000003297beac31e in KWin::Client::releaseWindow (this=0x30026fa820, on_shutdown=false) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/kwin/client.cpp:247
#14 0x000003297becf6e9 in KWin::Client::windowEvent (this=0x30026fa820, e=0x3e921c451a0) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/kwin/events.cpp:584
#15 0x000003297becf987 in KWin::Workspace::workspaceEvent (this=0x30023be160, e=0x3e921c451a0) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/kwin/events.cpp:295
#16 0x000003297bec2a59 in KWin::Application::x11EventFilter (this=0x3e921c45480, e=0x3e921c451a0) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/kwin/main.cpp:359
#17 0x0000032975f9f815 in qt_x11EventFilter (ev=0x3e921c451a0) at kernel/qapplication_x11.cpp:435
#18 qt_x11EventFilter (ev=0x3e921c451a0) at kernel/qapplication_x11.cpp:423
#19 0x0000032975facb16 in QApplication::x11ProcessEvent (this=0x3e921c45480, event=0x3e921c451a0) at kernel/qapplication_x11.cpp:3332
#20 0x0000032975fd7051 in QEventDispatcherX11::processEvents (this=0x30021cc9b0, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#21 0x0000032976e768c2 in QEventLoop::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#22 0x0000032976e76b07 in QEventLoop::exec (this=0x3e921c45410, flags=...) at kernel/qeventloop.cpp:204
#23 0x0000032976e7c047 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#24 0x000003297bec4674 in kdemain (argc=1, argv=&lt;optimized out&gt;) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/kwin/main.cpp:541
#25 0x000003297495732d in __libc_start_main (main=0x3001fbfa90 &lt;main(int, char**)&gt;, argc=1, ubp_av=0x3e921c45af8, init=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, stack_end=0x3e921c45ae8) at libc-start.c:234
#26 0x0000003001fbfaed in _start ()

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1224639</commentid>
    <comment_count>1</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2012-02-08 19:16:31 +0000</bug_when>
    <thetext>Git commit bfb1c63e8d75473aa473c4027b618773a879b907 by Thomas Lübking.
Committed on 08/02/2012 at 19:17.
Pushed by luebking into branch &apos;KDE/4.8&apos;.

secure closeView NULL pointer access

M  +2    -1    kwin/effects/presentwindows/presentwindows.cpp

http://commits.kde.org/kde-workspace/bfb1c63e8d75473aa473c4027b618773a879b907</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>