haproxy segfaults with default settings

Bug #1376685 reported by Sergey Kolekonov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
Critical
Aleksander Mogylchenko

Bug Description

haproxy is broken on CentOS (fuel-master repo, haproxy-1.5.3-3.mira2.x86_64.rpm) and crashes with "Segmentation fault" error.
Strace log:
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\16\0\0\0\16\0\0\0\0"..., 4096) = 890
close(3) = 0
munmap(0x7f4a537d5000, 4096) = 0
open("/etc/haproxy/haproxy.cfg", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=563, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4a537d5000
read(3, "global\n daemon \n group hapro"..., 4096) = 563
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

It seems like it crashes on parsing a configuration file (both on default and Fuel's one)

Tags: mos-linux juno
description: updated
description: updated
Changed in mos:
status: New → Incomplete
status: Incomplete → Confirmed
Changed in mos:
importance: Undecided → Critical
assignee: nobody → MOS Linux (mos-linux)
tags: added: mos-linux
tags: added: juno
Changed in mos:
assignee: MOS Linux (mos-linux) → Aleksander Mogylchenko (amogylchenko)
Revision history for this message
Aleksander Mogylchenko (amogylchenko) wrote :

This was happening with old patch-set. Package was already updated since then - I'll check with OSCI team to ensure that new version is synced to all mirrors.

Revision history for this message
Aleksander Mogylchenko (amogylchenko) wrote :

Since this bug affects both Debain and CentOS versions, I've updated original bug with new packages, that include bugfixe:
https://bugs.launchpad.net/fuel/+bug/1346365

Changed in mos:
status: Confirmed → Fix Committed
Changed in mos:
status: Fix Committed → In Progress
summary: - haproxy is broken on CentOS
+ haproxy is broken
summary: - haproxy is broken
+ haproxy segfaults with default settings
Revision history for this message
OSCI Robot (oscirobot) wrote :
Revision history for this message
OSCI Robot (oscirobot) wrote :
Revision history for this message
OSCI Robot (oscirobot) wrote :

Package haproxy has been built from changeset: http://gerrit.mirantis.com/29805
RPM Repository URL: http:///osci-obs.vm.mirantis.net:82/centos-fuel-6.0-stable/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package haproxy has been built from changeset: http://gerrit.mirantis.com/29806
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0-stable/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package haproxy has been built from changeset: http://gerrit.mirantis.com/29809
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-master-29809/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package haproxy has been built from changeset: http://gerrit.mirantis.com/29810
RPM Repository URL: http:///osci-obs.vm.mirantis.net:82/centos-fuel-master-29810/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package haproxy has been built from changeset: http://gerrit.mirantis.com/29809
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-master/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package haproxy has been built from changeset: http://gerrit.mirantis.com/29810
RPM Repository URL: http:///osci-obs.vm.mirantis.net:82/centos-fuel-master/centos

Changed in mos:
status: In Progress → Fix Committed
tags: added: on-verification
Revision history for this message
Alexander Kurenyshev (akurenyshev) wrote :

Verified on:
{"build_id": "2014-12-18_01-32-01",
"ostf_sha": "a9afb68710d809570460c29d6c3293219d3624d4",
"build_number": "56",
"auth_required": true, "api": "1.0",
"nailgun_sha": "5f91157daa6798ff522ca9f6d34e7e135f150a90",
"production": "docker",
"fuelmain_sha": "45caacadb878abfbd9d60e134d72229698b469c9",
"astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91",
"feature_groups": ["mirantis"], "release": "6.0",
"release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-12-18_01-32-01",
"ostf_sha": "a9afb68710d809570460c29d6c3293219d3624d4",
"build_number": "56",
"api": "1.0",
"nailgun_sha": "5f91157daa6798ff522ca9f6d34e7e135f150a90",
"production": "docker",
"fuelmain_sha": "45caacadb878abfbd9d60e134d72229698b469c9",
"astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91",
"feature_groups": ["mirantis"], "release": "6.0",
"fuellib_sha": "73332192a257ea02c40a39885c502ad1ebdf3eda"}}}, "fuellib_sha": "73332192a257ea02c40a39885c502ad1ebdf3eda"}

HAproxy works as expected. No faults.

Changed in mos:
status: Fix Committed → Fix Released
tags: removed: on-verification
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.