Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#14241 closed defect (worksforme)

sbcl 1.0.14_0 and sbcl 1.0.14_1 hang during build

Reported by: yaseppochi (Stephen J. Turnbull) Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: waqar@…
Port:

Description

Presumably during compilation of Lisp libraries; top shows sbcl is active but using 0% of cpu. For 1.0.14_0 this persisted for over 12 hours, for 1.0.14_1 about 1 hour at this point. ps shows

steve 13751   0.0  3.1  1654180  49544  p4  S+   10:39AM   0:03.92 ./src/runtime/sbcl --core output/cold-sbcl.core --no-sysinit --no-userinit

For some reason 1.0.14_1 takes about half the CPU time to get wedged; I'm not sure this is an improvement. ;-)

Change History (6)

comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: waqar@… added
Milestone: Port Bugs
Owner: changed from macports-tickets@… to gwright@…

Assigning to / Cc'ing maintainers.

comment:2 Changed 17 years ago by waqar@…

I am not able to reproduce it works just fine for me. MacPro with 'port install sbcl +threads'.

comment:3 Changed 17 years ago by yaseppochi (Stephen J. Turnbull)

iBook G4, PPC, Mac OS X 10.4.11 "Tiger". original report based on "port upgrade sbcl" from 1.0.12. port allows +threads but it aborts on PPC:

gencgc.c:3875:6: error: #error "preserve_context_registers needs to be tweaked for non-x86 Darwin"
ppc-darwin-os.c:28:2: error: #error "Define threading support functions"

Aha. Running under port -d produces:

; SYS:SRC;PCL;EARLY-LOW.FASL.NEWEST written
; compilation finished in 0:00:00
; compiling file "/opt/local/var/macports/build/_Users_steve_Software_MacPorts_dports_lang_sbcl/work/sbcl-1.0.14/src/pcl/macros.lisp" (written 17 JUL 2006 05:28:14 AM):
; compiling (IN-PACKAGE "SB-PCL")
; compiling (/SHOW "starting pcl/macros.lisp")
; compiling (DECLAIM (DECLARATION %METHOD-NAME ...))
; compiling (/SHOW "done with DECLAIM DECLARATION")
; compiling (DEFUN GET-DECLARATION ...)
; compiling (/SHOW "pcl/macros.lisp 85")
; compiling (DEFMACRO DOPLIST ...)
; compiling (/SHOW "pcl/macros.lisp 101")
; compiling (DEFMACRO DOLIST-CAREFULLY ...)fatal error encountered in SBCL pid 20908:
GC invariant lost, file "gc-common.c", line 140

Welcome to LDB, a low-level debugger for the Lisp runtime environment.

And it stops there waiting for user input. Probably this is something upstream needs to deal with. As far as I can see, the binary runtime has not been built. Instead, the Lisp is being compiled by a bootstrap compiler which evidently is sbcl 0.9.15:

--->  Building sbcl with target all
DEBUG: Executing org.macports.build (sbcl)
//starting build: Sun Feb 10 15:34:33 PST 2008
//SBCL_XC_HOST="/opt/local/var/macports/build/_Users_steve_Software_MacPorts_dports_lang_sbcl/work/sbcl-0.9.15-powerpc-darwin/src/runtime/sbcl --core /opt/local/var/macports/build/_Users_steve_Software_MacPorts_dports_lang_sbcl/work/sbcl-0.9.15-powerpc-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null"

comment:4 Changed 17 years ago by gwright@…

Status: newassigned

Does this still happen with the update to 1.0.15?

comment:5 Changed 16 years ago by gwright@…

Resolution: worksforme
Status: assignedclosed

No one has complained about this since the 1.0.15 update, so I'm closing with WORKSFORME.

comment:6 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.