jetwhiz / encfs4win

Windows port of EncFS
https://encfs.win
Other
402 stars 41 forks source link

encfs.exe crashes upon receiving CTRL + C #22

Closed Zero3 closed 8 years ago

Zero3 commented 8 years ago

Just got a Windows 7 crash dialog saying that encfs.exe stopped working. What I did:

1) Downloaded and installed https://github.com/jetwhiz/encfs4win/releases/tag/v1.10.1-RC1

2) Executed encfs.exe [path to non-existing folder] Z:

3) Completed the encfs encryption setup steps

4) Pressed CTRL + C

The last console output was:

2016-04-30 21:27:01,113 FATAL [default] CRASH HANDLED; Application has crashed due to [SIGINT] signal
2016-04-30 21:27:01,113 WARN  [default] Aborting application. Reason: Fatal log at [C:\win\Projects\Keenou\encfs4win\deps\easyloggingpp\src\easylogging++.h:5583]

I would expect encfs.exe to gracefully unmount and close upon receiving CTRL + C. I assume this would happen during normal system shutdown as well? Or is there another way of running encfs.exe in the background and handling system shutdown gracefully?

ultimate-deej commented 8 years ago

Same on Windows 10. Also when I try to run it again right after Ctrl+C, it closes silently after typing a password. Running it for the second time seems fine.

jetwhiz commented 8 years ago

This should be fixed with the latest commit. Could you guys please test v1.10.1-RC2?

Zero3 commented 8 years ago

Appears to be so! Thanks! The log message is wrong, though:

2016-05-01 11:00:43,147 WARN  [default] Unmounting filesystem due to inactivity: Z:
jetwhiz commented 8 years ago

Great! I'll roll the fix for the log message out in the next release.