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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Gecode users mailing list
[EMAIL PROTECTED]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to