[Varnish] #1166: Varnishadm throws an assert
Varnish
varnish-bugs at varnish-cache.org
Wed Oct 17 10:25:55 CEST 2012
#1166: Varnishadm throws an assert
------------------------+-----------------------
Reporter: rj@… | Owner:
Type: defect | Status: reopened
Priority: normal | Milestone:
Component: varnishadm | Version: 3.0.2
Severity: normal | Resolution:
Keywords: varnishadm |
------------------------+-----------------------
Changes (by lampe):
* status: closed => reopened
* resolution: worksforme =>
Comment:
Hi.
I get the same assert when resizing the window with the running
varnishadm. varnishadm receives a SIGWINCH signal and aborts:
{{{
varnish> Assert error in pass(), varnishadm.c line 226:
Condition(i > 0) not true.
errno = 4 (Interrupted system call)
Aborted
}}}
Here's the strace output:
{{{
write(1, "varnish> ", 9varnish> ) = 9
poll([{fd=4, events=POLLIN}, {fd=0, events=POLLIN}], 2, -1) = ?
ERESTART_RESTARTBLOCK (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
rt_sigprocmask(SIG_BLOCK, [WINCH], [WINCH], 8) = 0
rt_sigprocmask(SIG_BLOCK, [WINCH], [WINCH], 8) = 0
ioctl(0, TIOCGWINSZ, {ws_row=50, ws_col=131, ws_xpixel=0, ws_ypixel=0}) =
0
rt_sigprocmask(SIG_SETMASK, [WINCH], NULL, 8) = 0
rt_sigaction(SIGWINCH, {SIG_DFL, [WINCH], SA_RESTORER|SA_RESTART,
0x7f28c82b0230}, {0x7f28c8cd50d0, [WINCH], SA_RESTORER|SA_RESTART,
0x7f28c82b0230}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [WINCH], NULL, 8) = 0
kill(0, SIGWINCH) = 0
rt_sigreturn(0) = -1 EINTR (Interrupted system
call)
--- SIGWINCH (Window changed) @ 0 (0) ---
write(2, "Assert error in pass(), varnisha"..., 76Assert error in pass(),
varnishadm.c line 226:
Condition(i > 0) not true.
) = 76
write(2, " errno = 4 (Interrupted system "..., 38 errno = 4 (Interrupted
system call)
) = 38
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(23330, 23330, SIGABRT) = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++
Aborted
}}}
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1166#comment:3>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list