[filelight] [Bug 463304] New: Crash when deleting file/folder

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Wed Dec 21 12:39:20 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=463304

            Bug ID: 463304
           Summary: Crash when deleting file/folder
    Classification: Applications
           Product: filelight
           Version: 22.12.0
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: QeMXA2JNeU.bugs.kde.org at ruekov.eu
                CC: martin.sandsmark at kde.org
  Target Milestone: ---

SUMMARY
When deleting a file and confirming the dialog, the application crashes, but
the file got deleted successfully.

STEPS TO REPRODUCE
1. Run filelight and scan any directory with files
2. Delete any file
3. Confirm delete-dialog

OBSERVED RESULT
Segfault Crash

EXPECTED RESULT
No crash / Rescan folder

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
$ valgrind --log-file=filelight.log filelight Downloads

filelight.log
----------------
==39376== Memcheck, a memory error detector
==39376== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==39376== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==39376== Command: filelight Downloads
==39376== Parent PID: 18814
==39376== 
==39376== Conditional jump or move depends on uninitialised value(s)
==39376==    at 0x5CDB7B1: UnknownInlinedFun (stl_algobase.h:1463)
==39376==    by 0x5CDB7B1: UnknownInlinedFun (stl_algo.h:2004)
==39376==    by 0x5CDB7B1: QV4::CppStackFrame::lineNumber() const
(qv4stackframe.cpp:67)
==39376==    by 0x5E4B92D: QV4::QQmlBindingFunction::currentLocation() const
(qqmlbuiltinfunctions.cpp:1453)
==39376==    by 0x5CEF304:
QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*,
QQmlPropertyData*, QV4::Value const&) (qv4qobjectwrapper.cpp:472)
==39376==    by 0x5CEF9D5:
QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlContextData*,
QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QV4::Value const&)
(qv4qobjectwrapper.cpp:435)
==39376==    by 0x5CF2826: QV4::QObjectWrapper::virtualPut(QV4::Managed*,
QV4::PropertyKey, QV4::Value const&, QV4::Value*) (qv4qobjectwrapper.cpp:722)
==39376==    by 0x5DC6707:
QQmlComponentPrivate::setInitialProperties(QV4::ExecutionEngine*,
QV4::QmlContext*, QV4::Value const&, QV4::Value const&, RequiredProperties&,
QObject*) (qqmlcomponent.cpp:1406)
==39376==    by 0x5DC6AAC:
QQmlComponentPrivate::initializeObjectWithInitialProperties(QV4::QmlContext*,
QV4::Value const&, QObject*, RequiredProperties&) (qqmlcomponent.cpp:1642)
==39376==    by 0x58F9E2F: UnknownInlinedFun (qquickloader.cpp:677)
==39376==    by 0x58F9E2F: QQuickLoaderIncubator::setInitialState(QObject*)
(qquickloader.cpp:641)
==39376==    by 0x5DC710D:
QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&)
(qqmlincubator.cpp:332)
==39376==    by 0x5DC7595: QQmlEnginePrivate::incubate(QQmlIncubator&,
QQmlContextData*) (qqmlincubator.cpp:89)
==39376==    by 0x5DC7811: QQmlComponent::create(QQmlIncubator&, QQmlContext*,
QQmlContext*) (qqmlcomponent.cpp:1191)
==39376==    by 0x58FCD5A: QQuickLoaderPrivate::_q_sourceLoaded()
(qquickloader.cpp:751)
==39376== 
==39376== Conditional jump or move depends on uninitialised value(s)
==39376==    at 0x1D295D69: ???
==39376==    by 0xD81E827: ???
==39376== 
==39376== Conditional jump or move depends on uninitialised value(s)
==39376==    at 0x1D295D69: ???
==39376==    by 0xD8030C7: ???
==39376== 
==39376== Conditional jump or move depends on uninitialised value(s)
==39376==    at 0x1D295D69: ???
==39376==    by 0x1CA317D7: ???
==39376== 
==39376== Conditional jump or move depends on uninitialised value(s)
==39376==    at 0x1D295D69: ???
==39376==    by 0x178F6C67: ???
==39376== 
==39376== Conditional jump or move depends on uninitialised value(s)
==39376==    at 0x1D295D69: ???
==39376==    by 0x1B90DD27: ???
==39376== 
==39376== Conditional jump or move depends on uninitialised value(s)
==39376==    at 0x1D295D69: ???
==39376==    by 0xD406957: ???
==39376== 
==39376== Conditional jump or move depends on uninitialised value(s)
==39376==    at 0x1D295D69: ???
==39376==    by 0x1C9AC047: ???
==39376== 
==39376== Conditional jump or move depends on uninitialised value(s)
==39376==    at 0x1D295D69: ???
==39376==    by 0xE3C44B7: ???
==39376== 
==39376== Conditional jump or move depends on uninitialised value(s)
==39376==    at 0x1D295D69: ???
==39376==    by 0xDDBA1F7: ???
==39376== 
==39376== Conditional jump or move depends on uninitialised value(s)
==39376==    at 0x1D295D69: ???
==39376==    by 0x1DA87807: ???
==39376== 
==39376== Conditional jump or move depends on uninitialised value(s)
==39376==    at 0x1D295D69: ???
==39376==    by 0xBB2B017: ???
==39376== 
==39376== Conditional jump or move depends on uninitialised value(s)
==39376==    at 0x1D295D69: ???
==39376==    by 0x1C71B767: ???
==39376== 
==39376== Conditional jump or move depends on uninitialised value(s)
==39376==    at 0x1D295D69: ???
==39376==    by 0xDB868E7: ???
==39376== 
==39376== Conditional jump or move depends on uninitialised value(s)
==39376==    at 0x1D295D69: ???
==39376==    by 0x1C66D5C7: ???
==39376== 
==39376== Conditional jump or move depends on uninitialised value(s)
==39376==    at 0x1D295D47: ???
==39376==    by 0x17779437: ???
==39376== 
==39376== Conditional jump or move depends on uninitialised value(s)
==39376==    at 0x1D295D69: ???
==39376==    by 0xD560537: ???
==39376== 
==39376== Invalid read of size 8
==39376==    at 0x12451B: ??? (in /usr/bin/filelight)
==39376==    by 0x6958A50: UnknownInlinedFun (qobjectdefs_impl.h:398)
==39376==    by 0x6958A50: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:3919)
==39376==    by 0x66426E6: KJob::finished(KJob*, KJob::QPrivateSignal)
(moc_kjob.cpp:612)
==39376==    by 0x6648824: KJob::finishJob(bool) (kjob.cpp:95)
==39376==    by 0x694BBDF: QObject::event(QEvent*) (qobject.cpp:1347)
==39376==    by 0x50FDB1B: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (qapplication.cpp:3637)
==39376==    by 0x6927F97: QCoreApplication::notifyInternal2(QObject*, QEvent*)
(qcoreapplication.cpp:1064)
==39376==    by 0x6928AA2: QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (qcoreapplication.cpp:1821)
==39376==    by 0x696EE67: postEventSourceDispatch(_GSource*, int (*)(void*),
void*) (qeventdispatcher_glib.cpp:277)
==39376==    by 0x82E387A: UnknownInlinedFun (gmain.c:3444)
==39376==    by 0x82E387A: g_main_context_dispatch (gmain.c:4162)
==39376==    by 0x833A298: g_main_context_iterate.constprop.0 (gmain.c:4238)
==39376==    by 0x82E2131: g_main_context_iteration (gmain.c:4303)
==39376==  Address 0x18 is not stack'd, malloc'd or (recently) free'd
==39376== 
==39376== 
==39376== Process terminating with default action of signal 11 (SIGSEGV):
dumping core
==39376==  Access not within mapped region at address 0x18
==39376==    at 0x12451B: ??? (in /usr/bin/filelight)
==39376==    by 0x6958A50: UnknownInlinedFun (qobjectdefs_impl.h:398)
==39376==    by 0x6958A50: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:3919)
==39376==    by 0x66426E6: KJob::finished(KJob*, KJob::QPrivateSignal)
(moc_kjob.cpp:612)
==39376==    by 0x6648824: KJob::finishJob(bool) (kjob.cpp:95)
==39376==    by 0x694BBDF: QObject::event(QEvent*) (qobject.cpp:1347)
==39376==    by 0x50FDB1B: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (qapplication.cpp:3637)
==39376==    by 0x6927F97: QCoreApplication::notifyInternal2(QObject*, QEvent*)
(qcoreapplication.cpp:1064)
==39376==    by 0x6928AA2: QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (qcoreapplication.cpp:1821)
==39376==    by 0x696EE67: postEventSourceDispatch(_GSource*, int (*)(void*),
void*) (qeventdispatcher_glib.cpp:277)
==39376==    by 0x82E387A: UnknownInlinedFun (gmain.c:3444)
==39376==    by 0x82E387A: g_main_context_dispatch (gmain.c:4162)
==39376==    by 0x833A298: g_main_context_iterate.constprop.0 (gmain.c:4238)
==39376==    by 0x82E2131: g_main_context_iteration (gmain.c:4303)
==39376==  If you believe this happened as a result of a stack
==39376==  overflow in your program's main thread (unlikely but
==39376==  possible), you can try to increase the size of the
==39376==  main thread stack using the --main-stacksize= flag.
==39376==  The main thread stack size used in this run was 8388608.
==39376== 
==39376== HEAP SUMMARY:
==39376==     in use at exit: 27,656,107 bytes in 225,442 blocks
==39376==   total heap usage: 709,349 allocs, 483,907 frees, 415,055,195 bytes
allocated
==39376== 
==39376== LEAK SUMMARY:
==39376==    definitely lost: 1,720 bytes in 198 blocks
==39376==    indirectly lost: 224 bytes in 4 blocks
==39376==      possibly lost: 532,614 bytes in 3,342 blocks
==39376==    still reachable: 27,121,549 bytes in 221,898 blocks
==39376==                       of which reachable via heuristic:
==39376==                         newarray           : 1,177,864 bytes in 448
blocks
==39376==                         multipleinheritance: 19,456 bytes in 52
blocks
==39376==         suppressed: 0 bytes in 0 blocks
==39376== Rerun with --leak-check=full to see details of leaked memory
==39376== 
==39376== Use --track-origins=yes to see where uninitialised values come from
==39376== For lists of detected and suppressed errors, rerun with: -s
==39376== ERROR SUMMARY: 41 errors from 18 contexts (suppressed: 0 from 0)

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


More information about the Unassigned-bugs mailing list