[ 
https://issues.apache.org/jira/browse/DISPATCH-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16785825#comment-16785825
 ] 

Gordon Sim commented on DISPATCH-1280:
--------------------------------------

Backtrace from segfault:

{noformat}

Thread 3 "qdrouterd" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe965c700 (LWP 15670)]
0x00007ffff6465504 in SSL_get0_alpn_selected () from /lib64/libssl.so.1.1
Missing separate debuginfos, use: dnf debuginfo-install 
cyrus-sasl-lib-2.1.27-0.2rc7.fc28.x86_64 keyutils-libs-1.5.10-6.fc28.x86_64 
krb5-libs-1.16.1-25.fc28.x86_64 libcom_err-1.44.2-0.fc28.x86_64 
libffi-3.1-16.fc28.x86_64 libselinux-2.8-1.fc28.x86_64 
libuv-1.24.1-1.fc28.x86_64 libwebsockets-3.0.1-2.fc28.x86_64 
libxcrypt-4.4.3-2.fc28.x86_64 openssl-libs-1.1.0i-1.fc28.x86_64 
pcre2-10.32-5.fc28.x86_64 python2-libs-2.7.15-4.fc28.x86_64 
zlib-1.2.11-8.fc28.x86_64
(gdb) bt
#0  0x00007ffff6465504 in SSL_get0_alpn_selected () from /lib64/libssl.so.1.1
#1  0x00007ffff6a7e13c in lws_tls_server_conn_alpn () from 
/lib64/libwebsockets.so.13
#2  0x00007ffff6a7e5b5 in lws_server_socket_service_ssl () from 
/lib64/libwebsockets.so.13
#3  0x00007ffff6a75864 in rops_handle_POLLIN_h1 () from 
/lib64/libwebsockets.so.13
#4  0x00007ffff6a6f59b in lws_service_fd_tsi () from /lib64/libwebsockets.so.13
#5  0x00007ffff6a803b0 in _lws_plat_service_tsi.part.1 () from 
/lib64/libwebsockets.so.13
#6  0x00007ffff6a6f685 in lws_service () from /lib64/libwebsockets.so.13
#7  0x00007ffff7bae944 in http_thread_run (v=0x941be0) at 
/home/gordon/projects/dispatch/src/http-libwebsockets.c:481
#8  0x00007ffff74ec594 in start_thread () from /lib64/libpthread.so.0
#9  0x00007ffff679bf4f in clone () from /lib64/libc.so.6

{noformat}

> http against https enabled listener causes segfault
> ---------------------------------------------------
>
>                 Key: DISPATCH-1280
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1280
>             Project: Qpid Dispatch
>          Issue Type: Bug
>            Reporter: Gordon Sim
>            Priority: Major
>
> If you have a listener with http enabled, an ssl profile referenced, but 
> requireSsl set to false, and then try to access it over plain http, you get a 
> segfault in libwebsockets if using version 3.0.1-2. Downgrading to 2.4.2 of 
> libwebsockets fixes this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to