[Varnish] #376: Varnish core-dumps on ctrl-c

Varnish varnish-bugs at projects.linpro.no
Fri Nov 14 14:32:01 CET 2008

#376: Varnish core-dumps on ctrl-c
 Reporter:  anders    |       Owner:  phk  
     Type:  defect    |      Status:  new  
 Priority:  normal    |   Milestone:       
Component:  varnishd  |     Version:  trunk
 Severity:  normal    |    Keywords:       
 Running Varnish trunk 3390, it core-dumps if I press control+c:

  Missing errorhandling code in mgt_vcc_del(), mgt_vcc.c line 314:
    Condition((unlink(vp->fname)) == 0) not true.
    errno = 2 (No such file or directory)


 (gdb) bt
 #0  0x0000000800da4dec in kill () from /lib/libc.so.7
 #1  0x0000000800da3c5b in abort () from /lib/libc.so.7
 #2  0x000000080067342c in lbv_assert_default (
     func=0xf07d <Address 0xf07d out of bounds>,
     file=0x6 <Address 0x6 out of bounds>, line=0,
     cond=0x800da4e0c "r\001ÃH\213\r\n\230\022", err=2, xxx=-8472)
     at assert.c:61
 #3  0x000000000042aee8 in mgt_vcc_del (vp=0x800f200e0) at mgt_vcc.c:314
 #4  0x000000000042c00b in mgt_vcc_atexit () at mgt_vcc.c:459
 #5  0x0000000800d86824 in __cxa_finalize () from /lib/libc.so.7
 #6  0x0000000800d38b17 in exit () from /lib/libc.so.7
 #7  0x0000000000426c85 in mgt_sigint (e=Variable "e" is not available.
 ) at mgt_child.c:492
 #8  0x00000008006760fb in vev_sched_signal (evb=0x800f16100) at vev.c:437
 #9  0x00000008006766c8 in vev_schedule (evb=0x800f16100) at vev.c:365
 #10 0x0000000000427941 in mgt_run (dflag=2, T_arg=Variable "T_arg" is not
 ) at mgt_child.c:560
 #11 0x0000000000431dfa in main (argc=41, argv=0x7fffffffe580) at

 This is in FreeBSD/amd64 7.0-RELEASE.

Ticket URL: <http://varnish.projects.linpro.no/ticket/376>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list