Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.8] gh-95778: CVE-2020-10735: Prevent DoS by very large int() #96503

Merged
merged 17 commits into from Sep 5, 2022

Conversation

gpshead
Copy link
Member

@gpshead gpshead commented Sep 2, 2022

Integer to and from text conversions via CPython's bignum int type is not safe against denial of service attacks due to malicious input. Very large input strings with hundred thousands of digits can consume several CPU seconds.

This PR comes fresh from a pile of work done in our private PSRT security response team repo.

This backports #96499 aka 511ca94

Signed-off-by: Christian Heimes [Red Hat] christian@python.org
Tons-of-polishing-up-by: Gregory P. Smith [Google] greg@krypto.org
Reviews via the private PSRT repo via many others (see the NEWS entry in the PR).

I wrote up a one pager for the release managers.

@tiran tiran added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Sep 2, 2022
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @tiran for commit 0504ecb 🤖

If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Sep 2, 2022
@gpshead gpshead marked this pull request as ready for review September 2, 2022 16:54
@gpshead gpshead removed their assignment Sep 2, 2022
@gpshead
Copy link
Member Author

gpshead commented Sep 4, 2022

wait for #96537 to be integrated into this PR before merging, i'll remove the do-not-merge label then.

gpshead and others added 5 commits September 3, 2022 23:18
Per mdickinson@'s comment on the main branch PR.
…#96537)

Converting a large enough `int` to a decimal string raises `ValueError` as expected. However, the raise comes _after_ the quadratic-time base-conversion algorithm has run to completion. For effective DOS prevention, we need some kind of check before entering the quadratic-time loop. Oops! =)

The quick fix: essentially we catch _most_ values that exceed the threshold up front. Those that slip through will still be on the small side (read: sufficiently fast), and will get caught by the existing check so that the limit remains exact.

The justification for the current check. The C code check is:
```c
max_str_digits / (3 * PyLong_SHIFT) <= (size_a - 11) / 10
```

In GitHub markdown math-speak, writing $M$ for `max_str_digits`, $L$ for `PyLong_SHIFT` and $s$ for `size_a`, that check is:
$$\left\lfloor\frac{M}{3L}\right\rfloor \le \left\lfloor\frac{s - 11}{10}\right\rfloor$$

From this it follows that
$$\frac{M}{3L} < \frac{s-1}{10}$$
hence that
$$\frac{L(s-1)}{M} > \frac{10}{3} > \log_2(10).$$
So
$$2^{L(s-1)} > 10^M.$$
But our input integer $a$ satisfies $|a| \ge 2^{L(s-1)}$, so $|a|$ is larger than $10^M$. This shows that we don't accidentally capture anything _below_ the intended limit in the check.

<!-- gh-issue-number: pythongh-95778 -->
* Issue: pythongh-95778
<!-- /gh-issue-number -->

Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org>
@gpshead gpshead added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Sep 4, 2022
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @gpshead for commit c9212d5 🤖

If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Sep 4, 2022
@ambv
Copy link
Contributor

ambv commented Sep 5, 2022

@tiran can wasm32 failures be ignored here? This is a 3.8 backport and that version is not supported on WASM?

Those fail to build with errors like Invalid configuration wasm32-unknown-emscripten': system emscripten' not recognized , configure: error: cross build not supported for wasm32-unknown-emscripten, and configure: WARNING: unrecognized options: --with-emscripten-target, --enable-wasm-dynamic-linking, --disable-wasm-pthreads.

@ambv
Copy link
Contributor

ambv commented Sep 5, 2022

Unfortunately, there are legitimate failures here.

Arch ASAN Debug https://buildbot.python.org/all/#/builders/586/builds/778:

0:24:11 load avg: 1.56 Re-running test_crypt in verbose mode
Fatal Python error: Segmentation fault

Arch ASAN https://buildbot.python.org/all/#/builders/581/builds/779:

==1967496==ERROR: AddressSanitizer: heap-use-after-free on address 0x60c000459a62 at pc 0x55c4e355a2eb bp 0x7ffd1eb1aec0 sp 0x7ffd1eb1aeb0

Arch USAN https://buildbot.python.org/all/#/builders/720/builds/676:

/buildbot/buildarea/pull_request.pablogsal-arch-x86_64.clang-ubsan/build/Modules/_sha3/kcp/KeccakP-1600-opt64.c:467:9: runtime error: load of misaligned address 0x555beeca9b27 for type 'UINT64' (aka 'unsigned long'), which requires 8 byte alignment

FreeBSD Shared https://buildbot.python.org/all/#/builders/203/builds/821:

ModuleNotFoundError: No module named '_sysconfigdata_d_freebsd14_x86_64-unknown-freebsd14'

s390x https://buildbot.python.org/all/#/builders/111/builds/784:

  File "/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  ...
make: *** [Makefile:1173: buildbottest] Segmentation fault (core dumped)

Gentoo with X https://buildbot.python.org/all/#/builders/344/builds/803:

FAIL: test_up_at_top (test.test_gdb.StackNavigationTests)
Verify handling of "py-up" at the top of the stack

At least the ASAN and USAN failures are definitely related to this change, the others might be related indirectly.

@gpshead
Copy link
Member Author

gpshead commented Sep 5, 2022

what makes you think those are related to this change?

Arch ASAN 3.8 both: https://buildbot.python.org/all/#/builders/590 and https://buildbot.python.org/all/#/builders/580 show red for six months on 3.8.

and Arch USAN has not 3.8 bot and history at all.

@gpshead
Copy link
Member Author

gpshead commented Sep 5, 2022

If you want a baseline for those bots on 3.8 with no changes, I ran them via #96586.

@ambv
Copy link
Contributor

ambv commented Sep 5, 2022

We looked into this. 3.7 and 3.8 are typically not running address and undefined behavior sanitizers on buildbots. The label-driven trigger on PRs is overly broad and runs configurations that aren't used by us for the oldest branches in regular testing. At least 3.8 fails ASAN and UBSAN without #96503 applied as well. I'm landing this.

@ambv ambv merged commit b5e331f into python:3.8 Sep 5, 2022
@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot s390x Fedora Clang 3.8 has failed when building commit b5e331f.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/235/builds/78) and take a look at the build logs.
  4. Check if the failure is related to this commit (b5e331f) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/235/builds/78

Failed tests:

  • test_pickletools
  • test_pickle

Summary of the results of the build (if available):

==

