Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.14.0
-
None
-
None
-
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.
Description
An ordinary http listener fails with a wild 64-but realloc:
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)
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.