[PostGIS] #280: in_gml regression test fails

View: New views
8 Messages — Rating Filter:   Alert me  

[PostGIS] #280: in_gml regression test fails

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#280: in_gml regression test fails
---------------------+------------------------------------------------------
 Reporter:  mloskot  |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  postgis 1.5.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 Running regression tests against PostGIS from current trunk (r4706) gives
 failure for the ''in_gml'' test

 {{{
  in_gml. failed (diff expected obtained: /tmp/pgis_reg_27721/test_45_diff)
 }}}

 and it looks it crashes the server

 {{{
 $ tail -n 2 /tmp/pgis_reg_27721/test_45_diff
 --- 1 ----
 ! psql: FATAL:  the database system is in recovery mode
 }}}

 I did full rebuild of both, PostGIS and GEOS.

 Full test log attached.

 The problem may be related to bug reported in #273.

 Environment:
  * Linux 64-bit
  * GCC 4.4.1
  * GEOS (version 3.2.0 from SVN trunk
 [http://trac.osgeo.org/geos/changeset/2710 2710])

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/280>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel

Re: [PostGIS] #280: in_gml regression test fails

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#280: in_gml regression test fails
----------------------+-----------------------------------------------------
  Reporter:  mloskot  |       Owner:  pramsey      
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  postgis 1.5.0
 Component:  postgis  |     Version:  trunk        
Resolution:           |    Keywords:              
----------------------+-----------------------------------------------------
Comment (by robe):

 That's interesting.  For what its worth, I finally got around to running
 it on my OpenSUSE 11 vm (32-bit) last night and it worked fine using the
 same ftp://xmlsoft.org/libxml2/libxml2-sources-2.7.6.tar.gz I was using on
 my mingW.  Even garden tests well returned geometries didn't verify they
 were right.

 Mateusz, which version of libxml2 were you compiling against.

 The reason I thought my mingW libxml2 compile was at fault was because
 even the test exes that get built by libxml2 would hang too.

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/280#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel

Re: [PostGIS] #280: in_gml regression test fails

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#280: in_gml regression test fails
----------------------+-----------------------------------------------------
  Reporter:  mloskot  |       Owner:  pramsey      
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  postgis 1.5.0
 Component:  postgis  |     Version:  trunk        
Resolution:           |    Keywords:              
----------------------+-----------------------------------------------------
Comment (by colivier):

 Hi Mateusz

 Some questions, what result of following commands on your system ?

 ldd postgis/libpostgis-1.5.so
 xml2config --version
 ./configure | grep xml

 Tks !

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/280#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel

Re: [PostGIS] #280: in_gml regression test fails

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#280: in_gml regression test fails
----------------------+-----------------------------------------------------
  Reporter:  mloskot  |       Owner:  pramsey      
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  postgis 1.5.0
 Component:  postgis  |     Version:  trunk        
Resolution:           |    Keywords:              
----------------------+-----------------------------------------------------
Comment (by colivier):

 I post again the commands with the right Wiki formatting:


 {{{
 ldd postgis/libpostgis-1.5.so
 xml2config --version
 ./configure | grep xml
 }}}

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/280#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel

Re: [PostGIS] #280: in_gml regression test fails

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#280: in_gml regression test fails
----------------------+-----------------------------------------------------
  Reporter:  mloskot  |       Owner:  pramsey      
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  postgis 1.5.0
 Component:  postgis  |     Version:  trunk        
Resolution:           |    Keywords:              
----------------------+-----------------------------------------------------
Old description:

> Running regression tests against PostGIS from current trunk (r4706) gives
> failure for the ''in_gml'' test
>
> {{{
>  in_gml. failed (diff expected obtained:
> /tmp/pgis_reg_27721/test_45_diff)
> }}}
>
> and it looks it crashes the server
>
> {{{
> $ tail -n 2 /tmp/pgis_reg_27721/test_45_diff
> --- 1 ----
> ! psql: FATAL:  the database system is in recovery mode
> }}}
>
> I did full rebuild of both, PostGIS and GEOS.
>
> Full test log attached.
>
> The problem may be related to bug reported in #273.
>
> Environment:
>  * Linux 64-bit
>  * GCC 4.4.1
>  * GEOS (version 3.2.0 from SVN trunk
> [http://trac.osgeo.org/geos/changeset/2710 2710])

New description:

 Running regression tests against PostGIS from current trunk (r4706) gives
 failure for the ''in_gml'' test

 {{{
  in_gml. failed (diff expected obtained: /tmp/pgis_reg_27721/test_45_diff)
 }}}

 and it looks it crashes the server

 {{{
 $ tail -n 2 /tmp/pgis_reg_27721/test_45_diff
 --- 1 ----
 ! psql: FATAL:  the database system is in recovery mode
 }}}

 I did full rebuild of both, PostGIS and GEOS.

 Full test log attached.

 The problem may be related to bug reported in #273.

 Environment:
  * Linux 64-bit (Ubuntu 9.10 Karmic Koala)
  * GCC 4.4.1
  * GEOS (version 3.2.0 from SVN trunk
 [http://trac.osgeo.org/geos/changeset/2710 2710])
  * libxml2 2.7.5

Comment (by mloskot):

 I use libxml2 2.7.5 installed from Ubuntu 9.10 packages

 Here is output of the commands:

  * ldd
 {{{
 $ ldd /usr/lib/postgresql/8.4/lib/postgis-1.5.so
         linux-vdso.so.1 =>  (0x00007ffffc7d1000)
         libgeos_c.so.1 => /usr/local/lib/libgeos_c.so.1
 (0x00007f28c74bd000)
         libproj.so.0 => /usr/lib/libproj.so.0 (0x00007f28c727c000)
         libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007f28c6f2d000)
         libc.so.6 => /lib/libc.so.6 (0x00007f28c6bbe000)
         libgeos-3.2.0.so => /usr/local/lib/libgeos-3.2.0.so
 (0x00007f28c66bd000)
         libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f28c63ac000)
         libm.so.6 => /lib/libm.so.6 (0x00007f28c6128000)
         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f28c5f11000)
         libdl.so.2 => /lib/libdl.so.2 (0x00007f28c5d0c000)
         libz.so.1 => /lib/libz.so.1 (0x00007f28c5af5000)
         /lib64/ld-linux-x86-64.so.2 (0x00007f28c7986000)
 }}}

  * xml2config
 {{{
 mloskot@vb-ubuntu910-x64:~/dev/postgis/_svn/trunk$ xml2config --version
 No command 'xml2config' found, did you mean:
  Command 'xml2-config' from package 'libxml2-dev' (main)
 xml2config: command not found
 mloskot@vb-ubuntu910-x64:~/dev/postgis/_svn/trunk$ xml2-config --version
 2.7.5
 mloskot@vb-ubuntu910-x64:~/dev/postgis/_svn/trunk$ ./configure | grep xml
 checking for xml2-config... /usr/bin/xml2-config
 checking libxml/tree.h usability... yes
 checking libxml/tree.h presence... yes
 checking for libxml/tree.h... yes
 checking libxml/parser.h usability... yes
 checking libxml/parser.h presence... yes
 checking for libxml/parser.h... yes
 checking for xmlInitParser in -lxml2... yes
   Libxml2 config:       /usr/bin/xml2-config
   Libxml2 version:      2.7.5
 }}}

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/280#comment:4>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel

Re: [PostGIS] #280: in_gml regression test fails

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#280: in_gml regression test fails
----------------------+-----------------------------------------------------
  Reporter:  mloskot  |       Owner:  colivier    
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  postgis 1.5.0
 Component:  postgis  |     Version:  trunk        
Resolution:           |    Keywords:              
----------------------+-----------------------------------------------------
Changes (by pramsey):

  * owner:  pramsey => colivier

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/280#comment:5>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel

Re: [PostGIS] #280: in_gml regression test fails

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#280: in_gml regression test fails
----------------------+-----------------------------------------------------
  Reporter:  mloskot  |       Owner:  colivier    
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  postgis 1.5.0
 Component:  postgis  |     Version:  trunk        
Resolution:           |    Keywords:              
----------------------+-----------------------------------------------------
Comment (by colivier):

 Ok i get a shell on a Ubuntu 9.10 - 64bits

 I'm not able to reproduce the bug, (same versions at all)

 I guess that you loose the postgres connection with Hausdorff test
 (#279) and then when in_gml test occur it just can't be executed.

 I suggest to comment, in the Makefile, the Hausdorff test and rerun
 make test

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/280#comment:6>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel

Re: [PostGIS] #280: in_gml regression test fails

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#280: in_gml regression test fails
-------------------------+--------------------------------------------------
  Reporter:  mloskot     |       Owner:  colivier    
      Type:  defect      |      Status:  closed      
  Priority:  medium      |   Milestone:  postgis 1.5.0
 Component:  postgis     |     Version:  trunk        
Resolution:  worksforme  |    Keywords:              
-------------------------+--------------------------------------------------
Changes (by mloskot):

  * status:  new => closed
  * resolution:  => worksforme

Comment:

 Yes, you are right. This problem is caused by the Hausdorff test.
 Disabling the Hausdorff makes the regression tests passing:
 {{{
 ...
  regress_ogc_prep. ok
  regress_buffer_params. ok
  in_gml. ok

 Run tests: 44
 Failed: 0
 }}}

 I'm closing this ticket.

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/280#comment:7>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel