Subject: clisp problem
To: Current Users <current-users@netbsd.org>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: pkgsrc-users
Date: 10/13/2007 13:32:35
Hi,

Yesterday I realized maxima had stopped working on my laptop with
-current as of 08/10/2007:

$ uname -a
NetBSD lisa 4.99.32 NetBSD 4.99.32 (GENERIC.MP) #4: Wed Oct 10
01:37:36 BST 2007  root@lisa:/usr/obj/sys/arch/i386/compile/GENERIC.MP
i386

Tried to update it, but eventually discovered the problem was with clisp:

$ clisp
Cannot map memory to address 0xc94d8000 .
[spvw_mmap.d:359] errno = EFBIG: File too large.
/usr/pkg/lib/clisp/base/lisp.run: not enough memory for initialization

bt in gdb of

gives:

lisa$ gdb lisp.run lisp.run.core
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
...
Core was generated by `lisp.run'.
Program terminated with signal 11, Segmentation fault.
...
(gdb) bt
#0  0x080658b7 in regcomp ()
#1  0x08071167 in regcomp ()
#2  0x08072d7b in regcomp ()
#3  0x080f091a in regcomp ()
........................ (only regcomp() appears here)
#11175 0x08096a2c in regcomp ()
#11176 0x080ead2d in regcomp ()
#11177 0x080eb257 in regcomp ()
#11178 0x080ea1e3 in regcomp ()
#11179 0x08068ad3 in regcomp ()
#11180 0x08069946 in regcomp ()
#11181 0x0806a2bc in regcomp ()
#11182 0x0806a3a4 in regcomp ()
#11183 0x0806bfe4 in regcomp ()
#11184 0x0806f8de in regcomp ()
#11185 0x0804d604 in ?? ()
#11186 0xbfbfed50 in ?? ()
---Type <return> to continue, or q <return> to quit---
#11187 0x0804d604 in ?? ()
#11188 0x00000001 in ?? ()
#11189 0xbfbfed74 in ?? ()
#11190 0xbfbfed7c in ?? ()
#11191 0x0804d576 in ?? ()
#11192 0x00000000 in ?? ()
(gdb)

so it looks it gets stuck in regcomp() for some reason (this is just running
 /usr/pkg/lib/clisp/base/lisp.run)

I tried changing data size limit with ulimit -d to the max with no effect.

I will check later the same on a different, slightly older -current system.

Any ideas?

Chavdar Ivanov