[Pharo-dev] NativeBoost String Handling Bug?
siguctua at gmail.com
Mon Dec 2 20:29:17 EST 2013
nevermind, i think i found the cause.
(system call now is working)
On 3 December 2013 02:08, Igor Stasenko <siguctua at gmail.com> wrote:
> On 3 December 2013 00:32, Sean P. DeNigris <sean at clipperadams.com> wrote:
>> sound really as some bug.. and similar to system() call.
>> my versions is:
>> - it could be that strings are expected to be 16-byte aligned
>> - that there's some bug with converting to null-terminated C string
>> Great! It's be nice to get this and system calls working in one shot...
>> how do we proceed? How do we test? I'm willing to help...
> if there some bug, it must be in NBExternalString
> which responsible for marshalling strings.
> try to change the alignment for the pointer and see how it goes in
> reserveStackBytes: numBytesOrBlock andStoreAddrTo: aTemp
> because right now it aligns the total space to reserve on stack
> (amount to subtract from SP), but not SP itself
> alignment should use powers of 2 , of course.
> View this message in context: Re: NativeBoost String Handling Bug?<http://forum.world.st/NativeBoost-String-Handling-Bug-tp4726860p4726878.html>
> Sent from the Pharo Smalltalk Developers mailing list archive<http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html>at Nabble.com.
> Best regards,
> Igor Stasenko.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pharo-dev