BewareMyPower opened a new issue, #550:
URL: https://github.com/apache/pulsar-client-cpp/issues/550

   ### Search before asking
   
   - [x] I searched in the 
[issues](https://github.com/apache/pulsar-client-cpp/issues) and found nothing 
similar.
   
   
   ### Version
   
   0c6a7c0a688409e6f2c4b066b48bdca24e5ec33b
   
   
   
   ### Minimal reproduce step
   
   Run `testCloseClient` for a few times:
   
   ```bash
   ./build/tests/pulsar-tests --gtest_filter='*testCloseClient'
   ```
   
   ### What did you expect to see?
   
   passed
   
   ### What did you see instead?
   
   You might see the segmentation fault:
   
   ```
   2026-03-09 11:22:47.077 ERROR [0x1ff497840] ClientImpl:228 | Error 
Checking/Getting Partition Metadata while creating producer on 
persistent://public/default/client-test-close-client-1773026566 -- 
ResultDisconnected
   2026-03-09 11:22:47.077 INFO  [0x1ff497840] ClientImpl:687 | Closing Pulsar 
client with 0 producers and 0 consumers
   2026-03-09 11:22:47.077 INFO  [0x16bb9f000] ClientConnection:1353 | [<none> 
-> pulsar://localhost:6650] Connection disconnected (refCnt: 1)
   zsh: segmentation fault  ./build/tests/pulsar-tests 
--gtest_filter='*testCloseClient'
   ```
   
   ### Anything else?
   
   It seems that there was a regression on 
https://github.com/apache/pulsar-client-cpp/pull/136.
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
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