Message357817
When accessing Shared Memory Lists, occasionally the shared memory list will have a length of zero for only one line of code.
Even know the length of the list is constant and greater than zero, when accessing this list, like say sml[0], python returns a ValueError complaining that sml is an empty list.
As well, if you print out sml on the very next line in the exception handler, then you get a full length list, with no access issues whatsoever.
This isn't a locking issue, since locks were acquired before writing to the lists, and released after writing. This is a shared memory list runtime access consistency issue.
An Example of this Issue can be Seen Here:
https://github.com/uofrobotics/RPLidarVidStream
The issue is in the process_data function, only when smd, sma, smq, or sml are read from. |
|
Date |
User |
Action |
Args |
2019-12-04 18:29:50 | HugeAckmen | set | recipients:
+ HugeAckmen, asvetlov, yselivanov |
2019-12-04 18:29:49 | HugeAckmen | set | messageid: <1575484189.99.0.873814899855.issue38973@roundup.psfhosted.org> |
2019-12-04 18:29:49 | HugeAckmen | link | issue38973 messages |
2019-12-04 18:29:49 | HugeAckmen | create | |
|