<?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>350821</bug_id>
          
          <creation_ts>2015-07-31 11:30:31 +0000</creation_ts>
          <short_desc>KWin crashes on invalid _NET_WM_ICON data</short_desc>
          <delta_ts>2015-08-18 12:56:17 +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>compatibility</component>
          <version>5.3.2</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>350173</dup_id>
          <see_also>https://bugs.kde.org/show_bug.cgi?id=350173</see_also>
          <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="Robert Kausch">robert.kausch</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>1534283</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Kausch">robert.kausch</who>
    <bug_when>2015-07-31 11:30:31 +0000</bug_when>
    <thetext>This is bug #90944 from 2004 reintroduced in Plasma 5.

I&apos;m not sure if I should open a new ticket for this, but as I couldn&apos;t change the status of the old ticket back to open, I&apos;m just reporting it as new.

The exact code posted by Billy Biggs in 2004 crashes KWin 5.3.2 again.

See ticket #90944 https://bugs.kde.org/show_bug.cgi?id=90944 and https://sourceforge.net/p/bonkenc/bugs/104/ for reference.

Reproducible: Always

Steps to Reproduce:
1. Compile the code posted in ticket #90944.
2. Run it.
3. Watch KWin crash and hang up the desktop.

Actual Results:  
KWin crashes and hangs the Plasma desktop.

Expected Results:  
Invalid data should be ignored.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1534312</commentid>
    <comment_count>1</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2015-07-31 14:03:50 +0000</bug_when>
    <thetext>bug #350173 ?
=&gt; backtrace, we always want to see backtraces ;-P</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1534320</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Kausch">robert.kausch</who>
    <bug_when>2015-07-31 14:41:43 +0000</bug_when>
    <thetext>Yes, this seems to be the same as bug #350173

I&apos;ll check again once kwindowsystem 5.13 packages are available for Arch Linux.

Thanks!

Backtrace:

#0  0x00007fe0835bef4d in nanosleep () from /lib/libc.so.6
#1  0x00007fe0835bede4 in sleep () from /lib/libc.so.6
#2  0x00007fe080852d6a in ?? () from /usr/lib/libKF5Crash.so.5
#3  0x00007fe0808531f0 in KCrash::defaultCrashHandler(int) () from /usr/lib/libKF5Crash.so.5
#4  &lt;signal handler called&gt;
#5  0x00007fe083597734 in __memcpy_sse2_unaligned () from /lib/libc.so.6
#6  0x00007fe082a11de1 in NETWinInfo::update(QFlags&lt;NET::Property&gt;, QFlags&lt;NET::Property2&gt;) ()
   from /usr/lib/libKF5WindowSystem.so.5
#7  0x00007fe08310ee76 in ?? () from /usr/lib/libkwin.so.5
#8  0x00007fe083148910 in ?? () from /usr/lib/libkwin.so.5
#9  0x00007fe0830e0f9d in KWin::Workspace::createClient(unsigned int, bool) () from /usr/lib/libkwin.so.5
#10 0x00007fe08312ffd2 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () from /usr/lib/libkwin.so.5
#11 0x00007fe081bcb3d0 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&amp;, void*, long*) ()
   from /usr/lib/libQt5Core.so.5
#12 0x00007fe06cbd4d25 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /usr/lib/libQt5XcbQpa.so.5
#13 0x00007fe06cbd6dcb in QXcbConnection::processXcbEvents() () from /usr/lib/libQt5XcbQpa.so.5
#14 0x00007fe081bfdee2 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#15 0x00007fe0824c2fcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007fe0824c8140 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#17 0x00007fe081bce603 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#18 0x00007fe081bd0873 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
   from /usr/lib/libQt5Core.so.5
#19 0x00007fe081c221d2 in QEventDispatcherUNIX::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) ()
   from /usr/lib/libQt5Core.so.5
#20 0x00007fe06cc3639d in ?? () from /usr/lib/libQt5XcbQpa.so.5
#21 0x00007fe081bcc1a2 in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQt5Core.so.5
#22 0x00007fe081bd3cdd in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#23 0x00007fe0838af277 in kdemain () from /usr/lib/libkdeinit5_kwin_x11.so
#24 0x00007fe083527800 in __libc_start_main () from /lib/libc.so.6
#25 0x0000000000400759 in _start ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1534335</commentid>
    <comment_count>3</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2015-07-31 14:57:42 +0000</bug_when>
    <thetext>Thanks for the update.

Pre-emptively duping then - please re-open the bug in case it&apos;s not fixed by that patch.

*** This bug has been marked as a duplicate of bug 350173 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1537726</commentid>
    <comment_count>4</comment_count>
    <who name="Robert Kausch">robert.kausch</who>
    <bug_when>2015-08-18 12:56:17 +0000</bug_when>
    <thetext>Just confirmed, kwindowsystem 5.13 indeed fixes this bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>