irc_user has quit [Quit: Connection closed for inactivity]
<atgreen>
_death, hayley .. reverting SBCL from 2.2.7 to 2.2.6 solved my corruption error from earlier today
<atgreen>
I just sent a note to the sbcl bug list
<hayley>
Do you have evidence that it's a bug in SBCL?
<hayley>
I'm too busy today to look through the cl-postgres code, but it is still possible that it is modifying literals in a way that isn't allowed in Common Lisp, and it's caught by SBCL 2.2.7 now.
<hayley>
...after a quick glance that doesn't seem likely, but there is a (optimise (safety 0)) declaration that you could remove.
<atgreen>
How could modify literals in a way that isn't allowed in Common Lisp?
<hayley>
(setf (aref "blab" 2) #\u) is undefined behaviour. After SAVE-LISP-AND-DIE, SBCL 2.2.7 would put that string in read-only memory, so trying to write to the string would cause a memory fault.
<hayley>
But I don't think that's the issue; the use of (safety 0) in that function causing a memory fault is more concerning to me now.
masinter has joined #commonlisp
masinter_ has joined #commonlisp
masinter_ has quit [Client Quit]
tyson2 has quit [Remote host closed the connection]
causal has quit [Quit: WeeChat 3.6]
<atgreen>
I submitted a PR to remove it
Mandus has quit [Ping timeout: 256 seconds]
cosimone has quit [Remote host closed the connection]
GuestWho has joined #commonlisp
Mandus has joined #commonlisp
<aeth>
easy bonus points to score: submit PRs to remove all (safety 0) except when the (safety 0) actually has a purpose (basically, to remove bounds checks) and even then you can probably move it to a tightly bound LOCALLY (instead of the typical function scope) to limit the chance of bugs surfacing there
<aeth>
anyone have a huge chunk of Quicklisp saved?
gxt has quit [Ping timeout: 268 seconds]
<aeth>
or some other "global" Common Lisp code search?
mrcom has quit [Remote host closed the connection]
mrcom has joined #commonlisp
gxt has joined #commonlisp
* hayley
looks at CL+SSL
<hayley>
(debug 0) is also evil.
GuestWho has left #commonlisp [#commonlisp]
triffid has quit [Remote host closed the connection]
triffid has joined #commonlisp
hineios has quit [Ping timeout: 268 seconds]
hineios has joined #commonlisp
thomaslewis has joined #commonlisp
thomaslewis has left #commonlisp [#commonlisp]
thomaslewis has joined #commonlisp
thomaslewis has left #commonlisp [#commonlisp]
hineios has quit [Read error: Connection reset by peer]
hineios has joined #commonlisp
SR-71 has quit [Ping timeout: 255 seconds]
thomaslewis has joined #commonlisp
thomaslewis has left #commonlisp [#commonlisp]
shka has joined #commonlisp
SR-71 has joined #commonlisp
greaser|q has joined #commonlisp
greaser|q has joined #commonlisp
greaser|q has quit [Changing host]
greaser|q is now known as GreaseMonkey
igemnace has joined #commonlisp
akoana has quit [Quit: leaving]
ttree has quit [Ping timeout: 248 seconds]
igemnace has quit [Remote host closed the connection]
gxt has quit [Remote host closed the connection]
gxt has joined #commonlisp
SR-71 has quit [Ping timeout: 244 seconds]
pve has joined #commonlisp
jolby has quit [Quit: Client closed]
dtman34 has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
dtman34 has joined #commonlisp
hashfunc has joined #commonlisp
hashfunc has quit [Remote host closed the connection]
beach has quit [Remote host closed the connection]
beach has joined #commonlisp
samebchase- has joined #commonlisp
MajorBiscuit has joined #commonlisp
Dynom_ has joined #commonlisp
Dynom_ is now known as Guest681
<_death>
atgreen: but did you run your program with the unsafety declarations removed? then it might've exposed a bug
_cymew_ has quit [Ping timeout: 248 seconds]
szkl has quit [Quit: Connection closed for inactivity]
_cymew_ has joined #commonlisp
sp1 is now known as sp
nij- has joined #commonlisp
_cymew_ has quit [Ping timeout: 248 seconds]
Guest491241242 has quit [Ping timeout: 252 seconds]
Guest681 has quit [Read error: Connection reset by peer]
szkl has joined #commonlisp
igemnace has joined #commonlisp
igemnace has quit [Remote host closed the connection]
attila_lendvai has joined #commonlisp
random-nick has joined #commonlisp
cosimone has quit [Ping timeout: 256 seconds]
thuna` has joined #commonlisp
attila_lendvai has quit [Ping timeout: 256 seconds]
attila_lendvai has joined #commonlisp
cosimone has joined #commonlisp
nij- has quit [Ping timeout: 244 seconds]
attila_lendvai has quit [Ping timeout: 256 seconds]
attila_lendvai has joined #commonlisp
thomaslewis has joined #commonlisp
thomaslewis has left #commonlisp [#commonlisp]
cage has joined #commonlisp
waleee has joined #commonlisp
attila_lendvai has quit [Ping timeout: 248 seconds]
jmdaemon has quit [Ping timeout: 256 seconds]
morganw has joined #commonlisp
<atgreen>
SBCL team said "that's what you get" when you use (safety 0). The cl-postgres maintainer accepted my patch.
<aeth>
Is anything other than (speed 3) ever useful to write in code? I mean, code you give other people. Because (speed 3) sometimes makes the compiler go down another path (one that perhaps might be too slow to compile with when compiling on a 386 or whatever) that generates better code in a useful way...
<aeth>
And in SBCL it even gives you optimization notes (sometimes too many, if the optimization note is 'try dividing by another, nicer number') so it's kind of useful to keep contained to where it's needed instead of all over the program
<pjb>
Ask in #sbcl!
<aeth>
Unless you #+sbcl it's a general thing.
<aeth>
Maybe (compilation-speed 0) is very useful on ECL or CCL, who knows
<aeth>
But compilation-speed and space seem to be something that an implementation might reasonably not care about at all in 2022.
<aeth>
I wouldn't be surprised if some (safety 0) issues are from people who use other implementations and don't realize just how dangerous it is on implementations like SBCL that believe you when you say you want no safety.
<mathrick>
I'm running my SBCL as "qlot exec ros -S . -Q run", and I can't quickload my project's systems which are defined in an .asd file right next to the qlfile
<mathrick>
it's extra confusing, because it just stopped working, I had it loading just fine, then I restarted my inferior lisp to clean up the session, and now it suddenly stopped working
<mathrick>
any ideas? Is Qlot supposed to add qlfile's location to source registries?