Andy,

I think that the Python service wrapper sometimes returns data on the stack, the data allocated by PyValue appears to be valid inside the wrapper itself but gets out of scope after the wrapper has returned, causing memory violations or garbage to be returned.

Could you please take a look at my change under revision r481279? I copied a char* into a new string to workaround the particular case I ran into, but there's probably a better way to fix this and make sure that strings returned by the wrapper in general are allocated on the heap instead of the stack.

Thanks...

--
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to