Re: Segmentation fault in 1.6.6

2016-07-20 Thread Willy Tarreau
On Mon, Jul 18, 2016 at 05:05:03PM +0200, Pavlos Parissis wrote:
> On 18/07/2016 04:59 , Micha?? ??owicki wrote:
> > Will do but SSL is terminated before reaching HAProxy. Still possible it 
> > could
> > affect us?
> > 
> 
> I don't think so, but you should use 1.6.7 anyway in order to avoid surprises
> when you enable SSL.

This one is strange indeed, and looks like a memory corruption issue. I'm
willing to check it closer but please pass on 1.6.7 to rule out any odd
bug which would be already fixed to save us a bit of time.

Thanks,
Willy



Re: Segmentation fault in 1.6.6

2016-07-18 Thread Pavlos Parissis
On 18/07/2016 04:59 μμ, Michał Łowicki wrote:
> Will do but SSL is terminated before reaching HAProxy. Still possible it could
> affect us?
> 

I don't think so, but you should use 1.6.7 anyway in order to avoid surprises
when you enable SSL.

Cheers,
Pavlos



signature.asc
Description: OpenPGP digital signature


Re: Segmentation fault in 1.6.6

2016-07-18 Thread Pavlos Parissis
On 18/07/2016 04:17 μμ, Michał Łowicki wrote:
> Hi,
> 
> I'm using:
> 
> HA-Proxy version 1.6.6 2016/06/26
> Copyright 2000-2016 Willy Tarreau  >
> 
> 
> on:
> 
> cat /proc/version
> Linux version 4.5.0-0.bpo.1-amd64 (debian-ker...@lists.debian.org
> ) (gcc version 4.9.2 (Debian
> 4.9.2-10) ) #1 SMP Debian 4.5.1-1~bpo8+1 (2016-04-20) 
> 
> and found core dump (using HAProxy through Marathon-lb
> ):
> 
> [New LWP 20445]
> Core was generated by `/bin/bash ./run'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x004b8f97 in action_lookup (keywords= Cannot access memory at address 0xffe8>, 
> kw= 0xffe0>) at include/proto/action.h:38
> 38include/proto/action.h: No such file or directory.
> 
> Is this a known issue or any clue how to debug it futher?
> 



Please try 1.6.7 version as it addresses a regression in 1.6.6 which causes some
segfaults related to SSL config.

Cheers,
Pavlos



signature.asc
Description: OpenPGP digital signature


Segmentation fault in 1.6.6

2016-07-18 Thread Michał Łowicki
Hi,

I'm using:

> HA-Proxy version 1.6.6 2016/06/26
> Copyright 2000-2016 Willy Tarreau 


on:

> cat /proc/version
> Linux version 4.5.0-0.bpo.1-amd64 (debian-ker...@lists.debian.org) (gcc
> version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Debian 4.5.1-1~bpo8+1 (2016-04-20)

and found core dump (using HAProxy through Marathon-lb
):

> [New LWP 20445]
> Core was generated by `/bin/bash ./run'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x004b8f97 in action_lookup (keywords= Cannot access memory at address 0xffe8>,
> kw= 0xffe0>) at include/proto/action.h:38
> 38 include/proto/action.h: No such file or directory.

Is this a known issue or any clue how to debug it futher?

-- 
BR,
Michał Łowicki