From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alexandre Duret-Lutz Newsgroups: gmane.lisp.guile.bugs Subject: segfault on incorrect code Date: 22 Jan 2004 17:49:51 +0100 Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Message-ID: <2004-01-22-17-49-52+19695+adl@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1074790572 24499 80.91.224.253 (22 Jan 2004 16:56:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Jan 2004 16:56:12 +0000 (UTC) Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Jan 22 17:56:02 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Aji7e-00013o-00 for ; Thu, 22 Jan 2004 17:56:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Aji4E-0001OM-29 for guile-bugs@m.gmane.org; Thu, 22 Jan 2004 11:52:30 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Aji2P-0000vK-SB for bug-guile@gnu.org; Thu, 22 Jan 2004 11:50:37 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Aji1p-0000l2-Jl for bug-guile@gnu.org; Thu, 22 Jan 2004 11:50:34 -0500 Original-Received: from [132.227.60.2] (helo=isis.lip6.fr) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1Aji1o-0000jy-VP for bug-guile@gnu.org; Thu, 22 Jan 2004 11:50:01 -0500 Original-Received: from src.lip6.fr (src.lip6.fr [132.227.64.100]) by isis.lip6.fr (8.12.10/jtpda-5.4+victor) with ESMTP id i0MGnslH021800 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 22 Jan 2004 17:49:54 +0100 X-pt: isis.lip6.fr Original-Received: from abacus.lip6.fr (abacus [132.227.64.160]) by src.lip6.fr (8.12.9-20030917/jtpda-5.4+victor) with ESMTP id i0MGx304004434 for ; Thu, 22 Jan 2004 17:59:03 +0100 Original-To: bug-guile@gnu.org X-Face: "Oky^obn}f(.QOV"RB7#1O@U^~rO6%5z5OrIm#nt{Fa4=cNRK@@e9rR$asU][QE[)7Pge8( kMx|^?!6wA~)0f1OmxROafMwBt9eDt(h[7F&qrs|Otp\ChrfJPH9A'&k$0@tl)1Lx X-Home-Page: http://gadl.free.fr/ X-GPG-Keyserver: http://pgp.mit.edu/ X-GPG-Fingerprint: FCA0 8615 0211 941A 2AB9 FA66 3859 C03B 2E23 6E47 Original-Lines: 15 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.3.50 X-Attribution: adl X-Scanned-By: isis.lip6.fr X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GUILE, GNU's Ubiquitous Extension Language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.bugs:1120 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.bugs:1120 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