This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay0410
Recipients christian.heimes, davin, vinay0410
Date 2020-07-17.09:41:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594978913.74.0.232015836793.issue39584@roundup.psfhosted.org>
In-reply-to
Content
Hi, I tried replicating this by truncating normal files but that doesn't crash. The above mentioned call of ftruncate only crashes for when the file descriptor passed points to a shared memory segment.
And only, multiprocessing.shared_memory is currently creating shared_memory using _posixshmem.shm_open.

So, it can be fixed in ftruncate implementation or this can also be handled by multiprocessing.shared_memory.

Please let me know your thoughts about the same.
History
Date User Action Args
2020-07-17 09:41:53vinay0410setrecipients: + vinay0410, christian.heimes, davin
2020-07-17 09:41:53vinay0410setmessageid: <1594978913.74.0.232015836793.issue39584@roundup.psfhosted.org>
2020-07-17 09:41:53vinay0410linkissue39584 messages
2020-07-17 09:41:53vinay0410create