Click to see traceback logs
remote: Enumerating objects: 2605, done.        
remote: Counting objects:   0% (1/1418)        
remote: Counting objects:   1% (15/1418)        
remote: Counting objects:   2% (29/1418)        
remote: Counting objects:   3% (43/1418)        
remote: Counting objects:   4% (57/1418)        
remote: Counting objects:   5% (71/1418)        
remote: Counting objects:   6% (86/1418)        
remote: Counting objects:   7% (100/1418)        
remote: Counting objects:   8% (114/1418)        
remote: Counting objects:   9% (128/1418)        
remote: Counting objects:  10% (142/1418)        
remote: Counting objects:  11% (156/1418)        
remote: Counting objects:  12% (171/1418)        
remote: Counting objects:  13% (185/1418)        
remote: Counting objects:  14% (199/1418)        
remote: Counting objects:  15% (213/1418)        
remote: Counting objects:  16% (227/1418)        
remote: Counting objects:  17% (242/1418)        
remote: Counting objects:  18% (256/1418)        
remote: Counting objects:  19% (270/1418)        
remote: Counting objects:  20% (284/1418)        
remote: Counting objects:  21% (298/1418)        
remote: Counting objects:  22% (312/1418)        
remote: Counting objects:  23% (327/1418)        
remote: Counting objects:  24% (341/1418)        
remote: Counting objects:  25% (355/1418)        
remote: Counting objects:  26% (369/1418)        
remote: Counting objects:  27% (383/1418)        
remote: Counting objects:  28% (398/1418)        
remote: Counting objects:  29% (412/1418)        
remote: Counting objects:  30% (426/1418)        
remote: Counting objects:  31% (440/1418)        
remote: Counting objects:  32% (454/1418)        
remote: Counting objects:  33% (468/1418)        
remote: Counting objects:  34% (483/1418)        
remote: Counting objects:  35% (497/1418)        
remote: Counting objects:  36% (511/1418)        
remote: Counting objects:  37% (525/1418)        
remote: Counting objects:  38% (539/1418)        
remote: Counting objects:  39% (554/1418)        
remote: Counting objects:  40% (568/1418)        
remote: Counting objects:  41% (582/1418)        
remote: Counting objects:  42% (596/1418)        
remote: Counting objects:  43% (610/1418)        
remote: Counting objects:  44% (624/1418)        
remote: Counting objects:  45% (639/1418)        
remote: Counting objects:  46% (653/1418)        
remote: Counting objects:  47% (667/1418)        
remote: Counting objects:  48% (681/1418)        
remote: Counting objects:  49% (695/1418)        
remote: Counting objects:  50% (709/1418)        
remote: Counting objects:  51% (724/1418)        
remote: Counting objects:  52% (738/1418)        
remote: Counting objects:  53% (752/1418)        
remote: Counting objects:  54% (766/1418)        
remote: Counting objects:  55% (780/1418)        
remote: Counting objects:  56% (795/1418)        
remote: Counting objects:  57% (809/1418)        
remote: Counting objects:  58% (823/1418)        
remote: Counting objects:  59% (837/1418)        
remote: Counting objects:  60% (851/1418)        
remote: Counting objects:  61% (865/1418)        
remote: Counting objects:  62% (880/1418)        
remote: Counting objects:  63% (894/1418)        
remote: Counting objects:  64% (908/1418)        
remote: Counting objects:  65% (922/1418)        
remote: Counting objects:  66% (936/1418)        
remote: Counting objects:  67% (951/1418)        
remote: Counting objects:  68% (965/1418)        
remote: Counting objects:  69% (979/1418)        
remote: Counting objects:  70% (993/1418)        
remote: Counting objects:  71% (1007/1418)        
remote: Counting objects:  72% (1021/1418)        
remote: Counting objects:  73% (1036/1418)        
remote: Counting objects:  74% (1050/1418)        
remote: Counting objects:  75% (1064/1418)        
remote: Counting objects:  76% (1078/1418)        
remote: Counting objects:  77% (1092/1418)        
remote: Counting objects:  78% (1107/1418)        
remote: Counting objects:  79% (1121/1418)        
remote: Counting objects:  80% (1135/1418)        
remote: Counting objects:  81% (1149/1418)        
remote: Counting objects:  82% (1163/1418)        
remote: Counting objects:  83% (1177/1418)        
remote: Counting objects:  84% (1192/1418)        
remote: Counting objects:  85% (1206/1418)        
remote: Counting objects:  86% (1220/1418)        
remote: Counting objects:  87% (1234/1418)        
remote: Counting objects:  88% (1248/1418)        
remote: Counting objects:  89% (1263/1418)        
remote: Counting objects:  90% (1277/1418)        
remote: Counting objects:  91% (1291/1418)        
remote: Counting objects:  92% (1305/1418)        
remote: Counting objects:  93% (1319/1418)        
remote: Counting objects:  94% (1333/1418)        
remote: Counting objects:  95% (1348/1418)        
remote: Counting objects:  96% (1362/1418)        
remote: Counting objects:  97% (1376/1418)        
remote: Counting objects:  98% (1390/1418)        
remote: Counting objects:  99% (1404/1418)        
remote: Counting objects: 100% (1418/1418)        
remote: Counting objects: 100% (1418/1418), done.        
remote: Compressing objects:   3% (1/31)        
remote: Compressing objects:   6% (2/31)        
remote: Compressing objects:   9% (3/31)        
remote: Compressing objects:  12% (4/31)        
remote: Compressing objects:  16% (5/31)        
remote: Compressing objects:  19% (6/31)        
remote: Compressing objects:  22% (7/31)        
remote: Compressing objects:  25% (8/31)        
remote: Compressing objects:  29% (9/31)        
remote: Compressing objects:  32% (10/31)        
remote: Compressing objects:  35% (11/31)        
remote: Compressing objects:  38% (12/31)        
remote: Compressing objects:  41% (13/31)        
remote: Compressing objects:  45% (14/31)        
remote: Compressing objects:  48% (15/31)        
remote: Compressing objects:  51% (16/31)        
remote: Compressing objects:  54% (17/31)        
remote: Compressing objects:  58% (18/31)        
remote: Compressing objects:  61% (19/31)        
remote: Compressing objects:  64% (20/31)        
remote: Compressing objects:  67% (21/31)        
remote: Compressing objects:  70% (22/31)        
remote: Compressing objects:  74% (23/31)        
remote: Compressing objects:  77% (24/31)        
remote: Compressing objects:  80% (25/31)        
remote: Compressing objects:  83% (26/31)        
remote: Compressing objects:  87% (27/31)        
remote: Compressing objects:  90% (28/31)        
remote: Compressing objects:  93% (29/31)        
remote: Compressing objects:  96% (30/31)        
remote: Compressing objects: 100% (31/31)        
remote: Compressing objects: 100% (31/31), done.        
Receiving objects:   0% (1/2605)
Receiving objects:   1% (27/2605)
Receiving objects:   2% (53/2605)
Receiving objects:   3% (79/2605)
Receiving objects:   4% (105/2605)
Receiving objects:   5% (131/2605)
Receiving objects:   6% (157/2605)
Receiving objects:   7% (183/2605)
Receiving objects:   8% (209/2605)
Receiving objects:   9% (235/2605)
Receiving objects:  10% (261/2605)
Receiving objects:  11% (287/2605)
Receiving objects:  12% (313/2605)
Receiving objects:  13% (339/2605)
Receiving objects:  14% (365/2605)
Receiving objects:  15% (391/2605)
Receiving objects:  16% (417/2605)
Receiving objects:  17% (443/2605)
Receiving objects:  18% (469/2605)
Receiving objects:  19% (495/2605)
Receiving objects:  20% (521/2605)
Receiving objects:  21% (548/2605)
Receiving objects:  22% (574/2605)
Receiving objects:  23% (600/2605)
Receiving objects:  24% (626/2605)
Receiving objects:  25% (652/2605)
Receiving objects:  26% (678/2605)
Receiving objects:  27% (704/2605)
Receiving objects:  28% (730/2605)
Receiving objects:  29% (756/2605)
Receiving objects:  30% (782/2605)
Receiving objects:  31% (808/2605)
Receiving objects:  32% (834/2605)
Receiving objects:  33% (860/2605)
Receiving objects:  34% (886/2605)
Receiving objects:  35% (912/2605)
Receiving objects:  36% (938/2605)
Receiving objects:  37% (964/2605)
Receiving objects:  38% (990/2605)
Receiving objects:  39% (1016/2605)
Receiving objects:  40% (1042/2605)
Receiving objects:  41% (1069/2605)
Receiving objects:  42% (1095/2605)
Receiving objects:  43% (1121/2605)
Receiving objects:  44% (1147/2605)
Receiving objects:  45% (1173/2605)
Receiving objects:  46% (1199/2605)
Receiving objects:  47% (1225/2605)
Receiving objects:  48% (1251/2605)
Receiving objects:  49% (1277/2605)
Receiving objects:  50% (1303/2605)
Receiving objects:  51% (1329/2605)
Receiving objects:  52% (1355/2605)
Receiving objects:  53% (1381/2605)
Receiving objects:  54% (1407/2605)
Receiving objects:  55% (1433/2605)
Receiving objects:  56% (1459/2605)
Receiving objects:  57% (1485/2605)
Receiving objects:  58% (1511/2605)
Receiving objects:  59% (1537/2605)
Receiving objects:  60% (1563/2605)
Receiving objects:  61% (1590/2605)
Receiving objects:  62% (1616/2605)
Receiving objects:  63% (1642/2605)
Receiving objects:  64% (1668/2605)
Receiving objects:  65% (1694/2605)
Receiving objects:  66% (1720/2605)
Receiving objects:  67% (1746/2605)
Receiving objects:  68% (1772/2605)
Receiving objects:  69% (1798/2605)
Receiving objects:  70% (1824/2605)
Receiving objects:  71% (1850/2605)
Receiving objects:  72% (1876/2605)
Receiving objects:  73% (1902/2605)
Receiving objects:  74% (1928/2605)
Receiving objects:  75% (1954/2605)
Receiving objects:  76% (1980/2605)
Receiving objects:  77% (2006/2605)
Receiving objects:  78% (2032/2605)
Receiving objects:  79% (2058/2605)
Receiving objects:  80% (2084/2605)
Receiving objects:  81% (2111/2605)
Receiving objects:  82% (2137/2605)
Receiving objects:  83% (2163/2605)
Receiving objects:  84% (2189/2605)
Receiving objects:  85% (2215/2605)
Receiving objects:  86% (2241/2605)
Receiving objects:  87% (2267/2605)
Receiving objects:  88% (2293/2605)
Receiving objects:  89% (2319/2605)
Receiving objects:  90% (2345/2605)
Receiving objects:  91% (2371/2605)
Receiving objects:  92% (2397/2605)
Receiving objects:  93% (2423/2605)
Receiving objects:  94% (2449/2605)
Receiving objects:  95% (2475/2605)
Receiving objects:  96% (2501/2605)
Receiving objects:  97% (2527/2605)
Receiving objects:  98% (2553/2605)
Receiving objects:  99% (2579/2605)
remote: Total 2605 (delta 1387), reused 1388 (delta 1387), pack-reused 1187        
Receiving objects: 100% (2605/2605)
Receiving objects: 100% (2605/2605), 5.95 MiB | 26.37 MiB/s, done.
Resolving deltas:   0% (0/1950)
Resolving deltas:   1% (20/1950)
Resolving deltas:   2% (39/1950)
Resolving deltas:   3% (59/1950)
Resolving deltas:   4% (78/1950)
Resolving deltas:   5% (98/1950)
Resolving deltas:   6% (117/1950)
Resolving deltas:   7% (137/1950)
Resolving deltas:   8% (156/1950)
Resolving deltas:   9% (176/1950)
Resolving deltas:  10% (195/1950)
Resolving deltas:  11% (215/1950)
Resolving deltas:  12% (234/1950)
Resolving deltas:  13% (254/1950)
Resolving deltas:  14% (273/1950)
Resolving deltas:  15% (293/1950)
Resolving deltas:  16% (313/1950)
Resolving deltas:  17% (332/1950)
Resolving deltas:  18% (351/1950)
Resolving deltas:  19% (371/1950)
Resolving deltas:  20% (390/1950)
Resolving deltas:  21% (410/1950)
Resolving deltas:  22% (429/1950)
Resolving deltas:  23% (450/1950)
Resolving deltas:  24% (468/1950)
Resolving deltas:  25% (488/1950)
Resolving deltas:  26% (507/1950)
Resolving deltas:  27% (527/1950)
Resolving deltas:  28% (546/1950)
Resolving deltas:  29% (566/1950)
Resolving deltas:  30% (585/1950)
Resolving deltas:  31% (605/1950)
Resolving deltas:  32% (624/1950)
Resolving deltas:  33% (644/1950)
Resolving deltas:  34% (663/1950)
Resolving deltas:  35% (683/1950)
Resolving deltas:  36% (702/1950)
Resolving deltas:  37% (722/1950)
Resolving deltas:  38% (741/1950)
Resolving deltas:  39% (761/1950)
Resolving deltas:  40% (780/1950)
Resolving deltas:  41% (800/1950)
Resolving deltas:  42% (819/1950)
Resolving deltas:  43% (839/1950)
Resolving deltas:  44% (858/1950)
Resolving deltas:  45% (878/1950)
Resolving deltas:  46% (897/1950)
Resolving deltas:  47% (917/1950)
Resolving deltas:  48% (936/1950)
Resolving deltas:  49% (956/1950)
Resolving deltas:  50% (975/1950)
Resolving deltas:  51% (995/1950)
Resolving deltas:  52% (1014/1950)
Resolving deltas:  53% (1034/1950)
Resolving deltas:  54% (1053/1950)
Resolving deltas:  55% (1073/1950)
Resolving deltas:  56% (1092/1950)
Resolving deltas:  57% (1112/1950)
Resolving deltas:  58% (1131/1950)
Resolving deltas:  59% (1151/1950)
Resolving deltas:  60% (1170/1950)
Resolving deltas:  61% (1190/1950)
Resolving deltas:  62% (1209/1950)
Resolving deltas:  63% (1229/1950)
Resolving deltas:  64% (1248/1950)
Resolving deltas:  65% (1268/1950)
Resolving deltas:  66% (1287/1950)
Resolving deltas:  67% (1307/1950)
Resolving deltas:  68% (1326/1950)
Resolving deltas:  69% (1346/1950)
Resolving deltas:  70% (1365/1950)
Resolving deltas:  71% (1385/1950)
Resolving deltas:  72% (1404/1950)
Resolving deltas:  73% (1424/1950)
Resolving deltas:  74% (1443/1950)
Resolving deltas:  75% (1463/1950)
Resolving deltas:  76% (1482/1950)
Resolving deltas:  77% (1502/1950)
Resolving deltas:  78% (1521/1950)
Resolving deltas:  79% (1541/1950)
Resolving deltas:  80% (1560/1950)
Resolving deltas:  81% (1580/1950)
Resolving deltas:  82% (1599/1950)
Resolving deltas:  83% (1619/1950)
Resolving deltas:  84% (1638/1950)
Resolving deltas:  85% (1658/1950)
Resolving deltas:  86% (1677/1950)
Resolving deltas:  87% (1697/1950)
Resolving deltas:  88% (1716/1950)
Resolving deltas:  88% (1734/1950)
Resolving deltas:  89% (1736/1950)
Resolving deltas:  90% (1755/1950)
Resolving deltas:  91% (1775/1950)
Resolving deltas:  92% (1794/1950)
Resolving deltas:  93% (1814/1950)
Resolving deltas:  94% (1833/1950)
Resolving deltas:  95% (1853/1950)
Resolving deltas:  96% (1872/1950)
Resolving deltas:  97% (1892/1950)
Resolving deltas:  98% (1911/1950)
Resolving deltas:  99% (1931/1950)
Resolving deltas: 100% (1950/1950)
Resolving deltas: 100% (1950/1950), completed with 556 local objects.
From https://github.com/python/cpython
 * branch                  3.8        -> FETCH_HEAD
 * [new tag]               v3.10.6    -> v3.10.6
 * [new tag]               v3.11.0rc1 -> v3.11.0rc1
