Opened 17 years ago

Closed 17 years ago

#1873 closed defect (fixed)

Tiff_write_6 and tiff_write_7 blowups with external 3.8.2

Reported by: hobu Owned by: warmerdam
Priority: normal Milestone: 1.5.0
Component: default Version: unspecified
Severity: normal Keywords: gtiff
Cc:

Description (last modified by hobu)

TEST: tiff_write_6 ... ERROR 1: ZIPDecode:tmp/test_6.tif: Decoding error at scanline 0, incorrect header check
ERROR 1: TIFFReadEncodedTile() failed.

ERROR 1: IReadBlock failed at X offset 0, Y offset 0
ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 0
ERROR 1: ZIPDecode:tmp/test_6.tif: Decoding error at scanline 0, incorrect header check
ERROR 1: TIFFReadEncodedTile() failed.

ERROR 1: IReadBlock failed at X offset 0, Y offset 0
ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 0
fail
    did not get back expected data.
  TEST: tiff_write_7 ... 
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000810
0xffff0680 in ___bzero () at /System/Library/Frameworks/System.framework/PrivateHeaders/i386/cpu_capabilities.h:226
226     /System/Library/Frameworks/System.framework/PrivateHeaders/i386/cpu_capabilities.h: No such file or directory.
        in /System/Library/Frameworks/System.framework/PrivateHeaders/i386/cpu_capabilities.h
(gdb) bt
#0  0xffff0680 in ___bzero () at /System/Library/Frameworks/System.framework/PrivateHeaders/i386/cpu_capabilities.h:226
#1  0x0170d46c in _TIFFmemset (p=0x810, v=0, c=38888) at tif_unix.c:259
#2  0x0170173b in LZWPreDecode (tif=0x618c70, s=0) at tif_lzw.c:310
#3  0x0170b8e3 in TIFFReadEncodedTile (tif=0x618c70, tile=0, buf=0x41ec000, size=65536) at tif_read.c:360
#4  0x01057ef3 in GTiffRasterBand::IReadBlock ()
#5  0x01125e91 in GDALRasterBand::GetLockedBlockRef ()
#6  0x0112a719 in GDALRasterBand::IRasterIO ()
#7  0x01115561 in GDALDataset::IRasterIO ()
#8  0x0111584d in GDALDataset::RasterIO ()
#9  0x00559628 in _wrap_Dataset_WriteRaster (args=0x3c18e8, kwargs=0x0) at extensions/gdal_wrap.cpp:3222
#10 0x0006405e in PyEval_EvalFrame (f=0x609030) at Python/ceval.c:3568
#11 0x00064bf9 in PyEval_EvalCodeEx (co=0x3acae0, globals=0x3a3150, locals=0x0, args=0x180bb70, argcount=6, kws=0x180bb88, kwcount=1, defs=0x3aee7c, defcount=4, closure=0x0) at Python/ceval.c:2741
#12 0x00062a33 in PyEval_EvalFrame (f=0x180ba10) at Python/ceval.c:3661
#13 0x0006313e in PyEval_EvalFrame (f=0x608540) at Python/ceval.c:3651
#14 0x0006313e in PyEval_EvalFrame (f=0x608b80) at Python/ceval.c:3651
#15 0x00064bf9 in PyEval_EvalCodeEx (co=0x39f960, globals=0x36aa50, locals=0x36aa50, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2741
#16 0x00064e39 in PyEval_EvalCode (co=0x39f960, globals=0x36aa50, locals=0x36aa50) at Python/ceval.c:484
#17 0x0008b98b in PyRun_FileExFlags (fp=0xa000bda0, filename=0xbffffc8a "tiff_write.py", start=257, globals=0x36aa50, locals=0x36aa50, closeit=1, flags=0xbffffb88) at Python/pythonrun.c:1285
#18 0x0008bc6e in PyRun_SimpleFileExFlags (fp=0xa000bda0, filename=0xbffffc8a "tiff_write.py", closeit=1, flags=0xbffffb88) at Python/pythonrun.c:869
#19 0x00005fe0 in Py_Main (argc=1, argv=0xbffffc08) at Modules/main.c:493
#20 0x00002326 in _start ()
#21 0x0000224d in start ()

Change History (4)

comment:1 by hobu, 17 years ago

Description: modified (diff)

comment:2 by hobu, 17 years ago

This happens on OS X intel with a current svn.

comment:3 by warmerdam, 17 years ago

Keywords: gtiff added
Status: newassigned

I see the same problem on my MacOS X system (PPC) but strangely it does not happen on epimethius.

comment:4 by hobu, 17 years ago

Resolution: fixed
Status: assignedclosed

The problem was the tests. Fixed in r12404 or thereabouts...

Note: See TracTickets for help on using tickets.