Re: Strange crash of HAProxy 1.5.1

2014-07-10 Thread Willy Tarreau
Hi Merton, On Fri, Jul 11, 2014 at 12:26:19AM +0800, Merton Lister wrote: > flags : fpu de tsc msr pae cx8 apic cmov pat clflush mmx fxsr sse sse2 ss > ht nx constant_tsc nonstop_tsc pni pclmulqdq ssse3 sse4_1 sse4_2 popcnt > tsc_deadline_timer aes hypervisor ida arat epb pln pts dtherm

Re: Strange crash of HAProxy 1.5.1

2014-07-10 Thread Manfred Hollstein
Hi Merton, thanks for providing the requested information. I've inserted some comments below. On Thu, 10 Jul 2014, 18:26:19 +0200, Merton Lister wrote: > Hi everyone, > > Thanks a lot for the suggestions and discussion. Below are some more info as > requested. Hopefully they can lead to a defini

Re: Strange crash of HAProxy 1.5.1

2014-07-10 Thread Cyril Bonté
Hi all, Le 10/07/2014 18:26, Merton Lister a écrit : Hi everyone, Thanks a lot for the suggestions and discussion. Below are some more info as requested. Hopefully they can lead to a definitive diagnosis of the problem. It looks like the "CPU=native" parameter above results in some machine

Re: Strange crash of HAProxy 1.5.1

2014-07-10 Thread Merton Lister
Hi everyone, Thanks a lot for the suggestions and discussion. Below are some more info as requested. Hopefully they can lead to a definitive diagnosis of the problem. It looks like the "CPU=native" parameter above results in some machine > code generated during compilation which cannot be execute

Re: Strange crash of HAProxy 1.5.1

2014-07-09 Thread Willy Tarreau
Hi Edwin, On Wed, Jul 09, 2014 at 02:42:43PM -0400, Edwin wrote: > I've wanted to add my 2¢. Recently, I've compiled some software (not > HAProxy however), using CPU=native as a make option, in a virtual > machine on a Citrix XenServer 6.2. Although the software was able to > compile successful

Re: Strange crash of HAProxy 1.5.1

2014-07-09 Thread Edwin
Hi, Le 2014-07-09 14:25, Willy Tarreau a écrit : Hi guys, On Wed, Jul 09, 2014 at 07:39:27PM +0200, Lukas Tribus wrote: > (gdb) run > Starting program: /usr/bin/sudo haproxy -f /etc/haproxy/haproxy.cfg -p > /var/run/haproxy.pid -sf 18904 > process 18911 is executing new program: /usr/local/sbi

Re: Strange crash of HAProxy 1.5.1

2014-07-09 Thread Willy Tarreau
Hi guys, On Wed, Jul 09, 2014 at 07:39:27PM +0200, Lukas Tribus wrote: > > (gdb) run > > Starting program: /usr/bin/sudo haproxy -f /etc/haproxy/haproxy.cfg -p > > /var/run/haproxy.pid -sf 18904 > > process 18911 is executing new program: /usr/local/sbin/haproxy-1.5.1 > > [WARNING] 189/125516 (189

RE: Strange crash of HAProxy 1.5.1

2014-07-09 Thread Lukas Tribus
Hi Merton, > I tried compiling with "make CFLAGS="-g -O0"", but it complained that > the TARGET variable must be specified. So I compiled using: > make CFLAGS="-g -O0" TARGET=linux2628 USE_OPENSSL=1. Funny enough, the > compiled binary did not crash anymore. I then tried: make CFLAGS="-g > -O0"

Re: Strange crash of HAProxy 1.5.1

2014-07-09 Thread Manfred Hollstein
Hi Merton, On Wed, 09 Jul 2014, 19:05:12 +0200, Merton Lister wrote: > Hi Lukas, > > I tried compiling with "make CFLAGS="-g -O0"", but it complained that the > TARGET variable must be specified. So I compiled using: make CFLAGS="-g > -O0" TARGET=linux2628 USE_OPENSSL=1. Funny enough, the compile

Re: Strange crash of HAProxy 1.5.1

2014-07-09 Thread Merton Lister
Hi Lukas, I tried compiling with "make CFLAGS="-g -O0"", but it complained that the TARGET variable must be specified. So I compiled using: make CFLAGS="-g -O0" TARGET=linux2628 USE_OPENSSL=1. Funny enough, the compiled binary did not crash anymore. I then tried: make CFLAGS="-g -O0" TARGET=linux2

RE: Strange crash of HAProxy 1.5.1

2014-07-07 Thread Lukas Tribus
Hi Merton, > Hi Cyril,  >  > Yes, I tried "make clean" first before compiling and still the same  > problem on 10.04 LTS. Are you compiling on the same machine that is crashing, correct? You cannot mix executables from a more recent box, because openssl, pcre headers will not match the running

Re: Strange crash of HAProxy 1.5.1

2014-07-07 Thread Merton Lister
Hi Cyril, Yes, I tried "make clean" first before compiling and still the same problem on 10.04 LTS. Below is the output of "haproxy -vv": HA-Proxy version 1.5.1 2014/06/24 Copyright 2000-2014 Willy Tarreau Build options : TARGET = linux2628 CPU = native CC = gcc CFLAGS = -O2

Re: Strange crash of HAProxy 1.5.1

2014-07-04 Thread Cyril Bonté
Hi Merton, Le 04/07/2014 18:44, Merton Lister a écrit : Hello, I just compiled and installed HAProxy 1.5.1, and it didn't give any error. However, after I restarted HAProxy using the latest binary, any request (e.g. a simple GET for robots.txt) will simply crash the HAProxy process. I'm runni

Strange crash of HAProxy 1.5.1

2014-07-04 Thread Merton Lister
Hello, I just compiled and installed HAProxy 1.5.1, and it didn't give any error. However, after I restarted HAProxy using the latest binary, any request (e.g. a simple GET for robots.txt) will simply crash the HAProxy process. I'm running it on an Ubuntu 10.04 LTS box, and I just switched back