[Pkg-gnu-smalltalk-devel] Bug#558013: Segfault when seting n-th bit of number, with large n
Paolo Bonzini
bonzini at gnu.org
Wed Nov 25 22:29:41 UTC 2009
On 11/25/2009 10:48 PM, Jeronimo Pellegrini wrote:
> Package: gnu-smalltalk
> Version: 3.0.3-2
> Severity: normal
>
> Hello,
>
> GNU Smalltalk segfaults if I try to set the 1000000-th bit of
> a number (maybe it could print an error message and fail
> gracefully):
>
> st> 0 bitAt: 1000000 put: 1
The memory overflow is in _printing_ a 125000 digit number:
st> (8 bitAt: 10000000 put: 1) size
1250001
st>
Thanks for the report.
Paolo
More information about the Pkg-gnu-smalltalk-devel
mailing list