[postgis-users] Re: [postgis-devel] Moving towards a 1.2.2 release?

Michael Fuhr mike at fuhr.org
Fri May 18 07:24:42 PDT 2007


On Thu, May 17, 2007 at 06:49:55PM +0100, Mark Cave-Ayland wrote:
> Hmmm. David/Michael, are both of you using a 32-bit OS, or is one of you
> using a 64-bit OS?

My build that works is Solaris 9 32-bit sparc; I'll try a 64-bit
build on that box sometime.

I just tried on RHEL AS 4 x86_64 and got failures on all regression
tests as David did and I get the same failure for his simple query:

postgis=> select 'LINESTRING(1 1,2 2)'::geometry ~= 'LINESTRING(2 2,1 1)'::geometry;
NOTICE:  compute_serialized_box3d called on unknown type 0
NOTICE:  compute_serialized_box3d called on unknown type 0
ERROR:  Unknown geometry type: 0

During the regression tests the backend died with a segmentation
fault; I've attached the stack trace.

-- 
Michael Fuhr
-------------- next part --------------
#0  getPoint3dz_p (pa=0x9e3dd0, n=Variable "n" is not available.
) at lwgeom_api.c:608
608			memcpy(op, ptr, sizeof(POINT2D));
(gdb) bt
#0  getPoint3dz_p (pa=0x9e3dd0, n=Variable "n" is not available.
) at lwgeom_api.c:608
#1  0x0000002aa2ce909e in ptarray_compute_box3d_p (pa=0x9e3dd0, result=0x9e3ce8) at ptarray.c:437
#2  0x0000002aa2ce9169 in ptarray_compute_box3d (pa=0x9e3dd0) at ptarray.c:387
#3  0x0000002aa2ceb195 in compute_serialized_box3d (srl=0x9f26b4 "\002") at lwgeom_api.c:1701
#4  0x0000002aa2ceb259 in compute_serialized_box3d_p (srl=Variable "srl" is not available.
) at lwgeom_api.c:1632
#5  0x0000002aa2ceb300 in getbox2d_p (srl=0x9f26b4 "\002", box=0x7fbfffd310) at lwgeom_api.c:434
#6  0x0000002aa2cfb94e in LWGEOM_addBBOX (fcinfo=Variable "fcinfo" is not available.
) at lwgeom_inout.c:364
#7  0x00000000006452cc in DirectFunctionCall1 (func=0x2aa2cfb910 <LWGEOM_addBBOX>, arg1=Variable "arg1" is not available.
) at fmgr.c:858
#8  0x0000002aa2cfb4af in LWGEOM_in (fcinfo=Variable "fcinfo" is not available.
) at lwgeom_inout.c:76
#9  0x000000000064770e in InputFunctionCall (flinfo=Variable "flinfo" is not available.
) at fmgr.c:1715
#10 0x00000000006478ea in OidInputFunctionCall (functionId=Variable "functionId" is not available.
) at fmgr.c:1819
#11 0x00000000004d9ebc in coerce_type (pstate=Variable "pstate" is not available.
) at parse_coerce.c:212
#12 0x00000000004d986e in coerce_to_target_type (pstate=0x9f2548, expr=0x9e3be0, exprtype=705, targettype=33312, targettypmod=-1, 
    ccontext=COERCION_ASSIGNMENT, cformat=COERCE_IMPLICIT_CAST) at parse_coerce.c:80
#13 0x00000000004db6ce in transformAssignedExpr (pstate=0x9f2548, expr=0x9e3be0, colname=0x9b1bb0 "the_geom", attrno=2, indirection=0x0, location=25)
    at parse_target.c:425
#14 0x00000000004b668d in transformInsertRow (pstate=0x9f2548, exprlist=Variable "exprlist" is not available.
) at analyze.c:838
#15 0x00000000004baa38 in transformInsertStmt (pstate=0x9f2548, stmt=0x9f2490, extras_before=0x7fbfffdf18, extras_after=0x7fbfffdf20) at analyze.c:732
#16 0x00000000004b891f in transformStmt (pstate=0x9f2548, parseTree=0x9f2490, extras_before=0x7fbfffdf18, extras_after=0x7fbfffdf20) at analyze.c:323
#17 0x00000000004bb296 in do_parse_analyze (parseTree=Variable "parseTree" is not available.
) at analyze.c:260
#18 0x00000000004bc09e in parse_analyze (parseTree=0x9f2490, 
    sourceText=0x9b0a68 "INSERT INTO \"loadedshp\" (the_geom) VALUES ('01060000C00200000001030000C00200000005", '0' <repeats 66 times>, "F03F", '0' <repeats 28 times>, "244", '0' <repeats 13 times>, "1840"..., paramTypes=0x0, numParams=0) at analyze.c:182
#19 0x00000000005baa4c in pg_analyze_and_rewrite (parsetree=0x9f2490, 
    query_string=0x9b0a68 "INSERT INTO \"loadedshp\" (the_geom) VALUES ('01060000C00200000001030000C00200000005", '0' <repeats 66 times>, "F03F", '0' <repeats 28 times>, "244", '0' <repeats 13 times>, "1840"..., paramTypes=0x0, numParams=0) at postgres.c:578
#20 0x00000000005bac27 in exec_simple_query (
    query_string=0x9b0a68 "INSERT INTO \"loadedshp\" (the_geom) VALUES ('01060000C00200000001030000C00200000005", '0' <repeats 66 times>, "F03F", '0' <repeats 28 times>, "244", '0' <repeats 13 times>, "1840"...) at postgres.c:895
#21 0x00000000005bc6b3 in PostgresMain (argc=0, argv=Variable "argv" is not available.
) at postgres.c:3505
#22 0x0000000000590e01 in ServerLoop () at postmaster.c:2985
#23 0x000000000059258a in PostmasterMain (argc=1, argv=0x908950) at postmaster.c:967
#24 0x000000000054828e in main (argc=1, argv=0x908950) at main.c:188
(gdb) p op
$1 = (POINT3DZ *) 0x7fbfffd1e0
(gdb) p ptr
$2 = (uchar *) 0xab6ff9 ""
(gdb) p sizeof(POINT2D)
$3 = 16


More information about the postgis-users mailing list