Search
Saturday, 15th of December 2018, 8:20:24 UTC
12:34:52
pfdietz
I discovered running eight testing processes can overheat this machine. Video conferencing was dropping out.
12:35:15
stassats
now you're into hardware testing
12:56:02
pfdietz
At previous job, we saw lots of &optional &key style warnings, and just ignored them.
12:56:43
pfdietz
The usual situation was an API that started with &optional, then grew to need more arguments.
12:58:27
stassats
but a pendantic mode is a good idea, i'd want to produce even more warnings, warnings à la carte
13:03:59
stassats
you're not testing ffi, are you?
13:04:36
scymtym
SB-EXT:*ON-PACKAGE-VARIANCE* also hints at the need for something like that
13:05:08
pfdietz
No, I'm not testing ffi. Not that familiar with it, to be honest.
13:05:31
stassats
can i give you just one form you can insert randomly?
13:06:46
stassats
(sb-alien:alien-funcall (sb-alien:extern-alien "os_get_errno" (function int)))
13:07:35
pfdietz
Well let's see what that does.
13:08:00
stassats
i'm playing with register spilling for C calls, and testing it would be nice
13:08:47
stassats
more forms could be tested, but let's start with that one
13:11:04
pfdietz
Should that be '(function int)?
13:11:28
stassats
it might have to be (function sb-alien:int)
13:12:38
pfdietz
Ok, let's see what breaks.
13:13:34
stassats
i'll push something that might break it a bit later, if i'm unable to break it myself
13:19:37
stassats
huh, cl+ssl doesn't work anymore
13:20:47
stassats
i might have ancient cl+ssl
14:20:24
stassats
and it fails on the CI
15:08:51
stassats
yeah, it needs some better C function that trashes all the registers it can
15:09:16
pfdietz
I need to package all this testing stuff more portably and push it up to github.
15:09:36
pfdietz
Too much ad hoc right now.
15:09:40
stassats
random testing as a service
15:10:10
stassats
submitting stuff and building in the cloud on thousands of servers
15:13:12
pfdietz
I wonder if there's an standby service for the cloud. Run your apps when usage is low and electricity is cheap.
15:23:00
jackdaniel
gpc has so called "preempive instances"
15:24:58
pfdietz
stassats: whatever C function you choose, it should trash the registers deterministically. Otherwise it will be difficult to minimize the failing inputs.
15:25:38
stassats
can just overwrite all of them with #xFFFF, but it'll need to be in assembly
16:45:17
pkhuong
pfdietz: I found azure's batch computing service pretty good at that, as long as you don't have autoscaling requirements
19:56:26
stassats
(SB-VM::VARYOBJ-PAGE-SCAN-START 16468672) Unhandled memory fault at #x324D8B0.
Saturday, 15th of December 2018, 20:20:24 UTC