newLISP Fan Club

Forum => newLISP in the real world => Topic started by: newdep on August 14, 2004, 01:46:00 AM

Title: Segmentation fault -> Search using "update"
Post by: newdep on August 14, 2004, 01:46:00 AM
Hi Lutz,



Linux 8.1.1



Using a (search outfile "lookmeup") creates a "Segmentation Fault"

on a previous opened file with (set! outfile (open "hello" "update"))



This means that a 'Search can only be used specificly with a "read" ?



> outfile

5

> (search outfile "whereami")

Segmentation fault

bash-2.05b$



Norman.
Title:
Post by: Lutz on August 14, 2004, 05:38:13 AM
Cannot repeat this on good file handles, but most likely you where doing search on an invalid file handle which caused search to 'crash'. I will check for that condition in the next version.



Lutz
Title:
Post by: Lutz on August 14, 2004, 07:17:10 AM
The 'search' problem is fixed in 8.1.2.



There is also a new 'make install_home' for Nigel to test on Live CD and other distributions for installations without 'root' permissions in the users home directory on Linux/UNIX.



Lutz
Title:
Post by: newdep on August 14, 2004, 07:59:12 AM
Thanks Lutz indeed I searched on a closed filehandler...