Guile 1.9: bug in load

2009-11-15 Thread Luca Saiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello people. We've found a little bug in 1.9: load should call canonicalize-path relative to the directory of the file which loads the other one, not relative to `pwd`. Thanks and greeting from the GHM. - -- Luca Saiu http://www-lipn.univ-pa

[Fwd: Guile 1.9: bug in load]

2009-11-15 Thread Luca Saiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maybe the original message was lost... - Original Message Subject: Guile 1.9: bug in load Date: Fri, 13 Nov 2009 21:24:41 +0100 From: Luca Saiu To: bug-guile@gnu.org Hello people. We've found a little bug in 1.9: load should

Re: Guile 1.9: bug in load

2009-11-18 Thread Luca Saiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andy Wingo wrote: > Hi Luca :-) > > On Fri 13 Nov 2009 21:24, Luca Saiu writes: > >> load should call canonicalize-path relative to the directory of the file >> which loads the other one, not relative to `pwd`. > > Ha

Syntax transformers and definition order

2010-03-26 Thread Luca Saiu
efine-macro (m1 form) (if (zero? (random 10)) form `(cons 1 (m2 ,form (define-macro (m2 form) (if (zero? (random 10)) form `(cons 2 (m1 ,form (define (go) (display (m1 42))) (go) This second snippet works fine also in 1.9. Best regards, - -- Luca Saiu http://www

Re: Guile 1.9: bug in load

2010-03-26 Thread Luca Saiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello again. Andy, you had asked me to ping you if the problem was still there after some time. I still see it in 1.9.9. Thanks to you and the whole team for your great work, Andy Wingo wrote: > On Wed 18 Nov 2009 11:05, Luca Saiu wri

High run time variance

2010-03-29 Thread Luca Saiu
accentuated in 1.9. Is this really an alignment issue as I suspect? I don't know because I have not tracked the problem any deeper than running these tests, but maybe it's easy for you to see. If so, maybe it would be easy to get some more performance by forcing the alignment to the optimu

Re: Syntax transformers and definition order

2010-03-29 Thread Luca Saiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andy Wingo wrote: >>From the NEWS: Sorry for the noise :-) - -- Luca Saiu http://www-lipn.univ-paris13.fr/~saiu GNU epsilon: http://www.gnu.org/software/epsilon Marionnet: http://www.marionnet.org -BEGIN PGP SIGNATURE- Version:

Re: High run time variance

2010-03-30 Thread Luca Saiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Ludovic. Ludovic Courtès wrote: > Hello, > > Luca Saiu writes: > >> The effect is much weaker in either case, when using tail-recursive >> functions. This is interesting. > > Another guess: it could be that the no

[bug #30480] VM: load looks for files in the wrong directory

2010-07-18 Thread Luca Saiu
URL: Summary: VM: load looks for files in the wrong directory Project: Guile Submitted by: positrone Submitted on: Mon 19 Jul 2010 12:51:53 AM CEST Category: None Seve

[bug #30480] VM: load looks for files in the wrong directory

2010-07-18 Thread Luca Saiu
Follow-up Comment #1, bug #30480 (project guile): I've written "I don't know if at startup time or at load time". Mmm. Since the problem exists, I strongly suspect it's at startup time. Sorry for the noise. ___ Reply to this item at: <

Re: Guile 1.9: bug in load

2010-07-18 Thread Luca Saiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello. Andy Wingo wrote: > Hi Luca, > > Can you file a bug for this? Sure. It's bug #30480. Thanks, - -- Luca Saiu http://www-lipn.univ-paris13.fr/~saiu GNU epsilon: http://www.gnu.org/software/epsilon Marionnet: http://www

[bug #30480] VM: load looks for files in the wrong directory

2010-07-18 Thread Luca Saiu
Follow-up Comment #2, bug #30480 (project guile): Sorry again, I must be tired: there was no reason for me to suppose that load changed the current directory. Please ignore my previous comment. ___ Reply to this item at:

Re: High run time variance

2010-08-05 Thread Luca Saiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello. Andy Wingo wrote: > On Mon 29 Mar 2010 18:09, Luca Saiu writes: > >> To sum up, within each run the computation time of (fibo n) is the same, >> but the time varies widely from one run to another. This anomaly seems >

Re: High run time variance

2010-08-05 Thread Luca Saiu
the variable gets cached, and there's no allocation. So that was a corner case. Sorry for the noise. - -- Luca Saiu http://www-lipn.univ-paris13.fr/~saiu GNU epsilon: http://www.gnu.org/software/epsilon Marionnet: http://www.marionnet.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.

Likely bug: SMOBs and mark functions [Was: Re: [bug #30480] VM: load looks for files in the wrong directory]

2011-02-15 Thread Luca Saiu
fault gdb says that the problem is in smob.c, in the smob_mark function: SCM_I_CURRENT_THREAD->current_mark_stack_ptr = mark_stack_ptr; A quick printf showed me that the SCM_I_CURRENT_THREAD macro returned NULL. This happens on an x86_64 GNU/Linux machine, guile from today's git; 1.

Re: Likely bug: SMOBs and mark functions [Was: Re: [bug #30480] VM: load looks for files in the wrong directory]

2011-02-15 Thread Luca Saiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/15/2011 12:59 PM, Luca Saiu wrote: > The current thread is at (nil); Segmentation fault Don't worry about the "The current thread is at (nil); ". That was the output of my debug printf :-), which I forgot to delete in that

Re: Likely bug: SMOBs and mark functions [Was: Re: [bug #30480] VM: load looks for files in the wrong directory]

2011-02-15 Thread Luca Saiu
;ve enabled parallel collection, but that shouldn't interfere with Guile, should it? I'll try with the latest stable version. Thanks, - -- Luca Saiu http://www-lipn.univ-paris13.fr/~saiu GNU epsilon: http://www.gnu.org/software/epsilon Marionnet: http://www.marionnet.org ---

Re: Likely bug: SMOBs and mark functions [Was: Re: [bug #30480] VM: load looks for files in the wrong directory]

2011-02-17 Thread Luca Saiu
ling gc. So what I was speaking about in the previous messages was indeed a false alarm. Sorry. Thanks for 2.0 :-) - -- Luca Saiu http://www-lipn.univ-paris13.fr/~saiu GNU epsilon: http://www.gnu.org/software/epsilon Marionnet: http://www.marionnet.org -BEGIN PGP SIGNATURE- Version:

Re: Likely bug: SMOBs and mark functions

2011-02-17 Thread Luca Saiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/17/2011 12:13 PM, Andy Wingo wrote: > On Thu 17 Feb 2011 10:41, Luca Saiu writes: > >> I've tried with the latest 7.2 tarball I've found at >> http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/ , i.e. the >