[Bese-devel] a problem with the summation example

Aleksandar Bakic a_bakic at yahoo.com
Sat Oct 8 21:17:58 UTC 2005


Hi,

This might have to do with the latest dynamic environment patch (or, perhaps
even the interface-element patch, but I suspect the former): try the summation
example. It crashes due to a "gc invariant lost" error in the latest SBCL (and
a little older one, too; the platform is AMD64/Fedora Core 3, but SBCL is
compiled for x86). Below is the backtrace from the low-level debugger.

Alex

2005-10-08T23:14.15 +INFO+ IT.BESE.UCW::UCW.BACKEND: Handling request for "/"
2005-10-08T23:14.15 +INFO+ IT.BESE.UCW::UCW-LOGGER: Serving action
UCW::SWITCH-COMPONENT in session "xlckeTOWxEulTLlDsiDSOCsnicasjYPvoASworJY".
2005-10-08T23:14.15 +INFO+ IT.BESE.UCW::UCW-LOGGER: Serving action UCW::START
in session "xlckeTOWxEulTLlDsiDSOCsnicasjYPvoASworJY".
2005-10-08T23:14.15 +ERROR+ IT.BESE.UCW::UCW-LOGGER: Error
#<SB-INT:SIMPLE-PROGRAM-ERROR {9BE0FF1}> while serving action.
fatal error encountered in SBCL pid 27784(tid 4133391264):
GC invariant lost, file "gc-common.c", line 190
LDB monitor
ldb> backtrace
Backtrace:
   0: Foreign function lose, fp = 0xf65e5e48, ra = 0x8051dd3
   1: Foreign function scavenge, fp = 0xf65e5e68, ra = 0x8050422
   2: Foreign function collect_garbage, fp = 0xf65e5ee8, ra = 0x805ff5c
   3: (SB-C::TL-XEP SB-KERNEL::COLLECT-GARBAGE)
   4: (COMMON-LISP::FLET WITHOUT-INTERRUPTS-BODY-72)
   5: (SB-C::TL-XEP SB-KERNEL::SUB-GC)
   6: Foreign function call_into_lisp, fp = 0xf65e6114, ra = 0x8060c51
   7: Foreign function funcall0, fp = 0xf65e6134, ra = 0x805b731
   8: Foreign function interrupt_maybe_gc_int, fp = 0xf65e6374, ra = 0x80535bb
   9: Foreign function interrupt_handle_pending, fp = 0xf65e65b4, ra =
0x8053963  10: Foreign fp = 0xf65e6958, ra = 0xffffe600
  11: (SB-C::TL-XEP SB-PRETTY::OUTPUT-PRETTY-OBJECT)
  12: (SB-C::HAIRY-ARG-PROCESSOR COMMON-LISP::PRIN1)
  13: (SB-C::TL-XEP SB-FORMAT::S-FORMAT-DIRECTIVE-INTERPRETER)
  14: (SB-C::TL-XEP SB-FORMAT::INTERPRET-DIRECTIVE-LIST)
  15: (SB-C::HAIRY-ARG-PROCESSOR SB-FORMAT::%FORMAT)
  16: (SB-C::TL-XEP COMMON-LISP::FORMAT)
  17: (COMMON-LISP::LABELS SB-C::WALK)
  18: (COMMON-LISP::LABELS SB-C::WALK)
  19: (SB-C::TL-XEP SB-C::DEBUG-NAME)
  20: (SB-C::TL-XEP SB-C::IR1-CONVERT-AUX-BINDINGS)
  21: (SB-C::TL-XEP SB-C::%PROCESSING-DECLS)
  22: (SB-C::TL-XEP SB-C::IR1-CONVERT-LET*)
  23: (SB-C::TL-XEP SB-C::IR1-CONVERT)
  24: (SB-C::TL-XEP SB-C::IR1-CONVERT-PROGN-BODY)
  25: (SB-C::TL-XEP SB-C::IR1-CONVERT-AUX-BINDINGS)
  26: (SB-C::TL-XEP SB-C::IR1-CONVERT-SPECIAL-BINDINGS)
  27: (SB-C::TL-XEP SB-C::IR1-CONVERT-LAMBDA-BODY)
  28: (SB-C::TL-XEP SB-C::IR1-CONVERT-LAMBDA)
  29: (SB-C::TL-XEP SB-C::IR1-CONVERT-INLINE-LAMBDA)
  30: (COMMON-LISP::FLET SB-C::CLOSURE-NEEDING-IR1-ENVIRONMENT-FROM-NODE)
  31: (SB-C::TL-XEP SB-C::%WITH-IR1-ENVIRONMENT-FROM-NODE)
  32: (SB-C::TL-XEP SB-C::TRANSFORM-CALL)
  33: (SB-C::TL-XEP SB-C::IR1-TRANSFORM)
  34: (SB-C::TL-XEP SB-C::IR1-OPTIMIZE-COMBINATION)
  35: (SB-C::TL-XEP SB-C::IR1-OPTIMIZE-BLOCK)
  36: (SB-C::TL-XEP SB-C::IR1-OPTIMIZE)
  37: (SB-C::TL-XEP SB-C::IR1-OPTIMIZE-UNTIL-DONE)
  38: (SB-C::TL-XEP SB-C::IR1-PHASES)
  39: (SB-C::TL-XEP SB-C::COMPILE-COMPONENT)
  40: (SB-C::TL-XEP SB-C::%COMPILE)
  41: (COMMON-LISP::LAMBDA ())
  42: (SB-C::TL-XEP SB-C::%WITH-COMPILATION-UNIT)
  43: (SB-C::TL-XEP SB-C::ACTUALLY-COMPILE)
  44: (SB-C::TL-XEP SB-C::COMPILE-IN-LEXENV)
  45: (SB-C::HAIRY-ARG-PROCESSOR COMMON-LISP::COMPILE)
  46: SB-PCL::INSTALL-OPTIMIZED-CONSTRUCTOR
  47: (SB-C::VARARGS-ENTRY (COMMON-LISP::LAMBDA (COMMON-LISP::&REST
SB-PCL::ARGS)))
  48: (SB-PCL::FAST-METHOD IT.BESE.UCW::HANDLE-ACTION-ERROR (COMMON-LISP::ERROR
COMMON-LISP::T))
  49: (SB-C::TL-XEP COMMON-LISP::SIGNAL)
  50: (SB-C::TL-XEP COMMON-LISP::ERROR)
  51: (SB-C::TL-XEP SB-KERNEL::INVALID-ARG-COUNT-ERROR-HANDLER)
  52: (SB-C::TL-XEP SB-KERNEL::INTERNAL-ERROR)
  53: Foreign function call_into_lisp, fp = 0xf65e7604, ra = 0x8060c51
  54: Foreign function funcall2, fp = 0xf65e7624, ra = 0x805b79c
  55: Foreign function interrupt_internal_error, fp = 0xf65e77d4, ra =
