[konsole] [Bug 341818] Crash after search of a command using Ctrl+Shift+R, execute it and then execute exit.

Kristian via KDE Bugzilla bugzilla_noreply at kde.org
Sun Aug 28 15:32:56 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=341818

Kristian <kde-bugs at kristiankoch.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kde-bugs at kristiankoch.com

--- Comment #14 from Kristian <kde-bugs at kristiankoch.com> ---
Similar symptoms with Arch Linux here. Happens more or less regularly when
konsole is closed with CTRL + D.

Here's a backtrace:

Application: Konsole (konsole), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f05b1e6b0c0 (LWP 12778))]

Thread 2 (Thread 0x7f059cd13700 (LWP 12779)):
#0  0x00007f05a6c26f84 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0
#1  0x00007f05a6be25ac in g_main_context_prepare () from
/usr/lib/libglib-2.0.so.0
#2  0x00007f05a6be2f8b in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007f05a6be317c in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#4  0x00007f05add855ab in QEventDispatcherGlib::processEvents
(this=0x7f05980008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f05add2f0ea in QEventLoop::exec (this=this at entry=0x7f059cd12d50,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:210
#6  0x00007f05adb520f3 in QThread::exec (this=this at entry=0x7f05ac111d20
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread.cpp:507
#7  0x00007f05abea0645 in QDBusConnectionManager::run (this=0x7f05ac111d20
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:196
#8  0x00007f05adb56d78 in QThreadPrivate::start (arg=0x7f05ac111d20 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:344
#9  0x00007f05a8769454 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f05b186f7df in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f05b1e6b0c0 (LWP 12778)):
[KCrash Handler]
#5  0x00007f05b17ba04f in raise () from /usr/lib/libc.so.6
#6  0x00007f05b17bb47a in abort () from /usr/lib/libc.so.6
#7  0x00007f05b17f7c50 in __libc_message () from /usr/lib/libc.so.6
#8  0x00007f05b17fdfe6 in malloc_printerr () from /usr/lib/libc.so.6
#9  0x00007f05b17fe7de in _int_free () from /usr/lib/libc.so.6
#10 0x00007f05add5a01c in QMetaCallEvent::~QMetaCallEvent (this=0x7f0590003550,
__in_chrg=<optimized out>) at kernel/qobject.cpp:484
#11 0x00007f05add5a079 in QMetaCallEvent::~QMetaCallEvent (this=0x7f0590003550,
__in_chrg=<optimized out>) at kernel/qobject.cpp:492
#12 0x00007f05add33aef in QCoreApplication::removePostedEvents
(receiver=0x938aa0, eventType=eventType at entry=0) at
kernel/qcoreapplication.cpp:1726
#13 0x00007f05add5bd3d in QObjectPrivate::~QObjectPrivate (this=0x938e20,
__in_chrg=<optimized out>) at kernel/qobject.cpp:251
#14 0x00007f05add5bea9 in QObjectPrivate::~QObjectPrivate (this=0x938e20,
__in_chrg=<optimized out>) at kernel/qobject.cpp:262
#15 0x00007f05add64557 in QScopedPointerDeleter<QObjectData>::cleanup
(pointer=<optimized out>) at
../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:60
#16 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData>
>::~QScopedPointer (this=0x938aa8, __in_chrg=<optimized out>) at
../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:107
#17 QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at
kernel/qobject.cpp:900
#18 0x00007f0597b3c379 in QXcbConnection::~QXcbConnection (this=0x938aa0,
__in_chrg=<optimized out>) at qxcbconnection.cpp:715
#19 0x00007f0597b3dcb6 in qDeleteAll<QList<QXcbConnection*>::const_iterator>
(end=..., begin=...) at
../../../../include/QtCore/../../src/corelib/tools/qalgorithms.h:323
#20 qDeleteAll<QList<QXcbConnection*> > (c=...) at
../../../../include/QtCore/../../src/corelib/tools/qalgorithms.h:331
#21 QXcbIntegration::~QXcbIntegration (this=0x924ec0, __in_chrg=<optimized
out>) at qxcbintegration.cpp:199
#22 0x00007f0597b3ddb9 in QXcbIntegration::~QXcbIntegration (this=0x924ec0,
__in_chrg=<optimized out>) at qxcbintegration.cpp:201
#23 0x00007f05ae2759d3 in QGuiApplicationPrivate::~QGuiApplicationPrivate
(this=0x91b3b0, __in_chrg=<optimized out>) at kernel/qguiapplication.cpp:1502
#24 0x00007f05aea0f739 in QApplicationPrivate::~QApplicationPrivate
(this=0x91b3b0, __in_chrg=<optimized out>) at kernel/qapplication.cpp:199
#25 0x00007f05add64557 in QScopedPointerDeleter<QObjectData>::cleanup
(pointer=<optimized out>) at
../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:60
#26 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData>
>::~QScopedPointer (this=0x7fff58b189f8, __in_chrg=<optimized out>) at
../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:107
#27 QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at
kernel/qobject.cpp:900
#28 0x00007f05add32796 in QCoreApplication::~QCoreApplication
(this=0x7fff58b189f0, __in_chrg=<optimized out>) at
kernel/qcoreapplication.cpp:821
#29 0x00007f05aea118b1 in QApplication::~QApplication (this=0x7fff58b189f0,
__in_chrg=<optimized out>) at kernel/qapplication.cpp:825
#30 0x00007f05b1b4c218 in kdemain () from /usr/lib/libkdeinit5_konsole.so
#31 0x00007f05b17a7291 in __libc_start_main () from /usr/lib/libc.so.6
#32 0x0000000000400719 in _start ()


