Bug 462474 - Filelight crashing repeatedly
Summary: Filelight crashing repeatedly
Status: RESOLVED FIXED
Alias: None
Product: filelight
Classification: Applications
Component: general (show other bugs)
Version: 22.08.3
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-12-01 01:50 UTC by Angel Montes
Modified: 2022-12-05 00:03 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Angel Montes 2022-12-01 01:50:22 UTC
Application: filelight (22.08.3)

Qt Version: 5.15.7
Frameworks Version: 5.100.0
Operating System: Linux 6.0.10-arch2-1 x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.26.4 [KCrashBackend]

-- Information about the crash:
It has been a while since last time I used filelight. The last time I remember filelight opening it was not showing all the disks and partitions I had, if I recall correctly it was showing only one partition.

I have multiple hard drives on my PC but I'm not sure if it has anything to do with it. I tried reinstalling but so far no luck.

The crash can be reproduced every time.

-- Backtrace:
Application: Filelight (filelight), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#6  QV4::CompiledData::TypeReferenceMap::collectFromObject<QV4::CompiledData::Object> (obj=0x7ff0e40b801c, this=0x7ff0d41d5788) at /usr/include/qt/QtCore/qendian.h:290
#7  QQmlTypeData::tryLoadFromDiskCache (this=0x7ff0d41d56e0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmltypedata.cpp:162
#8  0x00007ff0ff421e35 in QQmlTypeData::dataReceived (this=0x7ff0d41d56e0, data=...) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmltypedata.cpp:580
#9  0x00007ff0ff464a7b in QQmlTypeLoader::setData (this=this@entry=0x55860a559af8, blob=blob@entry=0x7ff0d41d56e0, d=...) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmltypeloader.cpp:447
#10 0x00007ff0ff46558a in QQmlTypeLoader::setData (this=this@entry=0x55860a559af8, blob=blob@entry=0x7ff0d41d56e0, fileName=...) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmltypeloader.cpp:437
#11 0x00007ff0ff467071 in QQmlTypeLoader::loadThread (this=0x55860a559af8, blob=0x7ff0d41d56e0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmltypeloader.cpp:299
#12 0x00007ff0ff467536 in PlainLoader::loadThread (blob=0x7ff0d41d56e0, loader=0x55860a559af8, this=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmltypeloader.cpp:146
#13 QQmlTypeLoader::doLoad<PlainLoader> (loader=..., mode=QQmlTypeLoader::PreferSynchronous, blob=0x7ff0d41d56e0, this=0x55860a559af8) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmltypeloader.cpp:205
#14 QQmlTypeLoader::load (this=this@entry=0x55860a559af8, blob=blob@entry=0x7ff0d41d56e0, mode=mode@entry=QQmlTypeLoader::PreferSynchronous) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmltypeloader.cpp:237
#15 0x00007ff0ff4678fa in QQmlTypeLoader::getType (this=0x55860a559af8, unNormalizedUrl=..., mode=QQmlTypeLoader::PreferSynchronous) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmltypeloader.cpp:825
#16 0x00007ff0ff42018e in QQmlTypeData::resolveTypes (this=this@entry=0x55860a77eb10) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmltypedata.cpp:873
#17 0x00007ff0ff4211e8 in QQmlTypeData::allDependenciesDone (this=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmltypedata.cpp:743
#18 0x00007ff0ff464d12 in QQmlTypeLoader::setData (this=this@entry=0x55860a559af8, blob=blob@entry=0x55860a77eb10, d=...) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmltypeloader.cpp:450
#19 0x00007ff0ff46558a in QQmlTypeLoader::setData (this=this@entry=0x55860a559af8, blob=blob@entry=0x55860a77eb10, fileName=...) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmltypeloader.cpp:437
#20 0x00007ff0ff467071 in QQmlTypeLoader::loadThread (this=0x55860a559af8, blob=0x55860a77eb10) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmltypeloader.cpp:299
#21 0x00007ff0ff42b782 in QQmlTypeLoaderThread::loadThread (this=<optimized out>, b=0x55860a77eb10) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmltypeloaderthread.cpp:162
#22 0x00007ff0ff4c599d in QQmlThreadPrivate::threadEvent (this=0x55860a5489d0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/ftw/qqmlthread.cpp:198
#23 QQmlThreadPrivate::event (this=0x55860a5489d0, e=0x55860a7aa5e0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/ftw/qqmlthread.cpp:142
#24 0x00007ff0fff78b1c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55860a5489d0, e=0x55860a7aa5e0) at kernel/qapplication.cpp:3637
#25 0x00007ff0fe68cf98 in QCoreApplication::notifyInternal2 (receiver=0x55860a5489d0, event=0x55860a7aa5e0) at kernel/qcoreapplication.cpp:1064
#26 0x00007ff0fe68daa3 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55860a566a50) at kernel/qcoreapplication.cpp:1821
#27 0x00007ff0fe6d3e68 in postEventSourceDispatch (s=0x7ff0d40047c0) at kernel/qeventdispatcher_glib.cpp:277
#28 0x00007ff0fd31687b in g_main_dispatch (context=0x7ff0d4000c30) at ../glib/glib/gmain.c:3444
#29 g_main_context_dispatch (context=0x7ff0d4000c30) at ../glib/glib/gmain.c:4162
#30 0x00007ff0fd36d299 in g_main_context_iterate.constprop.0 (context=0x7ff0d4000c30, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4238
#31 0x00007ff0fd315132 in g_main_context_iteration (context=0x7ff0d4000c30, may_block=1) at ../glib/glib/gmain.c:4303
#32 0x00007ff0fe6d7c4c in QEventDispatcherGlib::processEvents (this=0x7ff0d4000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#33 0x00007ff0fe68573c in QEventLoop::exec (this=0x7ff0e49feaa0, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#34 0x00007ff0fe4e721f in QThread::exec (this=this@entry=0x55860a5489d0) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#35 0x00007ff0ff4c0370 in QQmlThreadPrivate::run (this=0x55860a5489d0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/ftw/qqmlthread.cpp:155
#36 0x00007ff0fe4e42ea in QThreadPrivate::start (arg=0x55860a5489d0) at thread/qthread_unix.cpp:330
#37 0x00007ff0fde9f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#38 0x00007ff0fdf21a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x7ff0f08df6c0 (LWP 110521) "fileligh:shlo0"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55860a6373c8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007ff0fde9c51f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55860a6373c8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007ff0fde9ecd0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55860a637378, cond=0x55860a6373a0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55860a6373a0, mutex=0x55860a637378) at pthread_cond_wait.c:618
#5  0x00007ff0f250799e in cnd_wait () at ../mesa-22.2.3/src/c11/impl/threads_posix.c:135
#6  0x00007ff0f24baf8c in util_queue_thread_func () at ../mesa-22.2.3/src/util/u_queue.c:287
#7  0x00007ff0f25078cc in impl_thrd_routine () at ../mesa-22.2.3/src/c11/impl/threads_posix.c:67
#8  0x00007ff0fde9f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#9  0x00007ff0fdf21a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7ff0f10e06c0 (LWP 110520) "filelight:sh0"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55860a636e5c, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007ff0fde9c51f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55860a636e5c, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007ff0fde9ecd0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55860a636e08, cond=0x55860a636e30) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55860a636e30, mutex=0x55860a636e08) at pthread_cond_wait.c:618
#5  0x00007ff0f250799e in cnd_wait () at ../mesa-22.2.3/src/c11/impl/threads_posix.c:135
#6  0x00007ff0f24baf8c in util_queue_thread_func () at ../mesa-22.2.3/src/util/u_queue.c:287
#7  0x00007ff0f25078cc in impl_thrd_routine () at ../mesa-22.2.3/src/c11/impl/threads_posix.c:67
#8  0x00007ff0fde9f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#9  0x00007ff0fdf21a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7ff0f18e16c0 (LWP 110519) "filelig:disk$0"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55860a6a49d8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007ff0fde9c51f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55860a6a49d8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007ff0fde9ecd0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55860a6a4988, cond=0x55860a6a49b0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55860a6a49b0, mutex=0x55860a6a4988) at pthread_cond_wait.c:618
#5  0x00007ff0f250799e in cnd_wait () at ../mesa-22.2.3/src/c11/impl/threads_posix.c:135
#6  0x00007ff0f24baf8c in util_queue_thread_func () at ../mesa-22.2.3/src/util/u_queue.c:287
#7  0x00007ff0f25078cc in impl_thrd_routine () at ../mesa-22.2.3/src/c11/impl/threads_posix.c:67
#8  0x00007ff0fde9f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#9  0x00007ff0fdf21a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7ff0f22236c0 (LWP 110518) "filelight:cs0"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55860a62763c, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007ff0fde9c51f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55860a62763c, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007ff0fde9ecd0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55860a6275e8, cond=0x55860a627610) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55860a627610, mutex=0x55860a6275e8) at pthread_cond_wait.c:618
#5  0x00007ff0f250799e in cnd_wait () at ../mesa-22.2.3/src/c11/impl/threads_posix.c:135
#6  0x00007ff0f24baf8c in util_queue_thread_func () at ../mesa-22.2.3/src/util/u_queue.c:287
#7  0x00007ff0f25078cc in impl_thrd_routine () at ../mesa-22.2.3/src/c11/impl/threads_posix.c:67
#8  0x00007ff0fde9f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#9  0x00007ff0fdf21a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7ff0f926e6c0 (LWP 110516) "QDBusConnection"):
#1  0x00007ff0fd36d1ff in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7ff0f40053e0, timeout=<optimized out>, context=0x7ff0f4001cf0) at ../glib/glib/gmain.c:4543
#2  g_main_context_iterate.constprop.0 (context=0x7ff0f4001cf0, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4233
#3  0x00007ff0fd315132 in g_main_context_iteration (context=0x7ff0f4001cf0, may_block=1) at ../glib/glib/gmain.c:4303
#4  0x00007ff0fe6d7c6f in QEventDispatcherGlib::processEvents (this=0x7ff0f4000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007ff0fe68573c in QEventLoop::exec (this=0x7ff0f926da90, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007ff0fe4e721f in QThread::exec (this=this@entry=0x7ff0fe9ff560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007ff0fe9a3cba in QDBusConnectionManager::run (this=0x7ff0fe9ff560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /usr/src/debug/qt5-base/qtbase/src/dbus/qdbusconnection.cpp:179
#8  0x00007ff0fe4e42ea in QThreadPrivate::start (arg=0x7ff0fe9ff560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:330
#9  0x00007ff0fde9f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#10 0x00007ff0fdf21a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7ff0fa20eac0 (LWP 110515) "filelight"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55860a562970, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007ff0fde9c51f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55860a562970, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007ff0fde9ecd0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55860a562920, cond=0x55860a562948) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55860a562948, mutex=0x55860a562920) at pthread_cond_wait.c:618
#5  0x00007ff0fe4eb784 in QWaitConditionPrivate::wait (deadline=..., this=0x55860a562920) at thread/qwaitcondition_unix.cpp:146
#6  QWaitCondition::wait (this=this@entry=0x55860a548a48, mutex=0x55860a548a40, deadline=...) at thread/qwaitcondition_unix.cpp:225
#7  0x00007ff0ff4c09e9 in QQmlThreadPrivate::wait (this=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/ftw/qqmlthread.cpp:63
#8  QQmlThread::internalCallMethodInThread (this=0x55860a768810, message=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/ftw/qqmlthread.cpp:351
#9  0x00007ff0ff467450 in QQmlThread::callMethodInThread<QQmlDataBlob*, QQmlDataBlob*, QQmlTypeLoaderThread> (arg=<synthetic pointer>: 0x55860a77eb10, Member=<optimized out>, this=0x55860a768810) at ../../include/QtQml/5.15.7/QtQml/private/../../../../../../qtdeclarative/src/qml/qml/ftw/qqmlthread_p.h:167
#10 QQmlTypeLoaderThread::load (b=0x55860a77eb10, this=0x55860a768810) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmltypeloaderthread.cpp:83
#11 PlainLoader::load (blob=0x55860a77eb10, loader=0x55860a559af8, this=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmltypeloader.cpp:150
#12 QQmlTypeLoader::doLoad<PlainLoader> (loader=..., mode=QQmlTypeLoader::PreferSynchronous, blob=0x55860a77eb10, this=0x55860a559af8) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmltypeloader.cpp:214
#13 QQmlTypeLoader::load (this=this@entry=0x55860a559af8, blob=blob@entry=0x55860a77eb10, mode=mode@entry=QQmlTypeLoader::PreferSynchronous) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmltypeloader.cpp:237
#14 0x00007ff0ff4678fa in QQmlTypeLoader::getType (this=0x55860a559af8, unNormalizedUrl=..., mode=QQmlTypeLoader::PreferSynchronous) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmltypeloader.cpp:825
#15 0x00007ff0ff4482a2 in QQmlComponentPrivate::loadUrl (this=0x55860a795cd0, newUrl=..., mode=QQmlComponent::PreferSynchronous) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:720
#16 0x00007ff0ff49ff2c in QQmlApplicationEnginePrivate::startLoad (this=0x55860a5599c0, url=..., data=..., dataFlag=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlapplicationengine.cpp:129
#17 0x00007ff0ff4a0022 in QQmlApplicationEngine::load (this=this@entry=0x55860a554780, url=...) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlapplicationengine.cpp:287
#18 0x0000558609a20423 in Filelight::MainContext::MainContext (parent=0x0, this=0x7ffc58418570) at /usr/src/debug/filelight/filelight-22.08.3/src/mainContext.cpp:88
#19 main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/filelight/filelight-22.08.3/src/main.cpp:76
[Inferior 1 (process 110515) detached]

