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

multiprocessing test_shared_memory_recreate is not concurrency-safe #95212

Closed
Assignees
tiran
Labels
3.10only security fixes3.11only security fixes3.12only security fixestestsTests in the Lib/test dirtriagedThe issue has been accepted as valid by a triager.type-bugAn unexpected behavior, bug, or error
@tiran

Description

@tiran

Bug report

The test cases

  • test.test_multiprocessing_spawn.WithProcessesTestSharedMemory.test_shared_memory_recreate
  • test.test_multiprocessing_fork.WithProcessesTestSharedMemory.test_shared_memory_recreate
  • test.test_multiprocessing_forkserver.WithProcessesTestSharedMemory.test_shared_memory_recreate

are not concurrency-safe because they all use the same semaphore name. A left-over semaphore from a previous run can also cause problems The bug is currently causing several buildbots to break. The obvious solution is to use the_new_shm_name helper like the other tests.

Metadata

Metadata

Assignees

Labels

3.10only security fixes3.11only security fixes3.12only security fixestestsTests in the Lib/test dirtriagedThe issue has been accepted as valid by a triager.type-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp