From alan.schmitt at polytechnique.org Thu Jun 28 04:11:21 2012 From: alan.schmitt at polytechnique.org (Alan Schmitt) Date: Thu, 28 Jun 2012 10:11:21 +0200 Subject: [Unison-hackers] [unison-users] Unison crash, Mac OS X GUI version 2.40.69 In-Reply-To: References: Message-ID: <91B0ACF7-1C2A-4664-82A1-117D5EAAF6E0@polytechnique.org> 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