unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* segfault on incorrect code
@ 2004-01-22 16:49 Alexandre Duret-Lutz
  2004-02-13  0:11 ` Marius Vollmer
  2004-02-14  0:07 ` Kevin Ryde
  0 siblings, 2 replies; 4+ messages in thread
From: Alexandre Duret-Lutz @ 2004-01-22 16:49 UTC (permalink / raw)


Seeing a thread named "core dump" remembered me an old bug I
stumbled upon years ago (in guile 1.3), but never reported. 
It seems to be still present in recent versions.

% guile
guile> (version)
"1.6.4"
guile> (define (foo a b c) (< b c))
guile> (sort '(3 2 1) foo)
zsh: segmentation fault  guile

The code is obviously wrong, but maybe sort could check the
arity of its last argument.
-- 
Alexandre Duret-Lutz



_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-guile


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-02-14  0:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-22 16:49 segfault on incorrect code Alexandre Duret-Lutz
2004-02-13  0:11 ` Marius Vollmer
2004-02-14  0:07 ` Kevin Ryde
2004-02-14  0:33   ` Kevin Ryde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).