Jacques Caron jc at oxado.com
Wed Jun 11 08:37:51 PDT 2008
At 11:44 06/06/2008, Cyril SCETBON wrote:
>Hi guys,
>
>When I try to create a lot of set slonik dies with segmentation 
>fault message. The only way to succeed is to split the file 
>containing the create set statement and to try them one by one or 
>two by two. When I use strace on slonik it displays :
>
>read(3, "#--\n# Slony-I organizes tables i"..., 8192) = 8192
>read(3, "d table (set id=5, origin=201, i"..., 8192) = 8192
>read(3, ");\nset add table (set id=9, orig"..., 8192) = 8192
>mmap(NULL, 18446744073709547520, PROT_READ|PROT_WRITE, 
>MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)

FYI, the mmap size is the (unsigned 64 bit integer) equivalent of 
-4096, so it looks like "something" attempted a negative size malloc 
(that got rounded to -4096, a multiple of the page size). Not quite 
sure which piece of code could lead to that result...

Jacques.



More information about the Slony1-general mailing list