chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Chicken 4.8.0 tests segfault on OpenBSD 5.2 AMD64


From: John Long
Subject: Re: [Chicken-users] Chicken 4.8.0 tests segfault on OpenBSD 5.2 AMD64
Date: Wed, 5 Dec 2012 18:15:52 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Dec 05, 2012 at 12:20:04PM -0500, Mario Domenech Goulart wrote:
> Hi John,
> 
> On Wed, 5 Dec 2012 17:23:09 +0000 John Long <address@hidden> wrote:
> 
> > Hi guys. This is weird because I had no problem building Chicken 4.8.0 on
> > OpenBSD MIPS recently. I am getting a segfault (core dumped) in the make
> > check. It seems to be dying pretty far along in the tests. It's 5,000 lines
> > of output. Do you want to see all of it? Here's a small snipped towards the
> > end:
> >
> > (PASS) (irregex-replace (quote not-an-irx) str)
> > (PASS) (irregex-replace foo foo (lambda (x) (quote not-a-string)))
> > (PASS) (irregex-replace/all (quote not-an-irx) str)
> > (PASS) (irregex-replace/all foo foo (lambda (x) (quote not-a-string)))
> >   1995 tests completed in 0.418 seconds
> >   1995 (100.00%) tests passed
> >   0 (0.00%) tests failed
> > ======================================== compiler/nursery stress test ...
> >   100000
> >   120000
> >   200000
> >   250000
> >   300000
> >   350000
> >   400000
> >   450000
> >   500000
> > ======================================== symbol-GC tests ...
> > ../chicken symbolgc-tests.scm -output-file a.c -verbose -include-path ..
> > gcc a.c -o a.o -c -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H
> > -DC_ENABLE_PTABLES -O3 -fomit-frame-pointer
> > -I.. -I"/usr/local/include/chicken"
> > rm a.c
> > gcc a.o -o a.out -L.. -L"/usr/local/lib"  -Wl,-R"/usr/local/lib" -lchicken 
> > -lm -lpthread
> > ../libchicken.so: warning: strcpy() is almost always misused, please use 
> > strlcpy()
> > ../libchicken.so: warning: strcat() is almost always misused, please use 
> > strlcat()
> > ../libchicken.so: warning: sprintf() is often misused, please use snprintf()
> > rm a.o
> > Segmentation fault (core dumped) 
> > gmake[1]: *** [check] Error 139
> > gmake[1]: Leaving directory `/tmp/chicken-4.8.0'
> > gmake: *** [check] Error 2
> >
> > Any idea what could be wrong?
> 
> Do you always get that error?  The symbol-GC test is known to fail
> sometimes (see http://bugs.call-cc.org/ticket/724)

Hi Mario,

So far, yes. I ran the build a half dozen times, with and without -O3. It
blows at the same spot every time. I'll look at the link you posted
tomorrow, thank you.

/jl

-- 
ASCII ribbon campaign ( ) Powered by Lemote Fuloong
 against HTML e-mail   X  Loongson MIPS and OpenBSD
   and proprietary    / \    http://www.mutt.org
     attachments     /   \  Code Blue or Go Home!
 Encrypted email preferred  PGP Key 2048R/DA65BC04 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]