Multithreading assert failed
Posted: 2010-12-07T19:41:19-07:00
I'm working with remote sensed imagery from the Landsat program. I downloaded it here:
http://edcsns17.cr.usgs.gov/cgi-bin/Ear ... ANDSAT_ETM
I just want to combine some of the images into a RGB image. There seems to be a problem with threading. I set the number of threads to one, and it worked. I thought you guys might be interested in this thread-un-safe behavior. All those "Unknown filed with tag" errors are expected because these are GeoTIFFs.
http://edcsns17.cr.usgs.gov/cgi-bin/Ear ... ANDSAT_ETM
I just want to combine some of the images into a RGB image. There seems to be a problem with threading. I set the number of threads to one, and it worked. I thought you guys might be interested in this thread-un-safe behavior. All those "Unknown filed with tag" errors are expected because these are GeoTIFFs.
Code: Select all
GRASS 7.0.svn (cache):~/clouds/LE70380312001247EDC00 > convert L71038031_03120010904_B50.TIF L71038031_03120010904_B40.TIF L71038031_03120010904_B20.TIF -channel RGB -combine LE70380312001247EDC00_rgb.tif
Assertion failed: (id < (long) cache_view->number_threads), function GetCacheViewVirtualPixels, file magick/cache-view.c, line 712.
Abort trap
GRASS 7.0.svn (cache):~/clouds/LE70380312001247EDC00 > convert L71038031_03120010904_B50.TIF L71038031_03120010904_B40.TIF L71038031_03120010904_B20.TIF -channel RGB -combine LE70380312001247EDC00_rgb.tif
Assertion failed: (id < (long) cache_view->number_threads), function GetCacheViewVirtualPixels, file magick/cache-view.c, line 712.
Assertion failed: (id < (long) cache_view->number_threads), function GetCacheViewVirtualPixels, file magick/cache-view.c, line 712.
Abort trap
GRASS 7.0.svn (cache):~/clouds/LE70380312001247EDC00 > export MAGICK_THREAD_LIMIT=1
GRASS 7.0.svn (cache):~/clouds/LE70380312001247EDC00 > convert L71038031_03120010904_B50.TIF L71038031_03120010904_B40.TIF L71038031_03120010904_B20.TIF -channel RGB -combine LE70380312001247EDC00_rgb.tif
convert: Unknown field with tag 33550 (0x830e) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/528.
convert: Unknown field with tag 33922 (0x8482) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/528.
convert: Unknown field with tag 34735 (0x87af) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/528.
convert: Unknown field with tag 34737 (0x87b1) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/528.
convert: Unknown field with tag 33550 (0x830e) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/528.
convert: Unknown field with tag 33922 (0x8482) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/528.
convert: Unknown field with tag 34735 (0x87af) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/528.
convert: Unknown field with tag 34737 (0x87b1) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/528.
convert: Unknown field with tag 33550 (0x830e) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/528.
convert: Unknown field with tag 33922 (0x8482) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/528.
convert: Unknown field with tag 34735 (0x87af) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/528.
convert: Unknown field with tag 34737 (0x87b1) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/528.
GRASS 7.0.svn (cache):~/clouds/LE70380312001247EDC00 > hostinfo
Mach kernel version:
Darwin Kernel Version 10.5.0: Fri Nov 5 23:20:39 PDT 2010; root:xnu-1504.9.17~1/RELEASE_I386
Kernel configured for up to 16 processors.
8 processors are physically available.
16 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Primary memory available: 16.00 gigabytes
Default processor set: 85 tasks, 378 threads, 16 processors
Load average: 0.00, Mach factor: 15.99
GRASS 7.0.svn (cache):~/clouds/LE70380312001247EDC00 >