Bug 1293925

Summary: geos 3.4.2-1 seems to give an exception: GeometryComponentFilter::filter_ro: Assertion `0' failed
Product: [Fedora] Fedora EPEL Reporter: gavit <g.v.tjongahung>
Component: geosAssignee: Sandro Mani <manisandro>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: el6CC: devrim, jmlich83, orion
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-30 15:03:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description gavit 2015-12-23 14:34:59 UTC
Description of problem:
GeometryComponentFilter::filter_ro: Assertion `0' failed
See https://trac.osgeo.org/geos/ticket/535#comment:33

Version-Release number of selected component (if applicable):
3.4.2-1

How reproducible:
From the google results I have seen this on CentOS, Fedora and Redhat on x86_64

Steps to Reproduce:
1.$yum install geos geos-devel proj proj-devel && gem install rgeo
2. $irb
3. irb(main):001:0> require 'rgeo'
=> true
4. irb(main):002:0> a = RGeo::Geographic.simple_mercator_factory.point(0, 0)
=> #<RGeo::Geographic::ProjectedPointImpl:0xa1a900 "POINT (0.0 0.0)">
5. irb(main):003:0> b = RGeo::Geographic.simple_mercator_factory.point(1, 1)
=> #<RGeo::Geographic::ProjectedPointImpl:0xa1e0dc "POINT (1.0 1.0)">
6. irb(main):004:0> a.distance(b)

Actual results:
/usr/local/rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rgeo-0.5.2/lib/rgeo/geos/capi_factory.rb:307: [BUG] Segmentation fault at 0x00000000000001
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]


Expected results:
MATH.SQRT(1+1)

Additional info:

Comment 1 gavit 2015-12-23 15:22:11 UTC
Sorry, the actual result is:
ruby: GeometryComponentFilter.cpp:34: virtual void geos::geom::GeometryComponentFilter::filter_ro(const geos::geom::Geometry*): Assertion `0' failed.
Aborted

The result pasted above is probably from me trying to install the geos package from source and failing to update the gem.

Comment 2 Orion Poplawski 2016-11-14 17:50:34 UTC
Seeing the same running the django 1.8 test suite on EL6

Comment 3 Fedora Admin XMLRPC Client 2020-03-04 04:17:17 UTC
This package has changed maintainer in the Fedora.
Reassigning to the new maintainer of this component.

Comment 4 Ben Cotton 2020-11-05 16:50:27 UTC
This message is a reminder that EPEL 6 is nearing its end of life. Fedora will stop maintaining and issuing updates for EPEL 6 on 2020-11-30. It is our policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of 'el6'.

Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later EPEL version.

Thank you for reporting this issue and we are sorry that we were not able to fix it before EPEL 6 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged  change the 'version' to a later Fedora version prior this bug is closed as described in the policy above.

Comment 5 Ben Cotton 2020-11-30 15:03:35 UTC
EPEL el6 changed to end-of-life (EOL) status on 2020-11-30. EPEL el6 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
EPEL please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.