[Pharo-dev] NativeBoost String Handling Bug?

Sean P. DeNigris sean at clipperadams.com
Mon Dec 2 21:17:37 EST 2013


Hooray! How can I patch to see if it fixes my problem?

-------- Original message --------
From: "Igor Stasenko [via Smalltalk]" <ml-node+s1294792n4726884h92 at n4.nabble.com> 
Date: 12/02/2013  8:31 PM  (GMT-05:00) 
To: "Sean P. DeNigris" <sean at clipperadams.com> 
Subject: Re: NativeBoost String Handling Bug? 
 
nevermind, i think i found the cause.
(system call now is working)


On 3 December 2013 02:08, Igor Stasenko <[hidden email]> wrote:



On 3 December 2013 00:32, Sean P. DeNigris <[hidden email]> 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.

Cheers, 
Sean

View this message in context: Re: NativeBoost String Handling Bug?

Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



-- 
Best regards,
Igor Stasenko.



-- 
Best regards,
Igor Stasenko.


If you reply to this email, your message will be added to the discussion below:
http://forum.world.st/NativeBoost-String-Handling-Bug-tp4726860p4726884.html
To unsubscribe from NativeBoost String Handling Bug?, click here.
NAML



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/NativeBoost-String-Handling-Bug-tp4726860p4726889.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20131202/72a3c51b/attachment-0002.html>


More information about the Pharo-dev mailing list