Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-118981: multiprocessing.popen_spawn_posix, fix potential hang#118982

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@albertz
Copy link
Contributor

Fixgh-118981.

It can happen that the child crashes right in the beginning for whatever reason. In this case, the parent will hang when writing into the pipe, because the child fd is not closed yet.

The normal pattern is to close the child fds right after the child proc is forked/executed/spawned, so when the child dies, then also the pipes will get close, and there will be no hang (you get SIGPIPE instead).

@albertz
Copy link
ContributorAuthor

@gpshead ping? Or anyone else?

@gpsheadgpshead self-assigned thisSep 6, 2025
@gpsheadgpshead added needs backport to 3.13bugs and security fixes needs backport to 3.14bugs and security fixes labelsSep 6, 2025
@gpsheadgpshead added the 🔨 test-with-buildbotsTest PR w/ buildbots; report in status section labelSep 6, 2025
@bedevere-bot
Copy link

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

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F118982%2Fmerge

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

@bedevere-botbedevere-bot removed the 🔨 test-with-buildbotsTest PR w/ buildbots; report in status section labelSep 6, 2025
@gpsheadgpsheadenabled auto-merge (squash)September 7, 2025 06:52
@gpsheadgpshead merged commit8ed5a2b intopython:mainSep 7, 2025
45 checks passed
@miss-islington-app
Copy link

Thanks@albertz for the PR, and@gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestSep 7, 2025
pythongh-118982)fix potential hang.It can happen that the child crashes right in the beginning for whatever reason. In this case, the parent will hang when writing into the pipe, because the child fd is not closed yet.The normal pattern is to close the child fds right after the child proc is forked/executed/spawned, so when the child dies, then also the pipes will be closed, and there will be no hang (the parent gets SIGPIPE instead).(cherry picked from commit8ed5a2b)Co-authored-by: Albert Zeyer <albzey@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestSep 7, 2025
pythongh-118982)fix potential hang.It can happen that the child crashes right in the beginning for whatever reason. In this case, the parent will hang when writing into the pipe, because the child fd is not closed yet.The normal pattern is to close the child fds right after the child proc is forked/executed/spawned, so when the child dies, then also the pipes will be closed, and there will be no hang (the parent gets SIGPIPE instead).(cherry picked from commit8ed5a2b)Co-authored-by: Albert Zeyer <albzey@gmail.com>
@bedevere-app
Copy link

GH-138605 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelSep 7, 2025
@bedevere-app
Copy link

