Bug 350169

Summary: Konsole crash on exit
Product: [Applications] konsole Reporter: Tom Mittelstädt <tom-kde.bugs>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andysem, martin.sandsmark, miko-andru, portnov
Priority: NOR Keywords: drkonqi
Version: 15.04.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Tom Mittelstädt 2015-07-13 12:43:07 UTC
Application: konsole (15.04.0)

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

-- Information about the crash:
- What I was doing when the application crashed:

Konsole crashes from time to time during closing the terminal (eg. "exit")

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".
[KCrash Handler]
#6  0x00007f2b49a0a267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f2b49a0beca in __GI_abort () at abort.c:89
#8  0x00007f2b49a4dc53 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7f2b49b661a8 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007f2b49a55c69 in malloc_printerr (ptr=<optimized out>, str=0x7f2b49b662b8 "double free or corruption (out)", action=1) at malloc.c:4965
#10 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3834
#11 0x00007f2b49a5989c in __GI___libc_free (mem=<optimized out>) at malloc.c:2950
#12 0x00007f2b466720b2 in QMetaCallEvent::~QMetaCallEvent (this=0x7f2b2c005330, __in_chrg=<optimized out>) at kernel/qobject.cpp:466
#13 0x00007f2b46672109 in QMetaCallEvent::~QMetaCallEvent (this=0x7f2b2c005330, __in_chrg=<optimized out>) at kernel/qobject.cpp:475
#14 0x00007f2b46646587 in QCoreApplication::removePostedEvents (receiver=0xf57f30, eventType=eventType@entry=0) at kernel/qcoreapplication.cpp:1629
#15 0x00007f2b466726fa in QObjectPrivate::~QObjectPrivate (this=0xf58270, __in_chrg=<optimized out>) at kernel/qobject.cpp:234
#16 0x00007f2b46672809 in QObjectPrivate::~QObjectPrivate (this=0xf58270, __in_chrg=<optimized out>) at kernel/qobject.cpp:245
#17 0x00007f2b4667d83b in cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:54
#18 ~QScopedPointer (this=0xf57f38, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:101
#19 QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:882
#20 0x00007f2b36aee619 in QXcbConnection::~QXcbConnection (this=0xf57f30, __in_chrg=<optimized out>) at qxcbconnection.cpp:450
#21 0x00007f2b36af2d3e in qDeleteAll<QList<QXcbConnection*>::const_iterator> (end=..., begin=...) at ../../../../include/QtCore/../../src/corelib/tools/qalgorithms.h:315
#22 qDeleteAll<QList<QXcbConnection*> > (c=...) at ../../../../include/QtCore/../../src/corelib/tools/qalgorithms.h:323
#23 QXcbIntegration::~QXcbIntegration (this=0xf3d030, __in_chrg=<optimized out>) at qxcbintegration.cpp:189
#24 0x00007f2b36af2e19 in QXcbIntegration::~QXcbIntegration (this=0xf3d030, __in_chrg=<optimized out>) at qxcbintegration.cpp:190
#25 0x00007f2b469875c0 in QGuiApplicationPrivate::~QGuiApplicationPrivate (this=0xf329d0, __in_chrg=<optimized out>) at kernel/qguiapplication.cpp:1374
#26 0x00007f2b46f484e9 in QApplicationPrivate::~QApplicationPrivate (this=0xf329d0, __in_chrg=<optimized out>) at kernel/qapplication.cpp:183
#27 0x00007f2b4667d83b in cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:54
#28 ~QScopedPointer (this=0x7ffd46910848, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:101
#29 QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:882
#30 0x00007f2b46f4a133 in QApplication::~QApplication (this=0x7ffd46910840, __in_chrg=<optimized out>) at kernel/qapplication.cpp:803
#31 0x00007f2b49dc0879 in kdemain (argc=1, argv=0x7ffd46910988) at ../../src/main.cpp:87
#32 0x00007f2b499f5a40 in __libc_start_main (main=0x400730 <main(int, char**)>, argc=1, argv=0x7ffd46910988, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd46910978) at libc-start.c:289
#33 0x0000000000400769 in _start ()

Possible duplicates by query: bug 349535, bug 348828, bug 347129, bug 346593, bug 346576.

Reported using DrKonqi
Comment 1 Ilya V. Portnov 2015-10-25 13:39:00 UTC
Affects me too. Kubuntu 15.10 updated from kubuntu 15.04.

