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
<__pv> there's a --source flag or something like it in the pypy translation pass that outputs a set of .c sources and a Makefile
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 256 seconds]
asmeurer_ has joined #pypy
inhahe_ has quit []
inhahe has joined #pypy
asmeurer_ has quit [Quit: asmeurer_]
dddddd has quit [Remote host closed the connection]
asmeurer has joined #pypy
inhahe has quit []
gavinc has quit [Quit: Konversation terminated!]
DIRT has quit [Quit: Leaving]
adamholmberg has joined #pypy
jsza has quit [Quit: Connection closed for inactivity]
jcea has quit [Quit: jcea]
adamholmberg has quit [Ping timeout: 240 seconds]
jsza has joined #pypy
adamholmberg has joined #pypy
DIRT has joined #pypy
adamholmberg has quit [Ping timeout: 260 seconds]
wleslie has joined #pypy
wleslie has quit [Quit: ~~~ Crash in JIT!]
cjwelborn has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 260 seconds]
cjwelborn has joined #pypy
maxxam has joined #pypy
<maxxam> ok, so I’m trying to troubleshoot a PyPy3.5 segfault
<maxxam> is there a list of known-unstable imports somewhere?
<maxxam> (cfbolz previously mentioned multiprocessing isn’t great)
<maxxam> or should I just paste a list of my imports here and you guys tell me if it contains any land mines...
<njs> maxxam: I'm pretty sure they'd like a bug report regardless. The ideal is if you can provide a reproducer, and minimize the reproducer (e.g. start chopping out pieces of the reproducer until the segfault goes away, then put that bit back, repeat until you can't remove anything without removing the segfault).
tayfun26 has joined #pypy
<maxxam> njs: this is a bug that crops up in production only, after 48h+ of continuous running
<maxxam> njs: when I discussed this with cfbolz, the only realistic troubleshooting option involved compiling pypy with debug symbols… which is a pain for a variety of reasons even beyond the obvious
<maxxam> njs: so I’m first trying fixes like „remove the detritus imports“ which have incidentally led to significant improvements in performance
<maxxam> (as a result of rewriting sections of code that were just awful)
<maxxam> „dowsing for segfaults“
<maxxam> question… would PyPy ever speculatively look into code paths that could never be executed? e.g if I have a return statement before `import pdb; pdb.set_trace()`
realitix has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 260 seconds]
asmeurer has quit [Quit: asmeurer]
<cfbolz> maxxam: no
<maxxam> ok, thanks
<maxxam> cfbolz: do you mind if I list off some packages and you tell me if any have known issues?
<LarstiQ> maxxam: you can at least list and see if there is a response
<LarstiQ> here if not much, or pastebin/something else otherwise
<maxxam> LarstiQ: ok
<maxxam> time
<maxxam> datetime
<maxxam> atexit
<maxxam> threading
<maxxam> sys
<maxxam> os
<maxxam> traceback
<maxxam> logging
<maxxam> collections
<maxxam> concurrent.futures
<maxxam> random
<maxxam> statistics
<maxxam> json
<maxxam> __future__.absolute_import
<maxxam> decimal
<maxxam> base64
<maxxam> uuid
<maxxam> hashlib
<maxxam> hmac
<maxxam> urllib.parse
<maxxam> math
<maxxam> functools
<maxxam> queue
<maxxam> itertools
<maxxam> operator
<maxxam> websocket
<maxxam> ssl
<maxxam> future
<maxxam> requests
<maxxam> sortedcollections
<maxxam> sortedcontainers
<maxxam> ujson
<maxxam> websocket_client
<maxxam> …at least those are the primary suspects
<cfbolz> maxxam: uh, please use a pastebin next time
<maxxam> cfbolz: right, sorry
<cfbolz> ujson is slower than just the stdlib json module on PyPy
<fijal> also possibly explodes
<cfbolz> fijal: does it?
<maxxam> cfbolz: huh, wow, didn’t expect that
<fijal> cfbolz: I remember some C hacks
<fijal> maaaaybe cpyext grew enough hacks in the meantime
<maxxam> fijal: well ujson is being pretty well stress tested here, that could well be it
<fijal> maxxam: I really don't know. swap it with json and see if it keeps crashing
<maxxam> fijal: will do.
<fijal> seriously, who knows
dddddd has joined #pypy
<cfbolz> maxxam: nothing else sticks out much
<fijal> I have no idea what is "websocket" - is it stdlib or something else?
<maxxam> fijal: it’s kind of a mystery to me as well. let me look
antocuni has joined #pypy
TheAdversary has quit [Ping timeout: 268 seconds]
adamholmberg has joined #pypy
Hasimir has quit [Ping timeout: 240 seconds]
<maxxam> fijal: ok, looks like it’s an alias for websocket-client
<fijal> which is?
oberstet has joined #pypy
<maxxam> ah. and it might be using numpy or wsaccel
<fijal> seems harmless enough
<maxxam> * is using numpy
stevenja_ has joined #pypy
<maxxam> well, the ujson-ectomy is complete
adamholmberg has quit [Ping timeout: 245 seconds]
<maxxam> I’ll let this run for a while and see if that fixes it
<maxxam> can confirm that there may be a slight performance benefit to switching to json from ujson…
<maxxam> go pypy, I did not expect that
stevenja_ has quit [Ping timeout: 264 seconds]
<cfbolz> maxxam: pypy's json is not completely written in pure python, but has an rpython part
DIRT has quit [Ping timeout: 260 seconds]
lritter has joined #pypy
Ganwell has quit [Ping timeout: 245 seconds]
Ganwell has joined #pypy
_whitelogger has joined #pypy
solarjoe4 has joined #pypy
solarjoe_ has joined #pypy
solarjoe_ has quit [Remote host closed the connection]
solarjoe4 has quit [Client Quit]
solarjoe4 has joined #pypy
void_sec3301 has quit [Ping timeout: 256 seconds]
marvin has quit [Ping timeout: 256 seconds]
ivh has quit [Ping timeout: 260 seconds]
antocuni has quit [Ping timeout: 240 seconds]
Hodgestar has quit [Ping timeout: 276 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 256 seconds]
Hasimir has joined #pypy
Hodgestar has joined #pypy
oberstet has quit [Ping timeout: 240 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 240 seconds]
marky1991 has joined #pypy
oberstet has joined #pypy
ivh has joined #pypy
Hasimir has quit [Read error: Connection reset by peer]
marvin has joined #pypy
Hasimir has joined #pypy
ivh has left #pypy [#pypy]
TheAdversary has joined #pypy
stevenja_ has joined #pypy
stevenja_ has quit [Ping timeout: 265 seconds]
oberstet has quit [Ping timeout: 255 seconds]
adamholmberg has joined #pypy
oberstet has joined #pypy
stevenja_ has joined #pypy
DIRT has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
solarjoe4 has quit [Quit: Leaving]
mefistof1les has joined #pypy
Gonsor 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
antocuni has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
stevenja_ has quit [Ping timeout: 245 seconds]
stevenja_ has joined #pypy
oberstet has quit [Ping timeout: 268 seconds]
DIRT has quit [Ping timeout: 264 seconds]
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
stevenja_ has quit [Ping timeout: 276 seconds]
tayfun26 has quit [Quit: tayfun26]
stevenja_ has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
stevenj__ has joined #pypy
stevenja_ has quit [Read error: Connection reset by peer]
ronan has quit [Ping timeout: 256 seconds]
stevenj__ has quit [Ping timeout: 240 seconds]
ronan has joined #pypy
kipras is now known as kipras`away
asmeurer_ has joined #pypy
realitix has quit [Ping timeout: 240 seconds]
antocuni has quit [Ping timeout: 240 seconds]
realitix has joined #pypy
realitix has quit [Ping timeout: 256 seconds]
ronan has quit [Remote host closed the connection]
ronan has joined #pypy
asmeurer_ has quit [Quit: asmeurer_]
asmeurer_ has joined #pypy
marky1991 has quit [Ping timeout: 245 seconds]
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
stevenja_ has joined #pypy
stevenja_ has quit [Ping timeout: 245 seconds]
stevenja_ has joined #pypy
asmeurer_ has quit [Quit: asmeurer_]
Gonsor_ has joined #pypy
Gonsor has quit [Ping timeout: 245 seconds]
asmeurer__ has joined #pypy
jamesaxl has joined #pypy
<kenaan> arigo default 60d37209763d /rpython/rlib/rvmprof/dummy.py: Fix rvmprof/dummy: stop_sampling() is supposed to return an integer, not None
Taggnostr has quit [Remote host closed the connection]
Taggnostr has joined #pypy
DIRT has joined #pypy
mattip has joined #pypy
DIRT has quit [Max SendQ exceeded]
DIRT has joined #pypy
mattip_ has quit [Ping timeout: 240 seconds]
mattip_ has joined #pypy
raynold has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
stevenja_ has quit [Ping timeout: 276 seconds]
marky1991 has quit [Ping timeout: 260 seconds]
tbodt has joined #pypy
hotpot33 has joined #pypy
tbodt has quit [Quit: Textual IRC Client: www.textualapp.com]
tbodt has joined #pypy
asmeurer__ has quit [Quit: asmeurer__]
asmeurer has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
marky1991 has joined #pypy
marky1991 has quit [Read error: Connection reset by peer]
lritter has quit [Ping timeout: 256 seconds]
Gonsor_ has quit [Read error: Connection reset by peer]
mattip_ has quit [Ping timeout: 256 seconds]
mattip_ has joined #pypy
hotpot33 has quit [Ping timeout: 260 seconds]
stevenja_ has joined #pypy
stevenja_ has quit [Ping timeout: 268 seconds]
jamesaxl has quit [Quit: WeeChat 2.1]
hotpot33 has joined #pypy
stevenja_ has joined #pypy
stevenja_ has quit [Ping timeout: 264 seconds]
stevenja_ has joined #pypy
mefistof1les has quit [Quit: Lost terminal]
stevenja_ has quit [Ping timeout: 240 seconds]
maxxam has quit [Ping timeout: 256 seconds]