[geos-devel] Re: [GEOS] #276: "make check" failed at geos_unit on mingw

GEOS geos-trac at osgeo.org
Mon Oct 12 04:30:01 EDT 2009


#276: "make check" failed at geos_unit on mingw
------------------------+---------------------------------------------------
 Reporter:  sanak       |        Owner:  geos-devel at lists.osgeo.org
     Type:  defect      |       Status:  new                       
 Priority:  major       |    Milestone:  3.2.0                     
Component:  Default     |      Version:  svn-trunk                 
 Severity:  Unassigned  |   Resolution:                            
 Keywords:  mingw       |  
------------------------+---------------------------------------------------
Comment (by sanak):

 strk,

 > Sanak, does the crash still occur with r2669 ?

 Yes, it still occur with r2669.

 > Can you attach a backtrace ?

 When I build geos trunk(r2669) for gdb(backtrace) with "-g"
 option(./configure CXXFLAGS="-g" && make && make check), xmltester crash
 at heisenbugs.xml and stmlf-cases-20070119.xml.

  * XMLTester gdb output
 {{{
 $ gdb ./XMLTester
 GNU gdb 6.3
 Copyright 2004 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you
 are
 welcome to change it and/or distribute copies of it under certain
 conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for
 details.
 This GDB was configured as "i686-pc-mingw32"...(no debugging symbols
 found)

 (gdb) run ./tests/fme.xml
 Starting program: e:\mingw\geos-trunk\tests\xmltester/./XMLTester.exe
 ./tests/fme.xml
 Files: 1
 Tests: 1
 Failed: 0
 Succeeded: 1

 Program exited normally.
 (gdb) run ./tests/heisenbugs.xml
 Starting program: e:\mingw\geos-trunk\tests\xmltester/./XMLTester.exe
 ./tests/heisenbugs.xml

 Program exited with code 030000000005.
 (gdb) backtrace
 (gdb) No stack.

 (gdb) No stack.
 run ./tests/stmlf/stmlf-cases-20070119.xml
 Starting program: e:\mingw\geos-trunk\tests\xmltester/./XMLTester.exe
 ./tests/stmlf/stmlf-cases-20070119.xml

 Program exited with code 030000000005.
 (gdb) backtrace
 (gdb) No stack.
 }}}

 And, geos_unit didn't crash. (but linearref::LocationIndexedLine assertion
 failed as follows.)

  * geos_unit output
 {{{
 :
 geos::io::WKBReader: .......
 geos::linearref::LocationIndexedLine: ..........[11=F].............
 geos::noding::BasicSegmentString: ....
 geos::noding::NodedSegmentString: .....
 :
 ---> group: geos::linearref::LocationIndexedLine, test: test<11>
      problem: assertion failed

 tests summary: failures:1 ok:540
 FAIL: geos_unit.exe
 }}}


 > Which version of mingw are you using ? Which version of GCC does it
 contain ?

 I use MinGW-5.1.4 and g++(GCC)-3.4.5 (mingw-vista special r3) on Windows
 XP SP3. (I had followed the PostGIS Windows compilation
 guide(http://trac.osgeo.org/postgis/wiki/UsersWikiWinCompile ))

 Is there person who had succeeded "make check" on Windows MinGW
 environment?

 And, should I change this Milestone from 3.2.0 to 3.3.0?

 Regards,

-- 
Ticket URL: <http://trac.osgeo.org/geos/ticket/276#comment:4>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list