Note: switching to 'b5e331fdb38684808ffc540d53e8595bdc408b89'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at b5e331fdb3 [3.8] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96503)
Switched to and reset branch '3.8'

Objects/fileobject.c:244:9: warning: variable 'newlinetypes' set but not used [-Wunused-but-set-variable]
    int newlinetypes = 0;
        ^
Objects/floatobject.c:890:45: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
    if (LONG_MIN < wholepart && wholepart < LONG_MAX) {
                                          ~ ^~~~~~~~
/usr/lib64/clang/14.0.0/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX  __LONG_MAX__
                  ^~~~~~~~~~~~
<built-in>:46:22: note: expanded from here
#define __LONG_MAX__ 9223372036854775807L
                     ^~~~~~~~~~~~~~~~~~~~
1 warning generated.
1 warning generated.
Python/pytime.c:154:10: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
    if (!_Py_InIntegralTypeRange(time_t, intpart)) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:228:82: note: expanded from macro '_Py_InIntegralTypeRange'
#define _Py_InIntegralTypeRange(type, v) (_Py_IntegralTypeMin(type) <= v && v <= _Py_IntegralTypeMax(type))
                                                                              ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:221:124: note: expanded from macro '_Py_IntegralTypeMax'
#define _Py_IntegralTypeMax(type) ((_Py_IntegralTypeSigned(type)) ? (((((type)1 << (sizeof(type)*CHAR_BIT - 2)) - 1) << 1) + 1) : ~(type)0)
                                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
Python/pytime.c:207:14: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
        if (!_Py_InIntegralTypeRange(time_t, intpart)) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:228:82: note: expanded from macro '_Py_InIntegralTypeRange'
#define _Py_InIntegralTypeRange(type, v) (_Py_IntegralTypeMin(type) <= v && v <= _Py_IntegralTypeMax(type))
                                                                              ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:221:124: note: expanded from macro '_Py_IntegralTypeMax'
#define _Py_IntegralTypeMax(type) ((_Py_IntegralTypeSigned(type)) ? (((((type)1 << (sizeof(type)*CHAR_BIT - 2)) - 1) << 1) + 1) : ~(type)0)
                                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
Python/pytime.c:392:10: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
    if (!_Py_InIntegralTypeRange(_PyTime_t, d)) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:228:82: note: expanded from macro '_Py_InIntegralTypeRange'
#define _Py_InIntegralTypeRange(type, v) (_Py_IntegralTypeMin(type) <= v && v <= _Py_IntegralTypeMax(type))
                                                                              ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:221:124: note: expanded from macro '_Py_IntegralTypeMax'
#define _Py_IntegralTypeMax(type) ((_Py_IntegralTypeSigned(type)) ? (((((type)1 << (sizeof(type)*CHAR_BIT - 2)) - 1) << 1) + 1) : ~(type)0)
                                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
3 warnings generated.
./Modules/signalmodule.c:661:9: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations]
    if (siginterrupt(signalnum, flag)<0) {
        ^
/usr/include/signal.h:325:3: note: 'siginterrupt' has been explicitly marked deprecated here
  __attribute_deprecated_msg__ ("Use sigaction with SA_RESTART instead");
  ^
/usr/include/sys/cdefs.h:350:19: note: expanded from macro '__attribute_deprecated_msg__'
         __attribute__ ((__deprecated__ (msg)))
                         ^
1 warning generated.
./Modules/_threadmodule.c:1539:19: warning: implicit conversion from '_PyTime_t' (aka 'long') to 'double' changes value from 9223372036854775 to 9223372036854776 [-Wimplicit-const-int-float-conversion]
    timeout_max = (_PyTime_t)PY_TIMEOUT_MAX * 1e-6;
                  ^~~~~~~~~~~~~~~~~~~~~~~~~ ~
1 warning generated.
./Modules/_io/bufferedio.c:1076:19: warning: variable 'written' set but not used [-Wunused-but-set-variable]
    Py_ssize_t n, written = 0;
                  ^
./Modules/_io/bufferedio.c:1851:16: warning: variable 'written' set but not used [-Wunused-but-set-variable]
    Py_ssize_t written = 0;
               ^
2 warnings generated.
/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Modules/_testcapimodule.c:6328:17: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
    MyList_Type.tp_print = 0;
                ^
./Include/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
    Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
    ^
./Include/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                     ^
1 warning generated.
/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Modules/_ctypes/callbacks.c:433:18: warning: 'ffi_prep_closure' is deprecated [-Wdeprecated-declarations]
        result = ffi_prep_closure(p->pcl_write, &p->cif, closure_fcn, p);
                 ^
/usr/include/ffi.h:354:18: note: 'ffi_prep_closure' has been explicitly marked deprecated here
  __attribute__((deprecated))
                 ^
1 warning generated.
/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Modules/_decimal/libmpdec/mpdecimal.c:7869:25: warning: implicit conversion from 'unsigned long' to 'double' changes value from 18446744073709551614 to 18446744073709551616 [-Wimplicit-const-int-float-conversion]
    return (x > SIZE_MAX-1) ? SIZE_MAX : (size_t)x + 1;
              ~ ~~~~~~~~^~
/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Modules/_decimal/libmpdec/mpdecimal.c:7888:18: warning: implicit conversion from 'long' to 'double' changes value from 105263157894736842 to 105263157894736848 [-Wimplicit-const-int-float-conversion]
    return (x >= MPD_MAXIMPORT) ? MPD_SSIZE_MAX : (mpd_ssize_t)x + 1;
              ~~ ^~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Modules/_decimal/libmpdec/mpdecimal.h:178:23: note: expanded from macro 'MPD_MAXIMPORT'
#define MPD_MAXIMPORT 105263157894736842L /* ceil((2*MPD_MAX_PREC)/MPD_RDIGITS) */
                      ^~~~~~~~~~~~~~~~~~~
2 warnings generated.

test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run
test_tk skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]
test_winreg skipped -- No module named 'winreg'
test_ttk_guionly skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]
test_kqueue skipped -- test works only on BSD
test_tix skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]
Fatal Python error: Segmentation fault

