crash after clock reset
Bug #1028026 reported by
pipping
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Medium
|
Unassigned |
Bug Description
As already mentioned here: https:/
1. run (get-internal-
2. turn the clock back an hour.
3. call (get-internal-
Changed in sbcl: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in sbcl: | |
assignee: | nobody → David Lichteblau (david-lichteblau) |
Changed in sbcl: | |
assignee: | David Lichteblau (david-lichteblau) → nobody |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
It seems like there are some type error that causes debugger run into a loop.
After --disable-debugger I got the following error messages and backtrace.
* unhandled TYPE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
{ 1002971023} >:
The value -1960034 is not of type UNSIGNED-BYTE.
0: (SB-DEBUG: :MAP-BACKTRACE :DEBUGGER- DISABLED- HOOK DEBUGGER- HOOK* :OBJECT- NOT-TYPE- ERROR-HANDLER SB-SYS: INT-SAP #X7FFFF6CDF1A0) ALIEN-INTERNALS :ALIEN- VALUE :SAP #X7FFFF6CDEB80 :TYPE (*
(STRUCT
SB-VM: :OS-CONTEXT- T-STRUCT) )> INTERNAL- ERROR SB-SYS: INT-SAP #X7FFFF6CDEB80) internal_ error") REAL-TIME) DECODE- TIMEOUT NIL) WAIT-UNTIL- FD-USABLE 0 :INPUT NIL T) :REFILL- INPUT-BUFFER SB-SYS: FD-STREAM for "standard input" {10029713B3}>) :INPUT- CHAR/UTF- 8 SB-SYS: FD-STREAM for "standard input" {10029713B3}> :GET-EXTERNAL- FORMAT) SB-SYS: FD-STREAM for "standard input" {10029713B3}> SB-SYS: FD-STREAM for "standard input" {10029713B3}> SYNONYM- STREAM :SYMBOL SB-SYS:*STDIN* {10001B3173}> :%READ- PRESERVING- WHITESPACE SYNONYM- STREAM :SYMBOL SB-SYS:*STDIN* {10001B3173}> :%READ- PRESERVING- WHITESPACE SYNONYM- STREAM :SYMBOL SB-SYS:*STDIN* {10001B3173}> :REPL-READ- FORM-FUN SYNONYM- STREAM :SYMBOL SB-SYS:*STDIN* {10001B3173}> :TOPLEVEL- REPL)) :%WITH- REBOUND- IO-SYNTAX :TOPLEVEL- REPL) {1003E1248B}>) :TOPLEVEL- REPL NIL) :TOPLEVEL- INIT) INTERRUPTS- BODY-237819 :IN SAVE-LISP-AND-DIE)) :RESTART- LISP :IN SAVE-LISP-AND-DIE))
#<CLOSURE (LAMBDA # :IN BACKTRACE) {1003E21DDB}>
:START
0
:COUNT
128)
1: (BACKTRACE 128 #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDERR* {1000169AE3}>)
2: (SB-DEBUG:
#<TYPE-ERROR expected-type: UNSIGNED-BYTE datum: -1960034>
#<unavailable argument>)
3: (SB-DEBUG::RUN-HOOK
*INVOKE-
#<TYPE-ERROR expected-type: UNSIGNED-BYTE datum: -1960034>)
4: (INVOKE-DEBUGGER #<TYPE-ERROR expected-type: UNSIGNED-BYTE datum: -1960034>)
5: (ERROR TYPE-ERROR :DATUM -1960034 :EXPECTED-TYPE UNSIGNED-BYTE)
6: (SB-KERNEL:
#<unavailable argument>
#.(
#<SB-
(84 21))
7: (SB-KERNEL:
#.(
#<unavailable argument>)
8: ("foreign function: call_into_lisp")
9: ("foreign function: funcall2")
10: ("foreign function: interrupt_
11: ("foreign function: handle_trap")
12: ("foreign function: #x412C33")
13: (GET-INTERNAL-
14: (SB-SYS:
15: (SB-SYS:
16: (SB-IMPL:
#<
17: (SB-IMPL:
#<
NIL
#:EOF-OBJECT)
18: ((LAMBDA (&REST REST) :IN SB-IMPL:
#<
NIL
#:EOF-OBJECT)
19: (READ-CHAR
#<
NIL
#:EOF-OBJECT
#<unused argument>)
20: (READ-CHAR
#<
NIL
#:EOF-OBJECT
#<unused argument>)
21: (SB-IMPL:
#<
NIL
(NIL)
T)
22: (SB-IMPL:
#<
NIL
(NIL)
NIL)
23: (READ #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {10001B3173}> NIL (NIL) NIL)
24: (SB-IMPL:
#<
#<unavailable argument>)
25: (SB-IMPL::REPL-FUN NIL)
26: ((LAMBDA () :IN SB-IMPL:
27: (SB-IMPL:
#<CLOSURE (LAMBDA # :IN SB-IMPL:
28: (SB-IMPL:
29: (SB-IMPL:
30: ((FLET #:WITHOUT-
31: ((LABELS SB-IMPL:
unhandled condition in --disable-debugger mode, quitting