Giter Site home page Giter Site logo

dssim segfaults on compare. about dssim HOT 3 CLOSED

kornelski avatar kornelski commented on August 20, 2024
dssim segfaults on compare.

from dssim.

Comments (3)

kornelski avatar kornelski commented on August 20, 2024

I'm unable to reproduce it. Can you provide a backtrace?

make clean
make CFLAGSOPT=-g
gdb --args ./dssim *.png

and then in gdb:

run
// crash
bt

from dssim.

DeltaKilo avatar DeltaKilo commented on August 20, 2024
Program received signal SIGSEGV, Segmentation fault.
_int_malloc (av=0x7ffff78a7760 <main_arena>, bytes=1975656) at malloc.c:3775
3775    malloc.c: No such file or directory.
(gdb) bt
#0  _int_malloc (av=0x7ffff78a7760 <main_arena>, bytes=1975656) at malloc.c:3775
#1  0x00007ffff756b5f0 in __GI___libc_malloc (bytes=1975656) at malloc.c:2891
#2  0x000000000040310a in dssim_set_modified (inf=0x607010, row_pointers=0x7ef790, image_width=789, image_height=626, gamma=0,45455000000000001)
    at dssim.c:348
#3  0x0000000000404c07 in main (argc=3, argv=0x7fffffffde38) at main.c:147
ldd ~/workshop/gits/dssim/dssim
    linux-vdso.so.1 =>  (0x00007fffb7ffe000)
    libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007fc6708ec000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc6705e6000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc67021f000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fc670006000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fc670b36000)

Ubuntu 14.04, glibc 2.19

from dssim.

kornelski avatar kornelski commented on August 20, 2024

That code has been rewritten. Please reopen if the crash still happens.

from dssim.

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.