Charles E. Rolke created DISPATCH-1897:
------------------------------------------

             Summary: Console http libwebsocket realloc error Out Of Memory
                 Key: DISPATCH-1897
                 URL: https://issues.apache.org/jira/browse/DISPATCH-1897
             Project: Qpid Dispatch
          Issue Type: Bug
          Components: Router Node
    Affects Versions: 1.14.0
         Environment: Build dockerfiles/Dockerfile-fedora on a Fedora 32 64-bit 
host and run system_tests_tcp_adaptor there.

Building the docker image on a Fedora 31 64-bit host works properly.
            Reporter: Charles E. Rolke


An ordinary http listener fails with a wild 64-but realloc:
{code:java}
2020-12-17 19:27:11.483999 +0000 HTTP (trace) Event loop: poll 
(/main/qpid-dispatch/src/http-libwebsockets.c:61)
2020-12-17 19:27:11.484005 +0000 HTTP (trace) _realloc: size 6944: context 
(/main/qpid-dispatch/src/http-libwebsockets.c:61)
2020-12-17 19:27:11.484015 +0000 HTTP (trace) _realloc: size 72: 
lws_smd_register (/main/qpid-dispatch/src/http-libwebsockets.c:61)
2020-12-17 19:27:11.484021 +0000 HTTP (trace) lws_smd_register: registered 
(/main/qpid-dispatch/src/http-libwebsockets.c:61)
2020-12-17 19:27:11.484032 +0000 HTTP (trace) _realloc: size 
18446744073709551552: fds table 
(/main/qpid-dispatch/src/http-libwebsockets.c:61)
2020-12-17 19:27:11.484038 +0000 HTTP (error) OOM allocating 1073741816 fds 
(/main/qpid-dispatch/src/http-libwebsockets.c:61) 
{code}
This issue was originally reported in DISPATCH-1895 at

[https://travis-ci.com/github/apache/qpid-dispatch/jobs/461797267]

There the problem was stated as a test hang in system_tests_tcp_adaptor. Test 
orchestration failed when it was creating the first router
 * _wait=true_
 * Router subprocess is started
 * Test frameworks waits for all ports to accept a TCP connection

Due to the error the http listener port went dead. The test timed out waiting 
for the http port to come up.

The diagnostic logs quoted here were not available from the travis-ci system 
but were found after some other system setup produced the same error.



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

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

Reply via email to