[konsole] [Bug 371776] New: Konsole crash when opening lots of Konsoles

Maarten ter Huurne bugzilla_noreply at kde.org
Fri Oct 28 09:06:57 UTC 2016


            Bug ID: 371776
           Summary: Konsole crash when opening lots of Konsoles
           Product: konsole
           Version: 15.12.3
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: maarten at treewalker.org
  Target Milestone: ---

Application: konsole (15.12.3)

Qt Version: 5.7.0
Frameworks Version: 5.27.0
Operating System: Linux 4.1.34-33-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

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

I was trying to find a way to reproduce bug 369050. I noticed that when I keep
starting lots of Konsole instances (between 10 and 100), eventually they all
crash during the startup of another instance.

However, the backtrace from this crash is different from bug 369050; there
seems to be a heap corruption (that's the only way I can explain a crash on
malloc, since the system wasn't out of memory). So I don't know whether heap
corruption is the root cause for both crashes and just manifests in different
ways, or whether it is two separate bugs.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Konsole (konsole), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff5ca52f800 (LWP 18579))]

Thread 2 (Thread 0x7ff5b6a3c700 (LWP 18580)):
#0  QMutex::lock (this=this at entry=0x21688d0) at thread/qmutex.cpp:225
#1  0x00007ff5c64afe75 in QMutexLocker::QMutexLocker (m=0x21688d0,
this=<synthetic pointer>) at ../../src/corelib/thread/qmutex.h:137
#2  QThreadData::canWaitLocked (this=0x21688a0) at
#3  postEventSourcePrepare (s=0x7ff5b0003600,
timeout=timeout at entry=0x7ff5b6a3bbe4) at kernel/qeventdispatcher_glib.cpp:259
#4  0x00007ff5bf2f34ad in g_main_context_prepare
(context=context at entry=0x7ff5b0001b00, priority=priority at entry=0x7ff5b6a3bc68)
at gmain.c:3410
#5  0x00007ff5bf2f3d80 in g_main_context_iterate
(context=context at entry=0x7ff5b0001b00, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3788
#6  0x00007ff5bf2f3f7c in g_main_context_iteration (context=0x7ff5b0001b00,
may_block=1) at gmain.c:3869
#7  0x00007ff5c64aff4b in QEventDispatcherGlib::processEvents
(this=0x7ff5b00008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#8  0x00007ff5c645f89b in QEventLoop::exec (this=this at entry=0x7ff5b6a3bda0,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:210
#9  0x00007ff5c62a602a in QThread::exec (this=this at entry=0x7ff5c48e4d00
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
#10 0x00007ff5c467daa5 in QDBusConnectionManager::run (this=0x7ff5c48e4d00
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
#11 0x00007ff5c62aa859 in QThreadPrivate::start (arg=0x7ff5c48e4d00 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
#12 0x00007ff5c0fcd0a4 in start_thread () from /lib64/libpthread.so.0
#13 0x00007ff5c9e7502d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ff5ca52f800 (LWP 18579)):
[KCrash Handler]
#6  0x00007ff5c9dc50c7 in raise () from /lib64/libc.so.6
#7  0x00007ff5c9dc6478 in abort () from /lib64/libc.so.6
#8  0x00007ff5c9e02784 in __libc_message () from /lib64/libc.so.6
#9  0x00007ff5c9e08026 in malloc_printerr () from /lib64/libc.so.6
#10 0x00007ff5c9e082e2 in malloc_consolidate () from /lib64/libc.so.6
#11 0x00007ff5c9e08cfb in _int_free () from /lib64/libc.so.6
#12 0x00007ff5c646362c in QScopedPointerDeleter<QEvent>::cleanup
(pointer=0x7ff5b000d000) at ../../src/corelib/tools/qscopedpointer.h:60
#13 QScopedPointer<QEvent, QScopedPointerDeleter<QEvent> >::~QScopedPointer
(this=<synthetic pointer>, __in_chrg=<optimized out>) at
#14 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver at entry=0x0,
event_type=event_type at entry=0, data=0x2153770) at
#15 0x00007ff5c6463b68 in QCoreApplication::sendPostedEvents
(receiver=receiver at entry=0x0, event_type=event_type at entry=0) at
#16 0x00007ff5c64b06e3 in postEventSourceDispatch (s=0x21caff0) at
#17 0x00007ff5bf2f3c84 in g_main_dispatch (context=0x7ff5b0002450) at
#18 g_main_context_dispatch (context=context at entry=0x7ff5b0002450) at
#19 0x00007ff5bf2f3ed8 in g_main_context_iterate
(context=context at entry=0x7ff5b0002450, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3808
#20 0x00007ff5bf2f3f7c in g_main_context_iteration (context=0x7ff5b0002450,
may_block=1) at gmain.c:3869
#21 0x00007ff5c64aff2c in QEventDispatcherGlib::processEvents (this=0x216c0c0,
flags=...) at kernel/qeventdispatcher_glib.cpp:423
#22 0x00007ff5c645f89b in QEventLoop::exec (this=this at entry=0x7fff44b83b30,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:210
#23 0x00007ff5c6467696 in QCoreApplication::exec () at
#24 0x00007ff5ca160e87 in kdemain () from /usr/lib64/libkdeinit5_konsole.so
#25 0x00007ff5c9db1b25 in __libc_start_main () from /lib64/libc.so.6
#26 0x00000000004007ee in _start ()

Reported using DrKonqi

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

More information about the konsole-devel mailing list