Comments (12)
fix backported to stable in commit e17f39d
from stmx.
I will have to ask how to update assembler-building functions for sbcl 1.4.10 on sbcl-devel mailing list
from stmx.
Any word on this?
from stmx.
Not yet, sorry.
I am currently very busy, any kind of help on this would be much appreciated
from stmx.
#15 lets stmx
compile and complete tests on sbcl 1.4.10.
from stmx.
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.
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.
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.
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.
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.
from stmx.
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)
- compilation problem on ECL HOT 10
- Creating threads with (sb-thread:make-thread) - part 1 [was: Basic TFifo test fails.] HOT 8
- Creating threads with (sb-thread:make-thread) - part 2 [was: Basic TFifo test fails.] HOT 5
- Accepting donation? HOT 3
- CLISP: sporadic failures of test GHASH-TABLE-EQUALP HOT 2
- Fails in SBCL 1.3.1.188-f7d76e5 HOT 3
- Fail to compile with SBCL 1.3.2 x86-64 Linux HOT 2
- Does not build today with SBCL from git - disassembler changes HOT 2
- map-ghash exported but not implemented HOT 1
- sb-vm::emit-skip does not exist in sbcl 2.0.0 HOT 11
- LispWorks specific: were slots change from tnon-transactional to transaction, the parents need (:optimize-slot-access nil) HOT 1
- Does not build - emit-skip issue HOT 2
- Does not build in sbcl 2.0.9 - EAX-OFFSET lock HOT 2
- Lispworks 7.12 on Mac Catalina Test Fails HOT 1
- Broken link at Documentation: <repository>/example/dining-philosophers-stmx.lisp HOT 1
- Readme mentions bordeaux-threads:start-thread HOT 1
- Interoperability with lparallel? [was: SBCL: stmx.lang:*current-thread* seems to never be rebound] HOT 7
- VOP failing with SBCL 2.3.5 HOT 4
- Test suite failure on SBCL 2.3.2 with latest Quicklisp dist HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stmx.