Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-32375

libxml2 upgrade breaks Postgis functionality

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Normal Normal
    • None
    • rhel-8.9.0
    • libxml2
    • None
    • Normal
    • Regression
    • 1
    • sst_desktop
    • ssg_desktop
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • DESKTOP Cycle #3 10.beta phase
    • None
    • None
    • x86_64
    • None

      What were you trying to do that didn't work?
      Every ST_GeomFromGML or ST_GeomFromKML call results in the same error when using the upgraded libxml2-2.9.7-18.el8_9.x86_64. After downgrading to libxml2-2.9.7-16.el8_8.1.x86_64 (and postgres server restart) it works again.

      It makes Postgis unusable with the recently published libxml2-2.9.7-18.el8_9.x86_64. It affects all Postgis versions tested on any PostgreSQL versions available for RHEL8.

       

      Please provide the package NVR for which bug is seen:

      • libxml2-2.9.7-18.el8_9.x86_64
      • python3-libxml2-2.9.7-18.el8_9.x86_64

       

      How reproducible:

      SELECT ST_GeomFromGML('<gml:Point srsName="urn:ogc:def:crs:EPSG::4326"><gml:pos srsDimension="2">6.34535 5.23423</gml:pos></gml:Point>');

       

      Expected results

      pocdb_gis=# SELECT ST_GeomFromGML('<gml:Point srsName="urn:ogc:def:crs:EPSG::4326"><gml:pos srsDimension="2">6.34535 5.23423</gml:pos></gml:Point>');
                         st_geomfromgml
      ----------------------------------------------------
       0101000020E6100000E4F736FDD9EF1440C4B12E6EA3611940
      (1 row)

       

       

      Actual results

      pocdb_gis=# SELECT ST_GeomFromGML('<gml:Point srsName="urn:ogc:def:crs:EPSG::4326"><gml:pos srsDimension="2">6.34535 5.23423</gml:pos></gml:Point>');
      ERROR:  invalid GML representation
      CONTEXT:  SQL function "st_geomfromgml" statement 1

       

       

       

            dking@redhat.com David King
            rhn-support-dbodnarc Dmitri Bodnarciuc
            David King David King
            Vera Cholasta Vera Cholasta
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: