Hi Kevin,

> With the line commented out it ended up with:
> Built with PCRE version : 8.02 2010-03-19
>
> The crash still occurred just as before.

Ok, can you post the full output of haproxy -vv please.



> Next I decided to try without SSL and it didn’t crash. Compiled with
> SSL it crashes even if I’m not using an SSL in the config.
> So PCRE and SSL = crash. PCRE without SSL is fine. SSL without PCRE is
> also fine.

Thats odd.



> Seems like we’re narrowing it down. Where do we go from here?

I think we need a full coredump here...

Compile haproxy without compiler optimizations by adding the following CFLAGS:
 $ make CFLAGS="-g -O0" (USE_PCRE=1 [...])


Make sure Mac OS has core dumping enabled:
http://krypted.com/mac-security/core-dumps-in-mac-os-x/
http://stackoverflow.com/questions/9412156/how-to-generate-core-dumps-in-mac-os-x
http://stackoverflow.com/questions/2080918/where-are-core-dumps-written-to-in-mac-os-x


Then reproduce the crash, and provide the executable along with the coredump.
Remember that the coredump may contain sensitive informations like passwords
and IP addresses, so if thats a problem, I suggest you sent it privately to
Willy (upload it somewhere and send the link).


You could also feed the coredump to gdb directly and provide the gdb backtrace
(but the coredump itself may be needed anyway):

 $ gdb /path/to/executable /path/to/coredump
 (gdb) backtrace full
 (gdb) quit




Regards,

Lukas                                     

Reply via email to