Bug 347401 - Plasma 5 Konsole crashes after closing window by pressing the X frame button
Summary: Plasma 5 Konsole crashes after closing window by pressing the X frame button
Status: RESOLVED DUPLICATE of bug 345712
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 15.04.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
: 349009 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-05-08 03:59 UTC by h.k.ghost
Modified: 2016-08-13 17:16 UTC (History)
3 users (show)

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 h.k.ghost 2015-05-08 03:59:13 UTC
Application: konsole (15.04.0)

Qt Version: 5.4.1
Operating System: Linux 3.19.0-16-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
I was using Konsole to run some scripts and they had finished their execution. I then closed the terminal window with the mouse clicking the X on the window frame and it caused this crash. I'm able to reproduce this easily by opening a new Konsole terminal and immediately closing it in that way.

Closing the terminal by using the exit command works as expected (i.e. no crash).

[NOTE: I tried to suggest another bug as potentially related (bug id: 345712), but it seems the 'suggest related' button is also broken, so I was not able to select it from the list..]

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  free_reply_list (head=0x1) at ../../src/xcb_in.c:357
#7  0x00007fc94fa2768c in _xcb_map_delete (list=0x22f6ac0, do_free=do_free@entry=0x7fc94fa25c50 <free_reply_list>) at ../../src/xcb_list.c:69
#8  0x00007fc94fa2626d in _xcb_in_destroy (in=in@entry=0x2306300) at ../../src/xcb_in.c:824
#9  0x00007fc94fa247a0 in xcb_disconnect (c=0x23062c0) at ../../src/xcb_conn.c:354
#10 0x00007fc94fe5a617 in XCloseDisplay (dpy=0x2304f30) at ../../src/ClDisplay.c:71
#11 0x00007fc9427fc1f4 in QXcbConnection::~QXcbConnection (this=0x2304b70, __in_chrg=<optimized out>) at qxcbconnection.cpp:444
#12 0x00007fc9427fc619 in QXcbConnection::~QXcbConnection (this=0x2304b70, __in_chrg=<optimized out>) at qxcbconnection.cpp:450
#13 0x00007fc942800d3e in qDeleteAll<QList<QXcbConnection*>::const_iterator> (end=..., begin=...) at ../../../../include/QtCore/../../src/corelib/tools/qalgorithms.h:315
#14 qDeleteAll<QList<QXcbConnection*> > (c=...) at ../../../../include/QtCore/../../src/corelib/tools/qalgorithms.h:323
#15 QXcbIntegration::~QXcbIntegration (this=0x22e6600, __in_chrg=<optimized out>) at qxcbintegration.cpp:189
#16 0x00007fc942800e19 in QXcbIntegration::~QXcbIntegration (this=0x22e6600, __in_chrg=<optimized out>) at qxcbintegration.cpp:190
#17 0x00007fc9525f65c0 in QGuiApplicationPrivate::~QGuiApplicationPrivate (this=0x22e5440, __in_chrg=<optimized out>) at kernel/qguiapplication.cpp:1374
#18 0x00007fc952bb74e9 in QApplicationPrivate::~QApplicationPrivate (this=0x22e5440, __in_chrg=<optimized out>) at kernel/qapplication.cpp:183
#19 0x00007fc9522ec83b in cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:54
#20 ~QScopedPointer (this=0x7ffde85b9f28, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:101
#21 QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:882
#22 0x00007fc952bb9133 in QApplication::~QApplication (this=0x7ffde85b9f20, __in_chrg=<optimized out>) at kernel/qapplication.cpp:803
#23 0x00007fc955a2f869 in kdemain (argc=1, argv=0x7ffde85ba068) at ../../src/main.cpp:87
#24 0x00007fc955664a40 in __libc_start_main (main=0x400720 <main(int, char**)>, argc=1, argv=0x7ffde85ba068, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffde85ba058) at libc-start.c:289
#25 0x0000000000400759 in _start ()

Possible duplicates by query: bug 345712.

Reported using DrKonqi
Comment 1 Lee 2015-06-11 00:24:07 UTC
*** Bug 349009 has been marked as a duplicate of this bug. ***
Comment 2 David 2016-05-22 12:56:35 UTC
Same problem here. Very often although not always, when I close Konsole via its window's "X" it crashes due to a segfault (and ends up being killed by a SIGSEGV).

Qt version: 5.6.0
OS: Fedora 23
Kernel: Linux 4.4.9-300.fc23.x86_64
Konsole: 15.12.3
DE: KDE Plasma 5.6.4.1
Comment 3 Martin Sandsmark 2016-08-13 17:16:02 UTC

*** This bug has been marked as a duplicate of bug 345712 ***