Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#221 Firefox Lastpass File Causes Freeze

closed
nobody
2012-11-25
2012-11-08
Allen M
No

I'm using FreeFileSync version 5.8. I use lastpass addon for firefox on Ubuntu 12.04 x64. It has a file of lastpassffplugin which causes FreeFileSync to freeze when it tries to copy it over (even though firefox is closed). In nautilus's properties dialog, it lists file type is pipe (inode/fifo) and it is a zero byte file. The location is /home/user/.lastpass/pipes. I am not sure why the freeze occurs. For now, I have just excluded the pipes folder via filter.

The file freezes FreeFileSync on both my desktop and my laptop.

Discussion

  • Zenju
    Zenju
    2012-11-08

    I am able to reproduce your test case. FFS is calling fopen(), which by design blocks on the named pipe. Generally: It needs to be decided what FFS should do with named pipes:
    silently ignore/skip them?
    show an error during comparison?
    show an error when trying to copy them?
    Support them, i.e. copy the pipe?

     
    Last edit: Zenju 2012-11-08
  • Allen M
    Allen M
    2012-11-09

    I'm not a programmer so I don't know how critical named pipes are. If they aren't critical and pipes are re-created when the programs run, ignore/skip would work.

    If a missing named pipe could cause problems in programs, support would be appreciated. Wikipedia says it relies on the filesystem, and I can't copy the pipe to an NTFS drive. Most users probably don't copy named pipes so it might not be worth supporting.

    Error messages and skipping the files would prevent FFS from crashing, but can be confusing to users without moderate to extensive comptuer knowledge. Until last night, I hadn't heard of a pipe.

     
  • Zenju
    Zenju
    2012-11-22

    Alright, pipes will not be supported (there doesn't seem to be much sensible behavior for these anyway, especially in the context of backup) and FFS will show an error message during traversal to make this problem explicit (rather than silently skip it leaving the user wonder that the app is broken since it "missed" an item which another program might count in its numbers.

     
  • Zenju
    Zenju
    2012-11-22

    • status: open --> closed
     
  • Zenju
    Zenju
    2012-11-25

    Update: I changed the implementation to scan and show named pipes as normal files, but show an error when trying to read it, e.g. during file copy, rather than block forever.