You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/07/18 02:13:01 UTC

[GitHub] [pulsar] klwilson227 commented on issue #7565: PulsarClient-cpp segv after close() method is called.

klwilson227 commented on issue #7565:
URL: https://github.com/apache/pulsar/issues/7565#issuecomment-660407949


   With sleep in ClientConnection::Close() then After opening a consumer, and receiving messages. Close the consumer and client. 
   
   With the sleep in place the timers should pop and handlers waiting at mutex. When sleep releases the close completes and destroys the timers and then the handlers attempt to reset timers and the core dumps occur.
   
   
   
   Sent from my iPhone
   
   > On Jul 16, 2020, at 5:55 PM, Matteo Merli <no...@github.com> wrote:
   > 
   > 
   > @klwilson227 Do you have a simple way to reproduce this (even if it involves putting sleep() calls in the close()?
   > 
   > —
   > You are receiving this because you were mentioned.
   > Reply to this email directly, view it on GitHub, or unsubscribe.
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org