[elephant-devel] END-OF-FILE on my-config.sexp

Anton Vodonosov avodonosov at yandex.ru
Wed Jan 15 16:14:55 UTC 2014


Hi.

We are testing elephant (as well as other CL libraries)
on various Lisp versions and OSes.

The tests include loading every ASDF system.

Elephant results for the latest two QUicklisp versions may be found here:
http://common-lisp.net/project/cl-test-grid/library/elephant.html

As you can see, very often elephant fails with this error:

Unhandled SERIOUS-CONDITION of type END-OF-FILE is signaled: end of file on #<SB-SYS:FD-STREAM for "file /home/testgrid/cl-test-grid/work-dir/agent/quicklisp/dists/quicklisp/software/elephant-20120909-darcs/my-config.sexp" {B1A5249}>
Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {AC2BA09}>
0: ((LAMBDA NIL :IN SB-DEBUG::FUNCALL-WITH-DEBUG-IO-SYNTAX))
1: (SB-IMPL::CALL-WITH-SANE-IO-SYNTAX #<CLOSURE (LAMBDA NIL :IN SB-DEBUG::FUNCALL-WITH-DEBUG-IO-SYNTAX) {B1A65ED}>)
2: (SB-IMPL::%WITH-STANDARD-IO-SYNTAX #<CLOSURE (LAMBDA NIL :IN SB-DEBUG::FUNCALL-WITH-DEBUG-IO-SYNTAX) {B1A65D5}>)
3: (SB-DEBUG:PRINT-BACKTRACE :STREAM #<SB-SYS:FD-STREAM for "file /home/testgrid/cl-test-grid/work-dir/agent/test-runs/20131225073328-sbcl-1.1.11-linux-x86/logs/elephant-load" {BD7F9B1}> :START 0 :FROM :DEBUGGER-FRAME :COUNT 536870911 :PRINT-THREAD T :PRINT-FRAME-SOURCE NIL :METHOD-FRAME-STYLE NIL)
4: ((LAMBDA NIL :IN TEST-GRID-PROC-COMMON::PRINT-BACKTRACE))
5: ((LAMBDA NIL :IN TEST-GRID-PROC-COMMON::CALL-WITH-SAFE-IO-SYNTAX))
6: (SB-IMPL::%WITH-STANDARD-IO-SYNTAX #<CLOSURE (LAMBDA NIL :IN TEST-GRID-PROC-COMMON::CALL-WITH-SAFE-IO-SYNTAX) {B1A65C5}>)
7: ((FLET #:LAMBDA0 :IN TEST-GRID-PROC-COMMON::CATCHING-PROBLEMS) #<END-OF-FILE {B1A5D71}>)
8: (SIGNAL #<END-OF-FILE {B1A5D71}>)
9: (ERROR END-OF-FILE :STREAM #<SB-SYS:FD-STREAM for "file /home/testgrid/cl-test-grid/work-dir/agent/quicklisp/dists/quicklisp/software/elephant-20120909-darcs/my-config.sexp" {B1A5249}>)
10: (SB-INT:FAST-READ-CHAR-REFILL #<SB-SYS:FD-STREAM for "file /home/testgrid/cl-test-grid/work-dir/agent/quicklisp/dists/quicklisp/software/elephant-20120909-darcs/my-config.sexp" {B1A5249}> T #:EOF-OBJECT)
11: (READ-CHAR #<SB-SYS:FD-STREAM for "file /home/testgrid/cl-test-grid/work-dir/agent/quicklisp/dists/quicklisp/software/elephant-20120909-darcs/my-config.sexp" {B1A5249}> T #:EOF-OBJECT #<unused argument>)
12: (SB-IMPL::%READ-PRESERVING-WHITESPACE #<SB-SYS:FD-STREAM for "file /home/testgrid/cl-test-grid/work-dir/agent/quicklisp/dists/quicklisp/software/elephant-20120909-darcs/my-config.sexp" {B1A5249}> T NIL T)
13: (SB-IMPL::%READ-PRESERVING-WHITESPACE #<SB-SYS:FD-STREAM for "file /home/testgrid/cl-test-grid/work-dir/agent/quicklisp/dists/quicklisp/software/elephant-20120909-darcs/my-config.sexp" {B1A5249}> T NIL NIL)
14: (READ #<SB-SYS:FD-STREAM for "file /home/testgrid/cl-test-grid/work-dir/agent/quicklisp/dists/quicklisp/software/elephant-20120909-darcs/my-config.sexp" {B1A5249}> T NIL NIL)
15: (ELEPHANT-SYSTEM:GET-CONFIG-OPTION :PREBUILT-LIBRARIES #<ELEPHANT-SYSTEM:ELEPHANT-C-SOURCE "elephant" "src" "memutil" "libmemutil">)
16: ((:METHOD ASDF/ACTION:PERFORM (ASDF/LISP-ACTION:COMPILE-OP ELEPHANT-SYSTEM:ELEPHANT-C-SOURCE)) #<ASDF/LISP-ACTION:COMPILE-OP > #<ELEPHANT-SYSTEM:ELEPHANT-C-SOURCE "elephant" "src" "memutil" "libmemutil">) [fast-method]
[...]

http://cl-test-grid.appspot.com/blob?key=ztv4jdzgq0

This my-config.sexp file is created by Elephant itself, I assume at the first load.
Noone touches this file.
And next time Elephant fails to load, because the file is not readable.

Can this issue be fixed? It will make Elephant tests results more reliable
and informative.

Best regards,
- Anton


More information about the elephant-devel mailing list