[GRASS-dev] 64bit image issues (WAS: Re: grass-dev Digest, Vol 2, Issue 19)

Brad Douglas rez at touchofmadness.com
Sun Jun 11 22:57:24 EDT 2006


On Sun, 2006-06-11 at 13:19 +0100, Glynn Clements wrote:
> Glynn Clements wrote:
> 
> > > Export to image formats are still broken (some segv(), some write bad
> > > data).  Animation via ffmpeg 'works', but again, writes bad data.
> > > The 64bit data corruption and segv() issues needs to be fixed before 6.2
> > > goes gold.  I'll see if I can't hunt down and correct the segv()s this
> > > weekend.
> > 
> > I'm looking into the OGSF image handling stuff right now.
> 
> I've committed some changes which should fix the 64-bit issues in the
> image dumping code.

Thank you!  I now have complete images, not quadrants.  High resolution
PPM still crashes, tho:
#0  0x00002aaab2612d6e in _mesa_GetIntegerv ()
   from /usr/lib64/dri/radeon_dri.so
#1  0x00002aaaaaad762d in gsd_getViewport (tmp=0xffc4b910,
num=0xffc4b900)
    at gsd_prim.c:750
#2  0x00002aaaaaac7276 in GS_zoom_setup (a=0x7fffffc4c64c,
b=0x7fffffc4c648,
    c=0x7fffffc4c644, d=0x7fffffc4c640, maxx=0x7fffffc4c63c,
    maxy=0x7fffffc4c638) at GS2.c:2395
#3  0x000000000041f999 in Nstart_zoom_cmd (data=0x5380a0,
interp=0x5514a0,
    argc=4, argv=0x7fffffc4c6d0) at do_zoom.c:73
#4  0x00000031a2b2cd49 in TclInvokeStringCommand ()
   from /usr/lib64/libtcl8.4.so

I'll be committing code to fix several segv() issues in lib/image soon,
as well (one caused by off_t issue and another by free()).  Currently
testing...


-- 
Brad Douglas <rez touchofmadness com>                      KB8UYR
Address: 37.493,-121.924 / WGS84    National Map Corps #TNMC-3785




More information about the grass-dev mailing list