unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* crash and test failures with 1.8.1
@ 2007-06-05 13:14 Dan McMahill
  2007-08-16 23:23 ` Kevin Ryde
  0 siblings, 1 reply; 2+ messages in thread
From: Dan McMahill @ 2007-06-05 13:14 UTC (permalink / raw)
  To: bug-guile

Hello,

I posted most of this to guile-user but realized it is more of a 
bug/developer issue...

I've managed to get guile-1.8.1 to build (with a few patches) on my 
NetBSD/alpha system.  Now I'm trying to investigate some failing tests. 
  The first failing test is:

Running numbers.test
FAIL: numbers.test: max: big / real: (= big*5 (max big*5 -inf.0))
FAIL: numbers.test: max: real / big: (= big*5 (max -inf.0 big*5))
FAIL: numbers.test: min: big / real: (= big*5 (min big*5 +inf.0))
FAIL: numbers.test: min: real / big: (= big*5 (min +inf.0 big*5))

and then later:


Running r4rs.test
[1]   Segmentation fault      ${dir}${tst}
FAIL: check-guile

There is one other which will cause a segfault and then some others 
which run but do not pass the test.

At this point, I have two questions.

1)  Is there a more or less simple way to step through the tests in an 
interactive mode where I can get to the failures in numbers.test to 
really see what values are involved and causing the failure?   I'm 
guessing that either I'm seeing an artifact of alphas being 64-bit 
systems or that alphas may deal differently with IEEE math and things 
like Inf and NaN.  FWIW, a friend tried this on a linux x86_64 system 
and also saw the numbers.test failure.

2)  Is there a simple way to get the r4rs.test to run in the debugger so 
I can either track this down myself or provide some more useful feedback?

I have a handful of patches to get guile-1.8.1 to build on 
solaris-2.9/sparc as well and I'm failing some tests there too.  I'll 
try to clean up the patches I have and get them sent in.

Thanks
-Dan


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: crash and test failures with 1.8.1
  2007-06-05 13:14 crash and test failures with 1.8.1 Dan McMahill
@ 2007-08-16 23:23 ` Kevin Ryde
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Ryde @ 2007-08-16 23:23 UTC (permalink / raw)
  To: bug-guile

[belated followup]

Dan McMahill <mcmahill@mtl.mit.edu> writes:
>
> Running numbers.test
> FAIL: numbers.test: max: big / real: (= big*5 (max big*5 -inf.0))

Thanks, that was a bug in the test (I believe the code is/was ok).

> Running r4rs.test
> [1]   Segmentation fault      ${dir}${tst}
> FAIL: check-guile

Don't know anything about that.

> 1)  Is there a more or less simple way to step through the tests in an
> interactive mode where I can get to the failures in numbers.test to
> really see what values are involved and causing the failure?

Not really, but the tests are supposed to be relatively straightforward
so you can pick out the values and try them.

> 2)  Is there a simple way to get the r4rs.test to run in the debugger
> so I can either track this down myself or provide some more useful
> feedback?

Slightly painful.  The last time I had to do that I changed the last
line of the generated pre-inst-guile script from

	exec $GUILE "$@"
to
	exec /my/build/dir/libtool gdb --args $GUILE "$@"



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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-16 23:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-05 13:14 crash and test failures with 1.8.1 Dan McMahill
2007-08-16 23:23 ` Kevin Ryde

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).