[gecode-users] example problem

Guido Tack tack at ps.uni-sb.de
Wed Mar 5 21:57:46 CET 2008


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2436 bytes
Desc: not available
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20080305/096ff3fc/attachment.bin>


More information about the gecode-users mailing list