Bug 358326 - Konsole crashes when pressing Ctrl+D (intermittent)
Summary: Konsole crashes when pressing Ctrl+D (intermittent)
Status: RESOLVED DUPLICATE of bug 342201
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 15.08.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-01-21 21:02 UTC by Johan Palmqvist
Modified: 2016-08-13 17:34 UTC (History)
2 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 Johan Palmqvist 2016-01-21 21:02:50 UTC
Application: konsole (15.08.0)

Qt Version: 5.5.1
Operating System: Linux 4.2.0-25-generic x86_64
Distribution: Ubuntu Xenial Xerus (development branch)

-- Information about the crash:
- What I was doing when the application crashed: When closing Konsole (usually by pressing Ctrl+D) it often crashes randomly for no obvious reason. I can only recall it happening on Ubuntu 15.04, 15.10 and 16.04 which are based on QT5. Ubuntu 14.10 and earlier which are using QT4 seem perfectly stable in this regard. The same pattern has been visible on multiple machines with different hardware configurations but most of them have been using different models of NVIDIA cards like Quadro 600, 9600GT or GTX 970.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Konsole (konsole), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9f67add940 (LWP 6758))]

Thread 2 (Thread 0x7f9f64eef700 (LWP 6760)):
[KCrash Handler]
#6  0x00007f9f79930227 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f9f79931e8a in __GI_abort () at abort.c:89
#8  0x00007f9f79973bb3 in __libc_message (do_abort=1, fmt=fmt@entry=0x7f9f79a8c128 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007f9f7997cdbe in malloc_printerr (ptr=0x11717b8, str=0x7f9f79a882fb "malloc(): memory corruption", action=<optimized out>) at malloc.c:4965
#10 _int_malloc (av=av@entry=0x7f9f60000020, bytes=bytes@entry=2032) at malloc.c:3441
#11 0x00007f9f79980015 in __libc_calloc (n=<optimized out>, elem_size=<optimized out>) at malloc.c:3213
#12 0x00007f9f6d6543e3 in ?? () from /usr/lib/nvidia-358/tls/libnvidia-tls.so.358.16
#13 0x00007f9f7177a721 in g_malloc0 () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007f9f7179228d in g_slice_free1 () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f9f71eac319 in __nptl_deallocate_tsd () at pthread_create.c:175
#16 0x00007f9f71ead72d in __nptl_deallocate_tsd () at ../sysdeps/unix/sysv/linux/exit-thread.h:36
#17 start_thread (arg=0x7f9f64eef700) at pthread_create.c:346
#18 0x00007f9f79a01e4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f9f67add940 (LWP 6758)):
#0  0x00007f9f799f683d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f9f724d9c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f9f724db617 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f9f724db721 in xcb_wait_for_reply () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007f9f73a3ba47 in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007f9f73a3748d in XSync () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#6  0x00007f9f73a1861e in XCloseDisplay () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#7  0x00007f9f6724c1f6 in QXcbConnection::~QXcbConnection() () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#8  0x00007f9f6724c559 in QXcbConnection::~QXcbConnection() () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#9  0x00007f9f6724dff6 in QXcbIntegration::~QXcbIntegration() () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#10 0x00007f9f6724e109 in QXcbIntegration::~QXcbIntegration() () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#11 0x00007f9f768a09a3 in QGuiApplicationPrivate::~QGuiApplicationPrivate() () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#12 0x00007f9f76e56029 in QApplicationPrivate::~QApplicationPrivate() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f9f7659e4d8 in QObject::~QObject() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f9f76e57e19 in QApplication::~QApplication() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f9f79ce6be5 in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_konsole.so
#16 0x00007f9f7991ba00 in __libc_start_main (main=0x400730 <main>, argc=7, argv=0x7ffcdea851a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcdea85198) at libc-start.c:289
#17 0x0000000000400769 in _start ()

Possible duplicates by query: bug 356665, bug 356068, bug 355645, bug 353906, bug 352449.

Reported using DrKonqi
Comment 1 João Vidal da Silva 2016-06-22 12:15:45 UTC
For me, pressing ctrl-d closes the konsole window everytime but only if it is iddle. If some script or bash command is running, it doesn't close.
Is it a crazy shortcut?

My system is:

Distribution: Manjaro
Kernel: 4.6.2-1

Konsole info:
Konsole Version 16.04.1
Using:
KDE Frameworks 5.22.0
Qt 5.6.0 (built against 5.6.0)
The xcb windowing system
Comment 2 Martin Sandsmark 2016-08-13 17:34:51 UTC

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