[Varnish] #1628: Assert error in VBO_DerefBusyObj()

Varnish varnish-bugs at varnish-cache.org
Mon Jan 19 16:38:37 CET 2015


#1628: Assert error in VBO_DerefBusyObj()
----------------------+-----------------------------------------------
 Reporter:  Jay       |       Owner:  Martin Blix Grydeland <martin@…>
     Type:  defect    |      Status:  closed
 Priority:  normal    |   Milestone:  Later
Component:  varnishd  |     Version:  trunk
 Severity:  normal    |  Resolution:  fixed
 Keywords:            |
----------------------+-----------------------------------------------
Changes (by Lasse Karstensen <lkarsten@…>):

 * resolution:  worksforme => fixed


Comment:

 In [653a9ea1af81fdcdf16c34f7d910da6a77400132]:
 {{{
 #!CommitTicketReference repository=""
 revision="653a9ea1af81fdcdf16c34f7d910da6a77400132"
 Keep the fetch thread busyobj pointer-ref separate from the client thread
 pointer-ref, and deref it on thread scheduling failure.

 The code tried to deref the same pointer twice, which failed because
 the VBO_DerefBusyobj() will clear the pointer when called. Separating
 allows calling VBO_DerefBusyobj() for each of them.

 Fixes: #1628
 (cherry picked from commit 7746e30e2c53cf55f0f2525bb3f49c9ee83e9611)

 Conflicts:
         bin/varnishd/cache/cache_fetch.c
 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1628#comment:16>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list