SEMAPHORE-MULTIPLE-WAITERS failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Reported by Robert Brown:
I just compiled SBCL 1.0.25.55 and ran the tests. I'm getting a failure of
test SEMAPHORE-
running Ubuntu Linux in 64-bit mode. I compiled the same SBCL version on my
netbook, 32-bit Atom running Ubuntu 8.10 and same test passes.
bob
=======
paradicsom [51] sh ./run-tests.sh threads.pure.lisp
/running tests on
'/usr/local/
--core
/usr/local/
--noinform --no-sysinit --no-userinit --noprint --disable-debugger'
; loading system definition from
;
/usr/local/
; into #<PACKAGE "ASDF0">
; loading system definition from
;
/usr/local/
; into #<PACKAGE "ASDF1">
; registering #<SYSTEM SB-GROVEL {1002FB15A1}> as SB-GROVEL
; registering #<SYSTEM SB-POSIX {1002F0A581}> as SB-POSIX
; registering #<SYSTEM SB-POSIX-TESTS {10031458F1}> as SB-POSIX-TESTS
STYLE-WARNING: Couldn't grovel for SIGEMT (unknown to the C compiler).
STYLE-WARNING: Couldn't grovel for S_IFWHT (unknown to the C compiler).
STYLE-WARNING: Couldn't grovel for O_NOFOLLOW (unknown to the C compiler).
STYLE-WARNING: Couldn't grovel for O_DIRECTORY (unknown to the C compiler).
STYLE-WARNING: Couldn't grovel for O_DIRECT (unknown to the C compiler).
STYLE-WARNING: Couldn't grovel for O_LARGEFILE (unknown to the C compiler).
// Running pure tests (#<FUNCTION RUN-TESTS:
// Running
/usr/local/
::: Running MUTEX-OWNER
::: Success MUTEX-OWNER
::: Running SPINLOCK-OWNER
::: Success SPINLOCK-OWNER
::: Running WITHOUT-
::: Success WITHOUT-
::: Running WITHOUT-
::: Success WITHOUT-
::: Running PARALLEL-FIND-CLASS
::: Success PARALLEL-FIND-CLASS
; in: LAMBDA NIL
; (LET ((THREAD-TEST::W THREAD-TEST::W))
; (SB-THREAD:
; (LAMBDA ()
; (LET (#)
; (DOTIMES # #)))
; :NAME "writer"))
;
; caught STYLE-WARNING:
; The variable W is defined but never used.
; (LET ((THREAD-TEST::R THREAD-TEST::R))
; (SB-THREAD:
; (LAMBDA ()
; (LET (#)
; (DOTIMES # #)))
; :NAME "reader"))
;
; caught STYLE-WARNING:
; The variable R is defined but never used.
;
; compilation unit finished
; caught 2 STYLE-WARNING conditions
::: Running :SEMAPHORE-
::: UNEXPECTED-FAILURE :SEMAPHORE-
// Running pure tests (#<FUNCTION RUN-TESTS:
// Running impure tests (#<FUNCTION RUN-TESTS:
// Running impure tests (#<FUNCTION RUN-TESTS:
// Running impure tests (#<FUNCTION RUN-TESTS:
Finished running tests.
Status:
Failure: threads.pure.lisp / SEMAPHORE-
test failed, expected 104 return code, got 1
Further info from Bob:
The Linux kernel version is 2.6.18.5. I believe it is a regression for me
and that SBCL 1.0.24.44 passes the test. Any suggestions for ways to debug
this?