syncevolution sometimes hangs at synccompare

Bug #369068 reported by Patrick Ohly
8
Affects Status Importance Assigned to Milestone
Genesis Sync
Fix Released
Undecided
Frederik Elwert

Bug Description

This was reported by a user in the ScheduleWorld forum:
http://www.scheduleworld.com/jforum/posts/list/2385.page#15563

It hangs because synccompare writes to stdout, but no-one is reading from that pipe. I haven't checked the latest report; it includes detailed information about the open files by all involved processes and might tell why Genesis (which I believe is the one connected to the output) doesn't consume the data.

I see two solutions:
1. make sure that this deadlock doesn't happen
2. avoid printing this output

In SyncEvolution 0.9 I will add a configure option which can be used to permanently or temporarily suppress the synccompare invocation. In 0.8 the "--quiet" option has the same effect, but also suppresses writing of backup files, which might not be what some users want.

Revision history for this message
Frederik Elwert (frederik-elwert) wrote :

Thanks a lot for this bug report. I also noticed this sometimes but was unable to reliably reproduce it.

I committed a change that should fix this. If anyone notices this behaviour again with a current checkout, feel free to reopen.

Changed in genesis-sync:
assignee: nobody → frederik-elwert
status: New → Fix Committed
Changed in genesis-sync:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.