<?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>385633</bug_id>
          
          <creation_ts>2017-10-11 23:17:42 +0000</creation_ts>
          <short_desc>[Wayland] konsole crash on close.</short_desc>
          <delta_ts>2017-10-17 20:52:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konsole</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Tony">jodr666</reporter>
          <assigned_to name="Konsole Bugs">konsole-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>1705422</commentid>
    <comment_count>0</comment_count>
    <who name="Tony">jodr666</who>
    <bug_when>2017-10-11 23:17:42 +0000</bug_when>
    <thetext>Application: konsole (17.11.70)

Qt Version: 5.9.2
Frameworks Version: 5.39.0
Operating System: Linux 4.13.5-1-default x86_64
Distribution: &quot;openSUSE Tumbleweed&quot;

-- Information about the crash:
I had 3 tabs open when i close the konsole window, then i closed the window the crash pop right after.

The crash can be reproduced every time.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library &quot;/lib64/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7f5220e48040 (LWP 10639))]

Thread 2 (Thread 0x7f520bbd2700 (LWP 10640)):
#0  0x00007f5220750cab in poll () from /lib64/libc.so.6
#1  0x00007f52169a9149 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f52169a925c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f521cca025b in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f521cc4873a in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f521ca781fa in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f521ade2a45 in QDBusConnectionManager::run() () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f521ca7cc0e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007f5218492558 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f522075b45f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f5220e48040 (LWP 10639)):
[KCrash Handler]
#6  0x00007f520f325099 in wl_map_insert_at (map=&lt;optimized out&gt;, flags=flags@entry=0, i=&lt;optimized out&gt;, data=&lt;optimized out&gt;) at src/wayland-util.c:249
#7  0x00007f520f3211ae in proxy_destroy (proxy=0x55b1080a6d30) at src/wayland-client.c:411
#8  wl_proxy_destroy (proxy=0x55b1080a6d30) at src/wayland-client.c:442
#9  0x00007f520db3f6a7 in org_kde_plasma_window_destroy (org_kde_plasma_window=0x55b1080a6d30) at /usr/src/debug/kwayland-5.39.0git.20171010T183056~daec657/build/src/client/wayland-plasma-window-management-client-protocol.h:634
#10 KWayland::Client::WaylandPointer&lt;org_kde_plasma_window, org_kde_plasma_window_destroy&gt;::release (this=0x55b107fdf5b0, this=0x55b107fdf5b0) at /usr/src/debug/kwayland-5.39.0git.20171010T183056~daec657/src/client/wayland_pointer_p.h:53
#11 KWayland::Client::PlasmaWindow::release (this=this@entry=0x55b107e1a780) at /usr/src/debug/kwayland-5.39.0git.20171010T183056~daec657/src/client/plasmawindowmanagement.cpp:745
#12 0x00007f520db3f6ca in KWayland::Client::PlasmaWindow::~PlasmaWindow (this=0x55b107e1a780, __in_chrg=&lt;optimized out&gt;) at /usr/src/debug/kwayland-5.39.0git.20171010T183056~daec657/src/client/plasmawindowmanagement.cpp:735
#13 0x00007f520db3f7c9 in KWayland::Client::PlasmaWindow::~PlasmaWindow (this=0x55b107e1a780, __in_chrg=&lt;optimized out&gt;) at /usr/src/debug/kwayland-5.39.0git.20171010T183056~daec657/src/client/plasmawindowmanagement.cpp:736
#14 0x00007f521cc7540b in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5
#15 0x00007f521cc7e76b in QObject::~QObject() () from /usr/lib64/libQt5Core.so.5
#16 0x00007f520db3fd99 in KWayland::Client::PlasmaWindowManagement::~PlasmaWindowManagement (this=0x55b107e0aaa0, __in_chrg=&lt;optimized out&gt;) at /usr/src/debug/kwayland-5.39.0git.20171010T183056~daec657/src/client/plasmawindowmanagement.cpp:252
#17 0x00007f521cc7540b in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5
#18 0x00007f521cc7e76b in QObject::~QObject() () from /usr/lib64/libQt5Core.so.5
#19 0x00007f520a7b0a93 in WaylandIntegration::~WaylandIntegration (this=&lt;optimized out&gt;, __in_chrg=&lt;optimized out&gt;) at /usr/src/debug/kwayland-integration-5.11.90git.20170914T114718~1d8054b/src/windowsystem/waylandintegration.cpp:54
#20 WaylandIntegrationSingleton::~WaylandIntegrationSingleton (this=&lt;optimized out&gt;, __in_chrg=&lt;optimized out&gt;) at /usr/src/debug/kwayland-integration-5.11.90git.20170914T114718~1d8054b/src/windowsystem/waylandintegration.cpp:40
#21 (anonymous namespace)::Q_QGS_privateWaylandIntegrationSelf::Holder::~Holder (this=&lt;optimized out&gt;, __in_chrg=&lt;optimized out&gt;) at /usr/src/debug/kwayland-integration-5.11.90git.20170914T114718~1d8054b/src/windowsystem/waylandintegration.cpp:46
#22 0x00007f522069bce8 in __run_exit_handlers () from /lib64/libc.so.6
#23 0x00007f522069bd3a in exit () from /lib64/libc.so.6
#24 0x00007f5220683f51 in __libc_start_main () from /lib64/libc.so.6
#25 0x000055b1071b681a in _start ()

Possible duplicates by query: bug 381226, bug 379728.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1706617</commentid>
    <comment_count>1</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2017-10-17 19:49:29 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 372597 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1706657</commentid>
    <comment_count>2</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2017-10-17 20:52:05 +0000</bug_when>
    <thetext>Lets resolve it the other way around; bug 385628 was reported first, and actually confirmed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>