GNU bug report logs - #25384
Compiler mis-identifies source location of erroneous parenthesis pairs

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: Mike Gran <spk121@HIDDEN>; dated Sat, 7 Jan 2017 15:53:02 UTC; Maintainer for guile is bug-guile@HIDDEN.

Message received at 25384 <at> debbugs.gnu.org:


Received: (at 25384) by debbugs.gnu.org; 1 Mar 2017 15:30:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 01 10:30:45 2017
Received: from localhost ([127.0.0.1]:34543 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cj6DF-0002Sc-Jv
	for submit <at> debbugs.gnu.org; Wed, 01 Mar 2017 10:30:45 -0500
Received: from pb-sasl1.pobox.com ([64.147.108.66]:60974
 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <wingo@HIDDEN>) id 1cj6DD-0002SU-Hn
 for 25384 <at> debbugs.gnu.org; Wed, 01 Mar 2017 10:30:43 -0500
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1])
 by pb-sasl1.pobox.com (Postfix) with ESMTP id 3328F5EEA3;
 Wed,  1 Mar 2017 10:30:41 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc
 :subject:references:date:in-reply-to:message-id:mime-version
 :content-type; s=sasl; bh=2Z8l1eXN4XF57NJAeNbBFzRR5NE=; b=yCwgeI
 /VxBqOwPd+G5cl1kFqv2u/BX2Oq6K9rxvmB4qrQgAJtqrqQMJqFyq2HdktxY7pdQ
 YYO5iPP0Q+ZTrdMtfOiUDyhKragnDwMsAWSOHki9Ph8O4INY4T4WVf65KN+dV0j0
 GSyVUIIp9oviJuAGSwp/1yiDgo5foexa0Bn2o=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc
 :subject:references:date:in-reply-to:message-id:mime-version
 :content-type; q=dns; s=sasl; b=T7iNuqGz5RCDehJDlIyqJuGka9feMVQQ
 TIOKGC8rtODHgIywrFYRya9fLrr7ELOQ7DmrRlFBPjZcOmxZo4rwuwyKwS963MPb
 MyXzaTkm24Go459z9WhvlatwTVeMpCpTh6r6zYLnZ1PUrqy6v2/gWwhj8XePa5/J
 1b58rTIHap4=
Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1])
 by pb-sasl1.pobox.com (Postfix) with ESMTP id 2DBC25EEA1;
 Wed,  1 Mar 2017 10:30:41 -0500 (EST)
Received: from clucks (unknown [109.190.228.233])
 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by pb-sasl1.pobox.com (Postfix) with ESMTPSA id 67D3E5EEA0;
 Wed,  1 Mar 2017 10:30:40 -0500 (EST)
From: Andy Wingo <wingo@HIDDEN>
To: Mike Gran <spk121@HIDDEN>
Subject: Re: bug#25384: Compiler mis-identifies source location of erroneous
 parenthesis pairs
References: <1511183750.185669.1483804304447.ref@HIDDEN>
 <1511183750.185669.1483804304447@HIDDEN>
Date: Wed, 01 Mar 2017 16:30:33 +0100
In-Reply-To: <1511183750.185669.1483804304447@HIDDEN> (Mike Gran's
 message of "Sat, 7 Jan 2017 15:51:44 +0000 (UTC)")
Message-ID: <87a895f206.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Pobox-Relay-ID: 06EF3004-FE94-11E6-A2F1-B667064AB293-02397024!pb-sasl1.pobox.com
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 25384
Cc: 25384 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

On Sat 07 Jan 2017 16:51, Mike Gran <spk121@HIDDEN> writes:

> In guile 2.0.13, both the compiler and the interpreter
> fail to identify the source location of errors of the following
> form.  It instead reports the errors as occurring in boot-9.scm.
> (unknown-func unknown-symbol () #t)
> GUILD COMPILE ERROR
> ;;; WARNING: compilation of /home/mike/projects/bug1.scm failed: 
> ;;; ERROR: Syntax error: 
> ;;; unknown location: unexpected syntax in form () 
> ice-9/boot-9.scm:703:29: In procedure map: 
> ice-9/boot-9.scm:703:29: Syntax error: 
> unknown location: unexpected syntax in form () 
>
> INTERPRETER ERROR
> ice-9/boot-9.scm:703:29: In procedure map: 
> ice-9/boot-9.scm:703:29: Syntax error: 
> unknown location: unexpected syntax in form () 

Yep.  Tough one.  Same behavior in 2.2.

Andy




Information forwarded to bug-guile@HIDDEN:
bug#25384; Package guile. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Jan 2017 15:52:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 07 10:52:08 2017
Received: from localhost ([127.0.0.1]:46143 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cPtHs-000095-KB
	for submit <at> debbugs.gnu.org; Sat, 07 Jan 2017 10:52:08 -0500
Received: from eggs.gnu.org ([208.118.235.92]:37609)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <spk121@HIDDEN>) id 1cPtHq-00008c-Gf
 for submit <at> debbugs.gnu.org; Sat, 07 Jan 2017 10:52:07 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <spk121@HIDDEN>) id 1cPtHk-00013a-IB
 for submit <at> debbugs.gnu.org; Sat, 07 Jan 2017 10:52:01 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: **
X-Spam-Status: No, score=2.9 required=5.0 tests=BAYES_50,FORGED_YAHOO_RCVD,
 FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:47602)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <spk121@HIDDEN>) id 1cPtHk-00013T-F1
 for submit <at> debbugs.gnu.org; Sat, 07 Jan 2017 10:52:00 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56809)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <spk121@HIDDEN>) id 1cPtHj-0007jV-A0
 for bug-guile@HIDDEN; Sat, 07 Jan 2017 10:52:00 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <spk121@HIDDEN>) id 1cPtHg-00012M-7r
 for bug-guile@HIDDEN; Sat, 07 Jan 2017 10:51:59 -0500
