Package: zbar-tools
Version: 0.10+doc-10+b1
Followup-For: Bug #790492

The backtrace from GDB suggests that this is a bug in ImageMagick. Using
the "convert" command from ImageMagick gives the same result.


$ convert http://test.test/ out.png
error : No such file or directory
error : Unknown IO error
error : Unknown IO error
error : Unknown IO error
[...]
error : Unknown IO error
Segmentation fault


What's interesting is that it only fails on such URLs when there is no
file extension. Adding a file extension (even an invalid one!) gives:

$ zbarimg http://test.test/image.png
error : No such file or directory
ERROR: no data returned `http://test.test/image.png' @
error/url.c/ReadURLImage/263

$ zbarimg http://test.test/image.zzzz
error : No such file or directory
ERROR: no data returned `http://test.test/image.zzzz' @
error/url.c/ReadURLImage/263

$ convert http://test.test/image.png image.jpg
error : No such file or directory
convert: improper image header `/tmp/magick-10658RpyovmhF6oer' @
error/png.c/ReadPNGImage/3930.
convert: no data returned `http://test.test/image.png' @
error/url.c/ReadURLImage/263.
convert: no images defined `image.jpg' @
error/convert.c/ConvertImageCommand/3210.

$ convert http://test.test/image.zzzz image.jpg
error : No such file or directory
convert: no decode delegate for this image format `ZZZZ' @
error/constitute.c/ReadImage/501.
convert: no data returned `http://test.test/image.zzzz' @
error/url.c/ReadURLImage/263.
convert: no images defined `image.jpg' @
error/convert.c/ConvertImageCommand/3210.


I believe this bug should be reassigned to MagickWand
(libmagickwand-6.q16-2).

Kyanos

P.S. Information from Reportbug is provided in case it is useful.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (300, 'oldstable-updates'), (300,
'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages zbar-tools depends on:
ii  libc6                  2.22-9
ii  libgomp1               6.1.1-4
ii  libjpeg62-turbo        1:1.4.2-2
ii  libmagickcore-6.q16-2  8:6.8.9.9-7.1
ii  libmagickwand-6.q16-2  8:6.8.9.9-7.1
ii  libv4l-0               1.10.0-2
ii  libzbar0               0.10+doc-10+b1

zbar-tools recommends no packages.

zbar-tools suggests no packages.

-- no debconf information

Reply via email to