GH-138606 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelSep 7, 2025
gpshead pushed a commit that referenced this pull requestSep 7, 2025
…ng (gh-118982) (#138606)gh-118981: multiprocessing.popen_spawn_posix, fix potential hang (gh-118982)fix potential hang.It can happen that the child crashes right in the beginning for whatever reason. In this case, the parent will hang when writing into the pipe, because the child fd is not closed yet.The normal pattern is to close the child fds right after the child proc is forked/executed/spawned, so when the child dies, then also the pipes will be closed, and there will be no hang (the parent gets SIGPIPE instead).(cherry picked from commit8ed5a2b)Co-authored-by: Albert Zeyer <albzey@gmail.com>
@bedevere-bot
Copy link

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

Hi! The buildbotARM Raspbian Linux Asan 3.13 (no tier) has failed when building commit612b535.

What do you need to do:

  1. Don't panic.
  2. Checkthe 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/#/builders/1817/builds/75) and take a look at the build logs.
  4. Check if the failure is related to this commit (612b535) 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/#/builders/1817/builds/75

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

Click to see traceback logs
remote:Enumerating objects: 15, done.remote:Counting objects:  11% (1/9)remote:Counting objects:  22% (2/9)remote:Counting objects:  33% (3/9)remote:Counting objects:  44% (4/9)remote:Counting objects:  55% (5/9)remote:Counting objects:  66% (6/9)remote:Counting objects:  77% (7/9)remote:Counting objects:  88% (8/9)remote:Counting objects: 100% (9/9)remote:Counting objects: 100% (9/9), done.remote:Compressing objects:  50% (1/2)remote:Compressing objects: 100% (2/2)remote:Compressing objects: 100% (2/2), done.remote:Total 15 (delta 7), reused 7 (delta 7), pack-reused 6 (from 3)From https://github.com/python/cpython * branch                    3.13       -> FETCH_HEADNote:switching to '612b535e6d7b7cf26d86d895aeb793ab2c28c9d4'.You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by switching back to a branch.If you want to create a new branch to retain commits you create, you maydo 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 falseHEAD is now at 612b535e6d7 [3.13] gh-118981: multiprocessing.popen_spawn_posix, fix potential hang (gh-118982) (#138606)Switched to and reset branch '3.13'configure:WARNING: no system libmpdec found; falling back to bundled libmpdec (deprecated and scheduled for removal in Python 3.16)In function ‘hashtable_key_from_2_strings’,    inlinedfrom ‘_extensions_cache_find_unlocked’ at Python/import.c:1264:17:Python/import.c:1177:5: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 1177 |     strncpy(key, str1_data, str1_len);|^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Python/import.c:1163:27: note: length computed here 1163 |     Py_ssize_t str1_len = strlen(str1_data);|^~~~~~~~~~~~~~~~~In function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:411:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:612:18:./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:360:14: note: in expansion of macro ‘EXTRACT_DIGIT’  360 |     case 15: EXTRACT_DIGIT(s, x, 100000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:361:14: note: in expansion of macro ‘EXTRACT_DIGIT’  361 |     case 14: EXTRACT_DIGIT(s, x, 10000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:362:14: note: in expansion of macro ‘EXTRACT_DIGIT’  362 |     case 13: EXTRACT_DIGIT(s, x, 1000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:359:14: note: in expansion of macro ‘EXTRACT_DIGIT’  359 |     case 16: EXTRACT_DIGIT(s, x, 1000000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:360:14: note: in expansion of macro ‘EXTRACT_DIGIT’  360 |     case 15: EXTRACT_DIGIT(s, x, 100000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:361:14: note: in expansion of macro ‘EXTRACT_DIGIT’  361 |     case 14: EXTRACT_DIGIT(s, x, 10000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:358:14: note: in expansion of macro ‘EXTRACT_DIGIT’  358 |     case 17: EXTRACT_DIGIT(s, x, 10000000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:359:14: note: in expansion of macro ‘EXTRACT_DIGIT’  359 |     case 16: EXTRACT_DIGIT(s, x, 1000000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:360:14: note: in expansion of macro ‘EXTRACT_DIGIT’  360 |     case 15: EXTRACT_DIGIT(s, x, 100000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:357:14: note: in expansion of macro ‘EXTRACT_DIGIT’  357 |     case 18: EXTRACT_DIGIT(s, x, 100000000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:358:14: note: in expansion of macro ‘EXTRACT_DIGIT’  358 |     case 17: EXTRACT_DIGIT(s, x, 10000000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:359:14: note: in expansion of macro ‘EXTRACT_DIGIT’  359 |     case 16: EXTRACT_DIGIT(s, x, 1000000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:361:14: note: in expansion of macro ‘EXTRACT_DIGIT’  361 |     case 14: EXTRACT_DIGIT(s, x, 10000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:362:14: note: in expansion of macro ‘EXTRACT_DIGIT’  362 |     case 13: EXTRACT_DIGIT(s, x, 1000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:363:14: note: in expansion of macro ‘EXTRACT_DIGIT’  363 |     case 12: EXTRACT_DIGIT(s, x, 100000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:362:14: note: in expansion of macro ‘EXTRACT_DIGIT’  362 |     case 13: EXTRACT_DIGIT(s, x, 1000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:363:14: note: in expansion of macro ‘EXTRACT_DIGIT’  363 |     case 12: EXTRACT_DIGIT(s, x, 100000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:364:14: note: in expansion of macro ‘EXTRACT_DIGIT’  364 |     case 11: EXTRACT_DIGIT(s, x, 10000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:363:14: note: in expansion of macro ‘EXTRACT_DIGIT’  363 |     case 12: EXTRACT_DIGIT(s, x, 100000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:364:14: note: in expansion of macro ‘EXTRACT_DIGIT’  364 |     case 11: EXTRACT_DIGIT(s, x, 10000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:366:14: note: in expansion of macro ‘EXTRACT_DIGIT’  366 |     case 10: EXTRACT_DIGIT(s, x, 1000000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:364:14: note: in expansion of macro ‘EXTRACT_DIGIT’  364 |     case 11: EXTRACT_DIGIT(s, x, 10000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:366:14: note: in expansion of macro ‘EXTRACT_DIGIT’  366 |     case 10: EXTRACT_DIGIT(s, x, 1000000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:367:14: note: in expansion of macro ‘EXTRACT_DIGIT’  367 |     case 9:  EXTRACT_DIGIT(s, x, 100000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:366:14: note: in expansion of macro ‘EXTRACT_DIGIT’  366 |     case 10: EXTRACT_DIGIT(s, x, 1000000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:367:14: note: in expansion of macro ‘EXTRACT_DIGIT’  367 |     case 9:  EXTRACT_DIGIT(s, x, 100000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:368:14: note: in expansion of macro ‘EXTRACT_DIGIT’  368 |     case 8:  EXTRACT_DIGIT(s, x, 10000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:367:14: note: in expansion of macro ‘EXTRACT_DIGIT’  367 |     case 9:  EXTRACT_DIGIT(s, x, 100000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:368:14: note: in expansion of macro ‘EXTRACT_DIGIT’  368 |     case 8:  EXTRACT_DIGIT(s, x, 10000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:369:14: note: in expansion of macro ‘EXTRACT_DIGIT’  369 |     case 7:  EXTRACT_DIGIT(s, x, 1000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:368:14: note: in expansion of macro ‘EXTRACT_DIGIT’  368 |     case 8:  EXTRACT_DIGIT(s, x, 10000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:369:14: note: in expansion of macro ‘EXTRACT_DIGIT’  369 |     case 7:  EXTRACT_DIGIT(s, x, 1000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:370:14: note: in expansion of macro ‘EXTRACT_DIGIT’  370 |     case 6:  EXTRACT_DIGIT(s, x, 100000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:369:14: note: in expansion of macro ‘EXTRACT_DIGIT’  369 |     case 7:  EXTRACT_DIGIT(s, x, 1000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:370:14: note: in expansion of macro ‘EXTRACT_DIGIT’  370 |     case 6:  EXTRACT_DIGIT(s, x, 100000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:371:14: note: in expansion of macro ‘EXTRACT_DIGIT’  371 |     case 5:  EXTRACT_DIGIT(s, x, 10000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:370:14: note: in expansion of macro ‘EXTRACT_DIGIT’  370 |     case 6:  EXTRACT_DIGIT(s, x, 100000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:371:14: note: in expansion of macro ‘EXTRACT_DIGIT’  371 |     case 5:  EXTRACT_DIGIT(s, x, 10000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:372:14: note: in expansion of macro ‘EXTRACT_DIGIT’  372 |     case 4:  EXTRACT_DIGIT(s, x, 1000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:371:14: note: in expansion of macro ‘EXTRACT_DIGIT’  371 |     case 5:  EXTRACT_DIGIT(s, x, 10000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:372:14: note: in expansion of macro ‘EXTRACT_DIGIT’  372 |     case 4:  EXTRACT_DIGIT(s, x, 1000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:373:14: note: in expansion of macro ‘EXTRACT_DIGIT’  373 |     case 3:  EXTRACT_DIGIT(s, x, 100UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:372:14: note: in expansion of macro ‘EXTRACT_DIGIT’  372 |     case 4:  EXTRACT_DIGIT(s, x, 1000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:373:14: note: in expansion of macro ‘EXTRACT_DIGIT’  373 |     case 3:  EXTRACT_DIGIT(s, x, 100UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:374:14: note: in expansion of macro ‘EXTRACT_DIGIT’  374 |     case 2:  EXTRACT_DIGIT(s, x, 10UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:373:14: note: in expansion of macro ‘EXTRACT_DIGIT’  373 |     case 3:  EXTRACT_DIGIT(s, x, 100UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:374:14: note: in expansion of macro ‘EXTRACT_DIGIT’  374 |     case 2:  EXTRACT_DIGIT(s, x, 10UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:374:14: note: in expansion of macro ‘EXTRACT_DIGIT’  374 |     case 2:  EXTRACT_DIGIT(s, x, 10UL, dot);|^~~~~~~~~~~~~In function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:411:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:608:18:./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:360:14: note: in expansion of macro ‘EXTRACT_DIGIT’  360 |     case 15: EXTRACT_DIGIT(s, x, 100000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:361:14: note: in expansion of macro ‘EXTRACT_DIGIT’  361 |     case 14: EXTRACT_DIGIT(s, x, 10000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:362:14: note: in expansion of macro ‘EXTRACT_DIGIT’  362 |     case 13: EXTRACT_DIGIT(s, x, 1000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:359:14: note: in expansion of macro ‘EXTRACT_DIGIT’  359 |     case 16: EXTRACT_DIGIT(s, x, 1000000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:360:14: note: in expansion of macro ‘EXTRACT_DIGIT’  360 |     case 15: EXTRACT_DIGIT(s, x, 100000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:361:14: note: in expansion of macro ‘EXTRACT_DIGIT’  361 |     case 14: EXTRACT_DIGIT(s, x, 10000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:358:14: note: in expansion of macro ‘EXTRACT_DIGIT’  358 |     case 17: EXTRACT_DIGIT(s, x, 10000000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:359:14: note: in expansion of macro ‘EXTRACT_DIGIT’  359 |     case 16: EXTRACT_DIGIT(s, x, 1000000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:360:14: note: in expansion of macro ‘EXTRACT_DIGIT’  360 |     case 15: EXTRACT_DIGIT(s, x, 100000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:357:14: note: in expansion of macro ‘EXTRACT_DIGIT’  357 |     case 18: EXTRACT_DIGIT(s, x, 100000000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:358:14: note: in expansion of macro ‘EXTRACT_DIGIT’  358 |     case 17: EXTRACT_DIGIT(s, x, 10000000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:359:14: note: in expansion of macro ‘EXTRACT_DIGIT’  359 |     case 16: EXTRACT_DIGIT(s, x, 1000000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:361:14: note: in expansion of macro ‘EXTRACT_DIGIT’  361 |     case 14: EXTRACT_DIGIT(s, x, 10000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:362:14: note: in expansion of macro ‘EXTRACT_DIGIT’  362 |     case 13: EXTRACT_DIGIT(s, x, 1000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:363:14: note: in expansion of macro ‘EXTRACT_DIGIT’  363 |     case 12: EXTRACT_DIGIT(s, x, 100000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:362:14: note: in expansion of macro ‘EXTRACT_DIGIT’  362 |     case 13: EXTRACT_DIGIT(s, x, 1000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:363:14: note: in expansion of macro ‘EXTRACT_DIGIT’  363 |     case 12: EXTRACT_DIGIT(s, x, 100000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:364:14: note: in expansion of macro ‘EXTRACT_DIGIT’  364 |     case 11: EXTRACT_DIGIT(s, x, 10000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:363:14: note: in expansion of macro ‘EXTRACT_DIGIT’  363 |     case 12: EXTRACT_DIGIT(s, x, 100000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:364:14: note: in expansion of macro ‘EXTRACT_DIGIT’  364 |     case 11: EXTRACT_DIGIT(s, x, 10000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:366:14: note: in expansion of macro ‘EXTRACT_DIGIT’  366 |     case 10: EXTRACT_DIGIT(s, x, 1000000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:364:14: note: in expansion of macro ‘EXTRACT_DIGIT’  364 |     case 11: EXTRACT_DIGIT(s, x, 10000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:366:14: note: in expansion of macro ‘EXTRACT_DIGIT’  366 |     case 10: EXTRACT_DIGIT(s, x, 1000000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:367:14: note: in expansion of macro ‘EXTRACT_DIGIT’  367 |     case 9:  EXTRACT_DIGIT(s, x, 100000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:366:14: note: in expansion of macro ‘EXTRACT_DIGIT’  366 |     case 10: EXTRACT_DIGIT(s, x, 1000000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:367:14: note: in expansion of macro ‘EXTRACT_DIGIT’  367 |     case 9:  EXTRACT_DIGIT(s, x, 100000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:368:14: note: in expansion of macro ‘EXTRACT_DIGIT’  368 |     case 8:  EXTRACT_DIGIT(s, x, 10000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:367:14: note: in expansion of macro ‘EXTRACT_DIGIT’  367 |     case 9:  EXTRACT_DIGIT(s, x, 100000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:368:14: note: in expansion of macro ‘EXTRACT_DIGIT’  368 |     case 8:  EXTRACT_DIGIT(s, x, 10000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:369:14: note: in expansion of macro ‘EXTRACT_DIGIT’  369 |     case 7:  EXTRACT_DIGIT(s, x, 1000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:368:14: note: in expansion of macro ‘EXTRACT_DIGIT’  368 |     case 8:  EXTRACT_DIGIT(s, x, 10000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:369:14: note: in expansion of macro ‘EXTRACT_DIGIT’  369 |     case 7:  EXTRACT_DIGIT(s, x, 1000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:370:14: note: in expansion of macro ‘EXTRACT_DIGIT’  370 |     case 6:  EXTRACT_DIGIT(s, x, 100000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:369:14: note: in expansion of macro ‘EXTRACT_DIGIT’  369 |     case 7:  EXTRACT_DIGIT(s, x, 1000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:370:14: note: in expansion of macro ‘EXTRACT_DIGIT’  370 |     case 6:  EXTRACT_DIGIT(s, x, 100000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:371:14: note: in expansion of macro ‘EXTRACT_DIGIT’  371 |     case 5:  EXTRACT_DIGIT(s, x, 10000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:370:14: note: in expansion of macro ‘EXTRACT_DIGIT’  370 |     case 6:  EXTRACT_DIGIT(s, x, 100000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:371:14: note: in expansion of macro ‘EXTRACT_DIGIT’  371 |     case 5:  EXTRACT_DIGIT(s, x, 10000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:372:14: note: in expansion of macro ‘EXTRACT_DIGIT’  372 |     case 4:  EXTRACT_DIGIT(s, x, 1000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:371:14: note: in expansion of macro ‘EXTRACT_DIGIT’  371 |     case 5:  EXTRACT_DIGIT(s, x, 10000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:372:14: note: in expansion of macro ‘EXTRACT_DIGIT’  372 |     case 4:  EXTRACT_DIGIT(s, x, 1000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:373:14: note: in expansion of macro ‘EXTRACT_DIGIT’  373 |     case 3:  EXTRACT_DIGIT(s, x, 100UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:372:14: note: in expansion of macro ‘EXTRACT_DIGIT’  372 |     case 4:  EXTRACT_DIGIT(s, x, 1000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:373:14: note: in expansion of macro ‘EXTRACT_DIGIT’  373 |     case 3:  EXTRACT_DIGIT(s, x, 100UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:374:14: note: in expansion of macro ‘EXTRACT_DIGIT’  374 |     case 2:  EXTRACT_DIGIT(s, x, 10UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:373:14: note: in expansion of macro ‘EXTRACT_DIGIT’  373 |     case 3:  EXTRACT_DIGIT(s, x, 100UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:374:14: note: in expansion of macro ‘EXTRACT_DIGIT’  374 |     case 2:  EXTRACT_DIGIT(s, x, 10UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:374:14: note: in expansion of macro ‘EXTRACT_DIGIT’  374 |     case 2:  EXTRACT_DIGIT(s, x, 10UL, dot);|^~~~~~~~~~~~~In function ‘word_to_string’,    inlinedfrom ‘coeff_to_string’ at ./Modules/_decimal/libmpdec/io.c:411:13,    inlinedfrom ‘_mpd_to_string’ at ./Modules/_decimal/libmpdec/io.c:502:22:./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:360:14: note: in expansion of macro ‘EXTRACT_DIGIT’  360 |     case 15: EXTRACT_DIGIT(s, x, 100000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:361:14: note: in expansion of macro ‘EXTRACT_DIGIT’  361 |     case 14: EXTRACT_DIGIT(s, x, 10000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:362:14: note: in expansion of macro ‘EXTRACT_DIGIT’  362 |     case 13: EXTRACT_DIGIT(s, x, 1000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:359:14: note: in expansion of macro ‘EXTRACT_DIGIT’  359 |     case 16: EXTRACT_DIGIT(s, x, 1000000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:360:14: note: in expansion of macro ‘EXTRACT_DIGIT’  360 |     case 15: EXTRACT_DIGIT(s, x, 100000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:361:14: note: in expansion of macro ‘EXTRACT_DIGIT’  361 |     case 14: EXTRACT_DIGIT(s, x, 10000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:358:14: note: in expansion of macro ‘EXTRACT_DIGIT’  358 |     case 17: EXTRACT_DIGIT(s, x, 10000000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:359:14: note: in expansion of macro ‘EXTRACT_DIGIT’  359 |     case 16: EXTRACT_DIGIT(s, x, 1000000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:360:14: note: in expansion of macro ‘EXTRACT_DIGIT’  360 |     case 15: EXTRACT_DIGIT(s, x, 100000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:357:14: note: in expansion of macro ‘EXTRACT_DIGIT’  357 |     case 18: EXTRACT_DIGIT(s, x, 100000000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:358:14: note: in expansion of macro ‘EXTRACT_DIGIT’  358 |     case 17: EXTRACT_DIGIT(s, x, 10000000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:359:14: note: in expansion of macro ‘EXTRACT_DIGIT’  359 |     case 16: EXTRACT_DIGIT(s, x, 1000000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:361:14: note: in expansion of macro ‘EXTRACT_DIGIT’  361 |     case 14: EXTRACT_DIGIT(s, x, 10000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:362:14: note: in expansion of macro ‘EXTRACT_DIGIT’  362 |     case 13: EXTRACT_DIGIT(s, x, 1000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:363:14: note: in expansion of macro ‘EXTRACT_DIGIT’  363 |     case 12: EXTRACT_DIGIT(s, x, 100000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:362:14: note: in expansion of macro ‘EXTRACT_DIGIT’  362 |     case 13: EXTRACT_DIGIT(s, x, 1000000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:363:14: note: in expansion of macro ‘EXTRACT_DIGIT’  363 |     case 12: EXTRACT_DIGIT(s, x, 100000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:364:14: note: in expansion of macro ‘EXTRACT_DIGIT’  364 |     case 11: EXTRACT_DIGIT(s, x, 10000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:363:14: note: in expansion of macro ‘EXTRACT_DIGIT’  363 |     case 12: EXTRACT_DIGIT(s, x, 100000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:364:14: note: in expansion of macro ‘EXTRACT_DIGIT’  364 |     case 11: EXTRACT_DIGIT(s, x, 10000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:366:14: note: in expansion of macro ‘EXTRACT_DIGIT’  366 |     case 10: EXTRACT_DIGIT(s, x, 1000000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:364:14: note: in expansion of macro ‘EXTRACT_DIGIT’  364 |     case 11: EXTRACT_DIGIT(s, x, 10000000000ULL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:366:14: note: in expansion of macro ‘EXTRACT_DIGIT’  366 |     case 10: EXTRACT_DIGIT(s, x, 1000000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:367:14: note: in expansion of macro ‘EXTRACT_DIGIT’  367 |     case 9:  EXTRACT_DIGIT(s, x, 100000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:366:14: note: in expansion of macro ‘EXTRACT_DIGIT’  366 |     case 10: EXTRACT_DIGIT(s, x, 1000000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:367:14: note: in expansion of macro ‘EXTRACT_DIGIT’  367 |     case 9:  EXTRACT_DIGIT(s, x, 100000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:368:14: note: in expansion of macro ‘EXTRACT_DIGIT’  368 |     case 8:  EXTRACT_DIGIT(s, x, 10000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:367:14: note: in expansion of macro ‘EXTRACT_DIGIT’  367 |     case 9:  EXTRACT_DIGIT(s, x, 100000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:368:14: note: in expansion of macro ‘EXTRACT_DIGIT’  368 |     case 8:  EXTRACT_DIGIT(s, x, 10000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:369:14: note: in expansion of macro ‘EXTRACT_DIGIT’  369 |     case 7:  EXTRACT_DIGIT(s, x, 1000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:368:14: note: in expansion of macro ‘EXTRACT_DIGIT’  368 |     case 8:  EXTRACT_DIGIT(s, x, 10000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:369:14: note: in expansion of macro ‘EXTRACT_DIGIT’  369 |     case 7:  EXTRACT_DIGIT(s, x, 1000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:370:14: note: in expansion of macro ‘EXTRACT_DIGIT’  370 |     case 6:  EXTRACT_DIGIT(s, x, 100000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:369:14: note: in expansion of macro ‘EXTRACT_DIGIT’  369 |     case 7:  EXTRACT_DIGIT(s, x, 1000000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:370:14: note: in expansion of macro ‘EXTRACT_DIGIT’  370 |     case 6:  EXTRACT_DIGIT(s, x, 100000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:371:14: note: in expansion of macro ‘EXTRACT_DIGIT’  371 |     case 5:  EXTRACT_DIGIT(s, x, 10000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:370:14: note: in expansion of macro ‘EXTRACT_DIGIT’  370 |     case 6:  EXTRACT_DIGIT(s, x, 100000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:371:14: note: in expansion of macro ‘EXTRACT_DIGIT’  371 |     case 5:  EXTRACT_DIGIT(s, x, 10000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:372:14: note: in expansion of macro ‘EXTRACT_DIGIT’  372 |     case 4:  EXTRACT_DIGIT(s, x, 1000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:371:14: note: in expansion of macro ‘EXTRACT_DIGIT’  371 |     case 5:  EXTRACT_DIGIT(s, x, 10000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:372:14: note: in expansion of macro ‘EXTRACT_DIGIT’  372 |     case 4:  EXTRACT_DIGIT(s, x, 1000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:373:14: note: in expansion of macro ‘EXTRACT_DIGIT’  373 |     case 3:  EXTRACT_DIGIT(s, x, 100UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:372:14: note: in expansion of macro ‘EXTRACT_DIGIT’  372 |     case 4:  EXTRACT_DIGIT(s, x, 1000UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:373:14: note: in expansion of macro ‘EXTRACT_DIGIT’  373 |     case 3:  EXTRACT_DIGIT(s, x, 100UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:374:14: note: in expansion of macro ‘EXTRACT_DIGIT’  374 |     case 2:  EXTRACT_DIGIT(s, x, 10UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:373:14: note: in expansion of macro ‘EXTRACT_DIGIT’  373 |     case 3:  EXTRACT_DIGIT(s, x, 100UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:374:14: note: in expansion of macro ‘EXTRACT_DIGIT’  374 |     case 2:  EXTRACT_DIGIT(s, x, 10UL, dot);|^~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:349:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]  349 |         if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d|~~~~~^~~~~~~~~~~~~~~~~~~~~./Modules/_decimal/libmpdec/io.c:374:14: note: in expansion of macro ‘EXTRACT_DIGIT’  374 |     case 2:  EXTRACT_DIGIT(s, x, 10UL, dot);|^~~~~~~~~~~~~Timeout (0:05:00)!Thread 0x0000007fadcef100 (most recent call first):  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/subprocess.py", line 2024 in _try_wait  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/subprocess.py", line 2049 in _wait  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/subprocess.py", line 1280 in wait  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/test/libregrtest/run_workers.py", line 188 in _run_process  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/test/libregrtest/run_workers.py", line 293 in run_tmp_files  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/test/libregrtest/run_workers.py", line 357 in _runtest  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/test/libregrtest/run_workers.py", line 397 in run  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/threading.py", line 1043 in _bootstrap_inner  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/threading.py", line 1014 in _bootstrapThread 0x0000007fae4ff100 (most recent call first):  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/test/libregrtest/setup.py", line 85 in _test_audit_hook  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/subprocess.py", line 2060 in _wait  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/subprocess.py", line 1280 in wait  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/test/libregrtest/run_workers.py", line 188 in _run_process  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/test/libregrtest/run_workers.py", line 293 in run_tmp_files  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/test/libregrtest/run_workers.py", line 357 in _runtest  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/test/libregrtest/run_workers.py", line 397 in run  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/threading.py", line 1043 in _bootstrap_inner  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/threading.py", line 1014 in _bootstrapThread 0x0000007fb9e79500 (most recent call first):  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/test/libregrtest/utils.py", line 71 in format_duration  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/test/libregrtest/run_workers.py", line 458 in get_running  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/test/libregrtest/run_workers.py", line 545 in _get_result  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/test/libregrtest/run_workers.py", line 604 in run  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/test/libregrtest/main.py", line 433 in _run_tests_mp  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/test/libregrtest/main.py", line 538 in _run_tests  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/test/libregrtest/main.py", line 586 in run_tests  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/test/libregrtest/main.py", line 755 in main  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/test/libregrtest/main.py", line 763 in main  File "/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/Lib/test/__main__.py", line 2 in <module>  File "<frozen runpy>", line 88 in _run_code  File "<frozen runpy>", line 198 in _run_module_as_mainmake:*** [Makefile:2252: buildbottest] Error 1Cannot open file '/home/buildbot/buildarea/3.13.pablogsal-rasp.asan/build/test-results.xml' for upload

lkollar pushed a commit to lkollar/cpython that referenced this pull requestSep 9, 2025
pythongh-118982)fix potential hang.It can happen that the child crashes right in the beginning for whatever reason. In this case, the parent will hang when writing into the pipe, because the child fd is not closed yet.The normal pattern is to close the child fds right after the child proc is forked/executed/spawned, so when the child dies, then also the pipes will be closed, and there will be no hang (the parent gets SIGPIPE instead).
encukou pushed a commit that referenced this pull requestOct 8, 2025
…ng (gh-118982) (GH-138605)fix potential hang.It can happen that the child crashes right in the beginning for whatever reason. In this case, the parent will hang when writing into the pipe, because the child fd is not closed yet.The normal pattern is to close the child fds right after the child proc is forked/executed/spawned, so when the child dies, then also the pipes will be closed, and there will be no hang (the parent gets SIGPIPE instead).(cherry picked from commit8ed5a2b)Co-authored-by: Albert Zeyer <albzey@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@gpsheadgpsheadgpshead approved these changes

Assignees

@gpsheadgpshead

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

multiprocessing.popen_spawn_posix does not close child fds after spawn, can hang

3 participants

@albertz@bedevere-bot@gpshead

[8]ページ先頭

©2009-2025 Movatter.jp