Reported using DrKonqi
Comment 1 Harald Sitter 2022-12-01 23:54:03 UTC
When does it crash? Startup?
Comment 2 Angel Montes 2022-12-02 01:44:05 UTC
Hi Harald,

Yeah, whenever I try to start the application it keeps crashing. It also shows the same behavior if I try to restart filelight.
Comment 3 Harald Sitter 2022-12-04 00:13:08 UTC
It reads and sounds a lot like your QML cache has gone off the rails. If you move ~/.cache out of the way does filelight start?
Comment 4 Angel Montes 2022-12-04 19:22:11 UTC
I'm not sure I can remove the .cache folder, as there's a lot of stuff there.

I did find this path for qml: /home/aamm19/.cache/krunner/qmlcache/

Should I remove that one and give it another go?
Comment 5 Harald Sitter 2022-12-04 19:32:22 UTC
I said move it out of the way not remove it. After testing you can move it back
Comment 6 Angel Montes 2022-12-04 22:11:01 UTC
Okay, that was a misunderstanding on my part.

i renamed the .cache folder to backup.cache, re-executed filelight and it's working properly now.
Comment 7 Harald Sitter 2022-12-04 23:26:16 UTC
If you want to keep your cache (shouldn't really be necessary) then you'll need to find the qmlcache file related to the crash, or just remove all of them you can find - there may also be some in Qt related folders. The bug here is probably somewhere deep in Qt, I'd ask you to file an upstream bug report but realistically I don't see that progressing very far without being reproducible on Qt 6 :(
Comment 8 Angel Montes 2022-12-05 00:03:52 UTC
Thanks for the help so far Harald,

I found and deleted the qmlcache on /home/user/.cache/KDE/filelight/ and filelight and it is working properly now.

As for how reproductibe this might be on Qt6, I can't say for sure, given that I don't know what was the source of the issue itself either :(

I'll just leave this post for future references for whoever needs it.

Thank you!