Help compiling "Stunnel" - segfaults

[email protected] Fri, 17 May 2013 14:15:23 +1000 (EST)
Newsgroups gmane.os.solaris.managers
Message-ID <[email protected]>
Hi,
I have been tasked with compiling and deploying "stunnel" to a Solaris 10 Zone:

5.10 Generic_141444-09 sun4v sparc SUNW,SPARC-Enterprise-T5220

gcc version 4.3.3 (20091103) (gccfss) (GCC)

It compiles and links just fine, but upon startup segfaults immediately:

sysconfig(_CONFIG_STACK_PROT)                   = 3
open("/dev/urandom", O_RDONLY)                  = 3
read(3, " @02 Q03", 4)                          = 4
close(3)                                        = 0
     Incurred fault #6, FLTBOUNDS  %pc = 0x0001509C
       siginfo: SIGSEGV SEGV_MAPERR addr=0x000A7BCC
     Received signal #11, SIGSEGV [default]
       siginfo: SIGSEGV SEGV_MAPERR addr=0x000A7BCC

I loaded it and the resultant core dump into gdb but do not get any further.

Is this a Zone limitpriv issue, or something else?

Does anyone have any advice for me?  I do not want to use CSW since that means loading 
the same binaries I already have and it is not suitable.


Thanks!
rachel

-- 
Rachel Polanskis                 Kingswood, Greater Western Sydney, Australia
[email protected]                http://www.zeta.org.au/~grove/grove.html
 	The more an answer costs, the more respect it carries.