Current thread 0x000003ffa2a79660 (most recent call first):
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  ...
test_msilib skipped -- No module named '_msi'
test_ioctl skipped -- Unable to open /dev/tty
/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '
/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/multiprocessing/resource_tracker.py:229: UserWarning: resource_tracker: '/psm_a035b7fc': [Errno 2] No such file or directory: '/psm_a035b7fc'
  warnings.warn('resource_tracker: %r: %s' % (name, e))
test_winsound skipped -- No module named 'winsound'
stty: 'standard input': Inappropriate ioctl for device
test_ossaudiodev skipped -- [Errno 2] No such file or directory: '/dev/dsp'
test_flock (__main__.FNTLEINTRTest) ... ok
test_lockf (__main__.FNTLEINTRTest) ... ok
test_read (__main__.OSEINTRTest) ... ok
test_wait (__main__.OSEINTRTest) ... ok
test_wait3 (__main__.OSEINTRTest) ... ok
test_wait4 (__main__.OSEINTRTest) ... ok
test_waitpid (__main__.OSEINTRTest) ... ok
test_write (__main__.OSEINTRTest) ... ok
test_devpoll (__main__.SelectEINTRTest) ... skipped 'need select.devpoll'
test_epoll (__main__.SelectEINTRTest) ... ok
test_kqueue (__main__.SelectEINTRTest) ... skipped 'need select.kqueue'
test_poll (__main__.SelectEINTRTest) ... ok
test_select (__main__.SelectEINTRTest) ... ok
test_sigtimedwait (__main__.SignalEINTRTest) ... ok
test_sigwaitinfo (__main__.SignalEINTRTest) ... ok
test_accept (__main__.SocketEINTRTest) ... ok
test_open (__main__.SocketEINTRTest) ... ok
test_os_open (__main__.SocketEINTRTest) ... ok
test_recv (__main__.SocketEINTRTest) ... ok
test_recvmsg (__main__.SocketEINTRTest) ... ok
test_send (__main__.SocketEINTRTest) ... ok
test_sendall (__main__.SocketEINTRTest) ... ok
test_sendmsg (__main__.SocketEINTRTest) ... ok
test_sleep (__main__.TimeEINTRTest) ... ok

