[issue37729] gc: stats from multi process are mixed up

2019-08-30 Thread Ned Deily
Ned Deily added the comment: See Issue37990 for a report of a regression introduced by these changes. -- nosy: +ned.deily ___ Python tracker ___ __

[issue37729] gc: stats from multi process are mixed up

2019-08-05 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue37729] gc: stats from multi process are mixed up

2019-08-05 Thread Inada Naoki
Inada Naoki added the comment: New changeset e8ea34855c7635f8a84b430f17dc01a666f4c0ef by Inada Naoki (Miss Islington (bot)) in branch '3.8': bpo-37729: gc: write stats at once (GH-15050) https://github.com/python/cpython/commit/e8ea34855c7635f8a84b430f17dc01a666f4c0ef -- __

[issue37729] gc: stats from multi process are mixed up

2019-08-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +14823 pull_request: https://github.com/python/cpython/pull/15076 ___ Python tracker ___ __

[issue37729] gc: stats from multi process are mixed up

2019-08-02 Thread Inada Naoki
Inada Naoki added the comment: New changeset bf8162c8c45338470bbe487c8769bba20bde66c2 by Inada Naoki in branch 'master': bpo-37729: gc: write stats at once (GH-15050) https://github.com/python/cpython/commit/bf8162c8c45338470bbe487c8769bba20bde66c2 -- __

[issue37729] gc: stats from multi process are mixed up

2019-08-01 Thread Inada Naoki
Change by Inada Naoki : -- versions: -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue37729] gc: stats from multi process are mixed up

2019-07-31 Thread Inada Naoki
Inada Naoki added the comment: I updated the PR to show "gc: collecting generation 0...\n" before counting objects in each generations. -- ___ Python tracker ___

[issue37729] gc: stats from multi process are mixed up

2019-07-31 Thread Josh Rosenberg
Josh Rosenberg added the comment: Delaying the write means you don't get an indication of the steps in the process; if someone is trying to debug a crash caused by corruption of the gc list (e.g. due to a bad extension module), deferring the writes means they won't see any output before the

[issue37729] gc: stats from multi process are mixed up

2019-07-31 Thread Inada Naoki
Change by Inada Naoki : -- keywords: +patch pull_requests: +14801 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15050 ___ Python tracker ___

[issue37729] gc: stats from multi process are mixed up

2019-07-31 Thread Inada Naoki
New submission from Inada Naoki : gc used several PySys_WriteStderr() calls to write stats. This caused stats mixed up when stderr is shared by multiple threads or processes. Attached file (t.py) demonstrates it. Sometimes stats from two processes are mixed up like this: ``` gc: collecting gen