| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Man, getting windows to work was NOT easy |
Sorry, something went wrong.
Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
|
This change broke FreeBSD buildbot: --- Modules/_testexternalinspection.o ---
In file included from ./Modules/_testexternalinspection.c:20:
./Modules/../Python/remote_debug.h:695:15: error: call to undeclared function 'search_map_for_section'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
695 | address = search_map_for_section(handle, "PyRuntime", "libpython");
| ^
./Modules/_testexternalinspection.c:62:15: error: call to undeclared function 'search_map_for_section'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
62 | address = search_map_for_section(handle, "AsyncioDebug", "_asyncio.cpython");
| ^
2 errors generated.
|
Sorry, something went wrong.
I wrote #132945 to fix the build on FreeBSD. |
Sorry, something went wrong.
|
Seems like this change broke JIT CI on main for Windows #132953 |
Sorry, something went wrong.
How? This should not affect the JIT in any way |
Sorry, something went wrong.
======================================================================
ERROR: test_async_gather_remote_stack_trace (test.test_external_inspection.TestGetStackTrace.test_async_gather_remote_stack_trace)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\a\cpython\cpython\Lib\test\test_external_inspection.py", line 314, in test_async_gather_remote_stack_trace
stack_trace = get_async_stack_trace(p.pid)
RuntimeError: Failed to read asyncio debug offsets
All look like that |
Sorry, something went wrong.
Yeah I'm confused as well. See what Steve said above about the tests failing though. I wonder if the JIT build lays out stuff differently in memory? No clue. |
Sorry, something went wrong.
No, that looks like whatever the JIT build is doing is breaking this feature, which is different. This PR makes that test run on windows and is failing, ergo is not that this broke the JIT but the other way around. |
Sorry, something went wrong.
|
I am looking into it |
Sorry, something went wrong.
Yeah I believe the JIT broke the test internal inspection, but the JIT CI was passing before this, so if I'm being pedantic, the PR did add tests that broke the JIT CI :). Pedantics aside, @chris-eibl is looking into it, and I'm looking too. |
Sorry, something went wrong.
Hold on I am looking into this I think I know what's going on |
Sorry, something went wrong.
|
But JIT must do something different on Windows, because Linux is green? |
Sorry, something went wrong.
Windows is also green in the normal CI. My bet is that it has to be with release/vs not release and not related to the JIT |
Sorry, something went wrong.
I think you're right. On the commit, Azure pipelines (which uses release builds for Windows) fails, but not the normal debug builds. |
Sorry, something went wrong.
|
Can confirm on a local Windows release 64bit build, that the tests fail: ======================================================================
ERROR: test_asyncgen_remote_stack_trace (test.test_external_inspection.TestGetStackTrace.test_asyncgen_remote_stack_trace)
----------------------------------------------------------------------
Traceback (most recent call last):
File "e:\cpython_chris\Lib\test\test_external_inspection.py", line 246, in test_asyncgen_remote_stack_trace
stack_trace = get_async_stack_trace(p.pid)
RuntimeError: Failed to read asyncio debug offsets
|
Sorry, something went wrong.
I know what the problem is, I am working on a fix |
Sorry, something went wrong.
|
As a takeaway: it would be good to get at least one release CI run on all PRs :) |
Sorry, something went wrong.
Sorry, something went wrong.
|
Yeah, Dump of file amd64\_asyncio.pyd
File Type: DLL
Summary
2000 .data
1000 .pdata
6000 .rdata
1000 .reloc
1000 .rsrc
8000 .text
dumpbin shows no AsyncioD section. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Signed-off-by: Pablo Galindo pablogsal@gmail.com