Error - file not found (portable version)

Get help for specific problems
Posts: 6
Joined: 30 Apr 2018

TowerBR

Hi,

I'm using the donation version, and trying to install the portable version inside a cppcryptfs encrypted volume. I have other portable applications running smoothly within that volume.

However, at the end of the installation I get the error:
21-10-10_12-26-56__Idle.png
21-10-10_12-26-56__Idle.png (8.41 KiB) Viewed 929 times
The executable file is in the freefilesync folder, and I get the same error if I click directly on it to run it.

Any ideas?
Posts: 1038
Joined: 8 May 2006

therube

Were all of the files, including the files within the subdirectories, extracted from the ZIP.

\FreeFileSync\FreeFileSync.exe is only a "stub" (if you will), that calls (a) \FreeFileSync\Bin\FreeFileSync*.exe, so both (in addition to all else that was in the ZIP) need to exist.
Posts: 6
Joined: 30 Apr 2018

TowerBR

Yes I tried extracting from zip and also using the installer. All files are there.

I tried to click directly on bin/FreeFileSync_x64.exe and got:

21-10-11_15-37-05.png
21-10-11_15-37-05.png (10 KiB) Viewed 901 times

I checked the dump file and:
*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************


KEY_VALUES_STRING: 1

    Key  : Analysis.CPU.mSec
    Value: 1874

    Key  : Analysis.DebugAnalysisManager
    Value: Create

    Key  : Analysis.Elapsed.mSec
    Value: 20059

    Key  : Analysis.Init.CPU.mSec
    Value: 655

    Key  : Analysis.Init.Elapsed.mSec
    Value: 32901

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 71

    Key  : Timeline.OS.Boot.DeltaSec
    Value: 27827

    Key  : WER.OS.Branch
    Value: vb_release

    Key  : WER.OS.Timestamp
    Value: 2019-12-06T14:06:00Z

    Key  : WER.OS.Version
    Value: 10.0.19041.1

    Key  : WER.Process.Version
    Value: 11.14.0.0


NTGLOBALFLAG:  0

PROCESS_BAM_CURRENT_THROTTLED: 0

PROCESS_BAM_PREVIOUS_THROTTLED: 0

APPLICATION_VERIFIER_FLAGS:  0

CONTEXT:  (.ecxr)
rax=0000000000000000 rbx=000000133bb4c6c0 rcx=0000000000000000
rdx=0000000000000000 rsi=000000133bb4cf10 rdi=000000133bb4bb00
rip=00007fff4f524f99 rsp=000000133bb4ac80 rbp=000000133bb4b360
 r8=00007fff4f262cb0  r9=0000000000000108 r10=00007fff4f8af0b0
