Bug#921981: haproxy: Workers segmentation fault if unique-id-header is used

2019-02-11 Thread Vincent Bernat
 ❦ 10 février 2019 20:53 +00, Tim Duesterhus :

> please see this issue I already filed upstream:
>
> https://github.com/haproxy/haproxy/issues/40
>
> I'm including a short summary below:
>
> If I run haproxy with the attached reproducer configuration and
> direct concurrent requests to it then usually the worker process
> segfaults.
>
> The issue is a regression in 1.8.18 and already fixed upstream with this 
> commit:
>
> http://git.haproxy.org/?p=haproxy.git;a=commit;h=09c4bab41188c13e7a9227f8baaff230ebdd0875
> https://github.com/haproxy/haproxy/commit/09c4bab41188c13e7a9227f8baaff230ebdd0875
>
> Consider backporting it because of the impending soft freeze of Debian
> buster.

1.8.19 will be packaged shortly.
-- 
Make it right before you make it faster.
- The Elements of Programming Style (Kernighan & Plauger)


signature.asc
Description: PGP signature


Bug#921981: haproxy: Workers segmentation fault if unique-id-header is used

2019-02-10 Thread Tim Duesterhus
Package: haproxy
Version: 1.8.18-1~bpo9+1
Severity: important
Tags: patch upstream

Dear Maintainer,

please see this issue I already filed upstream:

https://github.com/haproxy/haproxy/issues/40

I'm including a short summary below:

If I run haproxy with the attached reproducer configuration and
direct concurrent requests to it then usually the worker process
segfaults.

The issue is a regression in 1.8.18 and already fixed upstream with this commit:

http://git.haproxy.org/?p=haproxy.git;a=commit;h=09c4bab41188c13e7a9227f8baaff230ebdd0875
https://github.com/haproxy/haproxy/commit/09c4bab41188c13e7a9227f8baaff230ebdd0875

Consider backporting it because of the impending soft freeze of Debian buster.

-- System Information:
Debian Release: 9.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C 
(charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages haproxy depends on:
ii  adduser  3.115
ii  dpkg 1.18.25
ii  init-system-helpers  1.48
ii  libc62.24-11+deb9u3
ii  liblua5.3-0  5.3.3-1
ii  libpcre2-8-0 10.22-3
ii  libssl1.11.1.0j-1~deb9u1
ii  libsystemd0  232-25+deb9u8
ii  lsb-base 9.20161125
ii  zlib1g   1:1.2.8.dfsg-5

haproxy recommends no packages.

Versions of packages haproxy suggests:
pn  haproxy-doc  
pn  vim-haproxy  

-- Configuration Files:
/etc/haproxy/haproxy.cfg changed:
defaults
unique-id-format %{+X}o\ FOO-%Ts%rt
frontend fe_http
mode http
bind *:8080
unique-id-header X-Req-ID

default_backend be_http
backend be_http
mode http
http-request set-header Host example.com
server example example.com:80


-- no debconf information