[Unison-hackers] [unison-users] Unison crash, Mac OS X GUI version 2.40.69

Alan Schmitt alan.schmitt at polytechnique.org
Thu Jun 28 04:11:21 EDT 2012


On 27 juin 2012, at 16:27, haller_b at ymail.com wrote:

> Hi!  I got a crash with Unison, using the Mac OS X GUI, version 2.40.69.  Crash log appended below.  It was in the middle of doing a sync over ssh, and I clicked a disclosure triangle to see what was inside one of the folders being synced.  Immediate crash.  OS X 10.7.4.  Please let me know if you'd like me to report this in some other way; I'm new here.  Thanks!

I've started to track this, and the problem seems to be because of progressString. This string is created in ReconItem.m and in one case by a callback to ocaml:

                progress =      [(NSString *)ocamlCall("S@", "unisonRiToProgress", ri) retain];

I'm wondering if we're not seeing an instance of this problem mentioned at the beginning of Bridge.m:

>  Example of vulnerability:
>  Field(caml_reconItems,j) could dereference caml_reconItems
>  when the GC (running independently in an OCaml thread) could be moving it.

I'm copying unison-hackers if someone who knows more about this has an idea …

Alan


More information about the Unison-hackers mailing list