[Gluster-devel] Questions on SSL in 3.4.0qa2

Jeff Darcy jdarcy at redhat.com
Tue Nov 6 12:05:36 UTC 2012


On Nov 6, 2012, at 12:53 AM, Emmanuel Dreyfus wrote:

> Jeff Darcy <jdarcy at redhat.com> wrote:
>
>> Thanks for reporting that.  I've submitted a patch to fix it.
>
> Here is it at mount time (100% reproductible)

Are you trying to configure SSL for the management connection too?   
I've verified that we're getting into __socket_disconnect for the  
portmapper connection during mount, but we don't call SSL_clear  
because that connection isn't using SSL.  I've also verified that  
__socket_disconnect works for the main SSL connection, where it does  
call SSL_clear.  It appears that we're getting into SSL_clear for a  
non-SSL connection in your case, which is strange to say the least.

>
> pending frames:
> frame : type(0) op(0)
>
> patchset: git://git.gluster.com/glusterfs.git
> signal received: 11
> time of crash: 2012-11-06 05:46:03configuration details:
> dlfcn 1
> fdatasync 1
> libpthread 1
> llistxattr 1
> spinlock 1
> extattr.h 1
> xattr.h 1
> st_atimespec.tv_nsec 1
> package-string: glusterfs 3.4.0qa2
>
> Program terminated with signal 11, Segmentation fault.
> #0  0xba389746 in SSL_clear () from /usr/lib/libssl.so.10
> (gdb) bt
> #0  0xba389746 in SSL_clear () from /usr/lib/libssl.so.10
> #1  0xba3abc4c in __socket_disconnect (this=0xbb717000) at socket.c: 
> 500
> #2  0xba3b36b9 in socket_poller (ctx=0xbb717000) at socket.c:2235
> #3  0xbbb584ea in ?? () from /usr/lib/libpthread.so.1
> #4  0xbb905ea0 in ___lwp_park50 () from /usr/lib/libc.so.12
> #5  0xb7800000 in ?? ()
> #6  0xbbb586fa in pthread_create () from /usr/lib/libpthread.so.1
> #7  0xba3aca9f in socket_connect (this=0xbb715c00, port=49152) at
> socket.c:2587
> #8  0xbbb77b3f in rpc_transport_connect (this=0xbb715c00, port=49152)
>    at rpc-transport.c:384
> #9  0xbbb790cf in rpc_clnt_reconnect (trans_ptr=0xbb715c00) at
> rpc-clnt.c:427
> #10 0xbbba2fb4 in gf_timer_proc (ctx=0xbb7011c0) at timer.c:168
> #11 0xbbb584ea in ?? () from /usr/lib/libpthread.so.1
> #12 0xbb905ea0 in ___lwp_park50 () from /usr/lib/libc.so.12
> #13 0xb9a00000 in ?? ()
> #14 0xbbb9ec5c in default_notify (this=0xbbb8797a, event=1,
> data=0xba4ea000)
>    at defaults.c:1307
> #15 0x0804a03f in ?? ()
>
>
> -- 
> Emmanuel Dreyfus
> http://hcpnet.free.fr/pubz
> manu at netbsd.org





More information about the Gluster-devel mailing list