Mailing List Archive

#1734: segfault after vcl.state cold
#1734: segfault after vcl.state cold
---------------------------------+----------------------
Reporter: zaterio@… | Type: defect
Status: new | Priority: normal
Milestone: Varnish 4.0 release | Component: varnishd
Version: trunk | Severity: normal
Keywords: vcl state cold warm |
---------------------------------+----------------------
When I try to place a VCL in a cold state, varnish segfaults and child
uptime returns to 0.

{{{
#varnishadm vcl.list
available auto/cold 0 boot
available auto/cold 0 test01
active auto/warm 107 test92

#varnishadm vcl.load test03 /etc/varnish/default.vcl
VCL compiled.

#varnishadm vcl.list
available auto/cold 0 boot
available auto/cold 0 test01
active auto/warm 161 test92
available auto/warm 0 test03

#varnishadm vcl.use test03
VCL 'test03' now active


#varnishstat -1|grep uptime && varnishadm vcl.state test92 cold
MAIN.uptime 345 1.00 Child process uptime
MGT.uptime 904 115.75 Management
process uptime
}}}

And then after 10 segs:

{{{
#varnishstat -1
MAIN.uptime 2 1.00 Child process uptime
MGT.uptime 910 115.75 Management
process uptime

#dmesg|grep varnishd
varnishd[26270]: segfault at 8 ip 00000000004124ff sp 00007f76ddbda1b0
error 6 in varnishd (deleted)[400000+8e000]
}}}

reproducible

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1734: segfault after vcl.state cold [ In reply to ]
#1734: segfault after vcl.state cold
---------------------------------+----------------------------------
Reporter: zaterio@… | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Varnish 4.0 release
Component: varnishd | Version: trunk
Severity: normal | Resolution:
Keywords: vcl state cold warm |
---------------------------------+----------------------------------

Comment (by zaterio@…):

varnish Version:
{{{
# varnishd -V
varnishd (varnish-trunk revision d0012bd)
Copyright (c) 2006 Verdens Gang AS
Copyright (c) 2006-2015 Varnish Software AS
}}}

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1734: segfault after vcl.state cold [ In reply to ]
#1734: segfault after vcl.state cold
---------------------------------+----------------------------------
Reporter: zaterio@… | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Varnish 4.0 release
Component: varnishd | Version: trunk
Severity: normal | Resolution:
Keywords: vcl state cold warm |
---------------------------------+----------------------------------

Comment (by phk):

Please capture output of panic.show for us if you can.

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1734: segfault after vcl.state cold [ In reply to ]
#1734: segfault after vcl.state cold
---------------------------------+----------------------------------
Reporter: zaterio@… | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Varnish 4.0 release
Component: varnishd | Version: trunk
Severity: normal | Resolution:
Keywords: vcl state cold warm |
---------------------------------+----------------------------------

Comment (by zaterio@…):

{{{
varnishadm panic.show
Child has not panicked or panic has been cleared
Command failed with error code 300
}}}

no VMODS.

email with config send.

Regards.

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1734: segfault after vcl.state cold [ In reply to ]
#1734: segfault after vcl.state cold
---------------------------------+----------------------------------
Reporter: zaterio@… | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Varnish 4.0 release
Component: varnishd | Version: trunk
Severity: normal | Resolution:
Keywords: vcl state cold warm |
---------------------------------+----------------------------------

Comment (by phk):

Is this still reproducible ?

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1734: segfault after vcl.state cold [ In reply to ]
#1734: segfault after vcl.state cold
---------------------------------+----------------------------------
Reporter: zaterio@… | Owner:
Type: defect | Status: closed
Priority: normal | Milestone: Varnish 4.0 release
Component: varnishd | Version: trunk
Severity: normal | Resolution: worksforme
Keywords: vcl state cold warm |
---------------------------------+----------------------------------
Changes (by phk):

* status: new => closed
* resolution: => worksforme


Comment:

timed out

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1734: segfault after vcl.state cold [ In reply to ]
#1734: segfault after vcl.state cold
---------------------------------+----------------------------------
Reporter: zaterio@… | Owner:
Type: defect | Status: closed
Priority: normal | Milestone: Varnish 4.0 release
Component: varnishd | Version: trunk
Severity: normal | Resolution: worksforme
Keywords: vcl state cold warm |
---------------------------------+----------------------------------

Comment (by zaterio@…):

I can confirm is fixed (test in 5d099e9)

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs