Bug 358628

Summary: Konsol crashes when opening new tab
Product: [Applications] konsole Reporter: lp <paulatz>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: crash CC: joao.vidal.silva, justforspam
Priority: NOR Keywords: drkonqi
Version: 15.08.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description lp 2016-01-27 10:16:38 UTC
Application: konsole (15.08.0)

Qt Version: 5.5.1
Operating System: Linux 4.2.0-25-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
Since I updated to plasma 5.5, konsole sometimes crashes when opening a new tab, wither by pressing CTRL-SHIFT-T or by selecting new tab from the File menu.

Backtrace information should be attached (if the kde bug reporting tool works!) This is the code version:

Package: konsole
Priority: optional
Section: universe/kde
Installed-Size: 454
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Architecture: amd64
Version: 4:15.08.2-0ubuntu2
Replaces: konsole5
Provides: x-terminal-emulator
Depends: konsole-kpart (= 4:15.08.2-0ubuntu2), libc6 (>= 2.14), libkf5completion5 (>= 4.97.0), libkf5configcore5 (>= 4.98.0), libkf5configgui5 (>= 4.97.0), libkf5configwidgets5 (>= 4.96.0), libkf5coreaddons5 (>= 5.2.0), libkf5i18n5 (>= 4.97.0), libkf5iconthemes5 (>= 4.96.0), libkf5kdelibs4support5 (>= 4.96.0), libkf5kiowidgets5 (>= 4.96.0), libkf5notifyconfig5 (>= 4.96.0), libkf5widgetsaddons5 (>= 4.96.0), libkf5windowsystem5 (>= 4.96.0), libkf5xmlgui5 (>= 4.98.0), libqt5core5a (>= 5.4.0), libqt5gui5 (>= 5.0.2) | libqt5gui5-gles (>= 5.0.2), libqt5widgets5 (>= 5.0.2), libstdc++6 (>= 4.1.1)
Recommends: kde-baseapps-bin
Conflicts: konsole5
Filename: pool/universe/k/konsole/konsole_15.08.2-0ubuntu2_amd64.deb
Size: 115026                                                                                                                                                                                                                         
MD5sum: 47a70bc65fe023a6ba86fc655ad8e011                                                                                                                                                                                             
SHA1: b93a3e706b567e0ee8f3903401e7599211fdc2a0                                                                                                                                                                                       
SHA256: cd5bf7ab3a9c3c24dcd217a39d8567994d71fa07b5faf29e4704686735b01cee                                                                                                                                                             
Description-en: X terminal emulator                                                                                                                                                                                                  
 Konsole is a terminal emulator built on the KDE Platform. It can contain                                                                                                                                                            
 multiple terminal sessions inside one window using detachable tabs.                                                                                                                                                                 
 .                                                                                                                                                                                                                                   
 Konsole supports powerful terminal features, such as customizable schemes,                                                                                                                                                          
 saved sessions, and output monitoring.                                                                                                                                                                                              
Description-md5: b9f8e7c204b64c4afaac8166104064ed
Homepage: http://www.kde.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Task: kubuntu-desktop

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 0x7f1e692a7840 (LWP 18727))]

Thread 2 (Thread 0x7f1e5395c700 (LWP 18728)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f1e65708b38 in QBasicMutex::lockInternal() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f1e55cb47f9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#3  0x00007f1e65710a6e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f1e612316aa in start_thread (arg=0x7f1e5395c700) at pthread_create.c:333
#5  0x00007f1e68d8deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f1e692a7840 (LWP 18727)):
[KCrash Handler]
#6  0x00007f1e68cbc267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f1e68cbdeca in __GI_abort () at abort.c:89
#8  0x00007f1e68cffc53 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7f1e68e181a8 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007f1e68d07c69 in malloc_printerr (ptr=<optimized out>, str=0x7f1e68e18248 "free(): corrupted unsorted chunks", action=1) at malloc.c:4965
#10 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3834
#11 0x00007f1e68d0b89c in __GI___libc_free (mem=<optimized out>) at malloc.c:2950
#12 0x00007f1e55cb8e48 in QXcbConnection::processXcbEvents() () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#13 0x00007f1e659217b1 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f1e661e69dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f1e661ebea6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f1e658f1d7b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f1e658f4176 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f1e659480e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f1e60afaff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f1e60afb250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f1e60afb2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f1e659484ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f1e658ef50a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f1e658f75ec in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f1e69072bdb in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_konsole.so
#26 0x00007f1e68ca7a40 in __libc_start_main (main=0x400730 <main>, argc=1, argv=0x7ffe41e1ecc8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe41e1ecb8) at libc-start.c:289
#27 0x0000000000400769 in _start ()

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

Reported using DrKonqi
Comment 1 João Vidal da Silva 2016-06-21 22:47:18 UTC
I have not much to add except that it has been happening to me: konsole left idle for some time (some hours), then I come and open a new tab and it freezes.
I couldn't find any error messages though. How do you do it _lp_?
Comment 2 Lorenzo Paulatto 2016-06-22 08:44:33 UTC
I don't know, I have since upgraded my distribution, now I am on
Konsole Version 16.04.1
Using:
KDE Frameworks 5.22.0
Qt 5.6.0 (built against 5.6.0)
The xcb windowing system

and I've never met the problem again...
Comment 3 João Vidal da Silva 2016-06-22 12:06:14 UTC
I open new tabs pressing ctrl-shift-t and occasionally it happens that a new tab is created titled 'Shell' and the konsole window is left unresponsive: other tabs, menu, etc, all unresponsive, only the window frame itself responds. And not only that window but all konsole windows are affected.

I have nothing on dmesg when it freezes and I have no debug symbols to get a backtrace.

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 4 João Vidal da Silva 2016-06-22 12:12:34 UTC
Terminals in Dolphin windows are unaffected.
Comment 5 Andrew Crouthamel 2018-11-01 13:47:01 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2018-11-16 11:38:42 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2018-12-02 03:44:57 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!