[postgis-users] Problem with multipolygon

Sebastian Bšöck sb at minimoog.org
Mon Nov 19 12:35:26 PST 2007


Mark Cave-Ayland wrote:
> On Mon, 2007-11-19 at 16:07 +0100, Sebastian Bšöck wrote:
>> Hi all,
>>
>> i have a problem with multipolygon data. Taking the example data from
>> the documentation:
>>
>> test=# select GeomFromText('MULTIPOLYGON(((0 0,4 0,4 4,0 4,0 0),(1 1,2
>> 1,2 2,1 2,1 1)), ((-1 -1,-1 -2,-2 -2,-2 -1,-1 -1)))');
>>       geomfromtext
>> --------------------
>>    010600000000000000
>> (1 row)
>>
>> Sometimes it just works like above, but most of the time I get an 
>> unexpected connection reset.
>>
>> test=# select version();
>>                          version
>>
>> ---------------------------------------------------------------------
>>    PostgreSQL 8.3beta2 on i386-apple-darwin9.1.0, compiled by GCC
>> i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
>>
>> As far I can tell, everything has worked for me until i switched to Mac
>> OS X 10.5. I installed all software through macports.
>>
>> How can I investigate this issue further?
>>
>> Any help appreciated.
>>
>> Thanks
>>
>> Sebastian
> 
> 
> Hi Sebastian,
> 
> The best option would be to compile PostgreSQL with --enable-debug and
> --enable-cassert, re-compile PostGIS (I assume you're using 1.3.1?) and
> then use gdb to get a backtrace.

Hi Mark,

I get the following information:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000002
0x929b9831 in get_uint32 ()
(gdb) c
Continuing.

And the same error again and aagin. Don't know how to proceed further, 
seems to hang infinite

Regards,

Sebastian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3175 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20071119/2fd46746/attachment.bin>


More information about the postgis-users mailing list