Application: Konsole (konsole), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f23f4c3d267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f23f4c3eeca in __GI_abort () at abort.c:89
#8  0x00007f23f4c80c53 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7f23f4d991a8 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007f23f4c88c69 in malloc_printerr (ptr=<optimized out>, str=0x7f23f4d992b8 "double free or corruption (out)", action=1) at malloc.c:4965
#10 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3834
#11 0x00007f23f4c8c89c in __GI___libc_free (mem=<optimized out>) at malloc.c:2950
#12 0x00007f23f191fb93 in QMetaCallEvent::~QMetaCallEvent (this=0x7f23d8003af0, __in_chrg=<optimized out>) at kernel/qobject.cpp:466
#13 0x00007f23f191fbe9 in QMetaCallEvent::~QMetaCallEvent (this=0x7f23d8003af0, __in_chrg=<optimized out>) at kernel/qobject.cpp:475
#14 0x00007f23f18f4807 in QCoreApplication::removePostedEvents (receiver=0xdfd500, eventType=eventType@entry=0) at kernel/qcoreapplication.cpp:1629
#15 0x00007f23f1921e92 in QObjectPrivate::~QObjectPrivate (this=0xdfd840, __in_chrg=<optimized out>) at kernel/qobject.cpp:234
#16 0x00007f23f1921fb9 in QObjectPrivate::~QObjectPrivate (this=0xdfd840, __in_chrg=<optimized out>) at kernel/qobject.cpp:245
#17 0x00007f23f192a668 in QScopedPointerDeleter<QObjectData>::cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:54
#18 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer (this=0xdfd508, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:101
#19 QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:882
#20 0x00007f23e1e0f229 in QXcbConnection::~QXcbConnection (this=0xdfd500, __in_chrg=<optimized out>) at qxcbconnection.cpp:450
#21 0x00007f23e1e12a4e in qDeleteAll<QList<QXcbConnection*>::const_iterator> (end=..., begin=...) at ../../../../include/QtCore/../../src/corelib/tools/qalgorithms.h:315
#22 qDeleteAll<QList<QXcbConnection*> > (c=...) at ../../../../include/QtCore/../../src/corelib/tools/qalgorithms.h:323
#23 QXcbIntegration::~QXcbIntegration (this=0xde9620, __in_chrg=<optimized out>) at qxcbintegration.cpp:189
#24 0x00007f23e1e12b49 in QXcbIntegration::~QXcbIntegration (this=0xde9620, __in_chrg=<optimized out>) at qxcbintegration.cpp:190
#25 0x00007f23f1c0b13e in QGuiApplicationPrivate::~QGuiApplicationPrivate (this=0xdde1a0, __in_chrg=<optimized out>) at kernel/qguiapplication.cpp:1374
#26 0x00007f23f21bac49 in QApplicationPrivate::~QApplicationPrivate (this=0xdde1a0, __in_chrg=<optimized out>) at kernel/qapplication.cpp:183
#27 0x00007f23f192a668 in QScopedPointerDeleter<QObjectData>::cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:54
#28 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer (this=0x7ffc41831018, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:101
#29 QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:882
#30 0x00007f23f21bc9ab in QApplication::~QApplication (this=0x7ffc41831010, __in_chrg=<optimized out>) at kernel/qapplication.cpp:803
#31 0x00007f23f4ff3be5 in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_konsole.so
#32 0x00007f23f4c28a40 in __libc_start_main (main=0x400730 <main>, argc=1, argv=0x7ffc41831158, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc41831148) at libc-start.c:289
#33 0x0000000000400769 in _start ()
Comment 2 Mikołaj Andrulonis 2016-04-26 23:05:11 UTC
Created attachment 98631 [details]
New crash information added by DrKonqi

konsole (15.12.3) using Qt 5.5.1

- What I was doing when the application crashed:

Crash Report window sometimes opens the moment I close Konsole window. The same happens for other applications.

-- Backtrace (Reduced):
#6  0x00007fada75cf418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007fada75d101a in __GI_abort () at abort.c:89
[...]
#9  0x00007fada7619f4a in malloc_printerr (ar_ptr=<optimized out>, ptr=<optimized out>, str=0x7fada772a7c0 "double free or corruption (out)", action=3) at malloc.c:5007
#10 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3868
#11 0x00007fada761dabc in __GI___libc_free (mem=<optimized out>) at malloc.c:2969
Comment 3 Martin Sandsmark 2016-08-13 17:44:44 UTC

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