swjz commented on issue #14372:
URL: https://github.com/apache/pulsar/issues/14372#issuecomment-1044235326


   It looks like each consumer iterator is erased 
https://github.com/apache/pulsar/blob/773f9197cfb83092fb6ee2bf1b9ec38143f3c8b0/pulsar-client-cpp/lib/MultiTopicsConsumerImpl.cc#L393-L396
   within the for loop
   
https://github.com/apache/pulsar/blob/773f9197cfb83092fb6ee2bf1b9ec38143f3c8b0/pulsar-client-cpp/lib/MultiTopicsConsumerImpl.cc#L377-L385
   so `consumer++` throws a segfault.
   
   Please correct me if I'm wrong since I'm new to this project. I'll also try 
to submit a fix soon.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to