Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dssim segfaults on compare. #5

Closed
DeltaKilo opened this issue May 29, 2014 · 3 comments
Closed

dssim segfaults on compare. #5

DeltaKilo opened this issue May 29, 2014 · 3 comments

Comments

@DeltaKilo
Copy link

dssim segfaults on trying to compare images from archive.
https://dl.dropboxusercontent.com/u/35428589/Do%20not%20touch/sample.tar.gz

@kornelski
Copy link
Owner

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

@DeltaKilo
Copy link
Author

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

@kornelski
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants