Bug 383944

Summary: Kdeinit5 needs restart after Dolphin is closed after some manipulation on files
Product: [Applications] dolphin Reporter: bruno <lcb1>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: elvis.angelaccio, gilbert.maillot, mail
Priority: NOR Keywords: drkonqi
Version: 16.12.3   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description bruno 2017-08-24 10:29:27 UTC
Application: kdeinit5 (16.12.3)

Qt Version: 5.6.2
Frameworks Version: 5.32.0
Operating System: Linux 4.9.43-desktop-1.mga6 x86_64
Distribution: "Mageia 6"

-- Information about the crash:
This happens since upgrade to Mageia 6

noyau : 4.9.43-desktop-1.mga6
arch: 64-bit
Bureau : KDE Plasma

The crash can be reproduced sometimes.

-- Backtrace:
Application: Dolphin (kdeinit5), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f62f85c8800 (LWP 5465))]

Thread 4 (Thread 0x7f62d9413700 (LWP 5468)):
#0  0x00007f62f3776241 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#1  0x00007f62f3776bc3 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f62f3776d9c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f62f7108e2b in QEventDispatcherGlib::processEvents (this=0x7f62cc0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007f62f70b449a in QEventLoop::exec (this=this@entry=0x7f62d9412de0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:206
#5  0x00007f62f6eee3bc in QThread::exec (this=<optimized out>) at thread/qthread.cpp:500
#6  0x00007f62f6ef2ff9 in QThreadPrivate::start (arg=0x1a357a0) at thread/qthread_unix.cpp:365
#7  0x00007f62f44c566d in start_thread () from /lib64/libpthread.so.0
#8  0x00007f62f6b89e4d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f62db05e700 (LWP 5467)):
#0  0x00007f62f44cda7a in __lll_unlock_wake () from /lib64/libpthread.so.0
#1  0x00007f62f44c8f2f in pthread_mutex_unlock () from /lib64/libpthread.so.0
#2  0x00007f62f4f04015 in ?? () from /usr/lib64/nvidia-current/libGL.so.1
#3  0x00007f62f4f096eb in ?? () from /usr/lib64/nvidia-current/libGL.so.1
#4  0x00007f62f27ea0f1 in ?? () from /usr/lib64/nvidia-current/tls/libnvidia-tls.so.384.59
#5  0x00007f62f37ba690 in g_wakeup_acknowledge () from /lib64/libglib-2.0.so.0
#6  0x00007f62f377679e in g_main_context_check () from /lib64/libglib-2.0.so.0
#7  0x00007f62f3776c38 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#8  0x00007f62f3776d9c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#9  0x00007f62f7108e2b in QEventDispatcherGlib::processEvents (this=0x7f62d40008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#10 0x00007f62f70b449a in QEventLoop::exec (this=this@entry=0x7f62db05ddb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:206
#11 0x00007f62f6eee3bc in QThread::exec (this=this@entry=0x7f62f8560d40 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:500
#12 0x00007f62f84ef635 in QDBusConnectionManager::run (this=0x7f62f8560d40 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:189
#13 0x00007f62f6ef2ff9 in QThreadPrivate::start (arg=0x7f62f8560d40 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:365
#14 0x00007f62f44c566d in start_thread () from /lib64/libpthread.so.0
#15 0x00007f62f6b89e4d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f62e0d43700 (LWP 5466)):
#0  0x00007f62f6b7e00d in poll () from /lib64/libc.so.6
#1  0x00007f62f7ac7902 in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f62f7ac9657 in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f62e3a14be9 in QXcbEventReader::run (this=0x14bd6c0) at qxcbconnection.cpp:1331
#4  0x00007f62f6ef2ff9 in QThreadPrivate::start (arg=0x14bd6c0) at thread/qthread_unix.cpp:365
#5  0x00007f62f44c566d in start_thread () from /lib64/libpthread.so.0
#6  0x00007f62f6b89e4d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f62f85c8800 (LWP 5465)):
[KCrash Handler]
#6  0x00007f62f6ac7818 in raise () from /lib64/libc.so.6
#7  0x00007f62f6ac8f2a in abort () from /lib64/libc.so.6
#8  0x00007f62f6edaf6e in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1648
#9  QMessageLogger::fatal (this=this@entry=0x7fff3b171d30, msg=msg@entry=0x7f62f85486a8 "Internal error: got invalid meta type %d (%s) when trying to convert to meta type %d (%s)") at global/qlogging.cpp:790
#10 0x00007f62f84fa739 in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:940
#11 0x00007f62f70e23aa in QObject::event (this=0x170b0f0, e=<optimized out>) at kernel/qobject.cpp:1256
#12 0x00007f62f596dd0c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x170b0f0, e=0x7f62d400fd10) at kernel/qapplication.cpp:3804
#13 0x00007f62f5972e76 in QApplication::notify (this=0x7fff3b172400, receiver=0x170b0f0, e=0x7f62d400fd10) at kernel/qapplication.cpp:3561
#14 0x00007f62f70b6628 in QCoreApplication::notifyInternal2 (receiver=0x170b0f0, event=event@entry=0x7f62d400fd10) at kernel/qcoreapplication.cpp:1015
#15 0x00007f62f70b844b in QCoreApplication::sendEvent (event=0x7f62d400fd10, receiver=<optimized out>) at kernel/qcoreapplication.h:225
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1465dc0) at kernel/qcoreapplication.cpp:1650
#17 0x00007f62f70b8918 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1508
#18 0x00007f62f71089f3 in postEventSourceDispatch (s=0x14dd250) at kernel/qeventdispatcher_glib.cpp:270
#19 0x00007f62f3776ac7 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#20 0x00007f62f3776cf8 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#21 0x00007f62f3776d9c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#22 0x00007f62f7108e06 in QEventDispatcherGlib::processEvents (this=0x14e6c40, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#23 0x00007f62f70b449a in QEventLoop::exec (this=this@entry=0x7fff3b1722d0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:206
#24 0x00007f62f70bc7e1 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1285
#25 0x00007f62f73f08ec in QGuiApplication::exec () at kernel/qguiapplication.cpp:1607
#26 0x00007f62f596af15 in QApplication::exec () at kernel/qapplication.cpp:2979
#27 0x00007f62ed4293f6 in kdemain (argc=1, argv=<optimized out>) at /usr/src/debug/dolphin-16.12.3/src/main.cpp:150
#28 0x000000000040818f in launch (argc=argc@entry=1, _name=_name@entry=0x1529878 "/bin/dolphin", args=<optimized out>, args@entry=0x1529885 "", cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x152988d "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x1529895 "localhost.localdomain;1503567435;455967;2667_TIME1707782") at /usr/src/debug/kinit-5.32.0/src/kdeinit/kinit.cpp:705
#29 0x0000000000409437 in handle_launcher_request (sock=8, who=<optimized out>) at /usr/src/debug/kinit-5.32.0/src/kdeinit/kinit.cpp:1147
#30 0x0000000000409bd6 in handle_requests (waitForPid=waitForPid@entry=0) at /usr/src/debug/kinit-5.32.0/src/kdeinit/kinit.cpp:1338
#31 0x0000000000404dd3 in main (argc=5, argv=<optimized out>) at /usr/src/debug/kinit-5.32.0/src/kdeinit/kinit.cpp:1784

