Mailing List Archive

#1863: Assert error in child_sigsegv_handler()
#1863: Assert error in child_sigsegv_handler()
-------------------+----------------------
Reporter: batty | Type: defect
Status: new | Priority: normal
Milestone: | Component: varnishd
Version: 4.1.1 | Severity: major
Keywords: |
-------------------+----------------------
Upgraded from Varnish 3.0.6 to 4.1.1 late last week on a tier of three
servers. We use BANs quite a bit. On one of the servers in the tier,
we've received this assert twice.

{{{


Last panic at: Mon, 29 Feb 2016 15:12:04 GMT

"Assert error in child_sigsegv_handler(), mgt/mgt_child.c line 282:

Condition(Segmentation fault by instruction at 0x28) not true.

thread = (ban-lurker)

version = varnish-4.1.1 revision 66bb824

ident =
Linux,2.6.32-358.23.2.el6.x86_64,x86_64,-junix,-smalloc,-smalloc,-hcritbit,epoll

Backtrace:

0x4328b3: varnishd() [0x4328b3]

0x451f09: varnishd() [0x451f09]

0x7f7aa70277e0: libpthread.so.0(+0xf7e0) [0x7f7aa70277e0]

0x417dc5: varnishd(ban_lurker+0x6b5) [0x417dc5]

0x448527: varnishd() [0x448527]

0x7f7aa701faa1: libpthread.so.0(+0x7aa1) [0x7f7aa701faa1]

0x7f7aa6d6893d: libc.so.6(clone+0x6d) [0x7f7aa6d6893d]



"
}}}

I'm working with our operations team to try to enable core dumps and get a
back trace.

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1863>
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: #1863: Assert error in child_sigsegv_handler() [ In reply to ]
#1863: Assert error in child_sigsegv_handler()
----------------------+--------------------
Reporter: batty | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: 4.1.1
Severity: major | Resolution:
Keywords: |
----------------------+--------------------

Comment (by batty):

FYI, this server is in the same tier as the server in [ticket:1864 ticket
1864]. It just received a different ban assert. The errors may (or may
not) be related.

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1863#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: #1863: Assert error in child_sigsegv_handler() [ In reply to ]
#1863: Assert error in child_sigsegv_handler()
----------------------+-----------------------------------------------
Reporter: batty | Owner: Martin Blix Grydeland <martin@…>
Type: defect | Status: closed
Priority: normal | Milestone:
Component: varnishd | Version: 4.1.1
Severity: major | Resolution: fixed
Keywords: |
----------------------+-----------------------------------------------
Changes (by Martin Blix Grydeland <martin@…>):

* status: new => closed
* owner: => Martin Blix Grydeland <martin@…>
* resolution: => fixed


Comment:

In [9b31cf338e93418571bfa6114fbb197143811493]:
{{{
#!CommitTicketReference repository=""
revision="9b31cf338e93418571bfa6114fbb197143811493"
Don't reset the oc->ban pointer from BAN_CheckObject

Resetting the pointer would race against the ban lurker moving the OC
in the ban list and any object event listeners wanting to see the new
ban timestamp on OEV_BANCHG.

Fixes: #1863
}}}

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1863#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: #1863: Assert error in child_sigsegv_handler() [ In reply to ]
#1863: Assert error in child_sigsegv_handler()
----------------------+-----------------------------------------------
Reporter: batty | Owner: Martin Blix Grydeland <martin@…>
Type: defect | Status: closed
Priority: normal | Milestone:
Component: varnishd | Version: 4.1.1
Severity: major | Resolution: fixed
Keywords: |
----------------------+-----------------------------------------------

Comment (by Martin Blix Grydeland <martin@…>):

In [ea2d74c4ac20a2182ad8e717076ad912fe2b5994]:
{{{
#!CommitTicketReference repository=""
revision="ea2d74c4ac20a2182ad8e717076ad912fe2b5994"
Don't reset the oc->ban pointer from BAN_CheckObject

Resetting the pointer would race against the ban lurker moving the OC
in the ban list and any object event listeners wanting to see the new
ban timestamp on OEV_BANCHG.

Fixes: #1863
}}}

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1863#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