I am on Ubuntu 18.04 and I have been using freefilesync for about a year. I have a sync setup (ffs_gui) that synchronizes a large file structure with a filter that selects certain directories. I added two directories to this list today. After this every sync attempt crashes with a segmentation fault. I rebooted my system. I was on freefilesync 10.3 so I upgraded to 10.04. Still the problem persists. The sequence is that I first run the compare. That runs successfully and produces the correct list of files. Then I click Synchronize and the window goes away. On the console is the message Segmentation fault (core dumped). Sometimes I see a message "Creating file sync_ffs.lock" in the window before it crashes. I have now removed those two directories from the filter and created a separate sync for them and the two separate synchronizations both work correctly.
Let me know what information I can supply to help diagnose the problem.
Segmentation fault trying to sync
- Posts: 2
- Joined: 12 Sep 2018
- Site Admin
- Posts: 7285
- Joined: 9 Dec 2007
I'm assuming you're on 64-bit Ubuntu and are able to reproduce with the following debugging version:
https://www.mediafire.com/file/2u6y7kk4no1gcgh/FreeFileSync_10.5_Linux_64-bit.tar.gz
If yes, set up your system as follows so that it will create a crash dump file in folder /tmp/ that you can then send me to analyze the crash:
1. Temporarily set crash dump path:
2. Enable crash dump creation for the FreeFileSync process:
3. reproduce the crash with the FreeFileSync debugging version above
4. Send me the core dump file, e.g. "/tmp/FreeFileSync CrashDump 1536857698.dmp" via email (=> zip it).
https://www.mediafire.com/file/2u6y7kk4no1gcgh/FreeFileSync_10.5_Linux_64-bit.tar.gz
If yes, set up your system as follows so that it will create a crash dump file in folder /tmp/ that you can then send me to analyze the crash:
1. Temporarily set crash dump path:
echo '/tmp/%e CrashDump %t.dmp' | sudo tee /proc/sys/kernel/core_pattern
ulimit -S -c unlimited FreeFileSync
4. Send me the core dump file, e.g. "/tmp/FreeFileSync CrashDump 1536857698.dmp" via email (=> zip it).
- Posts: 2
- Joined: 12 Sep 2018
Thank you for the quick reply. I restored the directories to the list in my original set, and now I cannot recreate the problem. I moved some files in and out of the directory and updated some files, to cause some sync activity, and the sync is now successful every time.
Possibly something got repaired after I synchronized using a separate sync set.
Sorry for the trouble. I will continue using the full sync set and see if it happens again.
Thank you for a great, useful product!
Possibly something got repaired after I synchronized using a separate sync set.
Sorry for the trouble. I will continue using the full sync set and see if it happens again.
Thank you for a great, useful product!