- **status**: unassigned --> accepted
- **assigned_to**: Vu Minh Nguyen


---

** [tickets:#2546] log: debug assertion failed in log agent during scale-in**

**Status:** accepted
**Milestone:** 5.17.10
**Created:** Tue Aug 08, 2017 07:56 AM UTC by Vu Minh Nguyen
**Last Updated:** Tue Aug 08, 2017 07:56 AM UTC
**Owner:** Vu Minh Nguyen


During scaling in, LOG application got coredump due to assertion failed in log 
agent:

> 000000000000320e <LogClient::RestoreRefCounter(RefCounterDegree, bool)+0x18e>:
> _ZN9LogClient17RestoreRefCounterE16RefCounterDegreeb():
> /src/log/agent/lga_client.cc:139 (discriminator 1)
>     320e:     48 8d 0d 8b a7 00 00    lea    0xa78b(%rip),%rcx        # d9a0 
> <LogClient::RestoreRefCounter(RefCounterDegree, bool)::__PRETTY_FUNCTION__>

Above disassembly points to this code line `assert(ref_counter_ >= -1);`

    :::C++
    void LogClient::RestoreRefCounter(RefCounterDegree value, bool updated) {
      TRACE_ENTER();
      if (updated == false) return;
      ScopeLock scopeLock(ref_counter_mutex_);
      ref_counter_ -= value;
      TRACE("%s: value = %d", __func__, ref_counter_);
      // Don't expect the @ref_counter_ is less than (-1)
      assert(ref_counter_ >= -1);
    }
    



---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to