[stunnel-users] Stunnel-4.10 and Stunnel-4.11 inHPUX-11.23IPFgives coredump

Punitha punitha at visolve.com
Tue Jul 12 10:43:39 CEST 2005


Hello Mike,

    I can go with --with-threads=pthread option.

Thank you,
Punitha, V.

----- Original Message ----- 
From: "Punitha" <punitha at visolve.com>
To: "Michal Trojnara" <Michal.Trojnara at mobi-com.net>; 
<stunnel-users at mirt.net>
Sent: Monday, July 11, 2005 3:25 PM
Subject: Re: [stunnel-users] Stunnel-4.10 and Stunnel-4.11 
inHPUX-11.23IPFgives coredump


> Hello Mike,
>
> I've tried --with-threads=pthread already. I got the following error 
> during
> gmake.
>
> gcc -g -O2 -Wall -Wshadow -Wcast-align -Wpointer-arith -I/opt/openssl/include
> -o stunnel client.o log.o options.o protocol.o network.o resolver.o ssl.o
> sthreads.o stunnel.o
> pty.o  -lnsl -ldld -ldl -L/opt/openssl/lib -lssl -lcrypto -lwrap
> ld: Unsatisfied symbol "pthread_create" in file sthreads.o
> ld: Unsatisfied symbol "pthread_attr_init" in file sthreads.o
> 2 errors.
> collect2: ld returned 1 exit status
> gmake[1]: *** [stunnel] Error 1
> gmake[1]: Leaving directory `/home/punitha/stunnel-4.11/src'
> gmake: *** [all-recursive] Error 1
> #
>
> I've also tried with --with-threads=fork.  Here I can compile 
> successfully.
> During the connection establishment I get some problem. When I close the
> first connection, both the client and server processes gets down with the
> following message.
>
> sendsig: useracc failed. 0x200000007f7fd200 0x00000000005000
>
> Pid 573 was killed due to failure in writing the signal context - possible
> stack overflow.
> Illegal instruction
>
> When I close the second and other connections I just get the log messages 
> on
> the screen. I've attached the sample log messages for both client and
> server.
>
> Regards,
> Punitha, V.
>
> ----- Original Message ----- 
> From: "Michal Trojnara" <Michal.Trojnara at mobi-com.net>
> To: <stunnel-users at mirt.net>
> Sent: Monday, July 11, 2005 12:49 PM
> Subject: Re: [stunnel-users] Stunnel-4.10 and Stunnel-4.11 in
> HPUX-11.23IPFgives coredump
>
>
>> "Punitha" <punitha at visolve.com> wrote:
>>> 2005.07.10 23:39:26 LOG5[8909:1]:
>>> stunnel 4.11on ia64-hp-hpux11.23
>>> UCONTEXT+POLL+IPv4+LIBWRAP
>>> with OpenSSL 0.9.7e 25 Oct 2004
>> [cut]
>>> 2005.07.10 23:40:08 LOG7[8909:2]: Context swap: 1 -> 2
>>> Memory fault(coredump)
>>
>> It looks just like the problem with uc_stack.ss_sp on Sparc/Solaris 9 and
>> earlier.  I'm sure I could fix it, but I don't have any HP-UX machine to
>> test it.  Maybe someone could provide me with an account?
>>
>> As a workaround (not the solution) you can use:
>> ./configure --with-threads=pthread
>>
>> Best regards,
>>    Mike
>> _______________________________________________
>> stunnel-users mailing list
>> stunnel-users at mirt.net
>> http://stunnel.mirt.net/mailman/listinfo/stunnel-users
>>
>>
>


--------------------------------------------------------------------------------


> _______________________________________________
> stunnel-users mailing list
> stunnel-users at mirt.net
> http://stunnel.mirt.net/mailman/listinfo/stunnel-users
> 




More information about the stunnel-users mailing list