Skip to content

Segfault when using cleanup action with AssumeDeleted after a cleanup with RefreshParent #149

@brunetton

Description

@brunetton

Hi,

I'm using this great tool for a while now, and I defined some actions that I often use.

Those days I'm facing a segfault in this case:

  • I mount my internal phone memory in ~/Android directory (go-mtpfs ~/Android) - not sure if the fact that it's a FUSE directory have something to do with the problem

  • I defined a custom action that move current file to my local hard drive:

    [Cleanup_02]
    Active=true
    AskForConfirmation=false
    Command=mv %p /media/bruno/data/a_trier/
    Hotkey=Ctrl+Shift+D
    OutputWindowAutoClose=false
    OutputWindowPolicy=ShowIfErrorOutput
    Recurse=false
    RefreshPolicy=AssumeDeleted
    Shell=/bin/sh
    Title=Move to Data/
    WorksForDir=true
    WorksForDotEntry=false
    WorksForFile=true
    
  • I browse ~/Android to sort videos in my phone

    • I open each video in VLC using this action:
      [Cleanup_03]
      Active=true
      AskForConfirmation=false
      Command=vlc %p
      Hotkey=Ctrl+Shift+V
      OutputWindowAutoClose=false
      OutputWindowPolicy=ShowNever
      Recurse=false
      RefreshPolicy=NoRefresh
      Shell=/bin/sh
      Title=Open in VLC
      WorksForDir=false
      WorksForDotEntry=false
      WorksForFile=true
      
    • sometimes I want to delete the file (I use standard ctrl-delete)
    • sometimes I want to keep the file and copy it to my local hard drive (I use my custom action Cleanup_02 using Ctrl+Shift+D shortkey)

When I launch the copy to hard drive action (Cleanup_03) this sometimes leads to a crash.
A log example coming

Qdirstat commit cb2ca90

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions