Cyril SCETBON scetbon at echo.fr
Wed Jun 11 12:53:35 PDT 2008

Jacques Caron wrote:
> 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...
the type is an unsigned integer. So if the value is too big a cast 
occurs that should not give a negative value, but a shorter value...
>
> Jacques.
>
> _______________________________________________
> Slony1-general mailing list
> Slony1-general at lists.slony.info
> http://lists.slony.info/mailman/listinfo/slony1-general

-- 
Cyril SCETBON - Ingénieur bases de données
AUSY pour France Télécom - OPF/PORTAILS/DOP/HEBEX

Tél : +33 (0)4 97 12 87 60
Jabber : cscetbon at jabber.org
France Telecom - Orange
790 Avenue du Docteur Maurice Donat 
Bâtiment Marco Polo C2 - Bureau 202
06250 Mougins
France

***********************************
Ce message et toutes les pieces jointes (ci-apres le 'message') sont
confidentiels et etablis a l'intention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisee est interdite.
Tout message electronique est susceptible d'alteration. Le Groupe France
Telecom decline toute responsabilite au titre de ce message s'il a ete
altere, deforme ou falsifie.
Si vous n'etes pas destinataire de ce message, merci de le detruire
immediatement et d'avertir l'expediteur.
***********************************
This message and any attachments (the 'message') are confidential and
intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. France Telecom Group shall not be
liable for the message if altered, changed or falsified.
If you are not recipient of this message, please cancel it immediately and
inform the sender.
************************************



More information about the Slony1-general mailing list