Bug 377747

Summary: Drkonqi crash while reporting about crash
Product: [Applications] drkonqi Reporter: opensuse.lietuviu.kalba
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: ethouris, sitter
Priority: NOR    
Version: 5.8.6   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description opensuse.lietuviu.kalba 2017-03-17 19:05:32 UTC
openSUSE 42.2 64 bit

Application: drkonqi (drkonqi), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fde9b86d8c0 (LWP 27628))]

Thread 4 (Thread 0x7fde5dffa700 (LWP 27699)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fde947f59fe in g_cond_wait_until (cond=cond@entry=0x11d2038, mutex=mutex@entry=0x11d2030, end_time=end_time@entry=49056517727) at gthread-posix.c:1441
#2  0x00007fde94789f11 in g_async_queue_pop_intern_unlocked (queue=queue@entry=0x11d2030, wait=wait@entry=1, end_time=end_time@entry=49056517727) at gasyncqueue.c:422
#3  0x00007fde9478a49b in g_async_queue_timeout_pop (queue=0x11d2030, timeout=timeout@entry=15000000) at gasyncqueue.c:543
#4  0x00007fde947d93ec in g_thread_pool_wait_for_new_pool () at gthreadpool.c:167
#5  g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:364
#6  0x00007fde947d89a5 in g_thread_proxy (data=0x7fde48003590) at gthread.c:780
#7  0x00007fde9512f734 in start_thread (arg=0x7fde5dffa700) at pthread_create.c:334
#8  0x00007fde96f36d3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fde80e0a700 (LWP 27630)):
#0  0x00007fde96f2e49d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fde947b4314 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fde7c0181b0, timeout=-1, context=0x7fde7c000990) at gmain.c:4135
#2  g_main_context_iterate (context=context@entry=0x7fde7c000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3835
#3  0x00007fde947b442c in g_main_context_iteration (context=0x7fde7c000990, may_block=1) at gmain.c:3901
#4  0x00007fde9783b32b in QEventDispatcherGlib::processEvents (this=0x7fde7c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007fde977e8fdb in QEventLoop::exec (this=this@entry=0x7fde80e09ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fde97623f1a in QThread::exec (this=this@entry=0x7fde98e7fce0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:500
#7  0x00007fde98c171d5 in QDBusConnectionManager::run (this=0x7fde98e7fce0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:189
#8  0x00007fde976289e9 in QThreadPrivate::start (arg=0x7fde98e7fce0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:341
#9  0x00007fde9512f734 in start_thread (arg=0x7fde80e0a700) at pthread_create.c:334
#10 0x00007fde96f36d3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fde88e15700 (LWP 27629)):
#0  0x00007fde96f2e49d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fde925303c2 in _xcb_conn_wait () from /usr/lib64/libxcb.so.1
#2  0x00007fde9253210f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007fde8b377839 in QXcbEventReader::run (this=0xbb4950) at qxcbconnection.cpp:1325
#4  0x00007fde976289e9 in QThreadPrivate::start (arg=0xbb4950) at thread/qthread_unix.cpp:341
#5  0x00007fde9512f734 in start_thread (arg=0x7fde88e15700) at pthread_create.c:334
#6  0x00007fde96f36d3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fde9b86d8c0 (LWP 27628)):
[KCrash Handler]
#6  0x000000000042e589 in ?? ()
#7  0x00007fde978151c3 in QtPrivate::QSlotObjectBase::call (a=0x7ffd11a1cd70, r=0xedbb50, this=0x115af70) at ../../src/corelib/kernel/qobject_impl.h:124
#8  QMetaObject::activate (sender=sender@entry=0x114be00, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffd11a1cd70) at kernel/qobject.cpp:3715
#9  0x00007fde97815717 in QMetaObject::activate (sender=sender@entry=0x114be00, m=m@entry=0x7fde97c2bfe0 <QProcess::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffd11a1cd70) at kernel/qobject.cpp:3595
#10 0x00007fde977298cf in QProcess::finished (this=this@entry=0x114be00, _t1=9, _t2=QProcess::CrashExit) at .moc/moc_qprocess.cpp:332
#11 0x00007fde9772c7c3 in QProcessPrivate::_q_processDied (this=0x112eae0) at io/qprocess.cpp:1134
#12 0x00007fde9772ca6e in QProcess::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7ffd11a1cf50) at .moc/moc_qprocess.cpp:213
#13 0x00007fde97814bb1 in QMetaObject::activate (sender=sender@entry=0x1138a50, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd11a1cf50) at kernel/qobject.cpp:3730
#14 0x00007fde97815717 in QMetaObject::activate (sender=sender@entry=0x1138a50, m=m@entry=0x7fde97c31620 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd11a1cf50) at kernel/qobject.cpp:3595
#15 0x00007fde9788e07e in QSocketNotifier::activated (this=this@entry=0x1138a50, _t1=25) at .moc/moc_qsocketnotifier.cpp:135
#16 0x00007fde97821cd9 in QSocketNotifier::event (this=0x1138a50, e=0x7ffd11a1d260) at kernel/qsocketnotifier.cpp:260
#17 0x00007fde984f1e3c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x1138a50, e=0x7ffd11a1d260) at kernel/qapplication.cpp:3804
#18 0x00007fde984f649a in QApplication::notify (this=0x7ffd11a1d660, receiver=0x1138a50, e=0x7ffd11a1d260) at kernel/qapplication.cpp:3561
#19 0x00007fde977eafc5 in QCoreApplication::notifyInternal2 (receiver=0x1138a50, event=event@entry=0x7ffd11a1d260) at kernel/qcoreapplication.cpp:1015
#20 0x00007fde9783c0de in QCoreApplication::sendEvent (event=0x7ffd11a1d260, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:225
#21 socketNotifierSourceDispatch (source=0xbe3d00) at kernel/qeventdispatcher_glib.cpp:100
#22 0x00007fde947b4134 in g_main_dispatch (context=0x7fde840016f0) at gmain.c:3154
#23 g_main_context_dispatch (context=context@entry=0x7fde840016f0) at gmain.c:3769
#24 0x00007fde947b4388 in g_main_context_iterate (context=context@entry=0x7fde840016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#25 0x00007fde947b442c in g_main_context_iteration (context=0x7fde840016f0, may_block=1) at gmain.c:3901
#26 0x00007fde9783b30c in QEventDispatcherGlib::processEvents (this=0xbf5610, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#27 0x00007fde977e8fdb in QEventLoop::exec (this=this@entry=0x7ffd11a1d470, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#28 0x00007fde977f0ec6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1285
#29 0x000000000041e97b in ?? ()
#30 0x00007fde96e6d6e5 in __libc_start_main (main=0x41da00, argc=21, argv=0x7ffd11a1d7b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd11a1d7a8) at libc-start.c:289
#31 0x000000000041eb69 in _start ()
Comment 1 Harald Sitter 2019-07-03 13:00:05 UTC
Not much to go on but at a glance this was a dangling signal that went to a nullptr. I've checked the relevant finished() signals and they are now all properly scoped so they generally shouldn't be at risk of going to a nullptr
since Plasma 5.11 or thereabouts.
Comment 2 Harald Sitter 2019-07-03 13:55:52 UTC
*** Bug 354223 has been marked as a duplicate of this bug. ***
Comment 3 Harald Sitter 2019-07-19 10:01:23 UTC
*** Bug 392091 has been marked as a duplicate of this bug. ***