Skip to content

Instantly share code, notes, and snippets.

@pedrocr
Created January 3, 2015 22:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pedrocr/1a61182eb6aaa146a7fd to your computer and use it in GitHub Desktop.
Save pedrocr/1a61182eb6aaa146a7fd to your computer and use it in GitHub Desktop.
valgrind of dakrtable-cli with master branch
$ valgrind /opt/darktable/bin/darktable-cli RAW_SONY_A100.ARW RAW_SONY_A100.ARW.jpg
==11141== Memcheck, a memory error detector
==11141== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==11141== Using Valgrind-3.10.0.SVN and LibVEX; rerun with -h for copyright info
==11141== Command: /opt/darktable/bin/darktable-cli RAW_SONY_A100.ARW RAW_SONY_A100.ARW.jpg
==11141==
output file already exists, it will get renamed
[exiv2] Directory SubImage1 with 6496 entries considered invalid; not read.
==11141== Conditional jump or move depends on uninitialised value(s)
==11141== at 0x27031CEB: commit_params (denoiseprofile.c:1528)
==11141== by 0x4F17612: dt_iop_init_pipe (imageop.c:455)
==11141== by 0x4F25660: dt_dev_pixelpipe_create_nodes (pixelpipe_hb.c:216)
==11141== by 0x4EDDEC9: dt_imageio_export_with_flags (imageio.c:624)
==11141== by 0x4EDEF2F: dt_imageio_export (imageio.c:503)
==11141== by 0x261D402E: store (disk.c:285)
==11141== by 0x402238: main (main.c:391)
==11141==
==11141== Conditional jump or move depends on uninitialised value(s)
==11141== at 0x27031CF8: commit_params (denoiseprofile.c:1528)
==11141== by 0x4F17612: dt_iop_init_pipe (imageop.c:455)
==11141== by 0x4F25660: dt_dev_pixelpipe_create_nodes (pixelpipe_hb.c:216)
==11141== by 0x4EDDEC9: dt_imageio_export_with_flags (imageio.c:624)
==11141== by 0x4EDEF2F: dt_imageio_export (imageio.c:503)
==11141== by 0x261D402E: store (disk.c:285)
==11141== by 0x402238: main (main.c:391)
==11141==
==11141== Conditional jump or move depends on uninitialised value(s)
==11141== at 0x4F2112D: dt_dev_pixelpipe_cache_available (pixelpipe_cache.c:117)
==11141== by 0x4F215B7: dt_dev_pixelpipe_process_rec (pixelpipe_hb.c:718)
==11141== by 0x4F25E7B: dt_dev_pixelpipe_process (pixelpipe_hb.c:2214)
==11141== by 0x4EDEC79: dt_imageio_export_with_flags (imageio.c:715)
==11141== by 0x4EDEF2F: dt_imageio_export (imageio.c:503)
==11141== by 0x261D402E: store (disk.c:285)
==11141== by 0x402238: main (main.c:391)
==11141==
==11141== Conditional jump or move depends on uninitialised value(s)
==11141== at 0x4F21148: dt_dev_pixelpipe_cache_available (pixelpipe_cache.c:117)
==11141== by 0x4F215B7: dt_dev_pixelpipe_process_rec (pixelpipe_hb.c:718)
==11141== by 0x4F25E7B: dt_dev_pixelpipe_process (pixelpipe_hb.c:2214)
==11141== by 0x4EDEC79: dt_imageio_export_with_flags (imageio.c:715)
==11141== by 0x4EDEF2F: dt_imageio_export (imageio.c:503)
==11141== by 0x261D402E: store (disk.c:285)
==11141== by 0x402238: main (main.c:391)
==11141==
==11141== Conditional jump or move depends on uninitialised value(s)
==11141== at 0x4F211CF: dt_dev_pixelpipe_cache_get_weighted (pixelpipe_cache.c:149)
==11141== by 0x4F21E34: dt_dev_pixelpipe_process_rec (pixelpipe_hb.c:847)
==11141== by 0x4F25E7B: dt_dev_pixelpipe_process (pixelpipe_hb.c:2214)
==11141== by 0x4EDEC79: dt_imageio_export_with_flags (imageio.c:715)
==11141== by 0x4EDEF2F: dt_imageio_export (imageio.c:503)
==11141== by 0x261D402E: store (disk.c:285)
==11141== by 0x402238: main (main.c:391)
==11141==
[exiv2] Directory SubImage1 with 6496 entries considered invalid; not read.
[exiv2] Directory SubImage1 with 6496 entries considered invalid; not read.
[export_job] exported to `RAW_SONY_A100.ARW_03.jpg'
==11141== Syscall param unlink(pathname) points to unaddressable byte(s)
==11141== at 0x6287AF7: unlink (syscall-template.S:81)
==11141== by 0x4EB14B5: dt_database_destroy (database.c:1138)
==11141== by 0x4EB0553: dt_cleanup (darktable.c:957)
==11141== by 0x40226C: main (main.c:398)
==11141== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==11141==
==11141==
==11141== HEAP SUMMARY:
==11141== in use at exit: 3,626,095 bytes in 22,053 blocks
==11141== total heap usage: 314,558 allocs, 292,505 frees, 4,800,872,172 bytes allocated
==11141==
==11141== LEAK SUMMARY:
==11141== definitely lost: 17,050 bytes in 25 blocks
==11141== indirectly lost: 1,317,197 bytes in 844 blocks
==11141== possibly lost: 110,461 bytes in 2,457 blocks
==11141== still reachable: 2,114,115 bytes in 18,248 blocks
==11141== suppressed: 0 bytes in 0 blocks
==11141== Rerun with --leak-check=full to see details of leaked memory
==11141==
==11141== For counts of detected and suppressed errors, rerun with: -v
==11141== Use --track-origins=yes to see where uninitialised values come from
==11141== ERROR SUMMARY: 7 errors from 6 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment