[Pkg-gnu-smalltalk-devel] Bug#558013: Segfault when seting n-th bit of number, with large n

Jeronimo Pellegrini j_p at aleph0.info
Wed Nov 25 21:48:15 UTC 2009


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
"Global garbage collection... done, heap grown"
"Global garbage collection... done"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
"Global garbage collection... done, heap grown"
stdin:10: Aborted
Segmentation fault

Thanks,
J.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-rc8 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnu-smalltalk depends on:
ii  libc6                     2.10.2-2       GNU C Library: Shared libraries
ii  libffi5                   3.0.9~rc3-1    Foreign Function Interface library
ii  libgmp3c2                 2:4.3.1+dfsg-3 Multiprecision arithmetic library
ii  libgst7                   3.0.3-2        GNU Smalltalk virtual machine shar
ii  libreadline5              5.2-6          GNU readline and history libraries
ii  libsigsegv0               2.5-3          Library for handling page faults i
ii  unzip                     6.0-1          De-archiver for .zip files
ii  zip                       3.0-1          Archiver for .zip files

Versions of packages gnu-smalltalk recommends:
ii  gnu-smalltalk-common          3.0.3-2    GNU Smalltalk class library source

Versions of packages gnu-smalltalk suggests:
ii  gnu-smalltalk-doc             3.0.3-2    GNU Smalltalk info documentation

-- no debconf information





More information about the Pkg-gnu-smalltalk-devel mailing list