Bug 395631 - The Endpoint() postgis function crashes the server
The Endpoint() postgis function crashes the server
Product: Fedora
Classification: Fedora
Component: postgis (Show other bugs)
i686 Linux
low Severity high
: ---
: ---
Assigned To: Devrim GUNDUZ
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-11-22 07:47 EST by Kriton Kyrimis
Modified: 2007-12-07 16:34 EST (History)
0 users

See Also:
Fixed In Version: 1.3.2-1.fc7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-12-07 16:34:49 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Kriton Kyrimis 2007-11-22 07:47:00 EST
Description of problem:
The Endpoint() function crashes the server

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

How reproducible:

Steps to Reproduce:
1.Execute the following query on a database that has postgis enabled. (The
database may be otherwise empty):
select Endpoint('MULTILINESTRING((466684.81980686
4207030.4198318,466632.48982077 4207021.34553892))'::Geometry);

Actual results:
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.

Expected results:
(1 row)

Additional info:
This is apparently a known postgis bug, where memory is freed twice. A patch can
be found here:
I rebuilt postgis using the patch, and it now works as expected.
Comment 1 Devrim GUNDUZ 2007-11-29 02:22:10 EST
Upstream is about to release 1.3.2, I want to hold this bug until 1.3.2 is
released to avoid frequent updates.

Regards, Devrim
Comment 2 Devrim GUNDUZ 2007-12-06 19:47:19 EST
1.3.2 was released, and I pushed it for build. Since that patch is now a part of
1.3.2 version, the bug is resolved (I also confirmed on my F-7 installation).

The update will appear in Fedora repos in a few days.
Comment 3 Fedora Update System 2007-12-07 16:34:48 EST
postgis-1.3.2-1.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.