[Varnish] #1794: varnish*-tools do not die when terminal disconnects

Varnish varnish-bugs at varnish-cache.org
Fri Oct 2 16:09:13 CEST 2015


#1794: varnish*-tools do not die when terminal disconnects
--------------------+--------------------
 Reporter:  kwy     |       Owner:
     Type:  defect  |      Status:  new
 Priority:  normal  |   Milestone:
Component:  build   |     Version:  4.0.3
 Severity:  normal  |  Resolution:
 Keywords:          |
--------------------+--------------------

Comment (by lkarsten):

 I can reproduce this on 82a09dc.

 varnishist process:
 {{{
 root at sierra:~# gdb -p 21658 --batch --eval-command="bt full"
 [New LWP 21659]
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
 0x00007fde11b9153d in nanosleep () at ../sysdeps/unix/syscall-
 template.S:81
 81      ../sysdeps/unix/syscall-template.S: No such file or directory.
 #0  0x00007fde11b9153d in nanosleep () at ../sysdeps/unix/syscall-
 template.S:81
 No locals.
 #1  0x00000000004051e0 in VTIM_sleep (t=0,01) at
 ../../lib/libvarnish/vtim.c:365
         ts = {tv_sec = 0, tv_nsec = 10000000}
 #2  0x000000000040683e in VUT_Main () at
 ../../lib/libvarnishtools/vut.c:397
         c = 0x0
         i = 0
         __func__ = "VUT_Main"
 #3  0x000000000040342f in main (argc=1, argv=0x7fffe14de6f8) at
 varnishhist.c:468
         i = 2
         colon = 0x40691d <__libc_csu_init+77>
 "H\203\303\001H9\353u\352H\203\304\b[]A\\A]A^A_Ðf.\017\037\204"
         profile = 0x4069d4 "responsetime"
         thr = 140591663175424
         fnum = 3
         cli_p = {name = 0x0, tag = SLT__Bogus, prefix = 0x0, field = 0,
 hist_low = 0, hist_high = 0}
         __func__ = "main"
 }}}

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



More information about the varnish-bugs mailing list