[Varnish] #548: Sig 11 crash in trunk 4199

Varnish varnish-bugs at projects.linpro.no
Wed Sep 9 12:53:02 CEST 2009


#548: Sig 11 crash in trunk 4199
---------------------------------------------+------------------------------
 Reporter:  anders                           |        Owner:  phk                
     Type:  defect                           |       Status:  new                
 Priority:  normal                           |    Milestone:  Varnish 2.1 release
Component:  varnishd                         |      Version:  trunk              
 Severity:  normal                           |   Resolution:                     
 Keywords:  sig 11 segmentation fault trunk  |  
---------------------------------------------+------------------------------
Comment (by anders):

 Some lines around line 506:

 {{{
         if (oc != NULL) {
                 o = oc->obj;
                 CHECK_OBJ_NOTNULL(o, OBJECT_MAGIC);

                 /* We found an object we like */
                 o->refcnt++;
                 if (o->hits < INT_MAX)
                         o->hits++;
                 assert(oh->refcnt > 1);
                 Lck_Unlock(&oh->mtx);
                 assert(hash->deref(oh));
                 *poh = oh;
                 return (oc);
         }
 }}}

 It is "CHECK_OBJ_NOTNULL(o, OBJECT_MAGIC)" which is line 506.

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/548#comment:2>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list