02:33
mjacob has quit [Server closed connection]
02:33
mjacob has joined #pypy
04:40
mattip has joined #pypy
04:44
<
mattip >
hexology: what is the real question? Have you tried something and it failed?
05:02
ruth2345345 has quit [*.net *.split]
05:02
mjacob has quit [*.net *.split]
05:02
sthalik has quit [*.net *.split]
05:02
glyph has quit [*.net *.split]
05:02
marvin_ has quit [*.net *.split]
05:02
tazle has quit [*.net *.split]
05:02
jryans has quit [*.net *.split]
05:02
shodan45 has quit [*.net *.split]
05:02
xcm_ has quit [*.net *.split]
05:02
dmalcolm has quit [*.net *.split]
05:02
[Arfrever] has quit [*.net *.split]
05:02
mgorny has quit [*.net *.split]
05:02
atomizer has quit [*.net *.split]
05:02
pjenvey has quit [*.net *.split]
05:02
mwhudson has quit [*.net *.split]
05:02
agronholm has quit [*.net *.split]
05:02
pvital has quit [*.net *.split]
05:02
jinsun has quit [*.net *.split]
05:02
habnabit_ has quit [*.net *.split]
05:02
fish1 has quit [*.net *.split]
05:02
pbsds has quit [*.net *.split]
05:02
the_rat has quit [*.net *.split]
05:02
luckydonald has quit [*.net *.split]
05:02
graingert has quit [*.net *.split]
05:02
jerith has quit [*.net *.split]
05:02
samth has quit [*.net *.split]
05:02
cfbolz has quit [*.net *.split]
05:02
Alex_Gaynor has quit [*.net *.split]
05:02
krono has quit [*.net *.split]
05:02
nimaje has quit [*.net *.split]
05:02
Techcable has quit [*.net *.split]
05:02
exarkun has quit [*.net *.split]
05:02
ruth2345345 has joined #pypy
05:02
tazle has joined #pypy
05:02
marvin_ has joined #pypy
05:02
shodan45 has joined #pypy
05:02
jryans has joined #pypy
05:02
sthalik has joined #pypy
05:02
glyph has joined #pypy
05:02
[Arfrever] has joined #pypy
05:02
xcm_ has joined #pypy
05:02
cfbolz has joined #pypy
05:02
dmalcolm has joined #pypy
05:02
agronholm has joined #pypy
05:02
pvital has joined #pypy
05:02
mgorny has joined #pypy
05:02
atomizer has joined #pypy
05:02
habnabit_ has joined #pypy
05:02
jinsun has joined #pypy
05:02
pbsds has joined #pypy
05:02
pjenvey has joined #pypy
05:02
the_rat has joined #pypy
05:02
luckydonald has joined #pypy
05:02
mwhudson has joined #pypy
05:02
graingert has joined #pypy
05:02
krono has joined #pypy
05:02
Alex_Gaynor has joined #pypy
05:02
Techcable has joined #pypy
05:02
exarkun has joined #pypy
05:02
samth has joined #pypy
05:02
nimaje has joined #pypy
05:02
fish1 has joined #pypy
05:02
jerith has joined #pypy
05:02
mjacob has joined #pypy
05:02
rwb has quit [Max SendQ exceeded]
05:03
rowbee has joined #pypy
05:04
rowbee is now known as rwb
05:50
mgorny has quit [Quit: No Ping reply in 60 seconds.]
05:50
mgorny has joined #pypy
07:25
lehmrob has joined #pypy
09:21
<
mgorny >
unfortunately, i don't know how to proceed with debugging that further
09:21
<
mgorny >
i suppose i could try creduce on the .c extension
09:21
<
mgorny >
s/creduce/cvise/
09:25
<
cfbolz >
wow, that's impressive
09:26
<
cfbolz >
mgorny: did you try to run this with a pypy binary built with "make lldebug"?
09:27
habnabit_ has quit [Read error: Connection reset by peer]
09:30
habnabit_ has joined #pypy
09:35
<
mattip >
I see this in the backtrace
09:35
<
mattip >
memcpy(posi, PyBytes_AS_STRING(block), Py_SIZE(block))
09:36
<
mattip >
the memory of PyBytes_AS_STRING is messed up, or Py_SIZE(block) is bogus, or something else is off
09:38
<
mgorny >
cfbolz: no, just release gentoo build and the one from buildbot
09:40
<
mgorny >
mattip: so this could be an upstream bug?
09:46
<
mattip >
dunno. Probably not, it works on CPython
09:55
<
mattip >
storing bytes in a PyBytesObject is fragile, we have to keep the c-char array and the internal memory sychronzed
09:55
<
mgorny >
mattip: should i try creduce to build a minimal C repro?
09:55
<
mgorny >
i'm a bit worried it could yield some nonsense — but i suppose any nonsense triggering rpython assertion should be a good reproducer? xP
10:04
<
mattip >
not sure it is worth the effort: they have a cffi version that would work better on PyPy anyway
10:20
<
mgorny >
if you mean brotlicffi, that's a separate project
10:20
<
mgorny >
and unfortunately not all projects support both
10:58
nimaje has quit [Server closed connection]
10:58
nimaje has joined #pypy
11:11
Dejan has joined #pypy
13:27
lehmrob has quit [Ping timeout: 245 seconds]
13:28
lehmrob has joined #pypy
13:51
dmalcolm_ has joined #pypy
13:53
dmalcolm has quit [Ping timeout: 240 seconds]
14:44
lehmrob has quit [Ping timeout: 245 seconds]
16:13
exarkun has quit [Server closed connection]
16:15
exarkun has joined #pypy
16:26
<
Alex_Gaynor >
Does cffi use alloca or dynamic stack allocation in generated modules? (See CVE-2023-4039)
17:21
<
mattip >
I see some usages of alloca. It seems the CVE is not yet generally available to the public
17:28
<
tumbleweed >
/41/41
17:37
Techcable has quit [Server closed connection]
17:37
Techcable has joined #pypy
17:49
Dejan has quit [Quit: Leaving]
19:32
<
hexology >
mattip: the question is as i asked it. the context is that i installed the latest pypy 3.10 with pyenv, then created a venv, then did `pip install ...` of which pyarrow was included, it tried to build pyarrow from source, and compilation failed with some highly technical C++ errors that are beyond my knowledge to understand or diagnose
19:33
<
hexology >
so before i even tried to figure out the problem, i wanted to know if it was expected to work smoothly and something is weird on my end, or if it was never expected to work well, in which case i'd just continue using cpython and worry about it in future projects
19:56
lehmrob has joined #pypy
20:09
lehmrob has quit [Ping timeout: 245 seconds]