|
From: SourceForge.net <no...@so...> - 2010-10-17 10:05:40
|
Bugs item #3088751, was opened at 2010-10-16 19:19 Message generated for change (Settings changed) made by vtz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=3088751&group_id=1355 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Michael Kappert (michaelkappert) Assigned to: Vladimir Tzankov (vtz) Summary: SIGSEGV and SIGABRT on large (unsigned-byte 8) arrays Initial Comment: Hi, this is on clisp-2.49 on linux/x86_64. Offending code: 1) (let ((a (make-array (truncate array-total-size-limit 8) :element-type '(unsigned-byte 8)))) (aref *a* 100000)) => Program received signal SIGSEGV, Segmentation fault. 0x000000000050adbc in storagevector_aref (datenvektor=..., index=100000) at ../src/array.d:537 2) (let ((a (make-array (truncate array-total-size-limit 8) :element-type '(unsigned-byte 8)))) (gc)) => [../src/spvw_garcol.d:1146] assertion failure: 0 0 Program received signal SIGABRT, Aborted. 0x00007ffff6dfea75 in raise () from /lib/libc.so.6 array-total-size-limit is 2^32 Errors do not occur with small arrays or when element-type is T. libsigsegv: 2.5.3 libc6 2.11.1-0ubuntu libc6-i386 2.11.1-0ubuntu GNU C Library: 32-bit shared libraries for A -------------------------------------------------------------------------------- Configure findings: FFI: yes (user requested: default) readline: yes (user requested: default) libsigsegv: yes ./makemake --with-dynamic-ffi --verbose=yes --srcdir=../src debug > Makefile inferred: fsstnd = debian EXPORT_DYNAMIC_FLAG_SPEC=-Wl,--export-dynamic # host system: hostname = "aguas-5" HSYS = "x86_64" HSYSOS = "linux" HOS = "unix" host_cpu = "x86_64" cpu = "x86_64" host_os = "linux-gnu" host = "x86_64-unknown-linux-gnu" # target system: TSYS = "x86_64" TSYSOS = "linux" TOS = "unix" BUILD_AUX = config.guess config.rpath config.sub depcomp arg-nonnull.h c++defs.h warn-on-use.h Regards Michael ---------------------------------------------------------------------- Comment By: Vladimir Tzankov (vtz) Date: 2010-10-17 13:05 Message: thank you for your bug report. the bug has been fixed in the CVS tree. you can either wait for the next release (recommended) or check out the current CVS tree (see http://clisp.cons.org) and build CLISP from the sources (be advised that between releases the CVS tree is very unstable and may not even build on your platform). ---------------------------------------------------------------------- Comment By: Vladimir Tzankov (vtz) Date: 2010-10-17 00:58 Message: confirmed ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=3088751&group_id=1355 |