cosmos72 / stmx

High performance Transactional Memory for Common Lisp
http://stmx.org/
243 stars 14 forks source link

Lispworks 7.12 on Mac Catalina Test Fails #21

Open dbmcclain opened 3 years ago

dbmcclain commented 3 years ago

Numerous instances during test of TVAR-ID against a NIL argument.

DESCRIPTION: STMX Test Fail


CL-USER 1 > (ql:quickload :stmx) To load "stmx": Load 1 ASDF system: stmx ; Loading "stmx"

(:STMX)

CL-USER 2 > (ql:quickload :stmx.test) To load "stmx.test": Load 1 ASDF system: stmx.test ; Loading "stmx.test"

(:STMX.TEST)

CL-USER 3 > (fiveam:run! 'stmx.test:suite)

Running test suite SUITE Running test suite ATOMIC-SUITE Running test COMMIT ... Running test TRANSACTION-RETURN-FROM .... Running test $-SLOT ....................... Running test TX-READ-OF .... Running test RERUN . Running test $ ............... Running test ROLLBACK ... Running test VALID? ...... Running test ATOMIC ...... Running test suite THASH-TABLE-SUITE Running test THASH-TABLE X Running test NEW-THASH-TABLE .X Running test suite RETRY-SUITE Running test CELL-ATOMIC ..... Running test CELL ..... Running test RETRY-THREADS ....... Running test suite CONFLICT-SUITE Running test CONFLICT-2 ....... Running test CONFLICT-MULTITHREAD ........... Running test CONFLICT-1 ........ Running test CONFLICT ... Running test suite ORELSE-SUITE Running test ORELSE ........................................................................................................................................................................................................................ Running test ORELSE-ATOMIC ........................................................................................................................................................................................................................ Running test ORELSE-THREADS .......... Running test suite RBMAP-SUITE Running test NEW-RBMAP .. Running test RBMAP ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ Running test suite TMAP-SUITE Running test TMAP-THREADS X Running test TMAP-ATOMIC ......X Running test TMAP .........X Running test TMAP-ROLLBACK .. Running test suite TXHASH-SUITE Running test TXHASH ................ Running test NEW-TXHASH . Running test suite ACCESSORS-SUITE Running test POINT-ACCESSORS ........ Running test suite GHASH-TABLE-SUITE Running test GHASH-TABLE ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ Running test GHASH-TABLE-EQUALP ...................................................................... Running test NEW-GHASH-TABLE . Running test suite ON-COMMIT-SUITE Running test BEFORE-COMMIT-FAILS ........ Running test ON-COMMIT ... Running test AFTER-COMMIT-FAILS ........ Did 3313 checks. Pass: 3308 (99%) Skip: 0 ( 0%) Fail: 5 ( 0%) Failure Details:

TMAP in TMAP-SUITE []: Unexpected Error: #<SIMPLE-TYPE-ERROR 402006DBAB>

<TNODE 402006A91B> is not of type TVAR when accessing slot STMX::VALUE..



TMAP-ATOMIC in TMAP-SUITE []: Unexpected Error: #<SIMPLE-TYPE-ERROR 4020067C1B>

<TNODE 40200663EB> is not of type TVAR when accessing slot STMX::ID..



TMAP-THREADS in TMAP-SUITE []: Unexpected Error: #<SIMPLE-TYPE-ERROR 402006082B> NIL is not of type TVAR when accessing slot STMX::VALUE..


NEW-THASH-TABLE in THASH-TABLE-SUITE []: Unexpected Error: #<SIMPLE-TYPE-ERROR 40200A70BB>

(#<TVAR [NIL] v:-2 id:58> #<TVAR [NIL] v:-2 id:59>

<TVAR [NIL] v:-2 id:60>

<TVAR [NIL] v:-2 id:61>) is not of type TVAR when accessing slot STMX::VALUE..



THASH-TABLE in THASH-TABLE-SUITE []: Unexpected Error: #<SIMPLE-TYPE-ERROR 402009FFFB>

(#<TVAR [NIL] v:-2 id:10> #<TVAR [NIL] v:-2 id:11>

<TVAR [NIL] v:-2 id:12>

<TVAR [NIL] v:-2 id:13>) is not of type TVAR when accessing slot STMX::VALUE..


NIL (#<IT.BESE.FIVEAM::UNEXPECTED-TEST-FAILURE 4270160C23>

<IT.BESE.FIVEAM::UNEXPECTED-TEST-FAILURE 4270160C53>

<IT.BESE.FIVEAM::UNEXPECTED-TEST-FAILURE 402006086B>

<IT.BESE.FIVEAM::UNEXPECTED-TEST-FAILURE 4020067C6B>

<IT.BESE.FIVEAM::UNEXPECTED-TEST-FAILURE 402006DBEB>)

NIL

CL-USER 4 >

IMPACT: Broken

URGENCY: Next Release

PRODUCT CONFIGURATION:

LispWorks 7.1.2

Process name: /Applications/LispWorks 7.1 (64-bit)/LispWorks (64-bit).app/Contents/MacOS/lispworks-7-1-0-amd64-darwin ID: 61768 Started at: 2020/11/24 6:02:08

Save history:

1: lispworks-7-1-0-0-amd64-darwin-release-base Saved by martin as lispworks-7-1-0-0-amd64-darwin-release-base, at 17 May 2017 18:56

2: lispworks-7-1-0-0-amd64-darwin-release-cocoa-shaken Saved by martin as lispworks-7-1-0-0-amd64-darwin-release-cocoa-shaken, at 17 May 2017 19:13

3: lispworks-7-1-0-0-amd64-darwin-release-cocoa-shaken Saved by martin as lispworks-7-1-0-amd64-darwin, at 16 Oct 2017 14:33 LispWorks 7.1.0

Loaded Modules: "SDLE-STORE", "NREGEX", "CHARSETS", "c-arrays", "mt-random", "IRONCLAD", "ILLOGICAL-PATHNAMES", "dynamic-complete", "describe", "inspector-values", "comm", "ASDF", "asdf", "UIOP", "uiop"

Public patches: PATCH-ITSELF 1.19, CAPI-COCOA 1.15, CAPI 1.15, COCOA 1.1, COMPILER 1.9, EDITOR 1.8, FLI 1.7, FULL 1.8, MP 1.1, OBJC 1.2, SYSTEM64 1.6, SYSTEM 1.29, DELIVERY 1.0, COMM 1.4, KW-TOOLS 1.0, ORACLE 1.0, SQL 1.0, PROLOG 1.0, SQLITE 1.0, FOREIGN-PREPROCESSOR 1.0 Private patches: OBJC-INTERN-METHOD-SIGNATURE, COMM-ASYNC-IPV6, COMM-AIO-SSL-READ

Foreign modules:

<FLI::EXTERNAL-MODULE :CARBON-CORE {/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/CarbonCore}: handle = #; exports = 2>

<FLI::EXTERNAL-MODULE COMM::CRYPTO-LIBRARY {/usr/lib/libcrypto.dylib}: handle = #; exports = 12>

<FLI::EXTERNAL-MODULE COMM::OPENSSL-LIBRARY {/usr/lib/libssl.dylib}: handle = #; exports = 11>

<FLI::EXTERNAL-MODULE :FFTLIB {/usr/local/lib64/liblispfft.dylib}: handle = #; exports = 1>

<FLI::EXTERNAL-MODULE #P"/usr/local/lib64/liblispburg.dylib" : handle = #x00000000; exports = 0>

<FLI::EXTERNAL-MODULE #P"/usr/local/lib64/liblispnrutil.dylib" : handle = #x00000000; exports = 0>

<FLI::EXTERNAL-MODULE #P"/usr/local/lib64/liblispplotterstuff.dylib" : handle = #x00000000; exports = 0>

<FLI::EXTERNAL-MODULE "/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation" {/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation}: handle = #; exports = 0>

<FLI::EXTERNAL-MODULE "/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa" {/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa}: handle = #; exports = 0>

<FLI::EXTERNAL-MODULE :DARWIN-LW-OBJC {/private/var/tmp/lwtemp_Arroyo_6176800habiB.dylib}: handle = #; exports = 0>

Signal Handlers 2 SYSTEM::SIGINT-HANDLER 13 SYSTEM::THE-NULL-FUNCTION 20 SYSTEM::GET-CHILDREN-INF 23 SYSTEM::THE-NULL-FUNCTION 30 MP::CALL-BREAK-OF-MP 31 MP::PANIC

Added features: (:ASDF-UNICODE :COM.SD :COM.RAL :LISPWORKS5+ :LISPWORKS6+ :LISPWORKS7+ :NON-BASE-CHARS-EXIST-P :OS-UNIX :OS-MACOSX :ASDF :ASDF2 :ASDF3 :ASDF3.1 :ASDF3.2 :ASDF3.3 :QUICKLISP :LW-ADD-ONS :CL-PPCRE :CL-WHO :THREAD-SUPPORT :CLOSER-MOP :BORDEAUX-THREADS :IRONCLAD-ASSEMBLY :BSD :64-BIT :CFFI CFFI-FEATURES:DARWIN CFFI-FEATURES:UNIX CFFI-FEATURES:X86-64 :STMX :5AM)

HOST CONFIGURATION:

Arroyo.local (x86 PENTIUM_3), Darwin 19.6.0

LWSerialNumber: LWPRO0710111701174719

Site: Unknown

Backtrace:

Generation 7: 34926024 (0x214EDC8) Cons 4891872 (0x4AA4E0) Non-Pointer 3362056 (0x334D08) Other 8453104 (0x80FBF0) Symbol 2985936 (0x2D8FD0) Function 14805312 (0xE1E940) Non-Pointer-Static 26528 (0x67A0) Mixed-Static 400536 (0x61C98) Weak 680 (0x2A8) -- Segments: Cons 40B0038800 - 40B04E5000 Non-Pointer 40C0000800 - 40C0338000 Other 40D0038800 - 40D084B000 Symbol 40E0038800 - 40E0312000 Function 40F0038800 - 40F0E5A000 Non-Pointer-Static 4080000800 - 408010F000 Mixed-Static 400004E800 - 40001BD000 Weak 4100038800 - 4100039000

Generation 6: 0 (0x0) Generation 5: 0 (0x0) Generation 4: 0 (0x0) Generation 3: 35623808 (0x21F9380) Cons 8461456 (0x811C90) Non-Pointer 7944536 (0x793958) Other 9316360 (0x8E2808) Symbol 1388304 (0x152F10) Function 8513024 (0x81E600) Weak 128 (0x80) -- Segments: Cons 4220018800 - 4221019000 Non-Pointer 41F0000800 - 41F07EF000 Other 4200018800 - 4200A98000 Symbol 4210018800 - 4210960000 Function 4230018800 - 4231019000 Weak 4240018800 - 4240059000

Generation 2: 18909296 (0x1208870) Cons 5321216 (0x513200) Non-Pointer 1398896 (0x155870) Other 6396304 (0x619990) Symbol 27984 (0x6D50) Function 2736056 (0x29BFB8) Non-Pointer-Static 3028552 (0x2E3648) Weak 288 (0x120) -- Segments: Cons 4250010800 - 4251011000 Non-Pointer 4260000800 - 4261001000 Other 4270010800 - 4271011000 Symbol 4280010800 - 4280811000 Function 4290010800 - 4290811000 Non-Pointer-Static 4040000800 - 4040335000 Weak 42A0010800 - 42A0051000

Generation 1: 4193720 (0x3FFDB8) Cons 866752 (0xD39C0) Non-Pointer 439848 (0x6B628) Other 2863888 (0x2BB310) Symbol 5760 (0x1680) Function 16832 (0x41C0) Weak 640 (0x280) -- Segments: Cons 42B0008800 - 42B03F1000 Non-Pointer 42C0000800 - 42C0159000 Other 42D0008800 - 42D03F1000 Symbol 4070008800 - 407000A000 Function 42E0008800 - 42E003B000 Weak 42F0008800 - 42F0009000

Generation 0: 4984944 (0x4C1070) Cons 682112 (0xA6880) Non-Pointer 3365584 (0x335AD0) Other 908832 (0xDDE20) Function 28416 (0x6F00) -- Segments: Cons 4010000800 - 401040B000 Non-Pointer 4030000800 - 4030478000 Other 4020000800 - 402040B000 Symbol 4140000800 - 4140101000 Function 4060000800 - 406011E000 Weak 4170000800 - 4170041000

Total allocated 98637792 (0x5E117E0), total size 206098432 (0xC48D000)

cosmos72 commented 3 years ago

Yes, STMX has known issues on LispWorks - see #18 for some proposed fixes.

I have downloaded LispWorks personal edition in the past to improve STMX support for it, but it's quite cumbersome to use. You can try the fixes described in #18: if they work for you, I may as well just apply them.