Segmentation fault -> Search using "update"

Q&A's, tips, howto's
Locked
newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Segmentation fault -> Search using "update"

Post 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.
-- (define? (Cornflakes))

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post 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

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post 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

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

Thanks Lutz indeed I searched on a closed filehandler...
-- (define? (Cornflakes))

Locked