r11=0000013fdf828960 r12=0000000000000000 r13=000000133bb4ade8
r14=000000133bb4bb00 r15=000000133bb4bc68
iopl=0         nv up ei pl nz na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000206
KERNELBASE!RaiseException+0x69:
00007fff`4f524f99 0f1f440000      nop     dword ptr [rax+rax]
Resetting default scope

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007fff4f524f99 (KERNELBASE!RaiseException+0x0000000000000069)
   ExceptionCode: e06d7363 (C++ EH exception)
  ExceptionFlags: 00000001
NumberParameters: 4
   Parameter[0]: 0000000019930520
   Parameter[1]: 000000133bb4f788
   Parameter[2]: 00007ff6470a42b8
   Parameter[3]: 00007ff646310000

PROCESS_NAME:  FreeFileSync_x64.exe

ERROR_CODE: (NTSTATUS) 0xe06d7363 - <Unable to get error code text>

EXCEPTION_CODE_STR:  e06d7363

EXCEPTION_PARAMETER1:  0000000019930520

EXCEPTION_PARAMETER2:  000000133bb4f788

EXCEPTION_PARAMETER3:  00007ff6470a42b8

EXCEPTION_PARAMETER4: 7ff646310000

STACK_TEXT: 
00000013`3bb4ac80 00007ff6`46c47530     : 00007ff6`46d34570 00000013`3bb4bc68 0000013f`00000100 00000000`00000000 : KERNELBASE!RaiseException+0x69
00000013`3bb4ad60 00007fff`51c91456     : 00000000`00000003 00007fff`00000008 68040004`00000000 00000013`3bb4cf10 : FreeFileSync_x64+0x937530
00000013`3bb4ae40 00007ff6`469ea519     : 0000013f`df89ad10 0000013f`df89ad10 00000000`00000000 00007ff6`4710a540 : ntdll!RcConsolidateFrames+0x6
00000013`3bb4fe10 00007ff6`469bec68     : 0000013f`df89ad10 00007ff6`4710a540 00000000`00000001 00000000`00000000 : FreeFileSync_x64+0x6da519
00000013`3bb4fe50 00007ff6`46c418a6     : 00000000`00000001 00007ff6`46c4191d 00000000`00000000 00000000`00000000 : FreeFileSync_x64+0x6aec68
00000013`3bb4fe80 00007fff`50107034     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : FreeFileSync_x64+0x9318a6
00000013`3bb4fec0 00007fff`51c42651     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x14
00000013`3bb4fef0 00000000`00000000     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x21


SYMBOL_NAME:  freefilesync_x64+937530
MODULE_NAME: FreeFileSync_x64
IMAGE_NAME:  FreeFileSync_x64.exe
STACK_COMMAND:  ~0s ; .ecxr ; kb
FAILURE_BUCKET_ID:  CPP_EXCEPTION_e06d7363_FreeFileSync_x64.exe!Unknown
OS_VERSION:  10.0.19041.1
BUILDLAB_STR:  vb_release
OSPLATFORM_TYPE:  x64
OSNAME:  Windows 10
IMAGE_VERSION:  11.14.0.0
FAILURE_ID_HASH:  {3ae35cce-58d0-b2ef-561e-92cb8f91da81}

Followup:     MachineOwner
---------
Posts: 1038
Joined: 8 May 2006

therube

And you've tested that you can run the program successfully outside of the encrypted volume?
Posts: 6
Joined: 30 Apr 2018

TowerBR

And you've tested that you can run the program successfully outside of the encrypted volume? therube, 12 Oct 2021, 16:51
Yes, copying the folder out of the encrypted volume the program runs perfectly.

Yes, I know it sounds like a cppcryptfs problem, but as I said, there are other portable programs running perfectly within this same volume.
Posts: 6
Joined: 30 Apr 2018

TowerBR

@zenju, any ideas about this error?
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

cppcryptfs is based on Dokany, which is missing symlink support:
https://github.com/dokan-dev/dokany/issues/343

So same issue like: https://github.com/jetwhiz/encfs4win/issues/130

Reporting ERROR_FILE_NOT_FOUND instead of ERROR_CALL_NOT_IMPLEMENTED or the like is a Dokany bug.
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

I've implemented a workaround for volumes that don't support symlinks (like Dokany-based ones). Should be fixed for the next release:
https://www.mediafire.com/file/ddbiyosgfjn5yta/FreeFileSync_11.15_%255BBeta%255D_Windows_Setup%252811%2529.exe
Posts: 6
Joined: 30 Apr 2018

TowerBR

I've implemented a workaround for volumes that don't support symlinks (like Dokany-based ones). Should be fixed for the next release:
https://www.mediafire.com/file/ddbiyosgfjn5yta/FreeFileSync_11.15_%255BBeta%255D_Windows_Setup%252811%2529.exe Zenju, 04 Nov 2021, 10:35

Thanks, but it still didn't work. (see attached images)

Error during installation:
"Cannot read file attributes"
"ERROR_DIR_NOT_ROOT: The folder is not a subfolder of the root folder. [GetVolumeInfomration]"

Error when trying to run the "primary" executable:
"The installation files are corrupted. Please reinstall FreeFileSync.
The installation was registered on a different operating system."

Error when trying to directly run the 64-bit executable:
"The installation files are corrupted. Please reinstall FreeFileSync.
The installation was registered under a different operating system."
Attachments
Error_primary_executable.jpg
Error_primary_executable.jpg (65.98 KiB) Viewed 569 times
Error_during_installation.jpg
Error_during_installation.jpg (40.2 KiB) Viewed 569 times
Error_64-bit_executable.jpg
Error_64-bit_executable.jpg (56.4 KiB) Viewed 569 times