Hello gentleman, I was advised to send this your way (
http://discourse.haproxy.org/t/haproxy-core-dumps-on-solaris-sparc/1197/2)

This is probably an issue with the way I'm compiling it (which is here:
https://pastebin.com/htEZTwBM) but I'm getting an immediate core dump when
running haproxy after compilation. I have a feeling it's probably an
alignment issue after reading a bit into the problem (
http://blog.jgc.org/2007/04/debugging-solaris-bus-error-caused-by.html)

Anyway, I have the binary and the core dump if anyone wants to take a look,
or tell me what to do. I have access to the SPARC system for another day or
so
ehrz@sovms026:~/haproxy-1.7.5$ gdb haproxy
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.11"...
(gdb) run -f haproxy.cfg
Starting program: /home/ehrz/haproxy-1.7.5/haproxy -f haproxy.cfg

Program received signal SIGSEGV, Segmentation fault.
0x000000010013fd80 in eb32_insert (root=<value optimized out>,
new=0x100439724) at ebtree/eb32tree.h:347
347                     *up_ptr = new_left;
(gdb) print new_left
No symbol "new_left" in current context.
(gdb) print up_ptr
No symbol "up_ptr" in current context.
(gdb) backtrace
#0  0x000000010013fd80 in eb32_insert (root=<value optimized out>,
new=0x100439724) at ebtree/eb32tree.h:347
#1  0x0000000100096858 in check_config_validity () at src/cfgparse.c:7575
#2  0x000000010005ed58 in init (argc=<value optimized out>, argv=<value
optimized out>) at src/haproxy.c:935
#3  0x00000001000617b0 in main (argc=3, argv=0xffffffff7ffffb78) at
src/haproxy.c:1786
(gdb) frame 0
#0  0x000000010013fd80 in eb32_insert (root=<value optimized out>,
new=0x100439724) at ebtree/eb32tree.h:347
347                     *up_ptr = new_left;
(gdb) print buf
$1 = 0
(gdb)




-- 
Jonathan | exabr...@gmail.com
Pessimists, see a jar as half empty. Optimists, in contrast, see it as half
full.
Engineers, of course, understand the glass is twice as big as it needs to
be.

Reply via email to