I tried to use valgrind on konsole, but don't know if it's helpfull. Here's
what came out:

==17584== Memcheck, a memory error detector
==17584== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==17584== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==17584== Command: konsole
==17584== Parent PID: 17577
==17584== 
==17584== 
==17584== HEAP SUMMARY:
==17584==     in use at exit: 108,943 bytes in 330 blocks
==17584==   total heap usage: 4,449 allocs, 4,119 frees, 992,954,038 bytes
allocated
==17584== 
==17584== LEAK SUMMARY:
==17584==    definitely lost: 0 bytes in 0 blocks
==17584==    indirectly lost: 0 bytes in 0 blocks
==17584==      possibly lost: 0 bytes in 0 blocks
==17584==    still reachable: 108,943 bytes in 330 blocks
==17584==         suppressed: 0 bytes in 0 blocks
==17584== Reachable blocks (those to which a pointer was found) are not shown.
==17584== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==17584== 
==17584== For counts of detected and suppressed errors, rerun with: -v
==17584== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==17589== 
==17589== Process terminating with default action of signal 6 (SIGABRT):
dumping core
==17589==    at 0x50AE04F: raise (in /usr/lib/libc-2.24.so)
==17589==    by 0x50AF479: abort (in /usr/lib/libc-2.24.so)
==17589==    by 0x8AB24A0: qt_message_fatal (qlogging.cpp:1680)
==17589==    by 0x8AB24A0: QMessageLogger::fatal(char const*, ...) const
(qlogging.cpp:793)
==17589==    by 0x1C8CE58D:
QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, unsigned int, char
const*) (qxcbconnection.cpp:592)
==17589==    by 0x1C8D174D: QXcbIntegration::QXcbIntegration(QStringList
const&, int&, char**) (qxcbintegration.cpp:186)
==17589==    by 0x1C68E32C: QXcbIntegrationPlugin::create(QString const&,
QStringList const&, int&, char**) (qxcbmain.cpp:56)
==17589==    by 0x83CC04C: qLoadPlugin<QPlatformIntegration,
QPlatformIntegrationPlugin, const QStringList&, int&, char**&>
(qfactoryloader_p.h:103)
==17589==    by 0x83CC04C: QPlatformIntegrationFactory::create(QString const&,
QStringList const&, int&, char**, QString const&)
(qplatformintegrationfactory.cpp:71)
==17589==    by 0x83DA251: init_platform (qguiapplication.cpp:1094)
==17589==    by 0x83DA251: QGuiApplicationPrivate::createPlatformIntegration()
(qguiapplication.cpp:1263)
==17589==    by 0x83DACEC: QGuiApplicationPrivate::createEventDispatcher()
(qguiapplication.cpp:1280)
==17589==    by 0x8CAC3CE: QCoreApplicationPrivate::init()
(qcoreapplication.cpp:787)
==17589==    by 0x83DC7AE: QGuiApplicationPrivate::init()
(qguiapplication.cpp:1303)
==17589==    by 0x7BE2AE8: QApplicationPrivate::init() (qapplication.cpp:583)
==17589== 
==17589== HEAP SUMMARY:
==17589==     in use at exit: 550,210 bytes in 1,920 blocks
==17589==   total heap usage: 6,580 allocs, 4,660 frees, 993,354,487 bytes
allocated
==17589== 
==17589== 128 bytes in 1 blocks are definitely lost in loss record 1,011 of
1,181
==17589==    at 0x4C29BBE: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==17589==    by 0x8ACD014: QArrayData::allocate(unsigned long, unsigned long,
unsigned long, QFlags<QArrayData::AllocationOption>) (qarraydata.cpp:114)
==17589==    by 0x8B51D76: allocate (qarraydata.h:222)
==17589==    by 0x8B51D76: QString::reallocData(unsigned int, bool)
(qstring.cpp:1771)
==17589==    by 0x8B51EB7: QString::resize(int) (qstring.cpp:1685)
==17589==    by 0x8B58D81: append_utf8 (qstring.cpp:5919)
==17589==    by 0x8B58D81: QString::vasprintf(char const*, __va_list_tag*)
(qstring.cpp:6012)
==17589==    by 0x8AB088D: qt_message(QtMsgType, QMessageLogContext const&,
char const*, __va_list_tag*) (qlogging.cpp:277)
==17589==    by 0x8AB2488: QMessageLogger::fatal(char const*, ...) const
(qlogging.cpp:790)
==17589==    by 0x1C8CE58D:
QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, unsigned int, char
const*) (qxcbconnection.cpp:592)
==17589==    by 0x1C8D174D: QXcbIntegration::QXcbIntegration(QStringList
const&, int&, char**) (qxcbintegration.cpp:186)
==17589==    by 0x1C68E32C: QXcbIntegrationPlugin::create(QString const&,
QStringList const&, int&, char**) (qxcbmain.cpp:56)
==17589==    by 0x83CC04C: qLoadPlugin<QPlatformIntegration,
QPlatformIntegrationPlugin, const QStringList&, int&, char**&>
(qfactoryloader_p.h:103)
==17589==    by 0x83CC04C: QPlatformIntegrationFactory::create(QString const&,
QStringList const&, int&, char**, QString const&)
(qplatformintegrationfactory.cpp:71)
==17589==    by 0x83DA251: init_platform (qguiapplication.cpp:1094)
==17589==    by 0x83DA251: QGuiApplicationPrivate::createPlatformIntegration()
(qguiapplication.cpp:1263)
==17589== 
==17589== 368 bytes in 1 blocks are possibly lost in loss record 1,105 of 1,181
==17589==    at 0x4C2BA4A: calloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==17589==    by 0x4011B91: allocate_dtv (in /usr/lib/ld-2.24.so)
==17589==    by 0x401251D: _dl_allocate_tls (in /usr/lib/ld-2.24.so)
==17589==    by 0xE228FE9: pthread_create@@GLIBC_2.2.5 (in
/usr/lib/libpthread-2.24.so)
==17589==    by 0x8ACB278: QThread::start(QThread::Priority)
(qthread_unix.cpp:622)
==17589==    by 0xAAA2D9C: QDBusConnectionManager::QDBusConnectionManager()
(qdbusconnection.cpp:169)
==17589==    by 0xAAA420B: Holder (qdbusconnection.cpp:76)
==17589==    by 0xAAA420B: innerFunction (qdbusconnection.cpp:76)
==17589==    by 0xAAA420B: operator() (qglobalstatic.h:135)
==17589==    by 0xAAA420B: QDBusConnection::sessionBus()
(qdbusconnection.cpp:1198)
==17589==    by 0x5B35454: ??? (in /usr/lib/libKF5KDELibs4Support.so.5.25.0)
==17589==    by 0x5B35B6E:
KUniqueApplication::start(QFlags<KUniqueApplication::StartFlag>) (in
/usr/lib/libKF5KDELibs4Support.so.5.25.0)
==17589==    by 0x4E5C1AA: kdemain (in /usr/lib/libkdeinit5_konsole.so)
==17589==    by 0x509B290: (below main) (in /usr/lib/libc-2.24.so)
==17589== 
==17589== 260,287 bytes in 1 blocks are possibly lost in loss record 1,181 of
1,181
==17589==    at 0x4C2BA4A: calloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==17589==    by 0xEDCF2A1: ??? (in /usr/lib/nvidia/libGL.so.340.96)
==17589==    by 0x149EBA60: ??? (in /usr/lib/libnvidia-glcore.so.340.96)
==17589==    by 0x146D6290: ??? (in /usr/lib/libnvidia-glcore.so.340.96)
==17589==    by 0xEDA4AFC: ??? (in /usr/lib/nvidia/libGL.so.340.96)
==17589==    by 0xEDABACD: ??? (in /usr/lib/nvidia/libGL.so.340.96)
==17589==    by 0xEDAC60D: ??? (in /usr/lib/nvidia/libGL.so.340.96)
==17589==    by 0x400F4B9: call_init.part.0 (in /usr/lib/ld-2.24.so)
==17589==    by 0x400F60A: _dl_init (in /usr/lib/ld-2.24.so)
==17589==    by 0x4000DA9: ??? (in /usr/lib/ld-2.24.so)
==17589== 
==17589== LEAK SUMMARY:
==17589==    definitely lost: 128 bytes in 1 blocks
==17589==    indirectly lost: 0 bytes in 0 blocks
==17589==      possibly lost: 260,655 bytes in 2 blocks
==17589==    still reachable: 289,427 bytes in 1,917 blocks
==17589==         suppressed: 0 bytes in 0 blocks
==17589== Reachable blocks (those to which a pointer was found) are not shown.
==17589== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==17589== 
==17589== For counts of detected and suppressed errors, rerun with: -v
==17589== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list