Received: from nm6.bullet.mail.ne1.yahoo.com ([98.138.90.69]:34897)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71)
 (envelope-from <spk121@HIDDEN>) id 1cPtHg-000123-1m
 for bug-guile@HIDDEN; Sat, 07 Jan 2017 10:51:56 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1483804314; bh=CKB68YXd+ybqmPJJ/rJPofwVBTZ8+vSz5vOyUKNIml0=;
 h=Date:From:Reply-To:To:Subject:References:From:Subject;
 b=cGWfLXf3XeMXUkPKBfVsWsRL5HzvlT84/dxJ4aYHKN0Fjx0w8D16cnLFr/IQXhzB/XQo54Cn0WYxPIGnEza34xfX/rhKlsso9EdtRmErqlW2ECZZGjYQPpQfG1bIOiu99eZmXHHQZwAkSs6TVtfibPK5cA2ES9rTUuVFXdOFM5f86t7+d4IXsH2EFvoAmDGbPrV5q5V00APIJJH705Bjb00FTrpSG5AI2YOiW60f6Sy/8mkptVI09Kj3IzYKnMnDAIelTiGKuTWfCNR2JylgdyoQoaWOlD7PeTNOBimiR/pKqDfZfbN6PB+lnUJldvKoH/PaR/h2AF3x9SFrIpC2Gw==
Received: from [98.138.100.112] by nm6.bullet.mail.ne1.yahoo.com with NNFMP;
 07 Jan 2017 15:51:54 -0000
Received: from [98.138.89.167] by tm103.bullet.mail.ne1.yahoo.com with NNFMP;
 07 Jan 2017 15:51:54 -0000
Received: from [127.0.0.1] by omp1023.mail.ne1.yahoo.com with NNFMP;
 07 Jan 2017 15:51:53 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 988836.81053.bm@HIDDEN
X-YMail-OSG: .T.kpkIVM1ktgrKHhJrN_9SFVpn5egyBvPk3r8fRs3AlAN4SyGsOwVWhHyhWlA6
 4dzkrqLSIwmFXVZYSib5NoCFtJ0AsdOXIwbbJVvOIn.0elBnUbpDA36Idh1LyJtOhYYWE8Cc_NQg
 aIZdymzoYUMG3HPVcJs41Y4DMj4zaugasE.RGl2LYQNkVeIH4uOGB6IqCmEs0C4dZoPGAXrRsXub
 ZabKXCQcF.ansS3l6vuPhmpFocnRNSV1rHCUNpj5iwuVv2LZ3fTh13fA9wvsToOMzzvLWMbzK_nQ
 qepSP..Azx.TWgiuUkxF09f4il6x2tb84GBVqwHTYEEhHGB4LjpxMPMBRtCT5dZI6kfYt7Fp.gxe
 ZfcFL94B70Vw.R7368jhdJFFt.J7H0MgT2BKXVlWYwR.EeQKP4rG7qddI8Q0BKkOtQgBZuC7qypS
 sqIRMPp9TRsOGfUA.SwcAAAiYu4YgOzYdkwZRkSyOd3imXx5eHv9rP6HfXcjEI823ujiPNPX.f6V
 pyFuAfskKAFT4UtX5gV3Hmf4uYDGImos26u2slf0OvMxmxOM-
Received: from jws200154.mail.ne1.yahoo.com by
 sendmailws158.mail.ne1.yahoo.com; Sat, 07 Jan 2017 15:51:53 +0000;
 1483804313.623
Date: Sat, 7 Jan 2017 15:51:44 +0000 (UTC)
From: Mike Gran <spk121@HIDDEN>
To: Bug Guile    <bug-guile@HIDDEN>
Message-ID: <1511183750.185669.1483804304447@HIDDEN>
Subject: Compiler mis-identifies source location of erroneous parenthesis pairs
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
References: <1511183750.185669.1483804304447.ref@HIDDEN>
Content-Length: 1180
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -2.8 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Mike Gran <spk121@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.8 (--)

In guile 2.0.13, both the compiler and the interpreter
fail to identify the source location of errors of the following
form.  It instead reports the errors as occurring in boot-9.scm.
(unknown-func unknown-symbol () #t)
GUILD COMPILE ERROR
;;; WARNING: compilation of /home/mike/projects/bug1.scm failed: 
;;; ERROR: Syntax error: 
;;; unknown location: unexpected syntax in form () 
ice-9/boot-9.scm:703:29: In procedure map: 
ice-9/boot-9.scm:703:29: Syntax error: 
unknown location: unexpected syntax in form () 

INTERPRETER ERROR
ice-9/boot-9.scm:703:29: In procedure map: 
ice-9/boot-9.scm:703:29: Syntax error: 
unknown location: unexpected syntax in form () 

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue. 
scheme@(guile-user) [1]> ,bt 
4 (primitive-load "/home/mike/projects/bug1.scm") 
In ice-9/eval.scm: 
505:12  3 (#<procedure 55fe958796c0 at ice-9/eval.scm:499:4 ...> #) 
In ice-9/psyntax.scm: 
1116:54  2 (expand-top-sequence ((unknownfunc unknownsymbol ...)) ...) 
1346:11  1 (#<procedure 55fe95f48910 (e0 e1)> unknownfunc (# # #t)) 
In ice-9/boot-9.scm: 
703:29  0 (map #<procedure 55fe95f87040 at ice-9/psyntax.scm...> #) 

Thanks,
Mike




Acknowledgement sent to Mike Gran <spk121@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#25384; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.