BewareMyPower opened a new issue, #224: URL: https://github.com/apache/pulsar-client-cpp/issues/224
### Search before asking - [X] I searched in the [issues](https://github.com/apache/pulsar-client-cpp/issues) and found nothing similar. ### Version Pulsar 2.11.0 ### Minimal reproduce step Start the standalone with broker deduplication enabled: ```properties brokerDeduplicationEnabled=true ``` Then, run the `testPartitionedLazyProducerConsumer`: ```bash ./tests/pulsar-tests --gtest_filter='BasicEndToEndTest.testPartitionedLazyProducerConsumer' ``` ### What did you expect to see? The test passed. ### What did you see instead? ``` 2023-03-21 10:31:29.693 INFO [140336589090624] BasicEndToEndTest:513 | res = 204 2023-03-21 10:31:29.694 INFO [140336589090624] ClientConnection:183 | [<none> -> pulsar://localhost:6650] Create ClientConnection, timeout=10000 2023-03-21 10:31:29.694 INFO [140336589090624] ConnectionPool:106 | Created connection for pulsar://localhost:6650 2023-03-21 10:31:29.697 INFO [140336585967360] ClientConnection:381 | [127.0.0.1:38496 -> 127.0.0.1:6650] Connected to broker 2023-03-21 10:31:29.704 INFO [140336585967360] HandlerBase:72 | [persistent://public/default/testPartitionedProducerConsumerLazy-partition-2, ] Getting connection from pool 2023-03-21 10:31:29.916 INFO [140336585967360] ProducerImpl:208 | [persistent://public/default/testPartitionedProducerConsumerLazy-partition-2, ] Created producer on broker [127.0.0.1:38496 -> 127.0.0.1:6650] 2023-03-21 10:31:29.916 INFO [140336589090624] Client:87 | Subscribing on Topic :testPartitionedProducerConsumerLazy 2023-03-21 10:31:29.922 INFO [140336585967360] HandlerBase:72 | [0x7fa2a000aad0, subscription-A, 0] Getting connection from pool 2023-03-21 10:31:29.922 INFO [140336585967360] HandlerBase:72 | [0x7fa2a000b8f0, subscription-A, 1] Getting connection from pool 2023-03-21 10:31:29.923 INFO [140336585967360] HandlerBase:72 | [0x7fa2a001dca0, subscription-A, 2] Getting connection from pool 2023-03-21 10:31:29.979 INFO [140336585967360] ConsumerImpl:262 | [0x7fa2a001dca0, subscription-A, 2] Created consumer on broker [127.0.0.1:38496 -> 127.0.0.1:6650] 2023-03-21 10:31:29.979 INFO [140336585967360] MultiTopicsConsumerImpl:303 | Successfully Subscribed to a single partition of topic in TopicsConsumer. Partitions need to create : 2 2023-03-21 10:31:29.984 INFO [140336585967360] ConsumerImpl:262 | [0x7fa2a000aad0, subscription-A, 0] Created consumer on broker [127.0.0.1:38496 -> 127.0.0.1:6650] 2023-03-21 10:31:29.984 INFO [140336585967360] MultiTopicsConsumerImpl:303 | Successfully Subscribed to a single partition of topic in TopicsConsumer. Partitions need to create : 1 2023-03-21 10:31:29.995 INFO [140336585967360] ConsumerImpl:262 | [0x7fa2a000b8f0, subscription-A, 1] Created consumer on broker [127.0.0.1:38496 -> 127.0.0.1:6650] 2023-03-21 10:31:29.995 INFO [140336585967360] MultiTopicsConsumerImpl:303 | Successfully Subscribed to a single partition of topic in TopicsConsumer. Partitions need to create : 0 2023-03-21 10:31:29.995 INFO [140336585967360] MultiTopicsConsumerImpl:146 | Successfully Subscribed to Topics 2023-03-21 10:31:30.028 INFO [140336589090624] HandlerBase:72 | [persistent://public/default/testPartitionedProducerConsumerLazy-partition-0, ] Getting connection from pool 2023-03-21 10:31:30.034 INFO [140336585967360] ProducerImpl:208 | [persistent://public/default/testPartitionedProducerConsumerLazy-partition-0, ] Created producer on broker [127.0.0.1:38496 -> 127.0.0.1:6650] Segmentation fault ``` ### Anything else? _No response_ ### Are you willing to submit a PR? - [X] 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]