Possible duplicates by query: bug 349162, bug 339964.

Reported using DrKonqi
Comment 1 bruno 2017-08-26 10:30:38 UTC
Another report

Application: kdeinit5 (kdeinit5), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5d6a119800 (LWP 3248))]

Thread 2 (Thread 0x7f5d50c5d700 (LWP 3250)):
[KCrash Handler]
#6  0x00007f5d68618818 in raise () from /lib64/libc.so.6
#7  0x00007f5d68619f2a in abort () from /lib64/libc.so.6
#8  0x00007f5d6865743a in __libc_message () from /lib64/libc.so.6
#9  0x00007f5d6865e246 in malloc_consolidate () from /lib64/libc.so.6
#10 0x00007f5d68661b27 in _int_malloc () from /lib64/libc.so.6
#11 0x00007f5d686645b3 in calloc () from /lib64/libc.so.6
#12 0x00007f5d6433b3e3 in ?? () from /usr/lib64/nvidia-current/tls/libnvidia-tls.so.384.59
#13 0x00007f5d652cced1 in g_malloc0 () from /lib64/libglib-2.0.so.0
#14 0x00007f5d652e593d in g_slice_free1 () from /lib64/libglib-2.0.so.0
#15 0x00007f5d660153d9 in __nptl_deallocate_tsd.part.4 () from /lib64/libpthread.so.0
#16 0x00007f5d66016809 in start_thread () from /lib64/libpthread.so.0
#17 0x00007f5d686dae4d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f5d6a119800 (LWP 3248)):
#0  0x00007f5d686e832b in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x00007f5d686607d5 in _int_free () from /lib64/libc.so.6
#2  0x00007f5d68663db8 in free () from /lib64/libc.so.6
#3  0x00007f5d68a45241 in QArrayData::deallocate (data=<optimized out>, objectSize=<optimized out>, alignment=<optimized out>) at tools/qarraydata.cpp:142
#4  0x00007f5d68c187e8 in QTypedArrayData<QCustomTypeInfo>::deallocate (data=0x7f5d4400c6f0) at ../../src/corelib/tools/qarraydata.h:222
#5  QVector<QCustomTypeInfo>::freeData (this=<optimized out>, x=0x7f5d4400c6f0) at ../../src/corelib/tools/qvector.h:522
#6  QVector<QCustomTypeInfo>::~QVector (this=<optimized out>, __in_chrg=<optimized out>) at ../../src/corelib/tools/qvector.h:69
#7  (anonymous namespace)::Q_QGS_customTypes::Holder::~Holder (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qmetatype.cpp:570
#8  0x00007f5d6861b7af in __cxa_finalize () from /lib64/libc.so.6
#9  0x00007f5d68a165f3 in __do_global_dtors_aux () from /lib64/libQt5Core.so.5
#10 0x00007ffe716ea7a0 in ?? ()
#11 0x00007f5d69fd5a17 in _dl_fini () from /lib64/ld-linux-x86-64.so.2
Backtrace stopped: frame did not save the PC
Comment 2 Christoph Feck 2018-02-11 14:57:06 UTC
*** Bug 389997 has been marked as a duplicate of this bug. ***
Comment 3 bruno 2018-02-11 18:03:09 UTC
This bug is still there by the way
Comment 4 Julian Steinmann 2019-02-24 09:50:08 UTC
Does this crash still happen? Mageia 6 ships with a very old version of Dolphin and there have been many fixes and updates since. Would it be possible for you to upgrade Dolphin to a newer version (preferably 18.12.2) and test whether this crash does still happen or not?
Comment 5 bruno 2019-02-24 10:44:44 UTC
No it doesn't, that was some time ago !
Am I supposed to close this case in some way?
Comment 6 Julian Steinmann 2019-02-24 10:51:47 UTC
Nope, we do that for you. Thanks for your fast response!