[Varnish] #936: SIGABRT in VRT_synth_page

Varnish varnish-bugs at varnish-cache.org
Wed Jun 8 23:46:01 CEST 2011


#936: SIGABRT in VRT_synth_page
-------------------+--------------------------------------------------------
 Reporter:  kwy    |        Type:  defect  
   Status:  new    |    Priority:  normal  
Milestone:         |   Component:  varnishd
  Version:  trunk  |    Severity:  normal  
 Keywords:         |  
-------------------+--------------------------------------------------------
 Hi,

 the following vcl, possumly erroneous, compiles:

 sub vcl_recv {

    synthetic "HELLOO";
    return (error);
 }

 and given a request, fails with SIGABRT.

 If I were to guess, it is likely due to the synthetic in vcl_recv having
 no object to attach itself to. But I am just guessing. Backtrace
 follows;this is reproducable on demand.


 0x00007f32d43c9f93 in poll () from /lib/libc.so.6
 (gdb) c
 Continuing.

 Program received signal SIGABRT, Aborted.
 [Switching to Thread 0x7f32457cd700 (LWP 31169)]
 0x00007f32d4323a75 in raise () from /lib/libc.so.6
 (gdb) where
 #0  0x00007f32d4323a75 in raise () from /lib/libc.so.6
 #1  0x00007f32d43275c0 in abort () from /lib/libc.so.6
 #2  0x0000000000436b9c in pan_ic (func=0x475247 "VRT_synth_page",
 file=0x474fd5 "cache_vrt.c", line=403,
     cond=0x47501d "(sp->obj) != NULL", err=0, xxx=0) at cache_panic.c:358
 #3  0x00000000004413aa in VRT_synth_page (sp=0x7f32cd6a4008, flags=0,
 str=0x7f324b7db886 "HELLOO")
     at cache_vrt.c:403
 #4  0x00007f324b7db224 in ?? ()
 #5  0x0000000000000000 in ?? ()

-- 
Ticket URL: <http://www.varnish-cache.org/trac/ticket/936>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list