Opened 9 years ago

Last modified 9 years ago

#5988 closed defect

gdalbuildvrt trunk crash on MacOSX — at Version 3

Reported by: jpalmer Owned by: warmerdam
Priority: normal Milestone: 2.0.0
Component: default Version: svn-trunk
Severity: normal Keywords:
Cc:

Description (last modified by jpalmer)

gdalbuildvrt -resolution highest test.vrt 92LBZ-92L3G.tif
0...10...20...30...40...50...60...70...80...90...100 - done.
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
Segmentation fault: 11

Using this example file with a brew built version of gdal trunk on MacOSX 10.10 https://dl.dropboxusercontent.com/u/30623980/92LBZ-92L3G.tif

back trace returns:

(lldb) file /usr/local/bin/gdalbuildvrt
Current executable set to '/usr/local/bin/gdalbuildvrt' (x86_64).
(lldb) r -resolution highest test.vrt 92LBZ-92L3G.tif
Process 73978 launched: '/usr/local/bin/gdalbuildvrt' (x86_64)
0...10...20...30...40...50...60...70...80...90...100 - done.
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
Process 73978 stopped
* thread #1: tid = 0x1390e8, 0x000000010510b418 libtiff.5.dylib`_TIFFVGetField + 1212, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xa00)
    frame #0: 0x000000010510b418 libtiff.5.dylib`_TIFFVGetField + 1212
libtiff.5.dylib`_TIFFVGetField:
->  0x10510b418 <+1212>: movq   %rax, (%rcx)
    0x10510b41b <+1215>: movl   $0x1, %r12d
    0x10510b421 <+1221>: movl   %r12d, %eax
    0x10510b424 <+1224>: addq   $0x8, %rsp
(lldb) bt
* thread #1: tid = 0x1390e8, 0x000000010510b418 libtiff.5.dylib`_TIFFVGetField + 1212, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xa00)
  * frame #0: 0x000000010510b418 libtiff.5.dylib`_TIFFVGetField + 1212
    frame #1: 0x00000001045a9702 libtiff.5.dylib`TIFFVGetField + 178
    frame #2: 0x00000001045a9607 libtiff.5.dylib`TIFFGetField + 359
    frame #3: 0x00000001000cd945 libgdal.20.dylib`GTiffDataset::OpenOffset(tiff*, GTiffDataset**, unsigned long, int, GDALAccess, int, int, char**) + 1637
    frame #4: 0x00000001000d2b7a libgdal.20.dylib`GTiffDataset::Open(GDALOpenInfo*) + 3804
    frame #5: 0x0000000100290e38 libgdal.20.dylib`GDALOpenEx + 967
    frame #6: 0x000000010000c2de gdalbuildvrt`VRTBuilder::Build(int (*)(double, char const*, void*), void*) + 798
    frame #7: 0x000000010000d089 gdalbuildvrt`main + 2778
    frame #8: 0x00007fff8fec85c9 libdyld.dylib`start + 1

configure output for build is here:

https://gist.github.com/palmerj/df99eb8e65d316b66efb

Change History (3)

comment:1 by jpalmer, 9 years ago

Summary: gdalbuildvrt trunk crash with on MacOSXgdalbuildvrt trunk crash on MacOSX

comment:2 by jpalmer, 9 years ago

Description: modified (diff)

comment:3 by jpalmer, 9 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.