Giter VIP home page Giter VIP logo

Comments (3)

dbrgn avatar dbrgn commented on July 24, 2024 1

gdk-pixbuf does not ship with JPEG2000 support by default, but many distros package maintainers compile it in regardless. For example, Archlinux.

Hi, thanks for the information. It seems that jasper was dropped from the gdk-pixbuf2 Arch package a few weeks ago! https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/gdk-pixbuf2&id=71c56709635dbb3fd45ea5efd21125294def45a0

I can confirm that the current version of viewnior on Arch does not segfault anymore 🙂

from viewnior.

dbrgn avatar dbrgn commented on July 24, 2024

Ah, I almost forgot, here's the trace from coredumpctl info:

                Stack trace of thread 1889:
                #0  0x00007f61d0771ce5 raise (libc.so.6 + 0x3bce5)
                #1  0x00007f61d075b857 abort (libc.so.6 + 0x25857)
                #2  0x00007f61d075b727 __assert_fail_base.cold (libc.so.6 + 0x25727)
                #3  0x00007f61d076a426 __assert_fail (libc.so.6 + 0x34426)
                #4  0x00007f61cddf391d jp2_decode (libjasper.so.4 + 0x2791d)
                #5  0x00007f61cdde7f3e jas_image_decode (libjasper.so.4 + 0x1bf3e)
                #6  0x00007f61cde9f251 n/a (libpixbufloader-jasper.so + 0x1251)
                #7  0x00007f61d129c35a gdk_pixbuf_animation_new_from_file (libgdk_pixbuf-2.0.so.0 + 0x1535a)
                #8  0x000055e990933642 n/a (/tmp/Viewnior/builddir/src/viewnior + 0x13642)
                #9  0x000055e99092fa49 n/a (/tmp/Viewnior/builddir/src/viewnior + 0xfa49)
                #10 0x00007f61d10acd5a g_closure_invoke (libgobject-2.0.so.0 + 0x31d5a)
                #11 0x00007f61d109a88e n/a (libgobject-2.0.so.0 + 0x1f88e)
                #12 0x00007f61d109e98a g_signal_emit_valist (libgobject-2.0.so.0 + 0x2398a)
                #13 0x00007f61d109f7f0 g_signal_emit (libgobject-2.0.so.0 + 0x247f0)
                #14 0x00007f61d17b0582 gtk_widget_realize (libgtk-x11-2.0.so.0 + 0x24f582)
                #15 0x00007f61d17bb005 n/a (libgtk-x11-2.0.so.0 + 0x25a005)
                #16 0x00007f61d10acd5a g_closure_invoke (libgobject-2.0.so.0 + 0x31d5a)
                #17 0x00007f61d109a9e4 n/a (libgobject-2.0.so.0 + 0x1f9e4)
                #18 0x00007f61d109e98a g_signal_emit_valist (libgobject-2.0.so.0 + 0x2398a)
                #19 0x00007f61d109f7f0 g_signal_emit (libgobject-2.0.so.0 + 0x247f0)
                #20 0x00007f61d17afcc8 gtk_widget_show (libgtk-x11-2.0.so.0 + 0x24ecc8)
                #21 0x000055e99092d28a n/a (/tmp/Viewnior/builddir/src/viewnior + 0xd28a)
                #22 0x00007f61d075d023 __libc_start_main (libc.so.6 + 0x27023)
                #23 0x000055e99092cb8e n/a (/tmp/Viewnior/builddir/src/viewnior + 0xcb8e)

from viewnior.

Necklaces avatar Necklaces commented on July 24, 2024

This is due to jasper being unfinished (not supporting the whole JPEG2000 standard) and unmaintained (it also has unfixed CVEs). gdk-pixbuf does not ship with JPEG2000 support by default, but many distros package maintainers compile it in regardless. For example, Archlinux. This is therefore not a bug with Viewnior, but a bug with gdk-pixbuf.

This can be solved by installing jp2-pixbuf-loader, an alternative pixbuf loader that uses openjpeg2000 instead of jasper. It can also be installed via AUR if you're on Archlinux.

from viewnior.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.