Calls of sb-ext:process-wait for exited process raise an error on Windows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Calls of sb-ext:process-wait for an exited process raise a type-error.
This can be a regression commited at https:/
In SB-WIN32:
## Reproducible Flow
1. Run a process
(defvar *p* (sb-ext:run-program "C:\\Windows\
2. See if the process is exited
*p*
;=> #<SB-IMPL::PROCESS :EXITED 0>
3. Call sb-ext:process-wait
(sb-ext:
debugger invoked on a TYPE-ERROR in thread
#<THREAD "main thread" RUNNING {10027500C3}>:
The value
NIL
is not of type
(SIGNED-BYTE 64)
when binding SB-ALIEN::VALUE
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-
0: [ABORT] Exit debugger, returning to top level.
(SB-WIN32:
0] backtrace 20
Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10027500C3}>
0: (SB-WIN32:
1: (SB-WIN32:
2: (PROCESS-WAIT #<SB-IMPL::PROCESS :EXITED 0> #<unused argument>)
3: (SB-INT:
4: (EVAL (PROCESS-WAIT *P*))
5: (INTERACTIVE-EVAL (PROCESS-WAIT *P*) :EVAL NIL)
6: (SB-IMPL::REPL-FUN NIL)
7: ((LAMBDA NIL :IN SB-IMPL:
8: (SB-IMPL:
9: (SB-IMPL:
10: (SB-IMPL:
11: ((FLET "WITHOUT-
12: ((LABELS SB-IMPL:
13: ("foreign function: #x4362B8")
14: ("foreign function: #x4033C1")
## Environment
SBCL 1.4.1.51-7c350ccb7
Windows 10 Home
*features*
(:QUICKLISP :QUICKLISP-
:ASDF :OS-WINDOWS :NON-BASE-
:64-BIT-REGISTERS :ALIEN-CALLBACKS :ANSI-CL :ASH-RIGHT-VOPS
:C-STACK-
:COMPLEX-
:GENCGC :IEEE-FLOATING-
:LITTLE-ENDIAN :MEMORY-
:OS-PROVIDES-PUTWC :PACKAGE-
:RAW-INSTANCE-
:SB-FUTEX :SB-LDB :SB-PACKAGE-LOCKS :SB-QSHOW :SB-SAFEPOINT
:SB-SAFEPOINT-
:SB-THRUPTION :SB-UNICODE :SB-WTIMER :SBCL :STACK-
:STACK-
:STACK-
:UNBIND-N-VOP :UNDEFINED-
:X86-64)
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
ce7eec29a758686 a773273676fa390 f4a8a1ecd2