Bug 364685

Summary: Kconsole crashs - maybe becuase started from PyQt5 app
Product: [Applications] konsole Reporter: Barry Scott <barry>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 16.04.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Barry Scott 2016-06-23 20:21:29 UTC
Application: konsole (16.04.1)

Qt Version: 5.6.0
Frameworks Version: 5.22.0
Operating System: Linux 4.5.7-300.fc24.x86_64 x86_64
Distribution (Platform): Fedora RPMs

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

I run a PyQt5 application that allows Konsole processes to be created.

Maybe this is related to the crash.

I am happy to test patches that investigate the problem of may fix it.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Konsole (konsole), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
84	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f967a79e980 (LWP 13230))]

Thread 2 (Thread 0x7f967a593700 (LWP 13231)):
#0  0x00007f9688bee32d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f968472fa46 in g_main_context_iterate (priority=<optimized out>, n_fds=1, fds=0x7f96740033b0, timeout=<optimized out>, context=0x7f9674001600) at gmain.c:4135
#2  0x00007f968472fa46 in g_main_context_iterate (context=context@entry=0x7f9674001600, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3835
#3  0x00007f968472fb5c in g_main_context_iteration (context=0x7f9674001600, may_block=may_block@entry=1) at gmain.c:3901
#4  0x00007f96899f265b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f96740008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007f96899a1a6a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f967a592c00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f9689801a03 in QThread::exec() (this=this@entry=0x7f968fb82060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:503
#7  0x00007f968fb0d3b9 in QDBusConnectionManager::run() (this=0x7f968fb82060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:181
#8  0x00007f968980603a in QThreadPrivate::start(void*) (arg=0x7f968fb82060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:340
#9  0x00007f9686f655ca in start_thread (arg=0x7f967a593700) at pthread_create.c:333
#10 0x00007f9688bf9ead in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f967a79e980 (LWP 13230)):
[KCrash Handler]
#6  0x00007f9688b2b6f5 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007f9688b2d2fa in __GI_abort () at abort.c:89
#8  0x00007f96897f2321 in QMessageLogger::fatal(char const*, ...) const (context=..., message=<synthetic pointer>) at global/qlogging.cpp:1610
#9  0x00007f96897f2321 in QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7ffec5ad59a0, msg=msg@entry=0x7f968fb69dd0 "Internal error: got invalid meta type %d (%s) when trying to convert to meta type %d (%s)") at global/qlogging.cpp:784
#10 0x00007f968fb190ed in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int) (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:940
#11 0x00007f96899cc059 in QObject::event(QEvent*) (this=0x55d3cc06c550, e=<optimized out>) at kernel/qobject.cpp:1256
#12 0x00007f968a23434c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55d3cc06c550, e=0x7f9674015560) at kernel/qapplication.cpp:3714
#13 0x00007f968a23952f in QApplication::notify(QObject*, QEvent*) (this=0x7ffec5ad60d0, receiver=0x55d3cc06c550, e=0x7f9674015560) at kernel/qapplication.cpp:3495
#14 0x00007f96899a2bfa in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55d3cc06c550, event=event@entry=0x7f9674015560) at kernel/qcoreapplication.cpp:1015
#15 0x00007f96899a4c9f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x7f9674015560, receiver=<optimized out>) at kernel/qcoreapplication.h:227
#16 0x00007f96899a4c9f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55d3cbcc30b0) at kernel/qcoreapplication.cpp:1650
#17 0x00007f96899a51b8 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1508
#18 0x00007f96899f25c3 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=s@entry=0x55d3cbd4a930) at kernel/qeventdispatcher_glib.cpp:270
#19 0x00007f968472f703 in g_main_context_dispatch (context=0x7f9674001710) at gmain.c:3154
#20 0x00007f968472f703 in g_main_context_dispatch (context=context@entry=0x7f9674001710) at gmain.c:3769
#21 0x00007f968472fab0 in g_main_context_iterate (context=context@entry=0x7f9674001710, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#22 0x00007f968472fb5c in g_main_context_iteration (context=0x7f9674001710, may_block=may_block@entry=1) at gmain.c:3901
#23 0x00007f96899f263f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55d3cbd4f680, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#24 0x00007f96899a1a6a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffec5ad5fa0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#25 0x00007f96899a95fc in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1285
#26 0x00007f9689cd5e8c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1598
#27 0x00007f968a2313c5 in QApplication::exec() () at kernel/qapplication.cpp:2973
#28 0x00007f968f82947e in kdemain(int, char**) (argc=8, argv=0x7ffec5ad6218) at /usr/src/debug/konsole-16.04.1/src/main.cpp:125
#29 0x00007f9688b17731 in __libc_start_main (main=0x55d3cb807ad0 <main>, argc=8, argv=0x7ffec5ad6218, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffec5ad6208) at ../csu/libc-start.c:289
#30 0x000055d3cb807b09 in _start ()

Possible duplicates by query: bug 362635, bug 362228, bug 355096, bug 353914, bug 353748.

Reported using DrKonqi
Comment 1 Christoph Feck 2016-10-23 02:22:37 UTC

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