GNU bug report logs - #25300
Trap infrastructure broken in Guile 2.2?

Previous Next

Package: guile;

Reported by: Christopher Allan Webber <cwebber <at> dustycloud.org>

Date: Fri, 30 Dec 2016 17:57:02 UTC

Severity: normal

Done: Andy Wingo <wingo <at> pobox.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25300 in the body.
You can then email your comments to 25300 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#25300; Package guile. (Fri, 30 Dec 2016 17:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Allan Webber <cwebber <at> dustycloud.org>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Fri, 30 Dec 2016 17:57:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Allan Webber <cwebber <at> dustycloud.org>
To: bug-guile <at> gnu.org
Subject: Trap infrastructure broken in Guile 2.2?
Date: Fri, 30 Dec 2016 11:56:33 -0600
Guile 2.0.13:

  scheme@(guile-user)> (define (foo n)
                         (if (= n 0)
                             'done
                             (foo (1- n))))
  scheme@(guile-user)> ,tracepoint foo
  Trap 0: Tracepoint at #<procedure foo (n)>.
  scheme@(guile-user)> (foo 5)
  Trap 0: (foo 5)
  Trap 0: |  (foo 4)
  Trap 0: |  |  (foo 3)
  Trap 0: |  |  |  (foo 2)
  Trap 0: |  |  |  |  (foo 1)
  Trap 0: |  |  |  |  |  (foo 0)
  Trap 0: |  |  |  |  |  done
  Trap 0: |  |  |  |  done
  Trap 0: |  |  |  done
  Trap 0: |  |  done
  Trap 0: |  done
  Trap 0: done
  $2 = done
  scheme@(guile-user)> 

Guile 2.1.5 (via guile-next in guix):

  scheme@(guile-user)> (define (foo n)
                         (if (= n 0)
                             'done
                             (foo (1- n))))
  ... ... ... scheme@(guile-user)> 
  scheme@(guile-user)> ,tracepoint foo
  Trap 0: Tracepoint at #<procedure foo (n)>.
  scheme@(guile-user)> (foo 30)
  $1 = done

Likewise, ,break and etc do not work for me.




Reply sent to Andy Wingo <wingo <at> pobox.com>:
You have taken responsibility. (Wed, 01 Mar 2017 15:10:02 GMT) Full text and rfc822 format available.

Notification sent to Christopher Allan Webber <cwebber <at> dustycloud.org>:
bug acknowledged by developer. (Wed, 01 Mar 2017 15:10:02 GMT) Full text and rfc822 format available.

Message #10 received at 25300-done <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> pobox.com>
To: Christopher Allan Webber <cwebber <at> dustycloud.org>
Cc: 25300-done <at> debbugs.gnu.org
Subject: Re: bug#25300: Trap infrastructure broken in Guile 2.2?
Date: Wed, 01 Mar 2017 16:09:48 +0100
On Fri 30 Dec 2016 18:56, Christopher Allan Webber <cwebber <at> dustycloud.org> writes:

> Guile 2.0.13:
>
>   scheme@(guile-user)> (define (foo n)
>                          (if (= n 0)
>                              'done
>                              (foo (1- n))))
>   scheme@(guile-user)> ,tracepoint foo
>   Trap 0: Tracepoint at #<procedure foo (n)>.
>   scheme@(guile-user)> (foo 5)
>   Trap 0: (foo 5)
>   Trap 0: |  (foo 4)
>   Trap 0: |  |  (foo 3)
>   Trap 0: |  |  |  (foo 2)
>   Trap 0: |  |  |  |  (foo 1)
>   Trap 0: |  |  |  |  |  (foo 0)
>   Trap 0: |  |  |  |  |  done
>   Trap 0: |  |  |  |  done
>   Trap 0: |  |  |  done
>   Trap 0: |  |  done
>   Trap 0: |  done
>   Trap 0: done
>   $2 = done
>   scheme@(guile-user)> 
>
> Guile 2.1.5 (via guile-next in guix):
>
>   scheme@(guile-user)> (define (foo n)
>                          (if (= n 0)
>                              'done
>                              (foo (1- n))))
>   ... ... ... scheme@(guile-user)> 
>   scheme@(guile-user)> ,tracepoint foo
>   Trap 0: Tracepoint at #<procedure foo (n)>.
>   scheme@(guile-user)> (foo 30)
>   $1 = done
>
> Likewise, ,break and etc do not work for me.

Fixed in git.  Thanks for the report.

Andy




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 30 Mar 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 82 days ago.

Previous Next


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