Crash during Android Phone sync

Get help for specific problems
Posts: 31
Joined: 17 Jul 2019

thbenner

Hello,

FFS 11.28 (64 bit) crashes during the sync phase. The app simply closes without any message There is no log file from today.

Windows 10
Phone: Xiaomi poco m4 pro (Android 11,MIUI 13.0.10) connected via MTP



How to fix that?

Thomas
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

Just in case you're using the portable FFS version: Try the local installation instead, which will add registry keys to have a crashing application actually crash with a crash dump. Rather than this new Windows anti-feature of "silently discarding the evidence", and pretending the app "just closed".
User avatar
Posts: 2451
Joined: 22 Aug 2012

Plerry

If that does not do the job, try creating a trace.
https://freefilesync.org/faq.php#trace
Posts: 31
Joined: 17 Jul 2019

thbenner

Although the local version is installed, there seems to be no dump. I have sent the trace file to zenju.
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

According to the trace file, there should be multiple dmp files on your desktop:

C:\Users\benne\Desktop

FreeFileSync_x64.exe.11400.dmp
FreeFileSync_x64.exe.15256.dmp
FreeFileSync_x64.exe.17060.dmp
FreeFileSync_x64.exe.21484.dmp
FreeFileSync_x64.exe.22916.dmp
FreeFileSync_x64.exe.26724.dmp
FreeFileSync_x64.exe.9352.dmp

And there's also the following dump file. Looks like some service is crashing, probably related to the other crashes:

C:\ProgramData\Microsoft\Windows\WER\Temp\WER8811.tmp.dmp
Posts: 31
Joined: 17 Jul 2019

thbenner

Thank you very much. Have sent a link to the dmp files by mail.
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

I messed up: I don't have the appropriate debugging symbols anymore. Can you install the latest 11.28 and see if you can still reproduce the crash?
Posts: 31
Joined: 17 Jul 2019

thbenner

Done, the file FreeFileSync_x64.exe.17420.dmp is in the same directory.
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

Fixed! Turns out the MTP device proposes a buffer size of only 1 byte, which is unexpected for FFS and it deliberately crashes. The reason for this size is that the file in question also has only 1 byte as content, and the "optimal buffer size" is trimmed to the file size for whatever reason.

https://www.mediafire.com/file/2ok67v8p9cl54zw/FreeFileSync_11.29_%255BBeta%255D_Windows_Setup.exe/file
Posts: 31
Joined: 17 Jul 2019

thbenner

Thank you for the fast fix!!! How to get back to the donation version? Can I put the key file somewhere or should I wait till 11.29 is appearing on the donation page?
Posts: 16
Joined: 27 Nov 2022

azure55

Fixed! Turns out the MTP device proposes a buffer size of only 1 byte, which is unexpected for FFS and it deliberately crashes. The reason for this size is that the file in question also has only 1 byte as content, and the "optimal buffer size" is trimmed to the file size for whatever reason.

https://www.mediafire.com/file/2ok67v8p9cl54zw/FreeFileSync_11.29_%255BBeta%255D_Windows_Setup.exe/file Zenju, 24 Nov 2022, 19:17
This also resolved the issue on mine, thanks!
Posts: 8
Joined: 26 Dec 2022

wobaozi

I also encountered this situation, the mobile phone is red rice K40 Mi Miui13 Android 12, the computer system is Windows11,FreeFileSync is 11.29 installed version.
Can you tell me how to solve this problem?