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 796192 - libxml2, xml file reader issue when file size is greater than 2GB
libxml2, xml file reader issue when file size is greater than 2GB
Status: RESOLVED OBSOLETE
Product: libxml2
Classification: Platform
Component: parser
2.9.3
Other Windows
: Normal normal
: ---
Assigned To: Christophe de Vienne
Christophe de Vienne
Depends on:
Blocks:
 
 
Reported: 2018-05-17 04:27 UTC by kamran
Modified: 2021-07-05 13:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description kamran 2018-05-17 04:27:22 UTC
I am using libxml2-2.9.3 in my c++ project and facing issue while Reading xml file greater than 2GB . 

I am using API xmlReaderForFile() that is returning null ptr if file size is greater than 2GB. I tried with XML_PARSE_HUGE parameter but no luck.

I have windows 10 x64, even compiled library in x64 mode.
After debugging its code. it seems that for file stats, its calling 32bit methods of OS instead of x64. 
There must be a way/support in Libxml2 for calling x64 methods of OS for file stats.
Comment 1 Kjell Ahlstedt 2018-05-22 07:18:01 UTC
This looks like a libxml2 bug. Why did you file it to libxml++?
Comment 2 kamran 2018-05-22 07:35:09 UTC
hi Kjell Ahlstedt,
I didn't noticed that. updated with the specific version and component too.
Still waiting for the answer to the issue I am facing.
Comment 3 GNOME Infrastructure Team 2021-07-05 13:25:46 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.