Bug 378512 - Crash on control-D exit
Summary: Crash on control-D exit
Status: RESOLVED DUPLICATE of bug 342201
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 16.04.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-04-06 17:51 UTC by Robert McDonald
Modified: 2018-01-10 17:07 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.21 KB, text/plain)
2017-11-09 23:16 UTC, stephen.garth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert McDonald 2017-04-06 17:51:13 UTC
Application: konsole (16.04.3)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.8.0-46-generic x86_64
Distribution: Ubuntu 16.10

-- Information about the crash:
- What I was doing when the application crashed: Closing the last terminal tab before exiting terminal.  I tried mightily to associate this with a report that I believed was a duplicate based on the stack traces for the threads, but I could not find a way to tell the Crash Reporting Assistant to do so.  I had marked one of the previous reports as a duplicate, but Crash Reporting Assistant didn't apparently accept this input, because it warned me that I was continuing without having selected a report as a duplicate.

-- 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 0x7fbbbc7c6940 (LWP 2201))]

Thread 3 (Thread 0x7fbba1ad8700 (LWP 2203)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
#7  0x00007fbbbc1c23ea in __GI_abort () at abort.c:89
#8  0x00007fbbbc2040d0 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7fbbbc319368 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007fbbbc20d75a in malloc_printerr (ar_ptr=<optimized out>, ptr=<optimized out>, str=0x7fbbbc319478 "double free or corruption (out)", action=3) at malloc.c:5046
#10 _int_free (av=<optimized out>, p=<optimized out>, have_lock=<optimized out>) at malloc.c:3902
#11 0x00007fbbbc21118c in __GI___libc_free (mem=<optimized out>) at malloc.c:2982
#12 0x00007fbbaf690b06 in _nv007tls () from /usr/lib/nvidia-340/tls/libnvidia-tls.so.340.102
#13 0x00007fbbb43e0439 in __nptl_deallocate_tsd () at pthread_create.c:175
#14 0x00007fbbb43e1878 in __nptl_deallocate_tsd () at pthread_create.c:326
#15 start_thread (arg=0x7fbba1ad8700) at pthread_create.c:346
#16 0x00007fbbbc2930af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7fbba8d94700 (LWP 2202)):
#0  0x00007fbbbc2870bd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fbbb3ca69d6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbbb3ca6aec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbbb8dcd4ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fbbb8d750fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fbbb8b9ad43 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fbbbc89a575 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fbbb8b9fc68 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fbbb43e16ca in start_thread (arg=0x7fbba8d94700) at pthread_create.c:333
#9  0x00007fbbbc2930af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7fbbbc7c6940 (LWP 2201)):
#0  0x00007fbbbc2870bd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fbbb4c41c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fbbb4c43617 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fbbb4c43721 in xcb_wait_for_reply () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007fbbb61d3a27 in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007fbbb61cf46d in XSync () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#6  0x00007fbbb61b05ee in XCloseDisplay () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#7  0x00007fbba81cc21f in QXcbConnection::~QXcbConnection() () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#8  0x00007fbba81cc5a9 in QXcbConnection::~QXcbConnection() () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#9  0x00007fbba81cdf36 in QXcbIntegration::~QXcbIntegration() () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#10 0x00007fbba81ce039 in QXcbIntegration::~QXcbIntegration() () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#11 0x00007fbbb90c08d3 in QGuiApplicationPrivate::~QGuiApplicationPrivate() () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#12 0x00007fbbb96ae869 in QApplicationPrivate::~QApplicationPrivate() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007fbbb8dac2c7 in QObject::~QObject() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fbbb8d78ec6 in QCoreApplication::~QCoreApplication() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007fbbb96b0331 in QApplication::~QApplication() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007fbbbc578bdd in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_konsole.so
#17 0x00007fbbbc1ab3f1 in __libc_start_main (main=0x55c462bd7770, argc=1, argv=0x7ffffa343128, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffffa343118) at ../csu/libc-start.c:291
#18 0x000055c462bd77aa in _start ()

Possible duplicates by query: bug 376266, bug 375933, bug 373823, bug 371957, bug 364287.

Reported using DrKonqi
Comment 1 Bron Mach 2017-08-14 18:08:20 UTC
Also crashing with very similar stacktrace with: 
Konsole 16.04.3
Plasma 5.8.7
Frameworks 5.36.0
Qt 5.6.1
Ubuntu 16.04.3 LTS

Konsole sometimes crashes when new text is being written to the screen too.

Never saw either of these crashes with a similar OS+KDE on another machine but different Nvidia graphics card with newer, non-legacy drivers.
Comment 2 stephen.garth 2017-11-09 23:16:01 UTC
Created attachment 108773 [details]
New crash information added by DrKonqi

konsole (16.04.3) using Qt 5.6.1

- What I was doing when the application crashed:
Exited konsole using the control + D keyboard shortcut and crash was reported.

-- Backtrace (Reduced):
#6  0x00007fb814430428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007fb81443202a in __GI_abort () at abort.c:89
[...]
#9  0x00007fb81447b37a in malloc_printerr (ar_ptr=<optimized out>, ptr=<optimized out>, str=0x7fb81458bfa8 "double free or corruption (out)", action=3) at malloc.c:5006
#10 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3867
#11 0x00007fb81447f53c in __GI___libc_free (mem=<optimized out>) at malloc.c:2968
Comment 3 Christoph Feck 2018-01-10 17:07:25 UTC

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