After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 643726 - xmlNanoHTTPMethod fails with "error : Invalid argument" on 64 bit operation
xmlNanoHTTPMethod fails with "error : Invalid argument" on 64 bit operation
Status: RESOLVED OBSOLETE
Product: libxml2
Classification: Platform
Component: general
2.7.8
Other HP-UX
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2011-03-02 21:42 UTC by Filipe Machado Filipe
Modified: 2021-07-05 13:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Example of error (1.05 KB, text/plain)
2011-03-02 21:42 UTC, Filipe Machado Filipe
Details

Description Filipe Machado Filipe 2011-03-02 21:42:17 UTC
Created attachment 182304 [details]
Example of error

Hello

During a 64 bit migration of telco software we found that on HP-UX B.11.31 ia64 xmlNanoHTTPMethod fails with error "error : Invalid argument" dumped on stderr.
It also returns NULL.

It is beeing used to call webservices on a middleware component of a telco.

It works ok on windows (32 bit) and hp-ux  B.11.11 pa-risc (32 bit)

In attach there is an example to reproduce the error compiled with:
aCC -Ae +DD64 +w64bit +W829 +W2837 +W4298 +W2231 +W2375 +W2236 -L/lib/hpux64 -I/home1/pclprp2/tools/libxml2/include/libxml2 -c testh.c
aCC -Ae +DD64 +w64bit +W829 +W2837 +W4298 +W2231 +W2375 +W2236 -L/lib/hpux64 -o testh testh.o /home1/pclprp2/tools/libxml2/lib/libxml2.a -lm

sw: libxml2 2.7.8 compiled with aCC 64 bit mode

Thanks
Filipe Machado Filipe
Comment 1 Filipe Machado Filipe 2011-03-16 16:00:05 UTC
We made an workaround on nanohttp.c changing #ifdef SO_ERROR to #define SO_ERRORxxxxx so getsockopt(s, SO_ERROR ..) is never used to get current socket error on current tcp connect with timeout implementation.
Comment 2 GNOME Infrastructure Team 2021-07-05 13:26:57 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/libxml2/-/issues/

Thank you for your understanding and your help.