[squeak-dev] Re: `2 raisedTo: 100000000` crashes VM

Bert Freudenberg bert at freudenbergs.de
Wed Jun 1 11:43:01 UTC 2016


On 01.06.2016, at 13:27, Fabio Niephaus <lists at fniephaus.com> wrote:
> 
> Hi all,
> 
> We just found out that the VM crashes when trying to build very large integers.
> I'm not sure what could cause the problem...

Maybe largeIntgrowTo doesn’t check the size?

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x9b5fa572 __pthread_kill + 10
1   libsystem_pthread.dylib       	0x91403654 pthread_kill + 101
2   libsystem_c.dylib             	0x93dddc34 abort + 156
3   org.squeak.Squeak$(VM_MONIKER)	0x00139db9 sigsegv + 175
4   libsystem_platform.dylib      	0x9e4bd79b _sigtramp + 43
5   ???                           	0xffffffff 0 + 4294967295
6   org.squeak.Squeak$(VM_MONIKER)	0x00139d0a getCrashDumpFilenameInto + 82
7   org.squeak.Squeak$(VM_MONIKER)	0x00177262 largeIntgrowTo + 107
8   org.squeak.Squeak$(VM_MONIKER)	0x001771f1 normalizePositive + 190
9   org.squeak.Squeak$(VM_MONIKER)	0x0017678c primDigitMultiplyNegative + 597
10  ???                           	0x04cb4cc8 0 + 80432328
11  org.squeak.Squeak$(VM_MONIKER)	0x000c203a interpret + 741


- Bert -



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4207 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20160601/77136501/smime.bin


More information about the Squeak-dev mailing list