You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ganesh Murthy (Jira)" <ji...@apache.org> on 2020/11/17 14:39:00 UTC

[jira] [Commented] (DISPATCH-1842) Router crashes when trying to execute HTTP2 GET request against deleted connector

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

Ganesh Murthy commented on DISPATCH-1842:
-----------------------------------------

Backtrace from the crash -

 
{noformat}
(gdb) bt
#0  0x00007f74a13d44c5 in __strlen_avx2 () from /lib64/libc.so.6
#1  0x00007f74a181a771 in qdr_field (text=0x9999999999999999 <error: Cannot access memory at address 0x9999999999999999>) at /home/gmurthy/opensource/qpid-dispatch/src/router_core/router_core.c:255
#2  0x00007f74a1823584 in qdr_terminus_set_address (term=0x7f7488097110, addr=0x9999999999999999 <error: Cannot access memory at address 0x9999999999999999>) at /home/gmurthy/opensource/qpid-dispatch/src/router_core/terminus.c:325
#3  0x00007f74a17b3121 in qdr_http_deliver (context=0x7f748c0743f0, link=0x2768010, delivery=0x7f74880d9050, settled=false) at /home/gmurthy/opensource/qpid-dispatch/src/adaptors/http2/http2_adaptor.c:1678
#4  0x00007f74a1823f30 in qdr_link_process_deliveries (core=0x2693e50, link=0x2768010, credit=1) at /home/gmurthy/opensource/qpid-dispatch/src/router_core/transfer.c:167
#5  0x00007f74a17b18ca in qdr_http_push (context=0x7f748c0743f0, link=0x2768010, limit=1) at /home/gmurthy/opensource/qpid-dispatch/src/adaptors/http2/http2_adaptor.c:1414
#6  0x00007f74a1802180 in qdr_connection_process (conn=0x2754590) at /home/gmurthy/opensource/qpid-dispatch/src/router_core/connections.c:383
#7  0x00007f74a17b53b0 in handle_connection_event (e=0x7f7488006d00, qd_server=0x2382750, context=0x2738910) at /home/gmurthy/opensource/qpid-dispatch/src/adaptors/http2/http2_adaptor.c:2132
#8  0x00007f74a183d3ad in handle_event_with_context (e=0x7f7488006d00, qd_server=0x2382750, context=0x2738910) at /home/gmurthy/opensource/qpid-dispatch/src/server.c:804
#9  0x00007f74a183d3ea in do_handle_raw_connection_event (e=0x7f7488006d00, qd_server=0x2382750) at /home/gmurthy/opensource/qpid-dispatch/src/server.c:810
#10 0x00007f74a183e31a in handle (qd_server=0x2382750, e=0x7f7488006d00, pn_conn=0x0, ctx=0x0) at /home/gmurthy/opensource/qpid-dispatch/src/server.c:1090
#11 0x00007f74a183e42e in thread_run (arg=0x2382750) at /home/gmurthy/opensource/qpid-dispatch/src/server.c:1122
#12 0x00007f74a17f2b65 in _thread_init (arg=0x2726890) at /home/gmurthy/opensource/qpid-dispatch/src/posix/threading.c:172
#13 0x00007f74a16e8432 in start_thread () from /lib64/libpthread.so.0
#14 0x00007f74a1373913 in clone () from /lib64/libc.so.6 {noformat}

> Router crashes when trying to execute HTTP2 GET request against deleted connector
> ---------------------------------------------------------------------------------
>
>                 Key: DISPATCH-1842
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1842
>             Project: Qpid Dispatch
>          Issue Type: Test
>          Components: Protocol Adaptors
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>            Priority: Blocker
>
> Steps to reproduce
>  # Start the router with the attached config file
>  # Start a HTTP2 server (like nginx) on port 80
>  # Run a GET request to make sure the server is responding - curl 127.0.0.1:9000 --http2-prior-knowledge
>  # Now delete the http2Connector like this - qdmanage DELETE --type=httpConnector --identity=httpConnector/127.0.0.1:80
>  # Now try the GET request from Step #3 again. The router will crash.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org