Package: scratch
Version: 1.4.0.6~dfsg1-5

To reproduce: Start scratch. Select Scene and the Backgrounds tab, click
the Import button.

A file selector appears, with thumbnails of available backgrounds.
Select Indoors --> kitchen (corresponding file is
/usr/share/scratch/Media/Backgrounds/Indoors/kitchen.jpg).

The image isn't loaded correctly, just a blank box instead of a
thumbnail in the list of backgrounds (unlike the file selector which did
show a correct thumbnail), and selecting the background has no effect,
the scratch scene just stays blank. There are no error messages as far
as I can find.

This is in contrast to loading Indoors --> bedroom1
(/usr/share/scratch/Media/Backgrounds/Indoors/bedroom1.gif, a gif rather
than a jpeg), which works fine. Which makes me think it's a problem with
the jpeg support.

The squeak wm appears to link with libjpeg.so.62:

$ ldd /usr/lib/squeak/4.10.2-2614/squeakvm 
        linux-vdso.so.1 (0x00007ffe5ab67000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6
        (0x00007f9838f72000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2
        (0x00007f9838d6e000)
        libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6
        (0x00007f9838ab9000)
        libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1
        (0x00007f98388a2000)
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3
        (0x00007f983862f000)
        libjpeg.so.62 => /usr/lib/x86_64-linux-gnu/libjpeg.so.62
        (0x00007f98383c6000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6
        (0x00007f9838029000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f983954d000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1
        (0x00007f9837e0f000)
        libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16
        (0x00007f9837bdc000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
        (0x00007f98379bf000)

squeak-wm is version 1:4.10.2.2614-4.1, and libjpeg is package
libjpeg62-turbo, version 1:1.5.2-2. I'm running on a debian gnu/linux
x86_64, upgraded to stretch. For completeness, kernel 4.9.0-4-amd64,
libc6 version 2.24-14.

(But I think this is an old problem, I had the same experience last time
I tried scratch, a few years ago, but it seems I unfortunately didn't
bug report it properly at the time).

Regards,
/Niels Möller

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.

Reply via email to