Raymond Toy <[email protected]> writes: >>>>>> "Chisheng" == Chisheng Huang <[email protected]> writes: > > Chisheng> Hi, > Chisheng> I'll get a segmentation fault when I specify > -dynamic-space-size 0 > Chisheng> with the 2016-02 snapshot on a 32-bit Linux machine: > > Chisheng> % lisp -dynamic-space-size 0 > Chisheng> Segmentation fault > Chisheng> % lisp -dynamic-space-size 1700 > Chisheng> -dynamic-space-size must be no greater than 1632 MBytes. > Chisheng> % lisp -dynamic-space-size 1632 > Chisheng> Segmentation fault > Chisheng> % lisp -dynamic-space-size 1600 > Chisheng> Segmentation fault > Chisheng> % lisp -dynamic-space-size 1550 > Chisheng> Segmentation fault > Chisheng> % lisp -dynamic-space-size 1500 > Chisheng> CMU Common Lisp snapshot-2016-02 (21A Unicode), running on > whale > Chisheng> With core: > /usr/local/cmucl-2016-02/lib/cmucl/lib/lisp-sse2.core > Chisheng> Dumped on: Mon, 2016-02-15 09:58:28-08:00 on lorien3 > Chisheng> See <http://www.cmucl.org/> for support information. > Chisheng> Loaded subsystems: > Chisheng> Unicode 1.29 with Unicode version 6.2.0 > Chisheng> Python 1.1, target Intel x86/sse2 > Chisheng> CLOS based on Gerd's PCL 2010/03/19 15:19:03 > Chisheng> * > > Thanks for the report. I'm guessing that this means that address > space used for the heap overlaps some other important system space. > > Can you send the output of cat /proc/<pid>/maps for the lisp process > with a heap size of 1500? That should give a hint at what's going on. > CMUCL expects that the heap can use all of the memory from 0x58100000 > to 0xbe000000. This seems to be true on my Fedora system. > > What 32-bit linux system are you running on?
It's Ubuntu 11.10 on a virtual machine (VirtualBox). The /proc/<pid>/maps of a CMUCL process with a heap size of 1500 is attached at the end. Thank you very much. Best, -cph
00110000-0012e000 r-xp 00000000 08:01 1104346 /lib/i386-linux-gnu/ld-2.13.so 0012e000-0012f000 r--p 0001d000 08:01 1104346 /lib/i386-linux-gnu/ld-2.13.so 0012f000-00130000 rw-p 0001e000 08:01 1104346 /lib/i386-linux-gnu/ld-2.13.so 00130000-00131000 r-xp 00000000 00:00 0 [vdso] 00131000-00134000 r-xp 00000000 08:01 1104343 /lib/i386-linux-gnu/libdl-2.13.so 00134000-00135000 r--p 00002000 08:01 1104343 /lib/i386-linux-gnu/libdl-2.13.so 00135000-00136000 rw-p 00003000 08:01 1104343 /lib/i386-linux-gnu/libdl-2.13.so 00136000-0015e000 r-xp 00000000 08:01 1104345 /lib/i386-linux-gnu/libm-2.13.so 0015e000-0015f000 r--p 00028000 08:01 1104345 /lib/i386-linux-gnu/libm-2.13.so 0015f000-00160000 rw-p 00029000 08:01 1104345 /lib/i386-linux-gnu/libm-2.13.so 00160000-002dc000 r-xp 00000000 08:01 1048673 /lib/i386-linux-gnu/libc-2.13.so 002dc000-002de000 r--p 0017c000 08:01 1048673 /lib/i386-linux-gnu/libc-2.13.so 002de000-002df000 rw-p 0017e000 08:01 1048673 /lib/i386-linux-gnu/libc-2.13.so 002df000-002e2000 rw-p 00000000 00:00 0 002e2000-002e8000 rwxp 00000000 00:00 0 08048000-0806d000 r-xp 00000000 08:01 1416928 /usr/local/cmucl-2016-02/bin/lisp 0806d000-0806e000 r--p 00024000 08:01 1416928 /usr/local/cmucl-2016-02/bin/lisp 0806e000-0806f000 rw-p 00025000 08:01 1416928 /usr/local/cmucl-2016-02/bin/lisp 0806f000-0809a000 rw-p 00000000 00:00 0 [heap] 10000000-1192c000 rwxp 00001000 08:01 1416903 /usr/local/cmucl-2016-02/lib/cmucl/lib/lisp-sse2.core 1192c000-1ffff000 rwxp 00000000 00:00 0 20000000-27fff000 rwxp 00000000 00:00 0 28000000-2837e000 rwxp 0192d000 08:01 1416903 /usr/local/cmucl-2016-02/lib/cmucl/lib/lisp-sse2.core 2837e000-37fff000 rwxp 00000000 00:00 0 38000000-38010000 r-xp 00000000 00:00 0 38010000-3ffff000 rwxp 00000000 00:00 0 58000000-58100000 rwxp 00000000 00:00 0 58100000-58102000 rwxp 01cab000 08:01 1416903 /usr/local/cmucl-2016-02/lib/cmucl/lib/lisp-sse2.core 58102000-b5d00000 rwxp 00000000 00:00 0 b7b82000-b7fea000 rw-p 00000000 00:00 0 b7ffe000-b8000000 rw-p 00000000 00:00 0 bffdf000-c0000000 rw-p 00000000 00:00 0 [stack]
_______________________________________________ cmucl-help mailing list [email protected] http://lists.zs64.net/mailman/listinfo/cmucl-help
