Hi Sean, You can debug the answer of #serialize:, which has information. If you suspect of certain objects you could configure the serializer before serialization with #when:substituteBy: to filter them or something like that.
Martin On Fri, Oct 14, 2016 at 1:56 PM, Eliot Miranda <[email protected]> wrote: > Hi Sean, > > > > On Fri, Oct 14, 2016 at 9:26 AM, Sean P. DeNigris <[email protected]> > wrote: > >> I serialized an object graph with lots of Chinese characters in Pharo >> 4.0. I >> have been able to rematerialize it back into Pharo 4.0. However, when I >> try >> to materialize into a Pharo 5.0 image, I get "PrimitiveFailed: primitive >> #value: in Character class failed" from `Character class>>#value: >> 1310876005`. The only difference immediately apparent is the VM (both via >> Launcher; details below). >> > > Spur allows 30-bit unsigned character codes, so the max character code is > 1073741823, or 16r3FFFFFFF. So your character value is out of range. > Character class>>#value: reds better commentary. The limit cannot be > raised; there are only 30 bits available for immediate character values. > Is that character code legal unicode? > > More generally, I'm interested in debugging techniques for Fuel. How would >> I >> drill down and isolate the problem? >> >> Thanks! >> >> 5.0 VM: >> Virtual Machine >> --------------- >> /Applications/Pharo.app/Contents/MacOS/Pharo >> CoInterpreter VMMaker.oscog-eem.1855 uuid: >> d8e4a3c2-a3bf-4adc-b224-8012903a1ef4 May 4 2016 >> StackToRegisterMappingCogit VMMaker.oscog-eem.1855 uuid: >> d8e4a3c2-a3bf-4adc-b224-8012903a1ef4 May 4 2016 >> https://github.com/pharo-project/pharo-vm.git Commit: >> b8ec25a570d7539653e1d793e97609adb509aaed Date: 2016-05-04 11:14:22 +0200 >> By: >> Esteban Lorenzano <[email protected]> Jenkins build #589 >> >> Mac Cocoa Cog 5.8b12 21-Sep-10 >1B0534FA-246C-47C5-AB29-7A76C81CCDCB< >> VMMaker versionString https://github.com/pharo-project/pharo-vm.git >> Commit: >> b8ec25a570d7539653e1d793e97609adb509aaed Date: 2016-05-04 11:14:22 +0200 >> By: >> Esteban Lorenzano <[email protected]> Jenkins build #589 >> CoInterpreter VMMaker.oscog-eem.1855 uuid: >> d8e4a3c2-a3bf-4adc-b224-8012903a1ef4 May 4 2016 >> StackToRegisterMappingCogit VMMaker.oscog-eem.1855 uuid: >> d8e4a3c2-a3bf-4adc-b224-8012903a1ef4 May 4 2016 >> >> VS. >> >> 4.0 VM: >> Virtual Machine >> --------------- >> /Applications/Pharo.app/Contents/Resources/vm/40/Pharo.app/ >> Contents/MacOS/Pharo >> NBCoInterpreter NativeBoost-CogPlugin-EstebanLorenzano.21 uuid: >> 4d9b9bdf-2dfa-4c0b-99eb-5b110dadc697 Apr 2 2015 >> NBCogit NativeBoost-CogPlugin-EstebanLorenzano.21 uuid: >> 4d9b9bdf-2dfa-4c0b-99eb-5b110dadc697 Apr 2 2015 >> https://github.com/pharo-project/pharo-vm.git Commit: >> 32d18ba0f2db9bee7f3bdbf16bdb24fe4801cfc5 Date: 2015-03-24 11:08:14 +0100 >> By: >> Esteban Lorenzano <[email protected]> Jenkins build #14904 >> >> Mac Cocoa Cog 5.8b12 21-Sep-10 >1B0534FA-246C-47C5-AB29-7A76C81CCDCB< >> VMMaker versionString https://github.com/pharo-project/pharo-vm.git >> Commit: >> 32d18ba0f2db9bee7f3bdbf16bdb24fe4801cfc5 Date: 2015-03-24 11:08:14 +0100 >> By: >> Esteban Lorenzano <[email protected]> Jenkins build #14904 >> NBCoInterpreter NativeBoost-CogPlugin-EstebanLorenzano.21 uuid: >> 4d9b9bdf-2dfa-4c0b-99eb-5b110dadc697 Apr 2 2015 >> NBCogit NativeBoost-CogPlugin-EstebanLorenzano.21 uuid: >> 4d9b9bdf-2dfa-4c0b-99eb-5b110dadc697 Apr 2 2015 >> >> >> >> ----- >> Cheers, >> Sean >> -- >> View this message in context: http://forum.world.st/Spur-VM- >> Bug-for-Chinese-Characters-tp4918883.html >> Sent from the Pharo Smalltalk Developers mailing list archive at >> Nabble.com. >> >> > > > -- > _,,,^..^,,,_ > best, Eliot >
