From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 1 Jun 2018 19:23:00 +0300 From: Konstantin Osipov Subject: Re: [PATCH v2] vinyl: fix false-positive assertion at exit Message-ID: <20180601162300.GA17835@atlas> References: <20180530185336.GE18850@atlas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: To: Vladimir Davydov Cc: tarantool-patches@freelists.org List-ID: * Vladimir Davydov [18/05/31 13:04]: > latch_destroy() and fiber_cond_destroy() are basically no-op. All they > do is check that latch/cond is not used. When a global latch or cond > object is destroyed at exit, it may still have users and this is OK as > we don't stop fibers at exit. In vinyl this results in the following > false-positive assertion failures: > > src/latch.h:81: latch_destroy: Assertion `l->owner == NULL' failed. > > src/fiber_cond.c:49: fiber_cond_destroy: Assertion `rlist_empty(&c->waiters)' failed. > Pushed. -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov