cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | the secret reason for us trying to get PyPy users: to test the JIT well enough that we're somewhat confident about it
lritter_ has joined #pypy
lritter has quit [Ping timeout: 240 seconds]
energizer has quit [Read error: Connection reset by peer]
antocuni has quit [Ping timeout: 256 seconds]
dddddd has quit [Remote host closed the connection]
energizer has joined #pypy
ExeciN12 has joined #pypy
ExeciN12 has quit [Killed (Unit193 (Spam is not permitted on freenode.))]
moei has quit [Ping timeout: 244 seconds]
mattip has quit [Ping timeout: 240 seconds]
jamesaxl has quit [Quit: WeeChat 2.2]
wleslie has joined #pypy
lritter_ has quit [Remote host closed the connection]
casdr20 has joined #pypy
casdr20 has quit [Remote host closed the connection]
thomas9 has joined #pypy
thomas9 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
wleslie has quit [Quit: ~~~ Crash in JIT!]
mattip has joined #pypy
jcea has quit [Quit: jcea]
nkk71 has joined #pypy
nkk71 has quit [Killed (Unit193 (Spam is not permitted on freenode.))]
mobijubo29 has joined #pypy
mobijubo29 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
Minkar has joined #pypy
Minkar has quit [Killed (Unit193 (Spam is not permitted on freenode.))]
<Hasimir> mattip, I believe Sigyn is one of pinkieval's pet projects, so you can probably just get him to whitelist bbot2 for you
xynashi has joined #pypy
xynashi is now known as Guest85022
Guest85022 has quit [Killed (Unit193 (Spam is not permitted on freenode.))]
ephemer0l_5 has joined #pypy
ephemer0l_5 has quit [Ping timeout: 244 seconds]
oberstet has joined #pypy
LooCfur has joined #pypy
LooCfur has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<mattip> Alex_Gaynor: can you get bbot2 unbanned in this channel, not sure what the mode command to do it is
fxrh25 has joined #pypy
fxrh25 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
forgottenone has quit [Remote host closed the connection]
elios4 has joined #pypy
elios4 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
yaymuffins9 has joined #pypy
forgottenone has joined #pypy
forgottenone has quit [Remote host closed the connection]
yaymuffins9 has quit [Ping timeout: 244 seconds]
forgottenone has joined #pypy
Guest9883 has joined #pypy
Guest9883 has quit [Remote host closed the connection]
knolle8 has joined #pypy
knolle8 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
Neobenedict7 has joined #pypy
Neobenedict7 has quit [Killed (Unit193 (Spam is not permitted on freenode.))]
eNbass19 has joined #pypy
eNbass19 has quit [Killed (Unit193 (Spam is not permitted on freenode.))]
MatthewAllan9328 has joined #pypy
MatthewAllan9328 has quit [Remote host closed the connection]
bungle29 has joined #pypy
bungle29 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
patate4 has joined #pypy
patate4 has quit [K-Lined]
tx27 has joined #pypy
tx27 has quit [Remote host closed the connection]
__idiot__ has joined #pypy
__idiot__ has quit [K-Lined]
jamesaxl has joined #pypy
jamesaxl has quit [Client Quit]
jamesaxl has joined #pypy
mattip has quit [Ping timeout: 244 seconds]
heinrich5991 has quit [Ping timeout: 268 seconds]
heinrich5991 has joined #pypy
forgottenone has quit [Ping timeout: 240 seconds]
antocuni has joined #pypy
inhahe has quit []
inhahe has joined #pypy
wleslie has joined #pypy
forgottenone has joined #pypy
EXCEPTS has joined #pypy
EXCEPTS has quit [Killed (Sigyn (Spam is off topic on freenode.))]
wleslie has quit [Quit: ~~~ Crash in JIT!]
arigato has joined #pypy
arigato has quit [Client Quit]
PuppyKun18 has joined #pypy
PuppyKun18 has quit [Killed (Unit193 (Spam is not permitted on freenode.))]
antocuni has quit [Ping timeout: 240 seconds]
dddddd has joined #pypy
shentino22 has joined #pypy
shentino22 has quit [Killed (Unit193 (Spam is not permitted on freenode.))]
Guest89349 has joined #pypy
Guest89349 has quit [K-Lined]
RustyJ28 has joined #pypy
RustyJ28 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
d10n22 has joined #pypy
d10n22 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<Alex_Gaynor> mattip_: I don't know the command either, I didn't think it had been banned
marky1991 has joined #pypy
tayfun26 has joined #pypy
jcea has joined #pypy
antocuni has joined #pypy
larstiq_ has left #pypy [#pypy]
LarstiQ has joined #pypy
<LarstiQ> Alex_Gaynor: I think it's about the mode, was it +r or +q?
<Alex_Gaynor> the channel's mode does not have +q or +r as far as I can tell
* LarstiQ couldn't speak either just now
<Alex_Gaynor> Possibly unregistered nicks are quieted? I thought I added an exemption for bbot on that though
* LarstiQ couldn't change nick (from unregisterd with a trailing _) while in the channel
<LarstiQ> "12:03:51 [freenode] -!- LarstiQ #pypy Cannot change nickname while banned on channel"
<Alex_Gaynor> I think the spam wave has stopped, so I can probably undo that... if someone can tell me how.
<LarstiQ> "01:20:55 -!- mode/#pypy [+q $~a] by Alex_Gaynor" is how it was enabled, so maybe /mode -q?
<Alex_Gaynor> ok, should be done
epic5 has joined #pypy
<epic5> kaniini has invited you to join #litepub
epic5 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
infina20 has joined #pypy
<infina20> kaniini has invited you to join #litepub
infina20 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
doaks has joined #pypy
<doaks> kaniini has invited you to join #litepub
doaks has quit [Killed (Sigyn (Spam is off topic on freenode.))]
maxxam has joined #pypy
<LarstiQ> sigh
<maxxam> what are the odds calling reversed() repeatedly and frequently on a large dict.keys() view might trigger a segfault in pypy3?
<LarstiQ> maxxam: it sounds like you have evidence towards that? Or at least a segfault and wondering what the cause is?
<maxxam> I’ve been reviewing the codebase at issue. Of 3 very similar data handlers, one runs fine for long periods (and much higher data volumes) under PyPy. The next handler uses identical code to #1. Handler #3 (the problem child) uses ALMOST identical code, but for the reversed() call and some trivial structure changes
<maxxam> * Correction, it’s a SortedDict, not a dict
<maxxam> I’m going to migrate #3 over to using the code from #1/#2 soonish, so that will give some hard evidence (if the segfaults stop, or if they continue)
* LarstiQ nods
glyph has quit [Ping timeout: 268 seconds]
glyph has joined #pypy
red-00128 has joined #pypy
<red-00128> kaniini has invited you to join #litepub
red-00128 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
pheizax has joined #pypy
<pheizax> kaniini has invited you to join #litepub
pheizax has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<LarstiQ> Alex_Gaynor: the spam wave being gone was maybe overly optimistic
<Alex_Gaynor> I'm known as an overly optimistic person, so this makes sense
<LarstiQ> :)
<atomizer> i'm still confused, why not just register bot account(s)?
<atomizer> unless they are run by someone who is not available
maxxam has quit [Ping timeout: 256 seconds]
maxxam has joined #pypy
oberstet has quit [Ping timeout: 248 seconds]
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
ynyounuo29 has joined #pypy
ynyounuo29 has quit [Remote host closed the connection]
moei has joined #pypy
marky1991 has quit [Ping timeout: 256 seconds]
mattip has joined #pypy
marky1991 has joined #pypy
marky1991 has quit [Ping timeout: 248 seconds]
mattip has quit [Ping timeout: 268 seconds]
marky1991 has joined #pypy
tayfun26 has quit [Quit: tayfun26]
Bonn33320 has joined #pypy
<Bonn33320> kaniini has invited you to join #litepub
marky1991 has quit [Remote host closed the connection]
rctgamer312 has joined #pypy
<rctgamer312> kaniini has invited you to join #litepub
rctgamer312 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
marky1991 has joined #pypy
fryguybo1 has quit [Quit: leaving]
fryguybob has joined #pypy
antocuni has quit [Read error: Connection reset by peer]
antocuni has joined #pypy
arigato has joined #pypy
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
<arigato> maxxam: great that you're continuing efforts, but generally rare segfaults are almost never directly linked to the code base. they are instead something like the JIT which happens to miscompile code in some rather unlikely case
<arigato> it's more likely that you have several code bases and only one of them happens to align the stars correctly for the segfault to occur
<arigato> there is admittedly some not-well-tested code in dicts (sorted or not) that grow to more than 4 billion entries
<arigato> this would require massive amounts of memory, though
mattip has joined #pypy
<arigato> and the change from less-than-4G to more-than-4G should be "the same" as the change from byte to short and from short to int
nullrouted has joined #pypy
<nullrouted> kaniini has invited you to join #litepub
nullrouted has quit [Killed (Sigyn (Spam is off topic on freenode.))]
Guest14242 has quit [Quit: Leaving]
burnout_ has joined #pypy
burnout_ has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<burnout_> kaniini has invited you to join #litepub
<maxxam> arigato: could be, though I have made lots of changes to this code in the process of trying to track down the segfault and it kept persisting, so a miscompilation seems unlikely.
<maxxam> arigato: I’m not storing dicts that large, so the 4 billion entry thing is not it
<maxxam> (of course if the question were about 4 billion insertions over the life of the dict, then yes, that would likely be it!)
<arigato> ok
<arigato> note that unless you did change *all* loops that only exist in the segfaulting project, we can't know that---where "loop" is in the jit sense, a loop in Python code including all the inlined callees, all the details about the classes used, etc.
<arigato> once again, it might be worth it for you to give one of us temporary access to the production system with the crashed "core" file and gdb, instead of poking blindly around
<arigato> worth in term of the total time spent---I imagine you'll have to fight bureaucracy, or make us sign NDAs, or something
<maxxam> arigato: aha, I see what you mean in terms of loops. No, I haven’t changed the relevant loop yet. Thanks to `faulthandler` I have a sense of which loop this is. As it happens I am revising that part of the codebase (the troublesome data handler is the oldest, and the ones that work are conveniently also doing things in a faster and all around better way). I’ve also mapped out a way to get the whole show performing under CPython in
<maxxam> way that should not be any slower than PyPy is now, not because the code executes faster, but because I can cut out many execution steps…
<maxxam> arigato: …therefore troubleshooting at this point is more a „spare time“ exercise to help you guys improve PyPy, not because it needs to be done to make this work
<arigato> ok
<arigato> but at this point, it looks likely to be an obscure detail in the JIT or the GC---see e.g. https://bitbucket.org/pypy/pypy/issues/2363
antocuni has quit [Ping timeout: 248 seconds]
<arigato> it's unlikely we can pin the problem to something concrete that exists in the Python code
<arigato> though of course not completely impossible
<maxxam> arigato: …I see why you guys put so much emphasis on test driven development.
<arigato> pypy is a collection of independant pieces at various levels. you don't touch anything Python-specific when working on the JIT, but it also means you need to have tests for the JIT that are not just pieces of Python code
<arigato> the same is true for all other pieces
<arigato> (like the GC, in issue 2363)
<maxxam> arigato: that makes sense, though I was referring more to the great difficulty of developing software that, like pypy, is prone to bugs like #2363, if you didn’t have very extensive tests
<arigato> right
arigato has quit [Quit: Leaving]
arigato has joined #pypy
was has joined #pypy
was has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<was> kaniini has invited you to join #litepub
* mattip trying to get bbot2 back on IRC
maxxam has quit [Ping timeout: 256 seconds]
marky1991 has quit [Ping timeout: 268 seconds]
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
marky1991 has joined #pypy
marky1991 has quit [Changing host]
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
arigato has quit [Quit: Leaving]
forgottenone has quit [Ping timeout: 248 seconds]
marky1991 has quit [Remote host closed the connection]
madduck27 has joined #pypy
<madduck27> kaniini has invited you to join #litepub
madduck27 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
danchr has quit [Ping timeout: 256 seconds]
danchr_ has joined #pypy
[Arfrever] has quit [Ping timeout: 240 seconds]
irinix15 has joined #pypy
<irinix15> kaniini has invited you to join #litepub
irinix15 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
[Arfrever] has joined #pypy
antocuni has joined #pypy
jamesaxl has quit [Ping timeout: 240 seconds]
jamesaxl has joined #pypy
lino has joined #pypy
lino has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<lino> kaniini has invited you to join #litepub
johanfforsberg has joined #pypy
doaks has joined #pypy
<doaks> kaniini has invited you to join #litepub
doaks has quit [Killed (Sigyn (Spam is off topic on freenode.))]
quicksilver5 has joined #pypy
<quicksilver5> kaniini has invited you to join #litepub
quicksilver5 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
johanfforsberg has quit [Ping timeout: 240 seconds]
kepler_mach11 has joined #pypy
<kepler_mach11> kaniini has invited you to join #litepub
kepler_mach11 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
forgottenone has joined #pypy
Caraway27 has joined #pypy
<Caraway27> kaniini has invited you to join #litepub
Caraway27 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
jrslepak22 has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
jrslepak22 has quit [Ping timeout: 240 seconds]
forgottenone has joined #pypy
antocuni has quit [Ping timeout: 240 seconds]