Re: Haproxy 1.6 segfault on FreeBSD

2015-06-13 Thread Willy Tarreau
On Sat, Jun 13, 2015 at 01:10:05AM +0200, joris dedieu wrote: Ok I sent the patch with git send-email. Applied, thanks very much Joris! Willy

Re: Haproxy 1.6 segfault on FreeBSD

2015-06-12 Thread Willy Tarreau
On Fri, Jun 12, 2015 at 08:27:34AM +0200, joris dedieu wrote: (...) All those one are innocents. Including sys/limits.h on common/compat.h correct those differences and not the segfault. OK. Please use limits.h instead as sys/limits.h is not present on all systems. I'm thinking about

Re: Haproxy 1.6 segfault on FreeBSD

2015-06-12 Thread joris dedieu
2015-06-12 8:18 GMT+02:00 joris dedieu joris.ded...@gmail.com: 2015-06-12 0:47 GMT+02:00 joris dedieu joris.ded...@gmail.com: Hi Willy, 2015-06-11 17:04 GMT+02:00 Willy Tarreau w...@1wt.eu: Hi Joris, On Thu, Jun 11, 2015 at 03:57:27PM +0200, joris dedieu wrote: Ok. I have checked out the

Re: Haproxy 1.6 segfault on FreeBSD

2015-06-12 Thread joris dedieu
2015-06-12 0:47 GMT+02:00 joris dedieu joris.ded...@gmail.com: Hi Willy, 2015-06-11 17:04 GMT+02:00 Willy Tarreau w...@1wt.eu: Hi Joris, On Thu, Jun 11, 2015 at 03:57:27PM +0200, joris dedieu wrote: Ok. I have checked out the main repo I'm at 28b48ccbc879a552f988e6e1db22941e3362b4db (...)

Re: Haproxy 1.6 segfault on FreeBSD

2015-06-12 Thread Willy Tarreau
On Fri, Jun 12, 2015 at 08:35:15AM +0200, Willy Tarreau wrote: On Fri, Jun 12, 2015 at 08:27:34AM +0200, joris dedieu wrote: (...) All those one are innocents. Including sys/limits.h on common/compat.h correct those differences and not the segfault. OK. Please use limits.h instead as

Re: Haproxy 1.6 segfault on FreeBSD

2015-06-12 Thread joris dedieu
2015-06-12 18:01 GMT+02:00 Willy Tarreau w...@1wt.eu: On Fri, Jun 12, 2015 at 05:54:13PM +0200, joris dedieu wrote: I would not be surprized that adding this line to compat.h solves the problem : #include netinet/in.h It was this one. So I finally add Great! * limits.h for things

Re: Haproxy 1.6 segfault on FreeBSD

2015-06-12 Thread joris dedieu
2015-06-12 8:41 GMT+02:00 Willy Tarreau w...@1wt.eu: On Fri, Jun 12, 2015 at 08:35:15AM +0200, Willy Tarreau wrote: On Fri, Jun 12, 2015 at 08:27:34AM +0200, joris dedieu wrote: (...) All those one are innocents. Including sys/limits.h on common/compat.h correct those differences and not

Re: Haproxy 1.6 segfault on FreeBSD

2015-06-12 Thread Willy Tarreau
Hi Joris, On Fri, Jun 12, 2015 at 04:45:04PM +0200, joris dedieu wrote: $ git grep -n localtimezone include/common/standard.h:827:char localtimezone[6]; src/haproxy.c:588: strftime(localtimezone, 6, %z, curtime); src/standard.c:2340:memcpy(dst, localtimezone, 5); // timezone

Re: Haproxy 1.6 segfault on FreeBSD

2015-06-12 Thread joris dedieu
2015-06-12 16:53 GMT+02:00 Willy Tarreau w...@1wt.eu: Hi Joris, On Fri, Jun 12, 2015 at 04:45:04PM +0200, joris dedieu wrote: $ git grep -n localtimezone include/common/standard.h:827:char localtimezone[6]; src/haproxy.c:588: strftime(localtimezone, 6, %z, curtime);

Re: Haproxy 1.6 segfault on FreeBSD

2015-06-11 Thread Willy Tarreau
Hi Joris, On Thu, Jun 11, 2015 at 03:57:27PM +0200, joris dedieu wrote: Ok. I have checked out the main repo I'm at 28b48ccbc879a552f988e6e1db22941e3362b4db (...) Same issue same solution with minor adjustments for the patch to apply Joris diff --git a/include/common/compat.h

Re: Haproxy 1.6 segfault on FreeBSD

2015-06-11 Thread joris dedieu
Hi Lukas, This is the last commit available on github for haproxy/haproxy https://github.com/haproxy/haproxy/commit/80b59eb0d20245b4040f8ee0baae0d36b6c446b5 Best regards Joris 2015-06-11 14:17 GMT+02:00 Lukas Tribus luky...@hotmail.com: Hi! Hi everyone, It seems that since some times

Re: Haproxy 1.6 segfault on FreeBSD

2015-06-11 Thread joris dedieu
2015-06-11 14:38 GMT+02:00 Lukas Tribus luky...@hotmail.com: Hi Lukas, This is the last commit available on github for haproxy/haproxy https://github.com/haproxy/haproxy/commit/80b59eb0d20245b4040f8ee0baae0d36b6c446b5 That is a unofficial mirror, updated manually and often outdated (like

RE: Haproxy 1.6 segfault on FreeBSD

2015-06-11 Thread Lukas Tribus
Hi! Hi everyone, It seems that since some times haproxy 1.6 segfault on freebsd Eg: at commit 80b59eb0d20245b4040f8ee0baae0d36b6c446b5 I can't find that commit? Where are you pulling/cloning from? Lukas

RE: Haproxy 1.6 segfault on FreeBSD

2015-06-11 Thread Lukas Tribus
Hi Lukas, This is the last commit available on github for haproxy/haproxy https://github.com/haproxy/haproxy/commit/80b59eb0d20245b4040f8ee0baae0d36b6c446b5 That is a unofficial mirror, updated manually and often outdated (like right now). Please clone from the official mirror at: