[Pkg-gmagick-im-team] Bug#619134: Bug#619134: /usr/bin/display: Bus Error on EIO

roucaries bastien roucaries.bastien+debian at gmail.com
Mon Mar 21 15:18:38 UTC 2011


On Mon, Mar 21, 2011 at 4:02 PM, Meelis Roos <mroos at linux.ee> wrote:
> Package: imagemagick
> Version: 8:6.6.0.4-3
> Severity: minor
> File: /usr/bin/display
>
> Just noticed that display command from imagemagick sets a SIGBUS after
> closing a file that it could not read:
>
> stat("/cdrom/P5130043.JPG", {st_mode=S_IFREG|0555, st_size=8206, ...}) = 0
> open("/cdrom/P5130043.JPG", O_RDONLY)   = 4
> fstat(4, {st_mode=S_IFREG|0555, st_size=8206, ...}) = 0
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)= 0x7feea7df3000
> read(4, 0x7feea7df3000, 2048)           = -1 EIO (Input/output error)
> lseek(4, 0, SEEK_SET)                   = 0
> mmap(NULL, 8206, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7feea7df0000
> close(4)                                = 0
> munmap(0x7feea7df3000, 4096)            = 0
> --- SIGBUS (Bus error) @ 0 (0) ---
> +++ killed by SIGBUS +++

SIGBUS after mumap an EIO file is not a imagemagick problem.

see http://linux.die.net/man/2/mmap and also
http://mail.gnome.org/archives/mc-devel/2001-September/msg00104.html

You could also send a copy to kernel guys for notification

Bastien


>
> -- System Information:
> Debian Release: wheezy/sid
>  APT prefers unstable
>  APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.38-rc8-00122-gc44ed96 (SMP w/2 CPU cores; PREEMPT)
> Locale: LANG=et_EE.UTF-8, LC_CTYPE=et_EE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages imagemagick depends on:
> ii  libbz2-1.0              1.0.5-6          high-quality block-sorting file co
> pn  libc6                   <none>           (no description available)
> ii  libfontconfig1          2.8.0-2.1        generic font configuration library
> ii  libfreetype6            2.4.4-1          FreeType 2 font engine, shared lib
> ii  libglib2.0-0            2.28.2-1         The GLib library of C routines
> ii  libgomp1                4.5.2-6          GCC OpenMP (GOMP) support library
> ii  libice6                 2:1.0.7-1        X11 Inter-Client Exchange library
> ii  libjpeg62               6b1-1            The Independent JPEG Group's JPEG
> ii  liblcms1                1.18.dfsg-1.2+b3 Color management library
> ii  liblqr-1-0              0.4.1-1          converts plain array images into m
> ii  libltdl7                2.2.6b-2         A system independent dlopen wrappe
> ii  libmagickcore3          8:6.6.0.4-3      low-level image manipulation libra
> ii  libmagickwand3          8:6.6.0.4-3      image manipulation library
> ii  libsm6                  2:1.2.0-1        X11 Session Management library
> ii  libtiff4                3.9.4-8          Tag Image File Format (TIFF) libra
> ii  libx11-6                2:1.4.1-5        X11 client-side library
> ii  libxext6                2:1.2.0-2        X11 miscellaneous extension librar
> ii  libxt6                  1:1.1.1-1        X11 toolkit intrinsics library
> ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime
>
> Versions of packages imagemagick recommends:
> ii  ghostscript               9.01~dfsg-2    interpreter for the PostScript lan
> ii  libmagickcore3-extra      8:6.6.0.4-3    low-level image manipulation libra
> ii  netpbm                    2:10.0-12.2+b1 Graphics conversion tools between
> ii  ufraw-batch               0.18-1         batch importer for raw camera imag
>
> Versions of packages imagemagick suggests:
> pn  autotrace      <none>                    (no description available)
> ii  cups-bsd [lpr] 1.4.6-3                   Common UNIX Printing System(tm) -
> ii  curl           7.21.4-1                  Get a file from an HTTP, HTTPS or
> ii  enscript       1.6.5.2-1                 converts text to Postscript, HTML
> ii  ffmpeg         5:0.6.1+svn20110308-0.0   audio/video encoder, streaming ser
> ii  gimp           2.6.11-1                  The GNU Image Manipulation Program
> ii  gnuplot        4.4.0-1.1                 A command-line driven interactive
> pn  grads          <none>                    (no description available)
> ii  groff-base     1.21-5                    GNU troff text-formatting system (
> pn  hp2xx          <none>                    (no description available)
> pn  html2ps        <none>                    (no description available)
> pn  imagemagick-do <none>                    (no description available)
> ii  libwmf-bin     0.2.8.4-6.1+b1            Windows metafile conversion tools
> ii  mplayer        3:1.0~rc4+svn20110308-0.0 The Ultimate Movie Player For Linu
> pn  povray         <none>                    (no description available)
> pn  radiance       <none>                    (no description available)
> ii  sane-utils     1.0.22-2                  API library for scanners -- utilit
> ii  texlive-binari 2009-8                    Binaries for TeX Live
> ii  transfig       1:3.2.5.d-1               Utilities for converting XFig figu
> ii  xdg-utils      1.1.0~rc1-2               desktop integration utilities from
>
> -- debconf-show failed
>
>
>
> _______________________________________________
> Pkg-gmagick-im-team mailing list
> Pkg-gmagick-im-team at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-gmagick-im-team
>





More information about the Pkg-gmagick-im-team mailing list