Re: Modify the bug#679 fix

Bruno Haible <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <1773388.T71jG9d74k@omega>
Hi Sam,

Thanks for your fix, along the discussed lines. However, there is a GC-safety bug.

How to reproduce:
- Set MULTIBUILD_32_OPTIONS so that the build will find libsigsegv and optionally
  also readline and libffcall.
- $ CC="gcc -m32" CXX="g++ -m32" make -f Makefile.devel build-porting32-gcc-debug_gcsafety

It crashes like this:

./lisp.run -B . -N locale -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc -q -M lispinit.mem -x '(truename (make-stream :output))'
STACK size: 98206 [0xf6fc3f00 0xf6f64088]
Exiting on signal 6

When I look at it in gdb:
$ gdb lisp.run core
(gdb) where
...
#8  0xf73e6207 in abort () from /lib32/libc.so.6
#9  0x0819dc5b in ngci_pointable (obj=...) at ../src/lispbibl.d:7260
#10 0x081a035f in file_stream_truename (stream=...) at ../src/pathname.d:889
#11 0x081b9e3b in C_truename () at ../src/pathname.d:5630
...

Bruno


------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.