GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Tags · rmoore920/pulsar-client-cpp

Tags

v3.1.1-candidate-2

Toggle v3.1.1-candidate-2's commit message
Release v3.1.1-candidate-2

  • Jan 23, 2023
  • 56bf7bf
  • zip
  • tar.gz

v3.1.1-candidate-1

Toggle v3.1.1-candidate-1's commit message
Release v3.1.1-candidate-1

  • Jan 19, 2023
  • 24887d9
  • zip
  • tar.gz

v3.1.0

Toggle v3.1.0's commit message
Release v3.1.0

  • Dec 12, 2022
  • f9cca17
  • zip
  • tar.gz

v3.1.0-candidate-3

Toggle v3.1.0-candidate-3's commit message
Release v3.1.0-candidate-3

  • Dec 1, 2022
  • f9cca17
  • zip
  • tar.gz

v3.1.0-candidate-2

Toggle v3.1.0-candidate-2's commit message
Release v3.1.0-candidate-2

  • Nov 28, 2022
  • 0d62e6b
  • zip
  • tar.gz

v3.1.0-candidate-1

Toggle v3.1.0-candidate-1's commit message
Fix segmentation fault during the destruction of ConsumerImpl (apache…

…#121)

### Motivation

When I ran the tests of Python wrapper in my local env, I observed a
segmentation fault. See the key stacktrace:

```
apache#3  0x00007ffff6d742c5 in std::unique_lock<std::mutex>::lock() () from /usr/local/lib/python3.8/dist-packages/_pulsar.cpython-38-x86_64-linux-gnu.so
apache#4  0x00007ffff6d72523 in std::unique_lock<std::mutex>::unique_lock(std::mutex&) ()
   from /usr/local/lib/python3.8/dist-packages/_pulsar.cpython-38-x86_64-linux-gnu.so
apache#5  0x00007ffff67de193 in pulsar::ClientImpl::newRequestId (this=0x0) at /home/xyz/github.com/apache/pulsar-client-cpp/lib/ClientImpl.cc:644
apache#6  0x00007ffff685d2c2 in pulsar::ConsumerImpl::~ConsumerImpl (this=0x7fff9800f9e0, __in_chrg=<optimized out>)
    at /home/xyz/github.com/apache/pulsar-client-cpp/lib/ConsumerImpl.cc:116
```

In the destructor of `ConsumerImpl`, `client->newRequestId` might be
called. However, `client` might be a null pointer because it's returned
by `std::weak_ptr::lock()`.

### Modifications

Add null check to avoid the segfault.

(cherry picked from commit 9f9314a)
  • Nov 23, 2022
  • 3b5aff7
  • zip
  • tar.gz

v3.0.0

Toggle v3.0.0's commit message
Release v3.0.0

  • Oct 28, 2022
  • f70aa89
  • zip
  • tar.gz

v3.0.0-candidate-3

Toggle v3.0.0-candidate-3's commit message
Release v3.0.0-candidate-3

  • Oct 21, 2022
  • f70aa89
  • zip
  • tar.gz

v3.0.0-candidate-2

Toggle v3.0.0-candidate-2's commit message
Release v3.0.0-candidate-2

  • Oct 12, 2022
  • d9706b3
  • zip
  • tar.gz

v3.0.0-candidate-1

Toggle v3.0.0-candidate-1's commit message
Release v3.0.0-candidate-1

  • Oct 11, 2022
  • 1eb861f
  • zip
  • tar.gz
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.