<?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>233363</bug_id>
          
          <creation_ts>2010-04-05 17:02:38 +0000</creation_ts>
          <short_desc>KWin crashes in DesktopGridEffect::windowInputMouseEvent</short_desc>
          <delta_ts>2011-09-07 17:16:01 +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>effects-window-management</component>
          <version>unspecified</version>
          <rep_platform>Ubuntu</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>0</everconfirmed>
          <reporter name="Leandro Santiago da Silva">leandrosansilva</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>abelius</cc>
    
    <cc>metamorfozis</cc>
    
    <cc>pazuzuthewise</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>4.6.3</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>945283</commentid>
    <comment_count>0</comment_count>
    <who name="Leandro Santiago da Silva">leandrosansilva</who>
    <bug_when>2010-04-05 17:02:38 +0000</bug_when>
    <thetext>Application: kwin (4.4.2 (KDE 4.4.2))
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.31-21-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
KWin crashed after some strange behaviors with window groups (gimp tools). Before the gimp test, it was working fine.

 -- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
The current source language is &quot;auto; currently c&quot;.
[KCrash Handler]
#5  0x00007f16ce3cc230 in vtable for QPixmap () from /usr/lib/libQtGui.so.4
#6  0x00007f16b8b8288b in KWin::DesktopGridEffect::windowInputMouseEvent (this=0x9ee2d0, e=&lt;value optimized out&gt;) at ../../../kwin/effects/desktopgrid/desktopgrid.cpp:463
#7  0x00007f16d15fc055 in KWin::EffectsHandlerImpl::checkInputWindowEvent (this=&lt;value optimized out&gt;, e=&lt;value optimized out&gt;) at ../../kwin/effects.cpp:817
#8  0x00007f16d15a5052 in KWin::Workspace::workspaceEvent (this=0x874ac0, e=0x7fff0fab4dd0) at ../../kwin/events.cpp:260
#9  0x00007f16d1582db8 in KWin::Application::x11EventFilter (this=0x7fff0fab51c0, e=0x7fff0fab4dd0) at ../../kwin/main.cpp:361
#10 0x00007f16cd99f3b1 in qt_x11EventFilter (ev=0x7fff0fab4dd0) at kernel/qapplication_x11.cpp:399
#11 0x00007f16cd9adec1 in QApplication::x11ProcessEvent (this=&lt;value optimized out&gt;, event=0x7fff0fab4dd0) at kernel/qapplication_x11.cpp:3231
#12 0x00007f16cd9da322 in x11EventSourceDispatch (s=0x7a7cc0, callback=&lt;value optimized out&gt;, user_data=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:146
#13 0x00007f16c7ba6bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#14 0x00007f16c7baa598 in ?? () from /lib/libglib-2.0.so.0
#15 0x00007f16c7baa6c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#16 0x00007f16cd205333 in QEventDispatcherGlib::processEvents (this=0x78abe0, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:412
#17 0x00007f16cd9d9f0e in QGuiEventDispatcherGlib::processEvents (this=0xfa7750, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#18 0x00007f16cd1da732 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=) at kernel/qeventloop.cpp:149
#19 0x00007f16cd1dab0c in QEventLoop::exec (this=0x7fff0fab5100, flags=) at kernel/qeventloop.cpp:201
#20 0x00007f16cd1de84b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#21 0x00007f16d158461e in kdemain (argc=&lt;value optimized out&gt;, argv=&lt;value optimized out&gt;) at ../../kwin/main.cpp:526
#22 0x00007f16d11e4abd in __libc_start_main (main=&lt;value optimized out&gt;, argc=&lt;value optimized out&gt;, ubp_av=&lt;value optimized out&gt;, init=&lt;value optimized out&gt;, fini=&lt;value optimized out&gt;, 
    rtld_fini=&lt;value optimized out&gt;, stack_end=0x7fff0fab56c8) at libc-start.c:220
#23 0x0000000000400679 in _start () at ../sysdeps/x86_64/elf/start.S:113

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>945604</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2010-04-06 08:07:12 +0000</bug_when>
    <thetext>Just to confirm what the backtrace tells me: were you using the desktop grid effect at the time of the crash and were you moving a window? In that case is it possible that the window closed while you moved it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>945818</commentid>
    <comment_count>2</comment_count>
    <who name="Leandro Santiago da Silva">leandrosansilva</who>
    <bug_when>2010-04-06 14:26:01 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Just to confirm what the backtrace tells me: were you using the desktop grid
&gt; effect at the time of the crash and were you moving a window? In that case is
&gt; it possible that the window closed while you moved it?

Yes, I was using that effect. The chash happened after I try do group some gimp tools windows. 

When I did it, the windows stopped to response (they were there, but the window actions (move, clicks, etc.) didn&apos;t work anymore. I think I tryied to use grid effect at this moment, and it crashed (but I&apos;m not sure). 

Now I can&apos;t remember if I closed or not gimp windows before use grid. Sorry :-)

And I&apos;m using lastest fglrx driver.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1010475</commentid>
    <comment_count>3</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2010-08-28 10:51:10 +0000</bug_when>
    <thetext>The crashtrace does not make sense at all. It&apos;s crashing in kwin here:

if( isUsingPresentWindows() &amp;&amp; windowMove-&gt;isOnAllDesktops() )

and the next item in the crashtrace is QPixmap. Neither of the two methods called in the if statement access QPixmap.

We have a whole bunch of strange backtraces and they all have a referrence to glib and Ubuntu. Somehow I fear there is a pattern in it...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1098613</commentid>
    <comment_count>4</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2011-03-18 19:20:02 +0000</bug_when>
    <thetext>*** Bug 267562 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1103813</commentid>
    <comment_count>5</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2011-04-03 22:46:15 +0000</bug_when>
    <thetext>Git commit 0c23185cfd2b0210d58af603b94813a5473a547d by Thomas Lübking.
Committed on 07/03/2011 at 18:38.
Pushed by luebking into branch &apos;master&apos;.

validate deleted moving window in desktop grid effect

BUG:233363
CCBUG:267562

M  +2    -0    kwin/effects/desktopgrid/desktopgrid.cpp     

http://commits.kde.org/kde-workspace/0c23185cfd2b0210d58af603b94813a5473a547d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1107708</commentid>
    <comment_count>6</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2011-04-13 20:53:03 +0000</bug_when>
    <thetext>Git commit a56c26346c2041cd6f5036101012aa4a7718e2eb by Thomas Lübking.
Committed on 13/04/2011 at 20:57.
Pushed by luebking into branch &apos;KDE/4.6&apos;.

validate deleted moving window in desktop grid effect

BUG:233363
FIXED-IN:4.6.3

M  +2    -0    kwin/effects/desktopgrid/desktopgrid.cpp     

http://commits.kde.org/kde-workspace/a56c26346c2041cd6f5036101012aa4a7718e2eb</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1142802</commentid>
    <comment_count>7</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2011-07-17 20:12:18 +0000</bug_when>
    <thetext>*** Bug 277971 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1160623</commentid>
    <comment_count>8</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2011-09-07 17:16:01 +0000</bug_when>
    <thetext>*** Bug 281553 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>