Memory corruption in SBCL 1.3.18 and GCC 7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
While trying to connect to some url with drakma, I get an error from SBCL 1.3.18. The problem does not appear in SBCL 1.3.17 (I checked by reinstalling it). I use the current (2017-06-11) version of quicklisp and drakma.
Run the following code (you need quicklisp) :
(ql) ; This function initializes quicklisp here, you should adapt/delete it
(ql:quickload :drakma)
(drakma:
Here is the result with backtrace :
"
CORRUPTION WARNING in SBCL pid 4543(tid 0x7ffff7fb5fc0):
Memory fault at (nil) (pc=0x40fb62, sp=0x7ffff6c6e8f8)
The integrity of this image is possibly compromised.
Continuing with fingers crossed.
debugger invoked on a SB-SYS:
#<THREAD "main thread" RUNNING {1001F0E5F3}>:
Unhandled memory fault at #x0.
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-SYS:
0] ba
Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {1001F0E5F3}>
0: (SB-SYS:
1: ("foreign function: call_into_lisp")
2: ("foreign function: post_signal_tramp")
3: ("foreign function: funcall3")
4: ("foreign function: callback_
5: ("foreign function: #x20100D41")
"
The function does not fail on every URL. This one designate a feed that has been moved. I have the problem with a few other ones.
The error does not appear with SBCL 1.3.17.
$ sbcl --version
SBCL 1.3.18
$ uname -a
Linux yggdrasil 4.11.3-1-ARCH #1 SMP PREEMPT Sun May 28 10:40:17 CEST 2017 x86_64 GNU/Linux
* *features*
(:64-BIT :64-BIT-REGISTERS :ALIEN-CALLBACKS :ANSI-CL :ASH-RIGHT-VOPS
:C-STACK-
:COMPARE-
:FP-AND-
:IMMOBILE-SPACE :INLINE-CONSTANTS :INTEGER-EQL-VOP :LARGEFILE :LINKAGE-TABLE
:LINUX :LITTLE-ENDIAN :MEMORY-
:OS-PROVIDES-
:OS-PROVIDES-
:OS-PROVIDES-
:RAW-INSTANCE-
:SB-FUTEX :SB-LDB :SB-PACKAGE-LOCKS :SB-SIMD-PACK :SB-SOURCE-
:SB-THREAD :SB-TRACEROOT :SB-UNICODE :SBCL :STACK-
:STACK-
:STACK-
:UNBIND-N-VOP :UNDEFINED-
:X86-64)
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
Not reproducible.