Package: imagemagick-6.q16 Version: 8:6.9.11.60+dfsg-1.6 Severity: normal X-Debbugs-Cc: eer...@gmail.com
Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** use-case: 1. wget -O back1.gif "https://gitlab.com/bocianu/thehangmad/-/raw/main/gfx/back1.gif?ref_type=heads&inline=false" 2. display-im6.q16 back1.gif back1.gif 3. Press SPACE Expected outcome: - No crash (or invalid access errors from Valgrind) when switching to next small image, same as with other images. Actual outcome: malloc(): unsorted double linked list corrupted Aborted First valgrind error shows this to be due to freed memory access, and XGetRequest() called by XFreeCursor() after that, will write to the freed memory: ------------------------------------------ ==9266== Invalid read of size 8 ==9266== at 0x55FF03C: XFreeCursor (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0) ==9266== by 0x4A6B568: DestroyXResources (in /usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.6.0.0) ==9266== by 0x499640E: MagickCoreTerminus (in /usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.6.0.0) ==9266== by 0x10910F: ??? (in /usr/bin/display-im6.q16) ==9266== by 0x4C8C1C9: (below main) (libc_start_call_main.h:58) ==9266== Address 0x8039518 is 2,408 bytes inside a block of size 4,720 free'd ==9266== at 0x484317B: free (vg_replace_malloc.c:872) ==9266== by 0x55F8BE1: XCloseDisplay (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0) ==9266== by 0x4B9B786: DisplayImageCommand (in /usr/lib/x86_64-linux-gnu/libMagickWand-6.Q16.so.6.0.0) ==9266== by 0x4BE4750: MagickCommandGenesis (in /usr/lib/x86_64-linux-gnu/libMagickWand-6.Q16.so.6.0.0) ==9266== by 0x1090F7: ??? (in /usr/bin/display-im6.q16) ==9266== by 0x4C8C1C9: (below main) (libc_start_call_main.h:58) ==9266== Block was alloc'd at ==9266== at 0x48455EF: calloc (vg_replace_malloc.c:1328) ==9266== by 0x560BB1E: XOpenDisplay (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0) ==9266== by 0x4B9B06D: DisplayImageCommand (in /usr/lib/x86_64-linux-gnu/libMagickWand-6.Q16.so.6.0.0) ==9266== by 0x4BE4750: MagickCommandGenesis (in /usr/lib/x86_64-linux-gnu/libMagickWand-6.Q16.so.6.0.0) ==9266== by 0x1090F7: ??? (in /usr/bin/display-im6.q16) ==9266== by 0x4C8C1C9: (below main) (libc_start_call_main.h:58) ------------------------------------------ Some other images I tested, did not trigger the same abort, nor Valgrind warnings. -- Package-specific info: ImageMagick program version --------------------------- animate: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org compare: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org convert: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org composite: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org conjure: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org display: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org identify: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org import: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org mogrify: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org montage: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org stream: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org -- System Information: Debian Release: 12.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.1.0-13-amd64 (SMP w/6 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages imagemagick-6.q16 depends on: ii hicolor-icon-theme 0.17-2 ii libc6 2.36-9+deb12u3 ii libmagickcore-6.q16-6 8:6.9.11.60+dfsg-1.6 ii libmagickwand-6.q16-6 8:6.9.11.60+dfsg-1.6 Versions of packages imagemagick-6.q16 recommends: ii ghostscript 10.0.0~dfsg-11+deb12u2 ii libmagickcore-6.q16-6-extra 8:6.9.11.60+dfsg-1.6 ii netpbm 2:11.01.00-2 Versions of packages imagemagick-6.q16 suggests: pn autotrace <none> pn cups-bsd | lpr | lprng <none> pn curl <none> pn enscript <none> ii ffmpeg 7:5.1.3-1 ii gimp 2.10.34-1 pn gnuplot <none> pn grads <none> ii graphviz 2.42.2-7+b3 ii groff-base 1.22.4-10 pn hp2xx <none> pn html2ps <none> pn imagemagick-doc <none> pn libwmf-bin <none> pn mplayer <none> pn povray <none> pn radiance <none> ii sane-utils 1.2.1-2 ii texlive-binaries [texlive-base-bin] 2022.20220321.62855-5.1+deb12u1 pn transfig <none> pn ufraw-batch <none> ii xdg-utils 1.1.3-4.1 -- no debconf information