Coder Social home page Coder Social logo

Comments (12)

cosmos72 avatar cosmos72 commented on June 14, 2024 1

fix backported to stable in commit e17f39d

from stmx.

cosmos72 avatar cosmos72 commented on June 14, 2024

I will have to ask how to update assembler-building functions for sbcl 1.4.10 on sbcl-devel mailing list

from stmx.

quicklisp avatar quicklisp commented on June 14, 2024

Any word on this?

from stmx.

cosmos72 avatar cosmos72 commented on June 14, 2024

Not yet, sorry.
I am currently very busy, any kind of help on this would be much appreciated

from stmx.

AeroNotix avatar AeroNotix commented on June 14, 2024

#15 lets stmx compile and complete tests on sbcl 1.4.10.

from stmx.

cosmos72 avatar cosmos72 commented on June 14, 2024

As discussed in #15, commit e54d768 should fix stmx to work on SBCL 1.4.10+ as well as older versions.

Now backporting it to the stable branch, used by quicklisp

from stmx.

Harleqin avatar Harleqin commented on June 14, 2024

It seems that AeroNotix@2d0bf46 did not yet make it into this repo. From https://stackoverflow.com/questions/55961071/using-library-functions-in-multi-threaded-code-common-lisp/55967338?noredirect=1#comment98608614_55967338:

Also, on Linux Mint the error is caught ERROR: READ error during COMPILE-FILE: Lock on package SB-VM violated when interning EMIT-SKIP while in package SB-X86-64-ASM. See also: The SBCL Manual, Node "Package Locks" (in form starting at line: 123, column: 0, position: 4767)

from stmx.

cosmos72 avatar cosmos72 commented on June 14, 2024

The patch e17f39d was supposed to supersede AeroNotix@2d0bf46, in order to support both sbcl < 1.40 and >= 1.4.0

I am checking right now if some fix is still missing, at the moment I tested the commands

(ql:quickload "stmx")
(ql:quickload "stmx.test")
(fiveam:run! 'stmx.test:suite)

with the following results:

stable branch, commit 4d915e3 (published on quicklisp and github)

  • sbcl 1.5.12 (x86-64) on Linux Debian: load & test ok
  • sbcl 1.4.16 (x86-64) on Linux Debian: load & test ok
  • sbcl 1.4.14 (x86-64) on Windows 7: load & test ok
  • sbcl 1.3.19 (x86-64) on Linux Debian: load & test ok

master branch, commit 805bbc1 (published on github)

  • sbcl 1.5.12 (x86-64) on Linux Debian: load & test ok
  • sbcl 1.4.16 (x86-64) on Linux Debian: load & test ok
  • sbcl 1.3.19 (x86-64) on Linux Debian: load & test ok

I will do more tests and update this post accordingly.
Question: is it possible that the original reporter somehow used an old version of stmx?

from stmx.

davypough avatar davypough commented on June 14, 2024

With reference to issue #14, quickload problem @davypough was caused by out-of-date Quicklisp. Linux Mint now loads fine. However, I'm still getting a problem with quickload hanging in Windows after

(ql:quickload :stmx) ->
To load "stmx":
Load 1 ASDF system:
stmx
; Loading "stmx"
To load "log4cl":
Load 2 ASDF systems:
bordeaux-threads bt-semaphore
Install 1 Quicklisp release:
log4cl

Verson info (newest):
Quicklisp Client 2019-02-16
Quicklisp dist 2019-03-07
Windows 10 version 1803 (OS Build 17134.753)
Windows SBCL 1.4.14 AMD64

Update if it's of any help: found different error during (ql:quickload :stmx) this morning on SBCL+Windows10:

; in: DEFUN START-HIERARCHY-WATCHER-THREAD
; (LOG4CL-IMPL:LOG-DEBUG "Watcher thread already started")
;
; caught ERROR:
; during macroexpansion of (LOG-DEBUG "Watcher thread already started"). Use
; BREAK-ON-SIGNALS to intercept.
;
; The value
; "WITHOUT-INTERRUPTS-BODY-1"
; is not of type
; LIST

from stmx.

cosmos72 avatar cosmos72 commented on June 14, 2024

Currently I don't have a Windows 10 box to try.
My tests on Windows 7 passed (read: I could not reproduce your problem), but SBCL 1.4.14 startup message on Windows is noteworthy:

WARNING: the Windows port is fragile, particularly for multithreaded
code.  Unfortunately, the development team currently lacks the time
and resources this platform demands.

I would not rely on SBCL+Windows for heavily multi-threaded code, unless you are willing to help SBCL core team in troubleshooting the issues you may find.

One thing you can try is to press CTRL+C and see whether SBCL shows where it is stuck (it must be pressed twice in Emacs+SLIME). From your log, it appears to be stuck installing log4cl, but without further details it may be misleading.

from stmx.

davypough avatar davypough commented on June 14, 2024

from stmx.

cosmos72 avatar cosmos72 commented on June 14, 2024

Sorry for the long delay.

Unluckily I do not have the resources/expertise to troubleshoot issues related to log4cl, especially on Windows, even if they happen while loading stmx.

I can only "vaguely" state that it seems a thread-related issue, specific to the combination windows+sbcl+log4cl, because the source code (LOG-DEBUG "Watcher thread already started") triggering the error is inside log4cl, in the file watcher.lisp - not inside stmx.

You may get a better outcome by asking in log4cl forums, especially if you get reproduce the same error with a command involving fewer dependencies - maybe (quickload "log4cl") ?

from stmx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.