cfbolz changed the topic of #pypy to: #pypy PyPy, the flexible snake https://pypy.org | IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end and https://libera.irclog.whitequark.org/pypy | insert pithy quote here
fotis has joined #pypy
fotis has quit [Ping timeout: 252 seconds]
lessshaste has joined #pypy
leshaste has quit [Remote host closed the connection]
fotis has joined #pypy
fotis has quit [Ping timeout: 240 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 246 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 265 seconds]
lessshaste has quit [Quit: Leaving]
otisolsen70 has joined #pypy
fotis has joined #pypy
fotis has quit [Ping timeout: 272 seconds]
Julian has quit [Quit: leaving]
<mattip> arigo: when you get a chance, could you update cffi in pypy
<mattip> there is are two failures in own-linux-x86-64
<mattip> test_callback_exception and test_same_file
Julian has joined #pypy
<arigo> mattip: updating cffi in pypy now
Dejan has joined #pypy
<arigo> mattip: done. I don't get the failure of test_callback_exception when running on baroquesoftware.com (in pypy default)
<mattip> thanks
<arigo> on some machines I get a failure in test_struct_with_func_with_struct_arg untranslated, but I think we should skip that test untranslated
<mattip> there was a compilation failure on windows, will the update change that?
<arigo> guess not?
<mattip> ok, I will put it on my list of things to look at
<arigo> ah, this is a bogus capture
<arigo> ...no, maybe not, unsure
<arigo> this precise test, untranslated, passes for me on windows now
<arigo> in "default"
<arigo> but it did too before my checkin today
<arigo> I guess it passes on "default" and failed (or still fails) in py3.7
<arigo> ok, it fails on py3.7 here too
<arigo> py.test fails me on py3.7 though, will need hacks to get a pdb prompt
<arigo> the C compiler error comes from "RPY_EXTERN void _cffi_errorbox(wchar_t *);", I guess because it doesn't know "wchar_t"?
<mattip> the c++ documentation says "The wchar_t type is an implementation-defined wide character type. " but maybe it is not defined on C
<mattip> anyhow, not that important
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/302 [mattip: force build, py3.8]
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-64/builds/356 [mattip: force build, py3.8]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8762 [mattip: force build, py3.8]
<arigo> still didn't manage to get a working pdb prompt, but adding the line ``#include "Windows.h"`` before the one using wchar_t seems to fix the C compiler error but not the test. I'll let you dig I guess
_whitelogger has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8762 [mattip: force build, py3.8]
greedom has joined #pypy
<mattip> arigo: are you using a recent pypy2 to run untranslated tests with windows? For all I know we broke running with cpython2 for win32
<mattip> we haven't run 32-bit for a while on the buildbots
<mattip> but, yeah, leave it for now
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/302 [mattip: force build, py3.8]
stkrdknmibalz has quit [Quit: WeeChat 3.0.1]
stkrdknmibalz has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-win-x86-64/builds/356 [mattip: force build, py3.8]
<mattip> here is one that has me scratching my head. PyPy + scipy 1.7.0 crashes, this is a minimal reproducer
<mattip> pypy3-c -c"from scipy.stats._sobol import initialize_direction_numbers as init; init()"
<mattip> on linux x86_64
<mattip> it crashes at this line with a memory corruption, the PyUnciodeObject that is "__file__" is corrupted and pypy flails around as if there was some kind of stack overvlow
<mattip> but if I comment out the 'vinit = dns["vinit"]' code two lines lower, everything works fine
<mattip> under valgrind it all works fine
<mattip> why should code two lines lower influence that call?
muke has joined #pypy
<muke> cfbolz Hey just a quick question for when you get back - looking at the simple gc under 'memory/gc', I can just call the malloc function it has and have it just work for now right? It has a 'NOT_RPYTHON' comment so unsure if I'm looking at the right one
<muke> if anyone else knows anything about this in the meantime feel free to share though :p
<cfbolz> muke: (I'm not really here) grep for boehm
<muke> I thought we were avoiding boehm for now though?
<cfbolz> muke: no, why?
<cfbolz> We want to use boehm, it's by far the easiest to support
<muke> oh I may be getting mixed up - I thought boehm was the one that would require patchpoints
<cfbolz> No
<muke> ok, I'll look into using that for now then, thanks
<cfbolz> Cheers
<mattip> ok, it seems that it is a stack problem, the cython code has a "cdef int vinit[21201][18]" in the global namespace, and then does
<mattip> def init(...): global vinit; <read data>; vinit data
<mattip> which turns into c code like
<mattip> void init(...) { int __pyx_t_12[21201][18]; <read data>; <assign to __pyx_t_12>; memcpy(vinit, __pyx_t_12, ...);
<mattip> which puts __pyx_t_12 on the stack
otisolsen70_ has joined #pypy
otisolsen70_ has quit [Client Quit]
otisolsen70 has quit [Ping timeout: 272 seconds]
Julian has quit [Quit: leaving]
greedom has quit [Remote host closed the connection]
muke has quit [Quit: Leaving]