[postgis-devel] [PostGIS] #1617: [raster] several regress failures on raster (old mingw)

PostGIS trac at osgeo.org
Mon Feb 27 03:06:24 PST 2012


#1617: [raster] several regress failures on raster (old mingw)
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  dustymugs    
     Type:  defect   |      Status:  assigned     
 Priority:  blocker  |   Milestone:  PostGIS 2.0.0
Component:  raster   |     Version:  trunk        
 Keywords:  mingw    |  
---------------------+------------------------------------------------------

Comment(by mcayland):

 Replying to [comment:7 pramsey]:

 > It does crash, but unfortunately the stack trace is just as useless
 (perhaps because I'm built with minimal debugging on my dependent
 libraries, or perhaps just because I'm not good looking enough)
 >
 > {{{
 > Program received signal SIGSEGV, Segmentation fault.
 > 0x7855ae7a in memcpy ()
 >    from
 C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729
 .6161_x-ww_31a54e43\msvcr90.dll
 > (gdb) bt
 > #0  0x7855ae7a in memcpy ()
 >    from
 C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729
 .6161_x-ww_31a54e43\msvcr90.dll
 > #1  0x006eb768 in gdal!?IReadBlock at MEMRasterBand@@UAE?AW4CPLErr@@HHPAX at Z
 ()
 >    from c:\pgsql\bin\gdal.dll
 > Backtrace stopped: Not enough registers or memory available to unwind
 further
 > (gdb)
 > }}}

 Ah yes, you're probably getting caught by the DWARF2 vs. SJLJ exception
 handling fun. GCC uses DWARF2 while MSVC uses SJLJ - hence if you're
 mixing across the two, your stack traces will stop at the point where you
 switch.

 I think personally a better idea based upon your email would be for OSGEO
 to host a set of pre-built Windows DLLs and library headers so that people
 can quickly grab a tarball/zip file to get involved with development. It
 should be fairly easy to build everything consistently on mingw, and then
 everything would "just work".

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1617#comment:17>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list