[geos-devel] geos make check fails with cygwin-1.7

kiorky kiorky at cryptelium.net
Mon Dec 7 09:17:25 EST 2009


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 at 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 at APEM3 /minitage/django/cchb-win/geos-3.2.0rc3/tests/unit
$
[ APEM3 ][
-- 
Cordialement,
KiOrKY
GPG Key FingerPrint: 0x1A1194B7681112AF

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
Url : http://lists.osgeo.org/pipermail/geos-devel/attachments/20091207/9c402d08/signature.bin


More information about the geos-devel mailing list