bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: display-error segmentation fault


From: Marius Vollmer
Subject: Re: display-error segmentation fault
Date: 13 Jan 2001 13:06:28 +0100
User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7

Neil Jerram <address@hidden> writes:

> This is with a current CVS Guile (on a GNU/Linux system).
> 
> address@hidden neil]$ guile
> guile> (display-error #f #f #f #f #f #f)
> Segmentation fault (core dumped)
> address@hidden neil]$ 
> 
> The problem arises because scm_display_error does not check that its
> port argument actually is a port.

I think there is little reason why display-error should not check its
arguments like every other function.  We have to be careful to not
generate an infinite loop when trying to signal an error from within
the error reporting machinery.  Aborting is probably OK, but in a more
controlled way than waiting for the segv.


Anyone interested in fixing this?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]