From: Janne H. <ja...@hy...> - 2004-12-29 21:22:41
|
Just for the record: I patched my O'Caml 3.08.2 byterun/obj.c by commenting out line 107 "if (sz == 0) return arg;" O'Caml bootstrap went without problems and the problem with non-tempfixed DynArray disappeared. ciao, janne Nicolas Cannasse wrote: >>The following test case in the testing suite causes a segfault in >>garbage collection: > > > I reported it on Caml list. > Looks like the following is making crash too : > > let test() = > let a = Obj.new_block 0 0 in > let b = Obj.dup a in > Gc.major() > ;; > > I'm not sure I understand why, since "a" is a valid block, it looks like a > caml bug to me. > I'll fix the idup method on CVS until I got more informations on this. |