From ben at opendarwin.org Tue Sep 5 12:15:00 2006 From: ben at opendarwin.org (Ben Willmore) Date: Tue, 5 Sep 2006 09:15:00 -0700 Subject: [Unison-hackers] mac crashes Message-ID: I've been trying to do some very large syncs over the weekend, and have finally started running into the random crashes that Benjamin mentioned. They are particular to the Mac GUI and appear to occur randomly (syncs can go for anywhere between 10 minutes and an hour, I would estimate). I was unable to do my sync and resorted to rsync. I have two thoughts: 1. I agree with Benjamin's earlier suggestion that it would be bad to release the Mac GUI to an unsuspecting public while it has this problem. 2. I would really like to fix this. There are two problems. -- First, running within gdb/XCode debugger doesn't provide any useful information about (or ability to manipulate) the OCaml side of things. Can anyone suggest any debugging tools/techniques that I might use? -- Second, the crashes seem to be entirely random. Can anyone provide testcases that produce reliable or frequent crashes? Ben From volsung at mailsnare.net Tue Sep 5 12:24:36 2006 From: volsung at mailsnare.net (Stan Seibert) Date: Tue, 5 Sep 2006 12:24:36 -0400 Subject: [Unison-hackers] mac crashes In-Reply-To: References: Message-ID: <2277E243-C2E9-4E90-9A56-AB548FC88FC7@mailsnare.net> On Sep 5, 2006, at 12:15 PM, Ben Willmore wrote: > I've been trying to do some very large syncs over the weekend, and > have finally started running into the random crashes that Benjamin > mentioned. They are particular to the Mac GUI and appear to occur > randomly (syncs can go for anywhere between 10 minutes and an hour, I > would estimate). I was unable to do my sync and resorted to rsync. I ran into the same problem, and used the "Install command line tool" menu option in the Unison menu. Then I could at least do my sync with "unison -ui text" at the Terminal. > 2. I would really like to fix this. There are two problems. > > -- First, running within gdb/XCode debugger doesn't provide any useful > information about (or ability to manipulate) the OCaml side of things. > Can anyone suggest any debugging tools/techniques that I might use? > > -- Second, the crashes seem to be entirely random. Can anyone provide > testcases that produce reliable or frequent crashes? I haven't found a good test case either, though it appears (to my unscientific memory) to be correlated with how badly I needed the data copied... :) --- Stan Seibert From bcpierce at cis.upenn.edu Tue Sep 5 12:28:57 2006 From: bcpierce at cis.upenn.edu (Benjamin Pierce) Date: Tue, 5 Sep 2006 12:28:57 -0400 Subject: [Unison-hackers] mac crashes In-Reply-To: <2277E243-C2E9-4E90-9A56-AB548FC88FC7@mailsnare.net> References: <2277E243-C2E9-4E90-9A56-AB548FC88FC7@mailsnare.net> Message-ID: >> I've been trying to do some very large syncs over the weekend, and >> have finally started running into the random crashes that Benjamin >> mentioned. They are particular to the Mac GUI and appear to occur >> randomly (syncs can go for anywhere between 10 minutes and an hour, I >> would estimate). I was unable to do my sync and resorted to rsync. > > I ran into the same problem, and used the "Install command line tool" > menu option in the Unison menu. Then I could at least do my sync > with "unison -ui text" at the Terminal. My experience, too, is that it's just the GUI version. - Benjamin From bcpierce at cis.upenn.edu Tue Sep 5 13:39:34 2006 From: bcpierce at cis.upenn.edu (Benjamin Pierce) Date: Tue, 5 Sep 2006 13:39:34 -0400 Subject: [Unison-hackers] mac crashes In-Reply-To: References: Message-ID: <42E88D77-B37A-4079-B4EF-D6CD9FE3D6D4@cis.upenn.edu> > P.S. > -- First, running within gdb/XCode debugger doesn't provide any useful > information about (or ability to manipulate) the OCaml side of things. > Can anyone suggest any debugging tools/techniques that I might use? There must be others on the ocaml mailing list that are doing GUI development on the Apple platform... - Benjamin From mhopf at suse.de Fri Sep 8 10:13:37 2006 From: mhopf at suse.de (Matthias Hopf) Date: Fri, 8 Sep 2006 16:13:37 +0200 Subject: [Unison-hackers] unison stalling on low bandwidth lines with ssh In-Reply-To: References: <20060614152242.GB13577@suse.de> <20060821163408.GA18453@suse.de> Message-ID: <20060908141337.GA19008@suse.de> On Aug 28, 06 04:46:34 -0400, Andrew Schulman wrote: > Thanks for the followup. MTU issues can be a real curse, not because > they're hard to solve, but because you're likely to try everything else you > can think of before you think of fiddling with the MTU. Yep. And in this particular case it's even not-so-trivial to fix... Matthias -- Matthias Hopf __ __ __ Maxfeldstr. 5 / 90409 Nuernberg (_ | | (_ |__ mat at mshopf.de Phone +49-911-74053-715 __) |_| __) |__ labs www.mshopf.de From trevor at research.att.com Tue Sep 12 12:44:08 2006 From: trevor at research.att.com (Trevor Jim) Date: Tue, 12 Sep 2006 12:44:08 -0400 Subject: [Unison-hackers] mac crashes In-Reply-To: <42E88D77-B37A-4079-B4EF-D6CD9FE3D6D4@cis.upenn.edu> References: <42E88D77-B37A-4079-B4EF-D6CD9FE3D6D4@cis.upenn.edu> Message-ID: <4506E3D8.80301@research.att.com> So on the theory that threads are the problem (race conditions) this might be relevant: http://groups.google.com/group/fa.caml/browse_thread/thread/684a6f1647fdbe3/e4ad7e1e8fca5edb?lnk=gst&q=threads&rnum=1#e4ad7e1e8fca5edb We are probably lacking the required locks in C code that gets invoked by the GUI to call back into ocaml. -Trevor Benjamin Pierce wrote: >> P.S. > >> -- First, running within gdb/XCode debugger doesn't provide any useful >> information about (or ability to manipulate) the OCaml side of things. >> Can anyone suggest any debugging tools/techniques that I might use? > > There must be others on the ocaml mailing list that are doing GUI > development on the Apple platform... > > - Benjamin > > > _______________________________________________ > Unison-hackers mailing list > Unison-hackers at lists.seas.upenn.edu > http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers