Eric Oswald
Eric Oswald
I am also having the same issue. Anybody find a fix for this?
Looks like it's not trivial so I forked the project and added the feature. If the repo owner would like me to create a PR here I would be more...
Addresses issue #8
Hey @robshakir , sorry it took so long. CLA check looks good now!
Apologies, I was mistaken. It seems like `maxrepetitions` _is_ being respected since it repeats within the pdu request. I am not sure what is causing this loop. Still investigating.
Below is a sanitized core dump: ``` (Python) File "/root/test_easysnmp.py", line 8, in (Python) File "*****/python/lib/python3.10/site-packages/easysnmp/session.py", line 478, in bulkwalk interface.bulkwalk(self, non_repeaters, max_repetitions, varlist) Arguments: max_repetitions: 10 non_repeaters: 0 oids:...
I built this locally with debug symbols and found that it's segfaulting at this line: https://github.com/easysnmp/easysnmp/blob/d01417776f49aa172cb1342f064844fd76403cc5/easysnmp/interface.c#L3691 ``` DEBUG:easysnmp.interface:netsnmp_bulkwalk: !is_leaf: 0 DEBUG:easysnmp.interface:netsnmp_bulkwalk: str_buf: .1.0.8802.1.1.2.1.4.1.1.4.989262276.51.13 DEBUG:easysnmp.interface:netsnmp_bulkwalk: filling response: .1.0.8802.1.1.2.1.4.1.1.4.989262276.51:13 DEBUG:easysnmp.interface:netsnmp_bulkwalk: Finished reading...