----------------------------------------------------------------------
Ran 24 tests in 8.670s

OK (skipped=2)
test_readline skipped -- No module named 'readline'
test_devpoll skipped -- test works only on Solaris OS family
test_nis skipped -- No module named 'nis'
test_winconsoleio skipped -- test only relevant on win32
Fatal Python error: Segmentation fault

Current thread 0x000003ff87479660 (most recent call first):
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  ...
test_startfile skipped -- object <module 'os' from '/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/os.py'> has no attribute 'startfile'
/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '
/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/multiprocessing/resource_tracker.py:229: UserWarning: resource_tracker: '/psm_6ca39682': [Errno 2] No such file or directory: '/psm_6ca39682'
  warnings.warn('resource_tracker: %r: %s' % (name, e))
/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '
/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/multiprocessing/resource_tracker.py:229: UserWarning: resource_tracker: '/psm_e1b69dc0': [Errno 2] No such file or directory: '/psm_e1b69dc0'
  warnings.warn('resource_tracker: %r: %s' % (name, e))
Fatal Python error: Segmentation fault

Current thread 0x000003ff8f4f9660 (most recent call first):
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  File "/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/Lib/test/pickletester.py", line 3273 in __getattr__
  ...
make: *** [Makefile:1173: buildbottest] Segmentation fault (core dumped)

