[Varnish] #163: killing telnet session crashes varnishd

Varnish varnish-bugs at projects.linpro.no
Fri Sep 28 11:38:01 CEST 2007

#163: killing telnet session crashes varnishd
 Reporter:  henning   |       Owner:  phk                                  
     Type:  defect    |      Status:  new                                  
 Priority:  normal    |   Milestone:                                       
Component:  varnishd  |     Version:  trunk                                
 Severity:  normal    |    Keywords:  hup, console, telnet, assert, mgt_cli
 varnish built from r2043 on debian etch x86_64 running Intel Xeon

 Interrupting a telnet session to the management console
 f.ex by kill -HUP !`pidof telnet` or just closing the terminal window on a
 remote client causes varnishd to die:

 Assert error in mgt_cli_callback(), mgt_cli.c line 352:
   Condition((close(cp->fdo)) == 0) not true.
   errno = 9 (Bad file descriptor)

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

More information about the varnish-bugs mailing list