Page 1 of 1

Segmentation fault -> Search using "update"

Posted: Sat Aug 14, 2004 8:46 am
by newdep
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.

Posted: Sat Aug 14, 2004 12:38 pm
by Lutz
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

Posted: Sat Aug 14, 2004 2:17 pm
by Lutz
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

Posted: Sat Aug 14, 2004 2:59 pm
by newdep
Thanks Lutz indeed I searched on a closed filehandler...