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 quit [Remote host closed the connection]
morsik20 has joined #pypy
<morsik20>
This channel has been hacked by Australia's #1 hacker Simon 'eVestigator' Smith https://evestigatorsucks.com/
<morsik20>
/!\ ATTN: This channel has moved to irc.freenode.net ##hamradio /!\
morsik20 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<morsik20>
With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
Madcotto27 has joined #pypy
<Madcotto27>
/!\ ATTN: This channel has moved to irc.freenode.net ##hamradio /!\
Madcotto27 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<mattip>
maxxam: my guess, from the line number of the original abort message from friday (rpython_memory_gc.c:19186)
Garen has quit [Read error: Connection reset by peer]
Garen has joined #pypy
BranchPredictor1 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<mattip>
maxxam: and the new one (rpython_memory_gc.c:19221), so 35 lines down,
<mattip>
would seem to put you in the line "if self.has_gcptr(llop.extract_ushort(llgroup.HALFWORD, hdr.tid))", around line gc.incminimark.py:2656
mww113 has joined #pypy
<mww113>
/!\ ATTN: This channel has moved to irc.freenode.net ##hamradio /!\
mww113 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<mww113>
This channel has been hacked by Australia's #1 hacker Simon 'eVestigator' Smith https://evestigatorsucks.com/
<maxxam>
mattip: the bitbucket repository doesn’t seem to have search functionality so I’m not sure where to find that file at the moment… https://bitbucket.org/pypy/pypy/overview
<maxxam>
mattip: I don’t have enough C background to understand the implications of the line as quoted without further context
<mattip>
the file is rpython/memory/gc/incminimark.py
<mattip>
Once you stare at enough c code produced by the translation process, it can become apparent which lines of C line up with lines of rpython
zz_ka6sox has joined #pypy
<zz_ka6sox>
/!\ ATTN: This channel has moved to irc.freenode.net ##hamradio /!\
zz_ka6sox has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<mattip>
anyhow the method IncrementalMiniMarkGC.visit in the python file gets turned into the c function pypy_g_IncrementalMiniMarkGC_visit
<mattip>
which is the top function in both your abort reports
martyn_h has quit [Killed (Sigyn (Spam is off topic on freenode.))]
canta has quit [Quit: WeeChat 1.6]
xset has joined #pypy
<xset>
/!\ ATTN: This channel has moved to irc.freenode.net ##hamradio /!\
xset has quit [Killed (Sigyn (Spam is off topic on freenode.))]
todevil has joined #pypy
todevil has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<todevil>
With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<todevil>
This channel has been hacked by Australia's #1 hacker Simon 'eVestigator' Smith https://evestigatorsucks.com/
<todevil>
/!\ ATTN: This channel has moved to irc.freenode.net ##hamradio /!\
<arigo>
mattip: hi! sorry, won't have the time to look before ~tuesday
<arigo>
as a general rule, we need a reproducer ourselves: solving gc bugs just by staring at reports from others is quasi-impossible
<arigo>
it's the kind of rare bug that once took me 10 days of work, with a failing example
<idnar>
maxxam: click on the looking glass in the far left sidebar for search
<idnar>
(and then "Search for code in pypy" or so on)
<arigo>
so one way to progress would be if we could get ssh access to a machine where the crash occurred, inside gdb
<arigo>
it might not be enough, but maybe it is
<arigo>
(I don't know if "core" files can be moved to another machine with a different Linux system and still be useful there; does anyone know?)
enyc26 has joined #pypy
<enyc26>
/!\ ATTN: This channel has moved to irc.freenode.net ##hamradio /!\
enyc26 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<njs>
arigo: I think core files should be fine as long as you have all the binaries (executable + library) for the process that created it
<kenaan>
arigo cffi/cffi 7b305f61d0e0 /testing/cffi0/backend_tests.py: Add test from the recent ctypes fix bpo-29565 (may fail on win64)
<arigo>
njs: thanks, it means "no" in all likelihood
<njs>
well, maybe :-)
arigo is now known as arigato
realitix has joined #pypy
realitix has quit [Client Quit]
marself has quit [Ping timeout: 260 seconds]
NSCLRP-1 has joined #pypy
NSCLRP-1 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<NSCLRP-1>
This channel has been hacked by Australia's #1 hacker Simon 'eVestigator' Smith https://evestigatorsucks.com/
<NSCLRP-1>
/!\ ATTN: This channel has moved to irc.freenode.net ##hamradio /!\
<theresajayne5>
"All told, Handshake aims to give $250 worth of its tokens to *each* user of the websites the company has partnerships with – GitHub, the P2P Foundation and *FREENODE*, a chat channel for peer-to-peer projects. As such, developers who have existing accounts on each could receive up to $750 worth of Handshake tokens."
<theresajayne5>
Handshake cryptocurrency scam is operated by Andrew Lee (276-88-0536), the fraudster in chief at Private Internet Access which now owns Freenode
<theresajayne5>
Don't support freenode and their ICO scam, switch to a network that hasn't been co-opted by corporate interests. OFTC or efnet might be a good choice. Perhaps even https://matrix.org/
theresajayne5 has quit [Ping timeout: 260 seconds]
<maxxam>
arigo: unfortunately this only seems to crop up in production, on a work system, so SSH access is not going to happen
<njs>
maxxam: this is a long-shot, but I suppose you could try recording the execution with 'rr' and see if armin could do anything with the resulting trace?
<maxxam>
idnar: I don’t see any looking glass or magnifying glass… anyway I found the file thanks to mattip.
<ZexaronS>
"All told, Handshake aims to give $250 worth of its tokens to *each* user of the websites the company has partnerships with – GitHub, the P2P Foundation and *FREENODE*, a chat channel for peer-to-peer projects. As such, developers who have existing accounts on each could receive up to $750 worth of Handshake tokens."
<ZexaronS>
Handshake cryptocurrency scam is operated by Andrew Lee (276-88-0536), the fraudster in chief at Private Internet Access which now owns Freenode
ZexaronS has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<njs>
and I have no idea how large the trace would be for a bug that takes 24 hours to trigger...
<maxxam>
njs: hmm, it’s worth re-emphasising that this segfault tends to crop up after 24h+ of running, in a program that processes A LOT of data
<maxxam>
yeah
<njs>
see above re: "long shot" :-)
<maxxam>
early on in debugging we were logging many execution steps to a plain text doc, and were getting gigabytes per day
<njs>
(have you tried reproducing it outside of production, e.g. by hammering the program with synthetic data?)
<maxxam>
njs: not yet
<maxxam>
njs: fuzzing would be the next step, I suppose
<maxxam>
njs: though it sounds like the actual solution will be to re-write certain bits of the code so I can get „good enough“ performance on CPython
<Yatekii26>
"All told, Handshake aims to give $250 worth of its tokens to *each* user of the websites the company has partnerships with – GitHub, the P2P Foundation and *FREENODE*, a chat channel for peer-to-peer projects. As such, developers who have existing accounts on each could receive up to $750 worth of Handshake tokens."
<Yatekii26>
Handshake cryptocurrency scam is operated by Andrew Lee (276-88-0536), the fraudster in chief at Private Internet Access which now owns Freenode
Yatekii26 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
antocuni has joined #pypy
johanfforsberg has joined #pypy
johanfforsberg has quit [Ping timeout: 244 seconds]
Zoddo13 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<amz31>
or maybe not
<amz31>
memory handling of set of key/value pairs is painful code
<mattip>
there is some tension between c-type memory handling (malloc requires a call to free) and python (free via refcounting) which can be tricky to get right
<amz31>
that exactly the problem, i need to refcount the individual key and values before being able to free the initial array
<amz31>
mattip: ^ I use ffi.gc(pointer, collect) function
rej11 has joined #pypy
rej11 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<rej11>
"All told, Handshake aims to give $250 worth of its tokens to *each* user of the websites the company has partnerships with – GitHub, the P2P Foundation and *FREENODE*, a chat channel for peer-to-peer projects. As such, developers who have existing accounts on each could receive up to $750 worth of Handshake tokens."
<Humbedooh29>
"All told, Handshake aims to give $250 worth of its tokens to *each* user of the websites the company has partnerships with – GitHub, the P2P Foundation and *FREENODE*, a chat channel for peer-to-peer projects. As such, developers who have existing accounts on each could receive up to $750 worth of Handshake tokens."
Humbedooh29 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<bobe20>
"All told, Handshake aims to give $250 worth of its tokens to *each* user of the websites the company has partnerships with – GitHub, the P2P Foundation and *FREENODE*, a chat channel for peer-to-peer projects. As such, developers who have existing accounts on each could receive up to $750 worth of Handshake tokens."
m71223 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
aOssed- has joined #pypy
aOssed- has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<aOssed->
"All told, Handshake aims to give $250 worth of its tokens to *each* user of the websites the company has partnerships with – GitHub, the P2P Foundation and *FREENODE*, a chat channel for peer-to-peer projects. As such, developers who have existing accounts on each could receive up to $750 worth of Handshake tokens."
Gentle has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<Gentle>
"All told, Handshake aims to give $250 worth of its tokens to *each* user of the websites the company has partnerships with – GitHub, the P2P Foundation and *FREENODE*, a chat channel for peer-to-peer projects. As such, developers who have existing accounts on each could receive up to $750 worth of Handshake tokens."
danieljabailey has quit [Quit: ZNC 1.6.5+deb2build2 - http://znc.in]
danieljabailey has joined #pypy
LambdaComplex11 has joined #pypy
LambdaComplex11 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<LambdaComplex11>
"All told, Handshake aims to give $250 worth of its tokens to *each* user of the websites the company has partnerships with – GitHub, the P2P Foundation and *FREENODE*, a chat channel for peer-to-peer projects. As such, developers who have existing accounts on each could receive up to $750 worth of Handshake tokens."