On 01/04/2012 05:05 PM, Tom Lane wrote:
>
>> Well, the crash is apparently solved by the following, which your
>> investigation suggested to me:
>> - cmsg = sv2cstr(msg);
>> + cmsg = sv2cstr(newSVsv(msg));
> That's kinda grotty ... and leaky ...
>
Of course it is. It wasn't meant as a solution but as validation of your
suspicions about the nature of the problem. (The leakiness could be
solved, though.)
cheers
andrew