cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | "the modern world where network packets and compiler optimizations are effectively hostile"
_whitelogger has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Read error: Connection reset by peer]
tbodt has joined #pypy
asmeurer has joined #pypy
tbodt has quit [Read error: Connection reset by peer]
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 248 seconds]
marky1991 has quit [Ping timeout: 240 seconds]
marr123 has quit [Ping timeout: 240 seconds]
asmeurer has quit [Quit: asmeurer]
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 248 seconds]
lritter has quit [Ping timeout: 246 seconds]
exarkun has quit [Ping timeout: 240 seconds]
exarkun has joined #pypy
<njs> runciter: if you want reliable ordered datagram IPCs then you're supposed to use SOCK_SEQPACKET not SOCK_DGRAM :-) (I guess SOCK_DGRAM can drop packets in overload conditions? not sure what the difference is really)
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 240 seconds]
ArneBab_ has joined #pypy
pilne has quit [Quit: Quitting!]
ArneBab has quit [Ping timeout: 240 seconds]
kenaan has joined #pypy
<kenaan> rlamy multiphase 48e754e6916d /pypy/module/cpyext/test/test_cpyext.py: check for stray exceptions at test teardown
<kenaan> rlamy multiphase 7a20909775d3 /pypy/module/cpyext/modsupport.py: clear exception when module exec sets one without reporting failure
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/4871 [ronan: force build, multiphase]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6180 [ronan: force build, multiphase]
tbodt has joined #pypy
rokujyouhitoma has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rokujyouhitoma has quit [Ping timeout: 248 seconds]
exarkun has quit [Ping timeout: 240 seconds]
exarkun has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/4871 [ronan: force build, multiphase]
rokujyouhitoma has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6180 [ronan: force build, multiphase]
rokujyouhitoma has quit [Ping timeout: 248 seconds]
exarkun has quit [Ping timeout: 248 seconds]
exarkun has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 246 seconds]
demonimin has quit [Ping timeout: 240 seconds]
demonimin has joined #pypy
demonimin has quit [Changing host]
demonimin has joined #pypy
demonimin has quit [Ping timeout: 240 seconds]
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 248 seconds]
realitix has joined #pypy
exarkun has quit [Ping timeout: 240 seconds]
exarkun has joined #pypy
cstratak has joined #pypy
demonimin has joined #pypy
leto_ni has joined #pypy
jamesaxl has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 248 seconds]
kenaan has quit [Read error: Connection reset by peer]
rokujyouhitoma has joined #pypy
oberstet has joined #pypy
rokujyouhitoma has quit [Ping timeout: 248 seconds]
exarkun has quit [Ping timeout: 240 seconds]
exarkun has joined #pypy
forgottenone has joined #pypy
marr has joined #pypy
antocuni has joined #pypy
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
oberstet has quit [Ping timeout: 240 seconds]
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 240 seconds]
oberstet has joined #pypy
antocuni has quit [Ping timeout: 252 seconds]
exarkun has quit [Ping timeout: 240 seconds]
exarkun has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 248 seconds]
jimbaker_ has quit [Ping timeout: 252 seconds]
jimbaker has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
ronan__ has joined #pypy
ronan has quit [Killed (orwell.freenode.net (Nickname regained by services))]
ronan__ is now known as ronan
Guest4075 has joined #pypy
ronan has quit [Remote host closed the connection]
ronan__ has joined #pypy
rokujyouhitoma has joined #pypy
forgottenone has joined #pypy
rokujyouhitoma has quit [Ping timeout: 255 seconds]
kenaan has joined #pypy
<kenaan> rlamy py3.5-sendmsg-recvmsg 05eff6c713c4 /: Merged py3.5 into py3.5-sendmsg-recvmsg
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/4872 [ronan: force build, py3.5-sendmsg-recvmsg]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6181 [ronan: force build, py3.5-sendmsg-recvmsg]
ronan__ is now known as ronan
<kenaan> stevie_92 cpyext-gc-trialdeletion 2fb71fc31ef4 /: Implemented non-incremental cycle detection, removed simple trial deletion
<fijal> er, who is stevie_92?
<cfbolz> I don't know, but he's been working on a cycle collector for cpyext for a while
<fijal> maybe we should say hi?
<cfbolz> I think he may have been at a conference sprint?
ronan has quit [Remote host closed the connection]
ronan has joined #pypy
<ronan> fijal: he was in Leysin, remember?
Guest4075 has quit [*.net *.split]
mattip has quit [*.net *.split]
blachance has quit [*.net *.split]
huonw has quit [*.net *.split]
zware has quit [*.net *.split]
rguillebert has quit [*.net *.split]
<fijal> Apparently not :)
mattip has joined #pypy
<kenaan> Dodan py3.5-sendmsg-recvmsg 7d4e4f3183e5 /pypy/module/_socket/interp_socket.py: Fixed code formatting issues. Thanks rlamy!
blachance has joined #pypy
Guest4075 has joined #pypy
huonw has joined #pypy
rguillebert has joined #pypy
zware has joined #pypy
<cfbolz> fijal: ping?
mihaid has joined #pypy
<cfbolz> is it intentional that RegisterManager._check_invariants is actually executed after translation, when using the x86 backend?
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/4170 [mihaid: force build, py3.5-sendmsg-recvmsg]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/3934 [mihaid: force build, py3.5-sendmsg-recvmsg]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/5410 [mihaid: force build, py3.5-sendmsg-recvmsg]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/2946 [mihaid: force build, py3.5-sendmsg-recvmsg]
<fijal> Yes
<fijal> It catches bugs in unrolling
<fijal> If it's a problem it can be disabled
<fijal> But at this stage we should raise invalid loop instead of crash and a scary warning
<cfbolz> fijal: we can't reproduce the crash though, can we?
<fijal> Well there might be more than one of course
<fijal> And last four has been incredibly obscure
<fijal> And ended up with "let's raise invalid loop" anyway
<fijal> 4 being a metaphorical number
<cfbolz> fijal: I am fine with saying "invalid loop"
<cfbolz> but it would be good to test that we did that correctly
<fijal> Heh
<fijal> You can write a fake test
<fijal> Where something receives a box that should not exist
<fijal> idnar: ^^^
ronan has quit [Remote host closed the connection]
rokujyouhitoma has joined #pypy
ronan has joined #pypy
antocuni has joined #pypy
rokujyouhitoma has quit [Ping timeout: 248 seconds]
ronan has quit [Ping timeout: 240 seconds]
adamholmberg has joined #pypy
Rhy0lite has joined #pypy
oberstet has quit [Ping timeout: 240 seconds]
yuyichao has quit [Ping timeout: 260 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/3934 [mihaid: force build, py3.5-sendmsg-recvmsg]
yuyichao has joined #pypy
oberstet has joined #pypy
leto_ni has quit [Ping timeout: 240 seconds]
lritter has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6181 [ronan: force build, py3.5-sendmsg-recvmsg]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6182 [mihaid: force build, py3.5-sendmsg-recvmsg]
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 240 seconds]
adamholm_ has joined #pypy
adamholmberg has quit [Ping timeout: 240 seconds]
mihaid has left #pypy [#pypy]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/4872 [ronan: force build, py3.5-sendmsg-recvmsg]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/4873 [mihaid: force build, py3.5-sendmsg-recvmsg]
adamholm_ has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Read error: No route to host]
marky1991 has joined #pypy
realitix has quit [Quit: Leaving]
<exarkun> How do I get from an OperationError to the ... app? ... exception inside it? unwrap()?
Remi_M has quit [Quit: See you!]
<exarkun> `get_w_value()`?
leto_ni has joined #pypy
jamesaxl has quit [Ping timeout: 246 seconds]
* exarkun takes a different tack
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/2946 [mihaid: force build, py3.5-sendmsg-recvmsg]
cstratak has quit [Remote host closed the connection]
cstratak has joined #pypy
cstratak has quit [Max SendQ exceeded]
cstratak has joined #pypy
rokujyouhitoma has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/4170 [mihaid: force build, py3.5-sendmsg-recvmsg]
rokujyouhitoma has quit [Ping timeout: 248 seconds]
cstratak has quit [Remote host closed the connection]
cstratak has joined #pypy
cstratak has quit [Max SendQ exceeded]
cstratak has joined #pypy
cstratak has quit [Max SendQ exceeded]
cstratak has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/4873 [mihaid: force build, py3.5-sendmsg-recvmsg]
<fijal> exarkun: sorry?
<fijal> I'm back
jamesaxl has joined #pypy
<exarkun> fijal: no longer relevant I think. but if you want, take a look at this and see what you think. https://gist.github.com/exarkun/b5dca005f80b20b4457deb0fec933285
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6182 [mihaid: force build, py3.5-sendmsg-recvmsg]
<blachance> are there known segfaults around interactions between the JIT, immutable fields, and residual/non-traced function calls? I marked a class' fields as immutable, and an optimized trace appears to show a new instance of that class being passed to a function before the instance's fields are initialized
<fijal> blachance: so the immutability is not well checked
<blachance> I don't have a minimal case yet, but if it's not a known issue I'll try to make one (I do know that problem goes away once the class' fields aren't marked as immutable)
<fijal> blachance: as in, if you do store something else it won't complain
<fijal> there is a chance you read None and then read something (and that's not supported at all)
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/5410 [mihaid: force build, py3.5-sendmsg-recvmsg]
adamholmberg has joined #pypy
<blachance> fijal: the only stores I do are in this class' __init__, which I thought would be ok
<fijal> that does not matter, but you might read it before writing there
<fijal> can you show me the code?
<blachance> sure, one sec--it's part of a big mess of generated code, so, apologies in advance
<fijal> and show me the error?
<blachance> the error--as in the segfault?
<fijal> the code that leads to segfault
<fijal> note that the JIT will not be happy with that code
<blachance> unfortunately, I don't know which call to vsreverse (the second link) led to the segfault--there's 6 in the first link, but I haven't narrowed it down beyond that
<fijal> maybe it's really null?
<blachance> i'd love to hear what the JIT won't be happy with :)
<fijal> show me the operations that lead there
<fijal> well, it's too much code
<fijal> I don't think feeding JIT auto-generated code is a good idea
<fijal> what does the JIT even specialize on?
<blachance> so, some of these classes represent the language's AST, and that's what's green in my interpreter
<blachance> feeding this code to the JIT is likely not to be a good idea, but there's some signs of it working out
rokujyouhitoma has joined #pypy
<blachance> also, to your earlier question, would it only be null if some Python function returned None?
rokujyouhitoma has quit [Ping timeout: 248 seconds]
<fijal> so the JIT is supposed to do compilation (as opposed to you automatically generating code)
<fijal> yes, if RPython function returns None, it's NULL
<fijal> and None.foo() would crash (with a segfault)
<blachance> I guess I'll have to try to minimize this more--I'm pretty sure none of the code directly uses/returns None
<fijal> so first question - what happens if you run this code untranslated?
<fijal> or with --jit off
<blachance> untranslated and with --jit off it runs to completion
<blachance> * succesful completion :) (no runtime errors/segfaults)
<fijal> right, so this is usually a good sign that something is off
<fijal> what happens if you remove the immutable_field?
<fijal> from this specific class
<blachance> sorry, one point to clarify: it only segfaults when the vsreverse function I linked is not traced/not unroll_safe and when that class has immutable_field
<blachance> so, to answer that question, without immutable_field there's no segfault
<fijal> specifically on the class you said?
<fijal> ok.... that does indeed look like a bug
<fijal> so.
<fijal> please create an issue where we can take the code and run it
<fijal> minimal is good of course, but reproducibility is enough
adamholmberg has quit [Remote host closed the connection]
<fijal> if the instructions are "please clone this repo and compile that and run it like that" this is usually enough
<blachance> yes, specifically that class
adamholmberg has joined #pypy
<fijal> and add that info that you just said "compiles and runs fine with _immutable_fields_ removed from X"
<fijal> one other option to try is to run it without unrolling
tbodt has joined #pypy
<fijal> pypy option is --jit disable_unrolling=0
<blachance> so, with the hint, but e.g. disabling unrolling via set_param ?
tbodt has quit [Read error: Connection reset by peer]
tbodt has joined #pypy
<fijal> yeah
tbodt has quit [Ping timeout: 260 seconds]
tbodt has joined #pypy
<blachance> thanks for the help, fijal. I'll try that and post an issue
antocuni has quit [Ping timeout: 240 seconds]
antocuni has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
antocuni has quit [Ping timeout: 240 seconds]
tbodt has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
tbodt has quit [Client Quit]
Rhy0lite has quit [Quit: Leaving]
Rhy0lite has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 240 seconds]
cstratak has quit [Remote host closed the connection]
tbodt has joined #pypy
Rhy0lite has quit [Ping timeout: 240 seconds]
Rhy0lite has joined #pypy
marky1991 has quit [Ping timeout: 246 seconds]
ulope has quit [Remote host closed the connection]
marky1991 has joined #pypy
ulope has joined #pypy
rokujyouhitoma has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rokujyouhitoma has quit [Ping timeout: 246 seconds]
Taggnostr2 has quit [Remote host closed the connection]
tbodt has joined #pypy
Taggnostr has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
tbodt has quit [Ping timeout: 248 seconds]
tbodt has joined #pypy
<kenaan> stevie_92 cpyext-gc-trialdeletion f1659c93bbd0 /rpython/memory/gc/test/test_rawrefcount.py: Added simple tests for cycle detection
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
ronan has joined #pypy
pilne has joined #pypy
leto_ni has quit [Ping timeout: 246 seconds]
leto_ni has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 260 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nimaje is now known as Guest89101
Guest89101 has quit [Killed (tolkien.freenode.net (Nickname regained by services))]
nimaje1 has joined #pypy
nimaje1 is now known as nimaje
tbodt has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
adamholm_ has joined #pypy
leto_ni has quit [Ping timeout: 240 seconds]
adamholmberg has quit [Ping timeout: 255 seconds]
rokujyouhitoma has joined #pypy
ronan has quit [Remote host closed the connection]
rokujyouhitoma has quit [Ping timeout: 248 seconds]
ronan has joined #pypy
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
ronan has quit [Remote host closed the connection]
<exarkun> oops :/ fruits of my labors today: a new incompatibility.
Guest4075 is now known as ronan
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 240 seconds]
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
jamesaxl has quit [Quit: WeeChat 1.8]
tbodt has quit [Read error: Connection reset by peer]
tbodt has joined #pypy
marky1991 has quit [Ping timeout: 248 seconds]
rokujyouhitoma has joined #pypy
JStoker has quit [Ping timeout: 255 seconds]
rokujyouhitoma has quit [Ping timeout: 255 seconds]
adamholm_ has quit [Remote host closed the connection]
adamholmberg has joined #pypy
JStoker has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
kolko has quit [Ping timeout: 246 seconds]
adamholmberg has joined #pypy
kolko has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
kolko has quit [Ping timeout: 260 seconds]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
Rhy0lite has quit [Quit: Leaving]
kolko has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 252 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholm_ has joined #pypy
adamholm_ has quit [Remote host closed the connection]
adamholm_ has joined #pypy
adamholm_ has quit [Remote host closed the connection]
adamholm_ has joined #pypy
adamholm_ has quit [Remote host closed the connection]
adamholm_ has joined #pypy
adamholm_ has quit [Remote host closed the connection]
adamholmberg has quit [Ping timeout: 255 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
rokujyouhitoma has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
rokujyouhitoma has quit [Read error: Connection reset by peer]
adamholmberg has quit [Ping timeout: 248 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 240 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholm_ has joined #pypy
adamholm_ has quit [Remote host closed the connection]
adamholmberg has joined #pypy