unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: "Walck, Scott" <walck@lvc.edu>
To: "guile-user@gnu.org" <guile-user@gnu.org>
Subject: RE: set-current-module in .guile ?
Date: Mon, 7 Apr 2008 07:27:05 -0400	[thread overview]
Message-ID: <E6C639C7E135D846B5127945421A789F06F262D5B4@lvc02.lvc.edu> (raw)
In-Reply-To: <87ve2unnia.fsf@gnu.org>

Hi,

I don't think it's the + function.  I get a segfault just by typing (exit).  I don't get a core file, though, in either case.  Why is that?

scott@dell:~/computer/guile$ guile
guile> (load "/usr/local/src/guile-scmutils/src/load.scm")
guile> (module-use! (current-module) generic-environment)
#f
guile> (exit)
Segmentation fault (core dumped)

Thanks,

Scott


________________________________________
From: guile-user-bounces+walck=lvc.edu@gnu.org [guile-user-bounces+walck=lvc.edu@gnu.org] On Behalf Of Ludovic Courtès [ludo@gnu.org]
Sent: Monday, April 07, 2008 3:16 AM
To: guile-user@gnu.org
Subject: Re: set-current-module in .guile ?

Hi,

"Walck, Scott" <walck@lvc.edu> writes:

> guile> (+ (vector 5 6) (vector 7 8))
> Segmentation fault (core dumped)

It's possible that it's a bug in your implementation of `+', i.e., in
`guile-scmutils'.  Can you run gdb on the core (using "gdb `which guile`
core") and show us the backtrace (using "bt" within gdb)?

> guile> (set-current-module generic-environment)
> #<directory (guile-user) b7bd75e0>
> guile> +
> #<procedure g:+ args>
> guile> (+ (vector 2 3) (vector 5 6))
> #(7 9)

Strange that it works here.  So the above segfault may not be due to
`guile-scmutils'...

Thanks,
Ludovic.








  reply	other threads:[~2008-04-07 11:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-05 17:24 set-current-module in .guile ? Scott N. Walck
2008-04-05 21:00 ` Jon Wilson
2008-04-06  0:01   ` Walck, Scott
2008-04-06 14:58     ` Ludovic Courtès
2008-04-07  1:27       ` Walck, Scott
2008-04-07  7:16         ` Ludovic Courtès
2008-04-07 11:27           ` Walck, Scott [this message]
2008-04-07 13:38             ` Ludovic Courtès
2008-04-07 15:07               ` Scott N. Walck
2008-04-08 13:40                 ` Ludovic Courtès
2008-04-08 15:41                   ` Scott N. Walck
2008-04-09 15:05                 ` Ludovic Courtès
2008-04-09 15:24                   ` Walck, Scott
2008-04-09 20:16 ` Neil Jerram

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=E6C639C7E135D846B5127945421A789F06F262D5B4@lvc02.lvc.edu \
    --to=walck@lvc.edu \
    --cc=guile-user@gnu.org \
    /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).