[MacPorts] #65188: sbcl: fatal error encountered in SBCL pid 16153: dynamic space too small for core

MacPorts noreply at macports.org
Thu Jan 26 16:49:53 UTC 2023


#65188: sbcl: fatal error encountered in SBCL pid 16153: dynamic space too small
for core
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  easye
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:
      Port:  sbcl          |
---------------------------+----------------------

Comment (by barracuda156):

 Above was with 1.5.9; I tried now to build with ancient 1.0.47, and it
 fails with a variation of a known error:
 {{{
 ; file:
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_sbcl/sbcl/work/sbcl-2.3.0/src/compiler/generic/genesis.lisp
 ; in: DEFUN (SETF BVREF-WORD)
 ;     (SETF (SB-FASL::ACCESS SB-FASL::BYTES SB-INT:INDEX T) SB-FASL::NEW-
 VAL)
 ;
 ; caught ERROR:
 ;   during macroexpansion of (SETF # NEW-VAL). Use *BREAK-ON-SIGNALS* to
 intercept:
 ;
 ;    The assertion (AND SB-COLD::RESULT (NOT (CDR SB-COLD::RESULT)))
 failed.

 ;     (DEFUN (SETF SB-FASL::BVREF-WORD)
 ;            (SB-FASL::NEW-VAL SB-FASL::BYTES SB-INT:INDEX)
 ;       (DECLARE (TYPE SB-XC:FIXNUM SB-INT:INDEX))
 ;       (SB-INT:AVER (NOT (LOGTEST SB-INT:INDEX (ASH SB-VM:LOWTAG-MASK
 -1))))
 ;       (SETF (SB-FASL::ACCESS SB-FASL::BYTES SB-INT:INDEX T) SB-FASL
 ::NEW-VAL))
 ; --> PROGN EVAL-WHEN
 ; ==>
 ;   (HOST-SB-IMPL::%DEFUN '(SETF SB-FASL::BVREF-WORD)
 ;                         (HOST-SB-INT:NAMED-LAMBDA (SETF SB-FASL::BVREF-
 WORD)
 ;                             (SB-FASL::NEW-VAL SB-FASL::BYTES SB-
 INT:INDEX)
 ;                           (DECLARE (TYPE SB-XC:FIXNUM SB-INT:INDEX))
 ;                           (BLOCK SB-FASL::BVREF-WORD
 ;                             (SB-INT:AVER (NOT #))
 ;                             (SETF # SB-FASL::NEW-VAL)))
 ;                         NIL 'NIL (HOST-SB-C:SOURCE-LOCATION))
 ;
 ; caught STYLE-WARNING:
 ;   The variable NEW-VAL is defined but never used.
 ;
 ; caught STYLE-WARNING:
 ;   The variable BYTES is defined but never used.

 ; in: DEFUN BVREF-WORD
 ;     (SB-FASL::ACCESS SB-FASL::BYTES SB-INT:INDEX T)
 ;
 ; caught ERROR:
 ;   during macroexpansion of (ACCESS BYTES INDEX ...). Use *BREAK-ON-
 SIGNALS* to
 ;   intercept:
 ;
 ;    The assertion (AND SB-COLD::RESULT (NOT (CDR SB-COLD::RESULT)))
 failed.

 ;     (DEFUN SB-FASL::BVREF-WORD (SB-FASL::BYTES SB-INT:INDEX)
 ;       (DECLARE (TYPE SB-XC:FIXNUM SB-INT:INDEX))
 ;       (SB-INT:AVER (NOT (LOGTEST SB-INT:INDEX (ASH SB-VM:LOWTAG-MASK
 -1))))
 ;       (SB-FASL::ACCESS SB-FASL::BYTES SB-INT:INDEX T))
 ; --> PROGN EVAL-WHEN
 ; ==>
 ;   (HOST-SB-IMPL::%DEFUN 'SB-FASL::BVREF-WORD
 ;                         (HOST-SB-INT:NAMED-LAMBDA SB-FASL::BVREF-WORD
 ;                             (SB-FASL::BYTES SB-INT:INDEX)
 ;                           (DECLARE (TYPE SB-XC:FIXNUM SB-INT:INDEX))
 ;                           (BLOCK SB-FASL::BVREF-WORD
 ;                             (SB-INT:AVER (NOT #))
 ;                             (SB-FASL::ACCESS SB-FASL::BYTES SB-INT:INDEX
 T)))
 ;                         NIL 'NIL (HOST-SB-C:SOURCE-LOCATION))
 ;
 ; caught STYLE-WARNING:
 ;   The variable BYTES is defined but never used.

 ;
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_sbcl/sbcl/work/sbcl-2.3.0/obj
 /from-host/src/compiler/generic/genesis.fasl-tmp written
 ; compilation finished in 0:00:11.403

 debugger invoked on a SIMPLE-ERROR:
   FAILURE-P was set when creating "obj/from-
 host/src/compiler/generic/genesis.fasl".

 Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

 restarts (invokable by number or by possibly-abbreviated name):
   0: [RECOMPILE  ] Recompile file "src/compiler/generic/genesis.lisp"
   1: [CONTINUE   ] Continue, using possibly bogus file "obj/from-
 host/src/compiler/generic/genesis.fasl"
   2:               Recompile
   3: [ABORT-BUILD] Abort building SBCL.
   4: [ABORT      ] Exit debugger, returning to top level.

 (COMPILE-STEM "src/compiler/generic/genesis" NIL :HOST-COMPILE)
 0] 1
 Command failed: SBCL_MACOSX_VERSION_MIN=10.6 CC=/opt/local/bin/gcc-mp-12
 CXX=/opt/local/bin/g++-mp-12 CPP=/opt/local/bin/cpp-mp-12 sh ./make.sh
 --prefix=/opt/local --xc-
 host="/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_sbcl/sbcl/work/sbcl-1.0.47
 -powerpc-darwin/src/runtime/sbcl --core
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_sbcl/sbcl/work/sbcl-1.0.47
 -powerpc-darwin/output/sbcl.core --sysinit /dev/null --userinit /dev/null"
 Exit code: 128
 Error: Failed to build sbcl: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_PPCSnowLeopardPorts_lang_sbcl/sbcl/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there
 is a bug.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/65188#comment:34>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list