thanks a lot for your quickly answer, because I'm modifying some critical parts of gecode to get some information during the propagation process and it's very difficult to understand these problems (especially because on linux, with gcc 4.1.3, I don't get the segmentation fault).
Best regards, Alejandro On Wed, Mar 5, 2008 at 9:57 PM, Guido Tack <[EMAIL PROTECTED]> wrote: > Alejandro Arbelaez wrote: > > I've been trying to run some examples from the last version of > > gecode (2.1.0) and I getting a segmentation fault running the > > partition example (with the default parameter 32). but when I run > > the same problem with size=21 I got the following error: > > > > partition(5531) malloc: *** error for object 0xd0f790: incorrect > > checksum for freed object - object was probably modified after being > > freed. > > *** set a breakpoint in malloc_error_break to debug > > > > > > BTW, I'm running these examples with a macbook pro, gcc version: > > i686-apple-darwin9-gcc-4.0.1. I downloaded the last release from the > > repository (i.e svn checkout .... /release-2.1.0) and I also > > compiled gecode with debug. > > I can reproduce the problems, but only with gcc 4.0.1. With gcc 4.2 > (also on Mac OS), it works as expected. We had several problems with > gcc 4.0 and don't recommend it (e.g., some finite set propagators > don't terminate). However, I'll look into this more closely, maybe > it's something else. > > Cheers, > Guido > >
_______________________________________________ Gecode users mailing list [EMAIL PROTECTED] https://www.gecode.org/mailman/listinfo/gecode-users