[prev in list] [next in list] [prev in thread] [next in thread] 

List:       geos-devel
Subject:    Re: [geos-devel] geos make check fails with cygwin-1.7
From:       kiorky <kiorky () cryptelium ! net>
Date:       2009-12-07 14:42:32
Message-ID: 4B1D1458.5000502 () cryptelium ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Uhm, when reading better the #276, here is additionnal info:

$ libtool --mode=execute gdb ./geos_unit.exe
GNU gdb 6.8.0.20080328-cvs (cygwin-special)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...

(gdb)
(gdb) run
Starting program:
/cygdrive/e/minitage2/django/cchb-win/geos-3.2.0rc3/tests/unit/.libs/geos_unit
[New thread 3712.0xd68]
[New thread 3712.0x7b4]
[New thread 3712.0xd90]
[New thread 3712.0xd50]
[New thread 3712.0xee0]

Program received signal SIGSEGV, Segmentation fault.
0x6c4e8010 in ?? ()
(gdb) bt
#0  0x6c4e8010 in ?? ()
#1  0x7119a9b7 in GeometryFactory (this=0x712b0248) at GeometryFactory.cpp:74
#2  0x7119aa4b in geos::geom::GeometryFactory::getDefaultInstance () at
GeometryFactory.cpp:694
#3  0x71194223 in __static_initialization_and_destruction_0 (__initialize_p=1,
__priority=65535) at Geometry.cpp:106
#4  0x71194287 in global constructors keyed to _ZN4geos4geom11geosversionEv ()
at Geometry.cpp:834
#5  0x610203c3 in per_module::run_ctors () from /usr/bin/cygwin1.dll
#6  0x01c70553 in ?? ()
#7  0x610204b0 in dll::init () from /usr/bin/cygwin1.dll
#8  0x00000000 in ?? ()
(gdb)





kiorky a écrit :
> Hello, i'm trying to compile geos under cygwin(1.7) with a gcc4 (the one shipped
> with cygwin1.7).
> 
> The compilation pass flawlessly, make check compilation also, but execution core
> dump everytimes.
> 
> As compilation passed, and dependencies link pass also (gdal for example), i
> didn't notice at first the failure.
> 
> My geos usage is throught Django (so basicly python+ctypes) and this is were i
> found first there was something wrong:
> Here is the relevant trace (unit tests providen by the django gis package, see \
> [1].) django/contrib/gis/tests/test_geos.py(29)
> (Pdb) geom.wkt
> *** AttributeError: function 'free' not found (4|��~")
> 
> I decided so, to execute make check in tests/units but the executable
> 'geos_unit.exe' core dump everytime [2]
> 
> So, i investigate some more and found that:
> http://trac.osgeo.org/geos/ticket/276
> So, i tried to modify the configure to recompile without -O2, but no success
> 
> Now, i have no more clues to solve the problem.
> 
> 
> [1] -
> http://code.djangoproject.com/browser/django/tags/releases/1.0.2/django/contrib/gis/tests/test_geos.py#L27
>  
> [2] -
> $ gdb ./geos_unit.exe
> GNU gdb 6.8.0.20080328-cvs (cygwin-special)
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i686-pc-cygwin"...
> (no debugging symbols found)
> (gdb) run
> Starting program:
> /cygdrive/e/minitage2/django/cchb-win/geos-3.2.0rc3/tests/unit/geos_unit.exe
> [New thread 2708.0x610]
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> [New thread 2708.0xbc4]
> (no debugging symbols found)
> (no debugging symbols found)
> [New thread 2708.0x9b0]
> [New thread 2708.0x144]
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> [New thread 2708.0xdd8]
> [New thread 2708.0x37c]
> [New thread 2708.0xfdc]
> 4 [main] geos_unit 2708 _cygtls::handle_exceptions: Exception:
> STATUS_ACCESS_VIOLATION
> 301 [main] geos_unit 2708 open_stackdumpfile: Dumping stack trace to
> geos_unit.exe.stackdump
> (no debugging symbols found)
> 
> Program exited with code 0105400.
> (gdb) q
> 
> 
> 
> makina@APEM3 /minitage/django/cchb-win/geos-3.2.0rc3/tests/unit
> $ cat geos_unit.exe.stackdump
> Exception: STATUS_ACCESS_VIOLATION at eip=6C4E8010
> eax=61147000 ebx=00000019 ecx=6C4E8010 edx=00000000 esi=712621A4 edi=6115DFEB
> ebp=0022CCE8 esp=0022CCBC
> program=E:\minitage2\django\cchb-win\geos-3.2.0rc3\tests\unit\.libs\geos_unit.exe,
> pid 2708, thread main
> cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
> Stack trace:
> Frame     Function  Args
> 0022CCE8  6C4E8010  (712B0248, 00000000, 00000000, 00000000)
> 0022CD18  7119AA4B  (712B01E0, 7FF80000, 0022CD38, 71194287)
> 0022CD28  71194223  (00000001, 0000FFFF, 0022CDA8, 610203C3)
> 0022CD38  71194287  (00000001, 612135EC, 612135AF, 610204B0)
> 0022CDA8  610203C3  (00000000, 0022CDE0, 610066E0, 7FFD5000)
> End of stack trace
> (minitage-cchb-win)
> makina@APEM3 /minitage/django/cchb-win/geos-3.2.0rc3/tests/unit
> $
> [ APEM3 ][
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> geos-devel mailing list
> geos-devel@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geos-devel

-- 
Cordialement,
KiOrKY
GPG Key FingerPrint: 0x1A1194B7681112AF


["signature.asc" (application/pgp-signature)]

_______________________________________________
geos-devel mailing list
geos-devel@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geos-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic