Message373806
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. |
|
Date |
User |
Action |
Args |
2020-07-17 09:41:53 | vinay0410 | set | recipients:
+ vinay0410, christian.heimes, davin |
2020-07-17 09:41:53 | vinay0410 | set | messageid: <1594978913.74.0.232015836793.issue39584@roundup.psfhosted.org> |
2020-07-17 09:41:53 | vinay0410 | link | issue39584 messages |
2020-07-17 09:41:53 | vinay0410 | create | |
|