Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 925109

Summary: net-proxy/haproxy (all versions) fails tests on arm: HTTP header is incomplete (SIGBUS)
Product: Gentoo Linux Reporter: matoro <matoro_gentoo>
Component: Current packagesAssignee: Christian Ruppert (idl0r) <idl0r>
Status: CONFIRMED ---    
Severity: normal CC: arm, bertrand, matoro_gentoo
Priority: Normal    
Version: unspecified   
Hardware: ARM   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 371525, 900737    
Attachments: build.log and emerge --info

Description matoro archtester 2024-02-20 22:06:36 UTC
Unaligned access is fatal on 32-bit ARM - but more importantly is UNDEFINED BEHAVIOR on all platforms.  A handful of haproxy unit tests expose a codepath committing unaligned access, which crashes on arm with SIGBUS.

########################## Gathering results ##########################
###### Test case: reg-tests/http-rules/normalize_uri.vtc ######
## test results in: "/tmp/haregtests-2024-02-20_21-50-42.hA9wu7/vtc.1171.0a6ce87f"
---- s1    HTTP header is incomplete
---- c2    HTTP header is incomplete
---- h1    Bad exit status: 0x0007 exit 0x0 signal 7 core 0
###### Test case: reg-tests/cache/caching_rules.vtc ######
## test results in: "/tmp/haregtests-2024-02-20_21-50-42.hA9wu7/vtc.1171.133a5cbe"
---- c1    HTTP header is incomplete
---- s1    HTTP header is incomplete
---- h1    Bad exit status: 0x0007 exit 0x0 signal 7 core 0
###### Test case: reg-tests/http-rules/h1or2_to_h1c.vtc ######
## test results in: "/tmp/haregtests-2024-02-20_21-50-42.hA9wu7/vtc.1171.10ced99e"
---- c1h1  HTTP header is incomplete
---- h1    Bad exit status: 0x0007 exit 0x0 signal 7 core 0
###### Test case: reg-tests/cache/if-none-match.vtc ######
## test results in: "/tmp/haregtests-2024-02-20_21-50-42.hA9wu7/vtc.1171.608dda7a"
---- c1    HTTP header is incomplete
---- h1    Bad exit status: 0x0007 exit 0x0 signal 7 core 0
###### Test case: reg-tests/cache/post_on_entry.vtc ######
## test results in: "/tmp/haregtests-2024-02-20_21-50-42.hA9wu7/vtc.1171.20ad8bdc"
---- s1    HTTP header is incomplete
---- c1    HTTP header is incomplete
---- h1    Bad exit status: 0x0007 exit 0x0 signal 7 core 0
###### Test case: reg-tests/cache/vary.vtc ######
## test results in: "/tmp/haregtests-2024-02-20_21-50-42.hA9wu7/vtc.1171.78b99caa"
---- s1    HTTP header is incomplete
---- c1    HTTP header is incomplete
---- h1    Bad exit status: 0x0007 exit 0x0 signal 7 core 0
###### Test case: reg-tests/cache/vary_accept_encoding.vtc ######
## test results in: "/tmp/haregtests-2024-02-20_21-50-42.hA9wu7/vtc.1171.49753b70"
---- c1    HTTP header is incomplete
---- s1    HTTP header is incomplete
---- h1    Bad exit status: 0x0007 exit 0x0 signal 7 core 0
###### Test case: reg-tests/http-rules/path_and_pathq.vtc ######
## test results in: "/tmp/haregtests-2024-02-20_21-50-42.hA9wu7/vtc.1171.538b6c8c"
---- c1    HTTP header is incomplete
---- h1    Bad exit status: 0x0007 exit 0x0 signal 7 core 0
###### Test case: reg-tests/cache/expires.vtc ######
## test results in: "/tmp/haregtests-2024-02-20_21-50-42.hA9wu7/vtc.1171.7353ad02"
---- c1    HTTP header is incomplete
---- h1    Bad exit status: 0x0007 exit 0x0 signal 7 core 0
###### Test case: reg-tests/cache/basic.vtc ######
## test results in: "/tmp/haregtests-2024-02-20_21-50-42.hA9wu7/vtc.1171.380b5d3a"
---- c1    HTTP header is incomplete
---- h1    Bad exit status: 0x0007 exit 0x0 signal 7 core 0
###### Test case: reg-tests/cache/sample_fetches.vtc ######
## test results in: "/tmp/haregtests-2024-02-20_21-50-42.hA9wu7/vtc.1171.02b1c365"
---- c1    HTTP header is incomplete
---- h1    Bad exit status: 0x0007 exit 0x0 signal 7 core 0
###### Test case: reg-tests/cache/if-modified-since.vtc ######
## test results in: "/tmp/haregtests-2024-02-20_21-50-42.hA9wu7/vtc.1171.2d902689"
---- s1    HTTP header is incomplete
---- c1    HTTP header is incomplete
---- h1    Bad exit status: 0x0007 exit 0x0 signal 7 core 0
make: *** [Makefile:1125: reg-tests] Error 1

Reproducible: Always
Comment 1 matoro archtester 2024-02-20 22:07:15 UTC
Created attachment 885552 [details]
build.log and emerge --info