Message402073
On Android, if os.close_range closes the file descriptor of the scandir iterator, the interpreter immediately crashes eg:
>>> import os
>>> os.scandir()
<posix.ScandirIterator object at 0x7082d6ef10>
>>> os.closerange(3,9999)
fdsan: attempted to close file descriptor 3, expected to be unowned, actually owned by DIR* 0x7263390290
Aborted
$
Sorry if this isn't an appropriate place to add this, but the title matched the concept I think and I don't know enough to judge whether this is something that needs to be fixed. |
|
Date |
User |
Action |
Args |
2021-09-17 18:53:06 | bup | set | recipients:
+ bup, gregory.p.smith, pitrou, vstinner, neologix, serhiy.storchaka, sstewartgallus, iritkatriel |
2021-09-17 18:53:06 | bup | set | messageid: <1631904786.36.0.533094118491.issue21627@roundup.psfhosted.org> |
2021-09-17 18:53:06 | bup | link | issue21627 messages |
2021-09-17 18:53:06 | bup | create | |
|