Opened 15 years ago

Last modified 15 years ago

#141 closed defect (fixed)

AsGML multipoint issue on MacOS X

Reported by: colivier Owned by: colivier
Priority: high Milestone: PostGIS 1.4.0
Component: postgis Version: 1.4
Keywords: Cc:

Description

What steps will reproduce the problem?

make check on mac OS X (gml unit test)

What is the expected output? What do you see instead?

Right GML output but with extra warning: + WARNING: detected write past chunk end in ExprContext 0x7f0010

in all multipoint output (GML 2 and 3)

Mac OS X 10.5.4 i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)

(Unit test OK on a linux box)

Change History (3)

comment:1 by mcayland, 15 years ago

Hi Olivier,

I wonder if this is related to the AsSVG() bug? Incidentally, have you tried enabling memory checking on your PostgreSQL instance? It makes things run slowly, but enables you to track things like this.

What you need to do is build PostgreSQL from source like this:

./configure —enable-debug —enable-cassert

Perhaps this will help point out where the bug lies?

HTH,

Mark.

comment:2 by colivier, 15 years ago

Hi Mark,

I don't really think there's a direct link, as for #141, it's clearly a conceptual error in length size computation. Fixed as r3910

The only common point (for the moment) is that both #141 and #119 appears only on some platforms

I will rebuild my PostgreSQL with assert, to see if it could help

comment:3 by colivier, 15 years ago

Also commited in 1.3 branche (as r3930)

Note: See TracTickets for help on using tickets.