Crashes on DNG pinging
Posted: 2015-06-20T14:07:56-07:00
I am running latest ImageMagick-6.9.1-6
Version: ImageMagick 6.9.1-6 Q32 x86_64 2015-06-20 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
I have tried loading a DNG image file with ImageMagick and the result in display is this:
display: delegate failed `"ufraw-batch" --silent --create-id=also --out-type=png --out-depth=16 "--output=%u.png" "%i"' @ error/delegate.c/InvokeDelegate/1332.
display: unable to open image `/tmp/magick-22731aLzhrGkY9cim.ppm': No such file or directory @ error/blob.c/OpenBlob/2697.
In my program the result is even worse ( a crash ):
Got signal 17
[bt] Execution path:
[bt] /lib/x86_64-linux-gnu/libpthread.so.0(waitpid+0x1e) [0x7f18d275084e]
[bt] /lib/x86_64-linux-gnu/libpthread.so.0(waitpid+0x1e) [0x7f18d275084e]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/lib/libMagickCore-6.Q32HDRI.so.2(ExternalDelegateCommand+0x29c) [0x7f18d416981c]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/lib/libMagickCore-6.Q32HDRI.so.2(InvokeDelegate+0x3f2) [0x7f18d416a7e2]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/lib/libMagickCore-6.Q32HDRI.so.2(+0x23ac8a) [0x7f18d42e3c8a]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/lib/libMagickCore-6.Q32HDRI.so.2(ReadImage+0x17f) [0x7f18d4160e4f]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/lib/libMagickCore-6.Q32HDRI.so.2(ReadStream+0x117) [0x7f18d427f5a7]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/lib/libMagickCore-6.Q32HDRI.so.2(PingImage+0x61) [0x7f18d41609c1]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/lib/libMagickWand-6.Q32HDRI.so.2(MagickPingImage+0x6a) [0x7f18d48085ca]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/bin/mrViewer(_ZN3mrv9wandImage4testEPKc+0x100) [0x4f9970]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/bin/mrViewer(_ZN3mrv10test_imageEPKcPhi+0x78) [0x4bbe28]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/bin/mrViewer(_ZN3mrv6CMedia11guess_imageEPKcPKhillb+0x13a) [0x4bbf8a]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/bin/mrViewer(_ZN3mrv12ImageBrowser10load_imageEPKcllllb+0x434) [0x574964]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/bin/mrViewer(_ZN3mrv12ImageBrowser4loadERKSt6vectorINS_8LoadInfoESaIS2_EEbb+0xb10) [0x576f90]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/bin/mrViewer(main+0x72c) [0x47dadc]
Can anybody help pinpoint the bug in, I believe, ImageMagick?
Version: ImageMagick 6.9.1-6 Q32 x86_64 2015-06-20 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
I have tried loading a DNG image file with ImageMagick and the result in display is this:
display: delegate failed `"ufraw-batch" --silent --create-id=also --out-type=png --out-depth=16 "--output=%u.png" "%i"' @ error/delegate.c/InvokeDelegate/1332.
display: unable to open image `/tmp/magick-22731aLzhrGkY9cim.ppm': No such file or directory @ error/blob.c/OpenBlob/2697.
In my program the result is even worse ( a crash ):
Got signal 17
[bt] Execution path:
[bt] /lib/x86_64-linux-gnu/libpthread.so.0(waitpid+0x1e) [0x7f18d275084e]
[bt] /lib/x86_64-linux-gnu/libpthread.so.0(waitpid+0x1e) [0x7f18d275084e]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/lib/libMagickCore-6.Q32HDRI.so.2(ExternalDelegateCommand+0x29c) [0x7f18d416981c]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/lib/libMagickCore-6.Q32HDRI.so.2(InvokeDelegate+0x3f2) [0x7f18d416a7e2]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/lib/libMagickCore-6.Q32HDRI.so.2(+0x23ac8a) [0x7f18d42e3c8a]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/lib/libMagickCore-6.Q32HDRI.so.2(ReadImage+0x17f) [0x7f18d4160e4f]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/lib/libMagickCore-6.Q32HDRI.so.2(ReadStream+0x117) [0x7f18d427f5a7]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/lib/libMagickCore-6.Q32HDRI.so.2(PingImage+0x61) [0x7f18d41609c1]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/lib/libMagickWand-6.Q32HDRI.so.2(MagickPingImage+0x6a) [0x7f18d48085ca]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/bin/mrViewer(_ZN3mrv9wandImage4testEPKc+0x100) [0x4f9970]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/bin/mrViewer(_ZN3mrv10test_imageEPKcPhi+0x78) [0x4bbe28]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/bin/mrViewer(_ZN3mrv6CMedia11guess_imageEPKcPKhillb+0x13a) [0x4bbf8a]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/bin/mrViewer(_ZN3mrv12ImageBrowser10load_imageEPKcllllb+0x434) [0x574964]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/bin/mrViewer(_ZN3mrv12ImageBrowser4loadERKSt6vectorINS_8LoadInfoESaIS2_EEbb+0xb10) [0x576f90]
[bt] /media/Linux/code/applications/mrViewer/BUILD/Linux-3.2.0-38-generic-64/Release/bin/mrViewer(main+0x72c) [0x47dadc]
Can anybody help pinpoint the bug in, I believe, ImageMagick?