You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "BewareMyPower (via GitHub)" <gi...@apache.org> on 2023/11/16 11:26:59 UTC
[I] [Bug] Segmentation fault if failed to load an authentication plugin [pulsar-client-cpp]
BewareMyPower opened a new issue, #349:
URL: https://github.com/apache/pulsar-client-cpp/issues/349
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/pulsar-client-cpp/issues) and found nothing similar.
### Version
https://github.com/apache/pulsar-client-cpp/commit/8d32fd254e294d1fabba73aed70115a434b341ef
### Minimal reproduce step
```c++
Client client("pulsar://localhost:6650", ClientConfiguration{}.setAuth(AuthFactory::create("invalid", "invalid")));
Producer producer;
std::cout << client.createProducer("my-topic", producer) << std::endl;
``
### What did you expect to see?
```
AuthenticationError
```
### What did you see instead?
```
2023-11-16 19:26:46.795 WARN [0x1dd74de00] Authentication:190 | Couldn't load auth plugin invalid
2023-11-16 19:26:46.796 WARN [0x1dd74de00] Authentication:190 | Couldn't load auth plugin invalid
2023-11-16 19:26:46.796 INFO [0x1dd74de00] ClientConnection:188 | [<none> -> pulsar://localhost:6650] Create ClientConnection, timeout=10000
2023-11-16 19:26:46.796 INFO [0x1dd74de00] ConnectionPool:109 | Created connection for pulsar://localhost:6650
2023-11-16 19:26:46.798 INFO [0x16eef7000] ClientConnection:398 | [127.0.0.1:53863 -> 127.0.0.1:6650] Connected to broker
zsh: segmentation fault ./tests/pulsar-tests --gtest_filter='*.testConnectionConstructFailure'
```
### 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: commits-unsubscribe@pulsar.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] Segmentation fault if failed to load an authentication plugin [pulsar-client-cpp]
Posted by "BewareMyPower (via GitHub)" <gi...@apache.org>.
BewareMyPower closed issue #349: [Bug] Segmentation fault if failed to load an authentication plugin
URL: https://github.com/apache/pulsar-client-cpp/issues/349
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org