Strange Bus Error from montage and identify
Posted: 2010-03-31T17:54:48-07:00
I am getting consistent bus errors from ImageMagick tools when processing certain files in certain orders
I can 'identify a.jpg', 'identify b.jpg', 'identify b.jpg a.jpg', but when I try to 'identify a.jpg b.jpg' (or even 'identify a.jpg; identify b.jpg') I get a Bus Error with the following backtrace:
#0 0x00007ffff6f3869b in memcpy () from /lib/libc.so.6
#1 0x00007ffff79f5144 in ReadBlob () from /usr/lib/libMagickCore.so.2
#2 0x00007ffff7a96c4e in SetImageInfo () from /usr/lib/libMagickCore.so.2
#3 0x00007ffff7a21b20 in ReadImage () from /usr/lib/libMagickCore.so.2
#4 0x00007ffff7af59bc in ReadStream () from /usr/lib/libMagickCore.so.2
#5 0x00007ffff7a22df7 in PingImage () from /usr/lib/libMagickCore.so.2
#6 0x00007ffff7a2304b in PingImages () from /usr/lib/libMagickCore.so.2
#7 0x00007ffff7730d57 in IdentifyImageCommand () from /usr/lib/libMagickWand.so.2
#8 0x0000000000400fd7 in ?? ()
#9 0x00007ffff6ed4abd in __libc_start_main () from /lib/libc.so.6
#10 0x0000000000400dd9 in ?? ()
#11 0x00007fffffffe708 in ?? ()
#12 0x000000000000001c in ?? ()
#13 0x0000000000000003 in ?? ()
#14 0x00007fffffffe92c in ?? ()
#15 0x00007fffffffe93e in ?? ()
#16 0x00007fffffffe966 in ?? ()
#17 0x0000000000000000 in ?? ()
When I copy the files to a different disk the crash goes away regardless of access order. I should also note that these files are being accessed over CIFS. Could a disk issue be causing this bizzarre ImageMagick crash, even when the files seem otherwise fine? I can 'md5sum a.jpg b.jpg' repeatedly with no issue (and same results each time), but every time I 'identify a.jpg b.jpg' or make a montage in that same order, ImageMagick crashes.
I can 'identify a.jpg', 'identify b.jpg', 'identify b.jpg a.jpg', but when I try to 'identify a.jpg b.jpg' (or even 'identify a.jpg; identify b.jpg') I get a Bus Error with the following backtrace:
#0 0x00007ffff6f3869b in memcpy () from /lib/libc.so.6
#1 0x00007ffff79f5144 in ReadBlob () from /usr/lib/libMagickCore.so.2
#2 0x00007ffff7a96c4e in SetImageInfo () from /usr/lib/libMagickCore.so.2
#3 0x00007ffff7a21b20 in ReadImage () from /usr/lib/libMagickCore.so.2
#4 0x00007ffff7af59bc in ReadStream () from /usr/lib/libMagickCore.so.2
#5 0x00007ffff7a22df7 in PingImage () from /usr/lib/libMagickCore.so.2
#6 0x00007ffff7a2304b in PingImages () from /usr/lib/libMagickCore.so.2
#7 0x00007ffff7730d57 in IdentifyImageCommand () from /usr/lib/libMagickWand.so.2
#8 0x0000000000400fd7 in ?? ()
#9 0x00007ffff6ed4abd in __libc_start_main () from /lib/libc.so.6
#10 0x0000000000400dd9 in ?? ()
#11 0x00007fffffffe708 in ?? ()
#12 0x000000000000001c in ?? ()
#13 0x0000000000000003 in ?? ()
#14 0x00007fffffffe92c in ?? ()
#15 0x00007fffffffe93e in ?? ()
#16 0x00007fffffffe966 in ?? ()
#17 0x0000000000000000 in ?? ()
When I copy the files to a different disk the crash goes away regardless of access order. I should also note that these files are being accessed over CIFS. Could a disk issue be causing this bizzarre ImageMagick crash, even when the files seem otherwise fine? I can 'md5sum a.jpg b.jpg' repeatedly with no issue (and same results each time), but every time I 'identify a.jpg b.jpg' or make a montage in that same order, ImageMagick crashes.