Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925109 - net-proxy/haproxy (all versions) fails tests on arm: HTTP header is incomplete (SIGBUS)
Summary: net-proxy/haproxy (all versions) fails tests on arm: HTTP header is incomplet...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal
Assignee: Christian Ruppert (idl0r)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: unaligned-access 900737
  Show dependency tree
 
Reported: 2024-02-20 22:06 UTC by matoro
Modified: 2024-02-21 00:39 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (file_925109.txt,311.79 KB, text/plain)
2024-02-20 22:07 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
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