Menu

changes to curl library have broken compatibility with xmlrpc_inetd_server

2025-02-13
2025-02-13
  • Douglas Goodall

    Douglas Goodall - 2025-02-13

    I have been using xinetd to run xmlrpc_inet_server (see examples/cpp) and it has been working perfectly, until early this morning when it stopped working. I believe this is because the curl library has changed.

    Here is my syslog traffic:
    2025-02-13T12:16:40.468017-08:00 daphne multiware[27685]: /home/doug/public_html/fw/xmlrpc_client.cpp::main running
    2025-02-13T12:16:40.468167-08:00 daphne multiware[27685]: /home/doug/public_html/fw/xmlrpc_client.cpp::main running at line 53
    2025-02-13T12:16:40.470171-08:00 daphne multiware[27687]: /home/doug/public_html/fw/xmlrpc_inetd_server.cpp::main running
    2025-02-13T12:16:40.470215-08:00 daphne multiware[27687]: /home/doug/public_html/fw/xmlrpc_inetd_server.cpp::main running at line 73
    2025-02-13T12:16:40.470237-08:00 daphne multiware[27687]: /home/doug/public_html/fw/xmlrpc_inetd_server.cpp::main running at line 78
    2025-02-13T12:16:40.470260-08:00 daphne multiware[27687]: /home/doug/public_html/fw/xmlrpc_inetd_server.cpp::main running at line 85
    2025-02-13T12:16:40.507748-08:00 daphne systemd[1]: Started systemd-coredump@19-27688-0.service - Process Core Dump (PID 27688/UID 0).
    2025-02-13T12:16:40.546488-08:00 daphne systemd-coredump[27689]: Process 27687 (xmlrpc_inetd_se) of user 1000 dumped core.#012#012Stack trace of thread 27687:#012#0 0x00007f47ee4a9ebc n/a (libc.so.6 + 0x8aebc)#012#1 0x00007f47ee45afb2 raise (libc.so.6 + 0x3bfb2)#012#2 0x00007f47ee445472 abort (libc.so.6 + 0x26472)#012#3 0x00007f47ee29d919 n/a (libstdc++.so.6 + 0x9d919)#012#4 0x00007f47ee2a8e1a n/a (libstdc++.so.6 + 0xa8e1a)#012#5 0x00007f47ee2a8e85 _ZSt9terminatev (libstdc++.so.6 + 0xa8e85)#012#6 0x00007f47ee2a90d8 __cxa_throw (libstdc++.so.6 + 0xa90d8)#012#7 0x0000559f36f61aa5 n/a (/home/doug/public_html/fw/cmake-build-debug/xmlrpc_inetd_server + 0x28aa5)#012#8 0x0000559f36f44296 n/a (/home/doug/public_html/fw/cmake-build-debug/xmlrpc_inetd_server + 0xb296)#012#9 0x0000559f36f4526c n/a (/home/doug/public_html/fw/cmake-build-debug/xmlrpc_inetd_server + 0xc26c)#012#10 0x0000559f36f42002 n/a (/home/doug/public_html/fw/cmake-build-debug/xmlrpc_inetd_server + 0x9002)#012#11 0x00007f47ee44624a n/a (libc.so.6 + 0x2724a)#012#12 0x00007f47ee446305 __libc_start_main (libc.so.6 + 0x27305)#012#13 0x0000559f36f41c81 n/a (/home/doug/public_html/fw/cmake-build-debug/xmlrpc_inetd_server + 0x8c81)#012ELF object binary architecture: AMD x86-64
    2025-02-13T12:16:40.547416-08:00 daphne systemd[1]: systemd-coredump@19-27688-0.service: Deactivated successfully.
    20

     
  • Douglas Goodall

    Douglas Goodall - 2025-02-13

    here is my server code

     
  • Douglas Goodall

    Douglas Goodall - 2025-02-13

    here is my method code

     
  • Douglas Goodall

    Douglas Goodall - 2025-02-13

    here is my client code

     
  • Douglas Goodall

    Douglas Goodall - 2025-02-13

    here is my curl version
    doug@daphne:/opt/xmlrpc-c/examples/cpp$ curl --version
    curl 8.12.2-DEV (Linux) libcurl/8.12.2-DEV OpenSSL/3.0.15 libpsl/0.21.2
    Release-Date: [unreleased]
    Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp ws wss
    Features: alt-svc AsynchDNS HSTS HTTPS-proxy IPv6 Largefile NTLM PSL SSL threadsafe TLS-SRP UnixSockets
    doug@daphne:/opt/xmlrpc-c/examples/cpp$

     

Log in to post a comment.

MongoDB Logo MongoDB