[GitHub] [pulsar] yitian108 commented on issue #9796: Segment fault occur while test the example of asyn producer using c++

2021-03-21 Thread GitBox
yitian108 commented on issue #9796: URL: https://github.com/apache/pulsar/issues/9796#issuecomment-803713027 Great. Thanks for your help. According to your advice, I recorrect the returned type of callback to void, it really could work in my IDE, however, for the first program that

[GitHub] [pulsar] yitian108 commented on issue #9796: Segment fault occur while test the example of asyn producer using c++

2021-03-18 Thread GitBox
yitian108 commented on issue #9796: URL: https://github.com/apache/pulsar/issues/9796#issuecomment-802454825 hi BewareMyPower, I've sent the email to you, please check it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and u

[GitHub] [pulsar] yitian108 commented on issue #9796: Segment fault occur while test the example of asyn producer using c++

2021-03-18 Thread GitBox
yitian108 commented on issue #9796: URL: https://github.com/apache/pulsar/issues/9796#issuecomment-801755827 sorry, I try to upload the .tar.gz file, but it always failed, the size of the .gz file is more than 66MB, it seems to beyond the limit of github. Can I upload it via other ways?

[GitHub] [pulsar] yitian108 commented on issue #9796: Segment fault occur while test the example of asyn producer using c++

2021-03-17 Thread GitBox
yitian108 commented on issue #9796: URL: https://github.com/apache/pulsar/issues/9796#issuecomment-801670462 [pulsarTest.tar.gz](https://github.com/apache/pulsar/files/6161780/pulsarTest.tar.gz) hi, I upload the test project which built with gcc 4.8.5 --

[GitHub] [pulsar] yitian108 commented on issue #9796: Segment fault occur while test the example of asyn producer using c++

2021-03-17 Thread GitBox
yitian108 commented on issue #9796: URL: https://github.com/apache/pulsar/issues/9796#issuecomment-801581957 First, I am sorry for the confusion, my bad, actually, I just used the api setMaxPendingMessages(10) Second, I list my enviornment for your reference: - CentOS 7.6

[GitHub] [pulsar] yitian108 commented on issue #9796: Segment fault occur while test the example of asyn producer using c++

2021-03-17 Thread GitBox
yitian108 commented on issue #9796: URL: https://github.com/apache/pulsar/issues/9796#issuecomment-801012161 Unluckily, when I try to add the configuration ProducerConfiguration as above, the segment fault still persist, and a small good news, if I set the producerConf.setBlockIfQueueFull(

[GitHub] [pulsar] yitian108 commented on issue #9796: Segment fault occur while test the example of asyn producer using c++

2021-03-16 Thread GitBox
yitian108 commented on issue #9796: URL: https://github.com/apache/pulsar/issues/9796#issuecomment-800761095 I don't think it is related with python client segmentation as described above. Actually, it seems to run many times of sendAsync() method would result in crashed, and if run the me

[GitHub] [pulsar] yitian108 commented on issue #9796: Segment fault occur while test the example of asyn producer using c++

2021-03-09 Thread GitBox
yitian108 commented on issue #9796: URL: https://github.com/apache/pulsar/issues/9796#issuecomment-795042943 @BewareMyPower, sorry for delay response. As I tried above you support, there is the same error as before, and the successful times is randomly, I don't think it caused by LOG

[GitHub] [pulsar] yitian108 commented on issue #9796: Segment fault occur while test the example of asyn producer using c++

2021-03-09 Thread GitBox
yitian108 commented on issue #9796: URL: https://github.com/apache/pulsar/issues/9796#issuecomment-795039789 @BewareMyPower, sorry for delay response. As I tried above you support, there is the same error as before, and the successful times is randomly, I don't think it caused by LOG

[GitHub] [pulsar] yitian108 commented on issue #9796: Segment fault occur while test the example of asyn producer using c++

2021-03-04 Thread GitBox
yitian108 commented on issue #9796: URL: https://github.com/apache/pulsar/issues/9796#issuecomment-791089244 @BewareMyPower Hello Mr Xu, I use the const MAX_COUNT just for testing the running times just like your 'for' loop, the following code is original: ` int cnt = 0; while(