Trouble with AsText(ExteriorRing()) Re: [postgis-users] IsSimple terminating connection

Diez B. Roggisch deets at web.de
Fri Nov 25 11:53:41 PST 2005


Diez B. Roggisch wrote:
> david techer wrote:
> 
>> Hi
>> ? Strange, very strange ?
>>
>> I did the tests with geos 2.1.4/proj4.4.9/postgis-1.0.4/postgresql-8.0.3
> 
> 
> I also tried postgres 8.0.4 - and the new postgis 1.0.5. Same result.
> 
> Is there anything I can do to enable more debug logging?

Ok, after some googling I found ways to attach myself to the PG for 
debugging. Whilst doing so I also "accidentially" installed a newer 
version of geos - version is now 2.1.4


That made my program run, also over the IsSimple - until this statement:

SELECT AsText(ExteriorRing(shore)) FROM lakes  WHERE name = 'Blue Lake';


It gave me this in the debugger:

Program received signal SIGSEGV, Segmentation fault.
0x0822e6ec in pfree (pointer=0x8371b70) at mcxt.c:586
586             (*header->context->methods->free_p) (header->context, 
pointer);


The bt is somewhat unhelpful, no idea why no symbols are delivered:

#0  0x0822e6ec in pfree (pointer=0x8371b70) at mcxt.c:586
#1  0x410c4acc in ?? ()
#2  0x08371b70 in ?? ()
#3  0x08371c7c in ?? ()
#4  0xbfffde88 in ?? ()
#5  0x410b851a in ?? ()
#6  0x00000080 in ?? ()
#7  0x410f0264 in ?? ()
#8  0xbfffde68 in ?? ()
#9  0x410c493f in ?? ()
#10 0x08371b70 in ?? ()
#11 0x08371c60 in ?? ()
#12 0xbfffde98 in ?? ()
#13 0x410c4ca7 in ?? ()
#14 0x08371c60 in ?? ()
#15 0x410f0264 in ?? ()
#16 0xbfffde98 in ?? ()
#17 0x410b88c3 in ?? ()
#18 0x08371b70 in ?? ()
#19 0x08371bf8 in ?? ()
#20 0x00000002 in ?? ()
#21 0x410b889e in ?? ()
#22 0x00000002 in ?? ()
#23 0x00000000 in ?? ()
#24 0x00000069 in ?? ()
#25 0x410f0264 in ?? ()
#26 0x40828fd8 in ?? ()
#27 0x08371bf8 in ?? ()
#28 0xbfffdec8 in ?? ()
#29 0x410c6fa6 in ?? ()
#30 0x08371bf8 in ?? ()
#31 0x08371b70 in ?? ()
#32 0x08371c30 in ?? ()
#33 0x0836fd00 in ?? ()
#34 0xbfffdef8 in ?? ()
#35 0x08371bf8 in ?? ()
#36 0x08371c78 in ?? ()
#37 0x00000000 in ?? ()
#38 0x08370190 in ?? ()
#39 0xbfffe168 in ?? ()
#40 0xbfffe128 in ?? ()
#41 0x0812da99 in ExecMakeFunctionResult (fcache=0x40828fd8, 
econtext=0x8371c60, isNull=0xbfffde98 
"ÈÞÿ¿¦o\fAø\0337\bp\0337\b0\0347\b", isDone=0x8371bf8)
     at execQual.c:1096
Previous frame inner to this frame (corrupt stack?)


Any suggestions?

Regards,

Diez



More information about the postgis-users mailing list