0x8052592  56: Foreign function sigtrap_handler, fp = 0xf65e7804, ra =
0x805b628
  57: Foreign fp = 0xf65e7bc8, ra = 0xffffe600
  58: (SB-C::VARARGS-ENTRY (COMMON-LISP::LAMBDA (COMMON-LISP::&REST
IT.BESE.ARNESI::ARGS)))
  59: (SB-PCL::FAST-METHOD IT.BESE.UCW::BACKTRACK (IT.BESE.UCW::SESSION-FRAME
COMMON-LISP::T))
  60: (COMMON-LISP::LAMBDA (IT.BESE.ARNESI::ARGUMENTS))
  61: IT.BESE.ARNESI::DRIVE-INTERPRETER/CC
  62: (SB-PCL::FAST-METHOD IT.BESE.UCW::RENDER-ON (IT.BESE.UCW::RESPONSE
IT.BESE.UCW::TASK-COMPONENT))
  63: (SB-PCL::FAST-METHOD IT.BESE.UCW::RENDER-ON KEYWORD::WRAPPING
(IT.BESE.UCW::RESPONSE IT.BESE.UCW::STANDARD-COMPONENT))
  64: (SB-PCL::FAST-METHOD IT.BESE.UCW::RENDER-ON KEYWORD::WRAPPING
(IT.BESE.UCW::RESPONSE IT.BESE.UCW::STANDARD-COMPONENT))
  65: (SB-PCL::FAST-METHOD IT.BESE.UCW::RENDER-ON KEYWORD::WRAPPING
(IT.BESE.UCW::RESPONSE IT.BESE.UCW::SIMPLE-WINDOW-COMPONENT))
  66: (SB-PCL::FAST-METHOD IT.BESE.UCW::RENDER-ON KEYWORD::WRAPPING
(IT.BESE.UCW::RESPONSE IT.BESE.UCW::STANDARD-COMPONENT))
  67: (COMMON-LISP::LABELS IT.BESE.UCW::RENDER)
  68: (SB-PCL::FAST-METHOD IT.BESE.UCW::SERVICE
(IT.BESE.UCW::STANDARD-SESSION-FRAME IT.BESE.UCW::REQUEST-CONTEXT))
  69: (COMMON-LISP::LAMBDA (SB-PCL::.PV-CELL. SB-PCL::.NEXT-METHOD-CALL.
SB-PCL::.ARG0. SB-PCL::.ARG1.))
  70: (COMMON-LISP::LAMBDA (SB-PCL::.PV-CELL. SB-PCL::.NEXT-METHOD-CALL.
SB-PCL::.ARG0. SB-PCL::.ARG1.))
  71: (COMMON-LISP::LAMBDA (SB-PCL::.PV-CELL. SB-PCL::.NEXT-METHOD-CALL.
SB-PCL::.ARG0. SB-PCL::.ARG1.))
  72: (SB-PCL::FAST-METHOD IT.BESE.UCW::HANDLE-REQUEST
(IT.BESE.UCW::STANDARD-SERVER IT.BESE.UCW::REQUEST IT.BESE.UCW::RESPONSE))
  73: IT.BESE.UCW::HTTPD-WORKER-LOOP/HANDLE
  74: IT.BESE.UCW::HTTPD-WORKER-LOOP
  75: (COMMON-LISP::LAMBDA ())
  76: Foreign function call_into_lisp, fp = 0xf65e8408, ra = 0x8060c51
  77: Foreign function funcall0, fp = 0xf65e8428, ra = 0x805b731
  78: Foreign function new_thread_trampoline, fp = 0xf65e8448, ra = 0x8059cca
  79: Foreign function (null), fp = 0xf65e84bc, ra = 0xb111d5



		
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs



More information about the bese-devel mailing list