unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: ludovic.courtes@laas.fr (Ludovic Courtès)
To: Neil Jerram <neil@ossau.uklinux.net>
Cc: bug-guile@gnu.org
Subject: Re: Segmentation fault
Date: Fri, 19 Oct 2007 10:26:44 +0200	[thread overview]
Message-ID: <87d4vbik6z.fsf@laas.fr> (raw)
In-Reply-To: <87k5pkf19g.fsf@ossau.uklinux.net> (Neil Jerram's message of "Fri\, 19 Oct 2007 00\:31\:39 +0100")

Hi,

Neil Jerram <neil@ossau.uklinux.net> writes:

> I believe the patch below is the correct fix for this.  Please test
> and/or comment!

Works like a charm!

> +2007-10-19  Neil Jerram  <neil@ossau.uklinux.net>
> +
> +	* standalone/test-use-srfi: Use -q to avoid picking up the user's
> +	~/.guile file.

Thanks for taking care of this one too!

(I had forgotten about it, which may be an indication that we should
really start using the bug tracker.)

> +    ;; Tests that require the debugging evaluator...
> +    (let ((dopts (debug-options)))
> +      (debug-enable 'debug)
> +
> +      (pass-if "unmemoizing a promise"
> +        (display-backtrace

Could we hide the backtrace, because it's always a bit scary to see a
backtrace in the middle of the "PASS" lines?  Something like:

  (with-output-to-port (%make-void-port "w")
    (lambda ()
      ...
      (display-backtrace)

Alternatively, could `unmemoize-expr' somehow be used for the test?

Perhaps the `debug-enable' and `debug-disable' could be in a
`dynamic-wind', but that's not big deal.

Thanks,
Ludovic.


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


  reply	other threads:[~2007-10-19  8:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-10 18:01 Segmentation fault frank schwidom
2007-10-18 22:45 ` Neil Jerram
2007-10-18 23:31 ` Neil Jerram
2007-10-19  8:26   ` Ludovic Courtès [this message]
2007-10-19 21:33     ` Neil Jerram
2007-10-20  9:16       ` Ludovic Courtès
2007-10-21 20:56         ` Neil Jerram
2007-10-21 21:42           ` Ludovic Courtès
2007-10-24 10:18             ` Neil Jerram
2007-10-24 11:10               ` Ludovic Courtès
2007-10-24 11:59                 ` Neil Jerram
2007-10-20 10:11     ` Neil Jerram
2007-10-21 13:07       ` Ludovic Courtès
2007-10-21 20:53         ` Neil Jerram
  -- strict thread matches above, loose matches on Subject: below --
2011-02-07 12:26 Segmentation Fault Nigel Warner
2011-02-08 22:00 ` Andy Wingo
2007-10-10 16:27 Segmentation fault frank schwidom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d4vbik6z.fsf@laas.fr \
    --to=ludovic.courtes@laas.fr \
    --cc=bug-guile@gnu.org \
    --cc=neil@ossau.uklinux.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).