[Varnish] #1026: varnishd immediate segfault on armv7, seeminly strict-aliasing violations

Varnish varnish-bugs at varnish-cache.org
Tue Oct 4 15:32:34 CEST 2011


#1026: varnishd immediate segfault on armv7, seeminly strict-aliasing violations
--------------------------------------+-------------------------------------
 Reporter:  hno                       |        Type:  defect  
   Status:  new                       |    Priority:  normal  
Milestone:                            |   Component:  varnishd
  Version:  3.0.0                     |    Severity:  normal  
 Keywords:  strict-aliasing segfault  |  
--------------------------------------+-------------------------------------

Comment(by hno):

 And this is the gcc warnings from 3.0.1: (I accidenlty pasted the same
 warnings from 2.1.5 earlier)

 {{
 cache_ban.c: In function 'ban_CheckLast':
 cache_ban.c:157:6: warning: dereferencing type-punned pointer might break
 strict-aliasing rules [-Wstrict-aliasing]
 cache_ban.c: In function 'BAN_TailRef':
 cache_ban.c:180:6: warning: dereferencing type-punned pointer might break
 strict-aliasing rules [-Wstrict-aliasing]
 cache_ban.c: In function 'BAN_Insert':
 cache_ban.c:405:7: warning: dereferencing type-punned pointer might break
 strict-aliasing rules [-Wstrict-aliasing]
 cache_ban.c: In function 'ban_lurker_work':
 cache_ban.c:764:6: warning: dereferencing type-punned pointer might break
 strict-aliasing rules [-Wstrict-aliasing]
 }}

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




More information about the varnish-bugs mailing list