Dear CMUCL developers, I am running cmucl-19a-pre2 from pre-built binaries (cmucl-19a-pre2-x86-linux.tar.bz2), on a Fedora Core 2 system, on an Athon XP 1700+ with 512Mb of memory.
The good new is that this does not immediately segfault; 18e would not run for me at all. The bad news is a problem with the gc and (room). I managed to find a small loop that exhibits the problem, and at the risk of being overly verbose, include the complete output up to the crash: CMU Common Lisp 19a-pre2, running on basement With core: /opt/cmucl-19a-pre2/lib/cmucl/lib/lisp.core Dumped on: Sat, 2004-06-05 01:28:16-04:00 on lorien See <http://www.cons.org/cmucl/> for support information. Loaded subsystems: Python 1.1, target Intel x86 CLOS based on Gerd's PCL 2004/04/14 03:32:47 * (dotimes (x 20) (loop for x below 1000 collect (make-array x)) (room)) Dynamic Space Usage: 2,175,048 bytes (out of 512 MB). Read-Only Space Usage: 20,024,704 bytes (out of 256 MB). Static Space Usage: 2,908,608 bytes (out of 256 MB). Control Stack Usage: 868 bytes (out of 128 MB). Binding Stack Usage: 96 bytes (out of 128 MB). The current dynamic space is 0. Garbage collection is currently enabled. Breakdown for dynamic space: 2,011,816 bytes for 1,009 simple-vector-type objects. 179,544 bytes for 16,140 other objects. 2,191,360 bytes for 17,149 dynamic objects (space total.) Dynamic Space Usage: 4,437,096 bytes (out of 512 MB). Read-Only Space Usage: 20,024,704 bytes (out of 256 MB). Static Space Usage: 2,908,608 bytes (out of 256 MB). Control Stack Usage: 868 bytes (out of 128 MB). Binding Stack Usage: 96 bytes (out of 128 MB). The current dynamic space is 0. Garbage collection is currently enabled. Breakdown for dynamic space: 4,020,352 bytes for 2,010 simple-vector-type objects. 432,000 bytes for 45,747 other objects. 4,452,352 bytes for 47,757 dynamic objects (space total.) Dynamic Space Usage: 7,217,728 bytes (out of 512 MB). Read-Only Space Usage: 20,024,704 bytes (out of 256 MB). Static Space Usage: 2,908,608 bytes (out of 256 MB). Control Stack Usage: 868 bytes (out of 128 MB). Binding Stack Usage: 96 bytes (out of 128 MB). The current dynamic space is 0. Garbage collection is currently enabled. Breakdown for dynamic space: 6,028,888 bytes for 3,011 simple-vector-type objects. 520,928 bytes for 65,116 sap objects. 683,720 bytes for 75,262 other objects. 7,233,536 bytes for 143,389 dynamic objects (space total.) Dynamic Space Usage: 11,530,880 bytes (out of 512 MB). Read-Only Space Usage: 20,024,704 bytes (out of 256 MB). Static Space Usage: 2,908,608 bytes (out of 256 MB). Control Stack Usage: 868 bytes (out of 128 MB). Binding Stack Usage: 96 bytes (out of 128 MB). The current dynamic space is 0. Garbage collection is currently enabled. ; [GC threshold exceeded with 18,332,712 bytes in use. Commencing GC.] ; [GC completed with 2,095,584 bytes retained and 16,237,128 bytes freed.] ; [GC will next occur when at least 14,095,584 bytes are in use.] Breakdown for dynamic space: 8,037,424 bytes for 4,012 simple-vector-type objects. 1,667,720 bytes for 208,465 sap objects. 1,362,344 bytes for 170,286 bignum objects. 479,136 bytes for 47,502 other objects. 11,546,624 bytes for 430,265 dynamic objects (space total.) Dynamic Space Usage: 4,201,584 bytes (out of 512 MB). Read-Only Space Usage: 20,024,704 bytes (out of 256 MB). Static Space Usage: 2,908,608 bytes (out of 256 MB). Control Stack Usage: 868 bytes (out of 128 MB). Binding Stack Usage: 96 bytes (out of 128 MB). The current dynamic space is 0. Garbage collection is currently enabled. ; [GC threshold exceeded with 36,660,744 bytes in use. Commencing GC.] ; [GC completed with 4,115,936 bytes retained and 32,544,808 bytes freed.] ; [GC will next occur when at least 16,115,936 bytes are in use.] Breakdown for dynamic space: 8,094,464 bytes for 1,011,808 sap objects. 8,024,112 bytes for 1,003,011 bignum objects. 4,020,856 bytes for 2,022 simple-vector-type objects. 180,824 bytes for 15,079 other objects. 20,320,256 bytes for 2,031,920 dynamic objects (space total.) Dynamic Space Usage: 6,221,864 bytes (out of 512 MB). Read-Only Space Usage: 20,024,704 bytes (out of 256 MB). Static Space Usage: 2,908,608 bytes (out of 256 MB). Control Stack Usage: 868 bytes (out of 128 MB). Binding Stack Usage: 96 bytes (out of 128 MB). The current dynamic space is 0. Garbage collection is currently enabled. ; [GC threshold exceeded with 74,327,960 bytes in use. Commencing GC.] ; [GC completed with 6,155,352 bytes retained and 68,172,608 bytes freed.] ; [GC will next occur when at least 18,155,352 bytes are in use.] Breakdown for dynamic space: 16,997,848 bytes for 2,124,731 sap objects. 16,941,344 bytes for 2,117,665 bignum objects. 6,028,856 bytes for 3,022 simple-vector-type objects. 189,136 bytes for 16,541 other objects. 40,157,184 bytes for 4,261,959 dynamic objects (space total.) Dynamic Space Usage: 8,261,296 bytes (out of 512 MB). Read-Only Space Usage: 20,024,704 bytes (out of 256 MB). Static Space Usage: 2,908,608 bytes (out of 256 MB). Control Stack Usage: 868 bytes (out of 128 MB). Binding Stack Usage: 96 bytes (out of 128 MB). The current dynamic space is 0. Garbage collection is currently enabled. ; [GC threshold exceeded with 144,732,480 bytes in use. Commencing GC.] ; [GC completed with 6,498,112 bytes retained and 138,234,368 bytes freed.] ; [GC will next occur when at least 18,498,112 bytes are in use.] Breakdown for dynamic space: 34,095,072 bytes for 4,261,884 sap objects. 33,988,608 bytes for 4,248,573 bignum objects. 8,037,360 bytes for 4,034 simple-vector-type objects. 212,016 bytes for 18,748 other objects. 76,333,056 bytes for 8,533,239 dynamic objects (space total.) Dynamic Space Usage: 8,604,056 bytes (out of 512 MB). Read-Only Space Usage: 20,024,704 bytes (out of 256 MB). Static Space Usage: 2,908,608 bytes (out of 256 MB). Control Stack Usage: 868 bytes (out of 128 MB). Binding Stack Usage: 96 bytes (out of 128 MB). The current dynamic space is 0. Garbage collection is currently enabled. ; [GC threshold exceeded with 285,090,296 bytes in use. Commencing GC.] ; [GC completed with 8,541,904 bytes retained and 276,548,392 bytes freed.] ; [GC will next occur when at least 20,541,904 bytes are in use.] Breakdown for dynamic space: 69,089,416 bytes for 8,636,177 sap objects. 69,025,136 bytes for 8,628,139 bignum objects. 8,375,688 bytes for 4,124 simple-vector-type objects. 208,000 bytes for 18,089 other objects. 146,698,240 bytes for 17,286,529 dynamic objects (space total.) Dynamic Space Usage: 10,647,856 bytes (out of 512 MB). Read-Only Space Usage: 20,024,704 bytes (out of 256 MB). Static Space Usage: 2,908,608 bytes (out of 256 MB). Control Stack Usage: 868 bytes (out of 128 MB). Binding Stack Usage: 96 bytes (out of 128 MB). The current dynamic space is 0. Garbage collection is currently enabled. *A2 gc_alloc_new_region failed, nbytes=8. CMUCL has run out of dynamic heap space (512 MB). You can control heap size with the -dynamic-space-size commandline option. Imminent dynamic space overflow has occurred: Only a small amount of dynamic space is available now. Please note that you will be returned to the Top-Level without warning if you run out of space while debugging. Heap (dynamic space) overflow [Condition of type KERNEL:HEAP-OVERFLOW] Restarts: 0: [ABORT] Return to Top-Level. Debug (type H for help) (KERNEL:DYNAMIC-SPACE-OVERFLOW-WARNING-HIT) Source: Error finding source: Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer exists: target:code/interr.lisp. 0] a ; [GC threshold exceeded with 535,876,024 bytes in use. Commencing GC.] *A1 gc_alloc_large failed, nbytes=2728. CMUCL has run out of dynamic heap space (512 MB). Returning to top-level. NOT BOXED: 77f13000 77f32000 5a2fc000 ; [GC threshold exceeded with 1,036,064,256 bytes in use. Commencing GC.] ; [GC completed with 2,083,376 bytes retained and 1,033,980,880 bytes freed.] ; [GC will next occur when at least 14,083,376 bytes are in use.] Unable to display error condition: Type-error in KERNEL::OBJECT-NOT-LIST-ERROR-HANDLER: 0 is not of type LIST [Condition of type FLOATING-POINT-INVALID-OPERATION] Restarts: 0: [ABORT] Return to Top-Level. Debug (type H for help) (X86:SIGFPE-HANDLER #<unused-arg> #<unused-arg> #.(SYSTEM:INT-SAP #x3FFFCBC0)) Source: Error finding source: Error in function "<error finding name>": Source file no longer exists: target:code/float-trap.lisp. 0] a *** Sigsegv in page not marked as write protected *** Sigsegv in page not marked as write protected *** Sigsegv in page not marked as write protected (end of transcript) This last message repeats until I kill the process. A smaller loop, (dotimes (x 10) (loop for x below 100 collect (make-array x)) (room)), gives a similar result, except it is abortable to the toplevel. Once there, running (room) exhausts memory. In my larger system I was running, removing calls to ROOM eliminated the crashes I was experiencing, and I was able to complete a full 12 cpu minutes of regression tests without any failures, and with lots of gc activity. Mark Saaltink