Cannot open file '/home/dje/cpython-buildarea/3.8.edelsohn-fedora-z.clang/build/test-results.xml' for upload

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot AMD64 Arch Linux Asan 3.8 has failed when building commit b5e331f.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/580/builds/68) and take a look at the build logs.
  4. Check if the failure is related to this commit (b5e331f) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/580/builds/68

Failed tests:

  • test_crypt
  • test_capi
  • test_ctypes

Failed subtests:

  • test_pyobject_freed_is_freed - test.test_capi.PyMemDebugTests
  • test_pyobject_freed_is_freed - test.test_capi.PyMemMallocDebugTests

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):
  File "/buildbot/buildarea/3.8.pablogsal-arch-x86_64.asan/build/Lib/test/test_capi.py", line 749, in test_pyobject_freed_is_freed
    self.check_pyobject_is_freed('check_pyobject_freed_is_freed')
  File "/buildbot/buildarea/3.8.pablogsal-arch-x86_64.asan/build/Lib/test/test_capi.py", line 737, in check_pyobject_is_freed
    assert_python_ok('-c', code, PYTHONMALLOC=self.PYTHONMALLOC)
  File "/buildbot/buildarea/3.8.pablogsal-arch-x86_64.asan/build/Lib/test/support/script_helper.py", line 157, in assert_python_ok
    return _assert_python(True, *args, **env_vars)
  File "/buildbot/buildarea/3.8.pablogsal-arch-x86_64.asan/build/Lib/test/support/script_helper.py", line 143, in _assert_python
    res.fail(cmd_line)
  File "/buildbot/buildarea/3.8.pablogsal-arch-x86_64.asan/build/Lib/test/support/script_helper.py", line 70, in fail
    raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.8.pablogsal-arch-x86_64.asan/build/python', '-X', 'faulthandler', '-c', '\nimport gc, os, sys, _testcapi\n# Disable the GC to avoid crash on GC collection\ngc.disable()\ntry:\n    _testcapi.check_pyobject_freed_is_freed()\n    # Exit immediately to avoid a crash while deallocating\n    # the invalid object\n    os._exit(0)\nexcept _testcapi.error:\n    os._exit(1)\n']

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot x86 Gentoo Non-Debug with X 3.8 has failed when building commit b5e331f.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/324/builds/83) and take a look at the build logs.
  4. Check if the failure is related to this commit (b5e331f) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/324/builds/83

Failed tests:

  • test_gdb

Failed subtests:

  • test_up_at_top - test.test_gdb.StackNavigationTests

Summary of the results of the build (if available):

== Tests result: FAILURE then FAILURE ==

413 tests OK.

10 slowest tests:

  • test_multiprocessing_spawn: 6 min 29 sec
  • test_concurrent_futures: 5 min 11 sec
  • test_tokenize: 4 min 40 sec
  • test_tools: 4 min 19 sec
  • test_lib2to3: 3 min 40 sec
  • test_gdb: 3 min 29 sec
  • test_asyncio: 3 min 1 sec
  • test_multiprocessing_forkserver: 2 min 25 sec
  • test_multiprocessing_fork: 2 min
  • test_pickle: 1 min 50 sec

1 test failed:
test_gdb

9 tests skipped:
test_devpoll test_ioctl test_kqueue test_msilib test_startfile
test_winconsoleio test_winreg test_winsound test_zipfile64

1 re-run test:
test_gdb

Total duration: 43 min 22 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/buildbot/buildarea/cpython/3.8.ware-gentoo-x86.nondebug/build/Lib/test/test_gdb.py", line 752, in test_up_at_top
    self.assertEndsWith(bt,
  File "/buildbot/buildarea/cpython/3.8.ware-gentoo-x86.nondebug/build/Lib/test/test_gdb.py", line 289, in assertEndsWith
    self.assertTrue(actual.endswith(exp_end),
AssertionError: False is not true : 'Breakpoint 1 at 0x246310: file Python/bltinmodule.c, line 1164.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=, v=42) at Python/bltinmodule.c:1164\n1164\t    PyObject *id = PyLong_FromVoidPtr(v);\n#2 <built-in method id of module object at remote 0xb77da118>\n#5 Frame 0xb777ae98, for file /buildbot/buildarea/cpython/3.8.ware-gentoo-x86.nondebug/build/Lib/test/gdb_sample.py, line 10, in baz (args=(1, 2, 3))\n    id(42)\n#11 Frame 0xb77352e8, for file /buildbot/buildarea/cpython/3.8.ware-gentoo-x86.nondebug/build/Lib/test/gdb_sample.py, line 7, in bar (a=1, b=2, c=3)\n    baz(a, b, c)\n#15 Frame 0xb7735028, for file /buildbot/buildarea/cpython/3.8.ware-gentoo-x86.nondebug/build/Lib/test/gdb_sample.py, line 4, in foo (a=1, b=2, c=3)\n    bar(a, b, c)\n#19 Frame 0xb777ad48, for file /buildbot/buildarea/cpython/3.8.ware-gentoo-x86.nondebug/build/Lib/test/gdb_sample.py, line 12, in <module> ()\n    foo(1, 2, 3)\n' did not end with 'Unable to find an older python frame\n'

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot AMD64 Arch Linux Asan Debug 3.8 has failed when building commit b5e331f.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/590/builds/69) and take a look at the build logs.
  4. Check if the failure is related to this commit (b5e331f) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/590/builds/69

Failed tests:

  • test_crypt
  • test_capi
  • test_ctypes

Failed subtests:

  • test_pyobject_freed_is_freed - test.test_capi.PyMemDebugTests
  • test_pyobject_freed_is_freed - test.test_capi.PyMemDefaultTests
  • test_pyobject_freed_is_freed - test.test_capi.PyMemMallocDebugTests

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):
  File "/buildbot/buildarea/3.8.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_capi.py", line 749, in test_pyobject_freed_is_freed
    self.check_pyobject_is_freed('check_pyobject_freed_is_freed')
  File "/buildbot/buildarea/3.8.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_capi.py", line 737, in check_pyobject_is_freed
    assert_python_ok('-c', code, PYTHONMALLOC=self.PYTHONMALLOC)
  File "/buildbot/buildarea/3.8.pablogsal-arch-x86_64.asan_debug/build/Lib/test/support/script_helper.py", line 157, in assert_python_ok
    return _assert_python(True, *args, **env_vars)
  File "/buildbot/buildarea/3.8.pablogsal-arch-x86_64.asan_debug/build/Lib/test/support/script_helper.py", line 143, in _assert_python
    res.fail(cmd_line)
  File "/buildbot/buildarea/3.8.pablogsal-arch-x86_64.asan_debug/build/Lib/test/support/script_helper.py", line 70, in fail
    raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.8.pablogsal-arch-x86_64.asan_debug/build/python', '-X', 'faulthandler', '-c', '\nimport gc, os, sys, _testcapi\n# Disable the GC to avoid crash on GC collection\ngc.disable()\ntry:\n    _testcapi.check_pyobject_freed_is_freed()\n    # Exit immediately to avoid a crash while deallocating\n    # the invalid object\n    os._exit(0)\nexcept _testcapi.error:\n    os._exit(1)\n']

@mgorny
Copy link
Contributor

mgorny commented Sep 6, 2022

Buildbot failure

Hi! The buildbot x86 Gentoo Non-Debug with X 3.8 has failed when building commit b5e331f.

[...]

Failed tests:

  • test_gdb

FYI, we're skipping test_gdb on Gentoo for as long as I remember (i.e. it came before me), so that one probably can be skipped from buildbot testing as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants