Skip to content

Instantly share code, notes, and snippets.

@pedrocr
Created January 4, 2015 19:29
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/d77a6960a6e34fb4aeec to your computer and use it in GitHub Desktop.
Save pedrocr/d77a6960a6e34fb4aeec to your computer and use it in GitHub Desktop.
valgrind run of darktable-cli
$ valgrind /opt/darktable/bin/darktable-cli YDSCF8313.RAF YDSCF8313.RAF.jpg
==12519== Memcheck, a memory error detector
==12519== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==12519== Using Valgrind-3.10.0.SVN and LibVEX; rerun with -h for copyright info
==12519== Command: /opt/darktable/bin/darktable-cli YDSCF8313.RAF YDSCF8313.RAF.jpg
==12519==
output file already exists, it will get renamed
==12519== Conditional jump or move depends on uninitialised value(s)
==12519== at 0x1E388CEB: commit_params (denoiseprofile.c:1528)
==12519== by 0x4F17752: dt_iop_init_pipe (imageop.c:455)
==12519== by 0x4F257E0: dt_dev_pixelpipe_create_nodes (pixelpipe_hb.c:216)
==12519== by 0x4EDE009: dt_imageio_export_with_flags (imageio.c:624)
==12519== by 0x4EDF06F: dt_imageio_export (imageio.c:503)
==12519== by 0x1D52B02E: store (disk.c:285)
==12519== by 0x402238: main (main.c:392)
==12519==
==12519== Conditional jump or move depends on uninitialised value(s)
==12519== at 0x1E388CF8: commit_params (denoiseprofile.c:1528)
==12519== by 0x4F17752: dt_iop_init_pipe (imageop.c:455)
==12519== by 0x4F257E0: dt_dev_pixelpipe_create_nodes (pixelpipe_hb.c:216)
==12519== by 0x4EDE009: dt_imageio_export_with_flags (imageio.c:624)
==12519== by 0x4EDF06F: dt_imageio_export (imageio.c:503)
==12519== by 0x1D52B02E: store (disk.c:285)
==12519== by 0x402238: main (main.c:392)
==12519==
==12519== Conditional jump or move depends on uninitialised value(s)
==12519== at 0x4F212AD: dt_dev_pixelpipe_cache_available (pixelpipe_cache.c:121)
==12519== by 0x4F21737: dt_dev_pixelpipe_process_rec (pixelpipe_hb.c:718)
==12519== by 0x4F25FFB: dt_dev_pixelpipe_process (pixelpipe_hb.c:2214)
==12519== by 0x4EDEDB9: dt_imageio_export_with_flags (imageio.c:715)
==12519== by 0x4EDF06F: dt_imageio_export (imageio.c:503)
==12519== by 0x1D52B02E: store (disk.c:285)
==12519== by 0x402238: main (main.c:392)
==12519==
==12519== Conditional jump or move depends on uninitialised value(s)
==12519== at 0x4F212C8: dt_dev_pixelpipe_cache_available (pixelpipe_cache.c:121)
==12519== by 0x4F21737: dt_dev_pixelpipe_process_rec (pixelpipe_hb.c:718)
==12519== by 0x4F25FFB: dt_dev_pixelpipe_process (pixelpipe_hb.c:2214)
==12519== by 0x4EDEDB9: dt_imageio_export_with_flags (imageio.c:715)
==12519== by 0x4EDF06F: dt_imageio_export (imageio.c:503)
==12519== by 0x1D52B02E: store (disk.c:285)
==12519== by 0x402238: main (main.c:392)
==12519==
==12519== Conditional jump or move depends on uninitialised value(s)
==12519== at 0x4F2134F: dt_dev_pixelpipe_cache_get_weighted (pixelpipe_cache.c:153)
==12519== by 0x4F21FB4: dt_dev_pixelpipe_process_rec (pixelpipe_hb.c:847)
==12519== by 0x4F25FFB: dt_dev_pixelpipe_process (pixelpipe_hb.c:2214)
==12519== by 0x4EDEDB9: dt_imageio_export_with_flags (imageio.c:715)
==12519== by 0x4EDF06F: dt_imageio_export (imageio.c:503)
==12519== by 0x1D52B02E: store (disk.c:285)
==12519== by 0x402238: main (main.c:392)
==12519==
[export_job] exported to `YDSCF8313.RAF_01.jpg'
==12519== Syscall param unlink(pathname) points to unaddressable byte(s)
==12519== at 0x6288AF7: unlink (syscall-template.S:81)
==12519== by 0x4EB15F5: dt_database_destroy (database.c:1138)
==12519== by 0x4EB0693: dt_cleanup (darktable.c:957)
==12519== by 0x40226C: main (main.c:399)
==12519== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==12519==
==12519==
==12519== HEAP SUMMARY:
==12519== in use at exit: 3,627,345 bytes in 22,070 blocks
==12519== total heap usage: 304,782 allocs, 282,712 frees, 4,480,089,167 bytes allocated
==12519==
==12519== LEAK SUMMARY:
==12519== definitely lost: 17,034 bytes in 25 blocks
==12519== indirectly lost: 1,314,549 bytes in 840 blocks
==12519== possibly lost: 110,647 bytes in 2,461 blocks
==12519== still reachable: 2,117,843 bytes in 18,265 blocks
==12519== suppressed: 0 bytes in 0 blocks
==12519== Rerun with --leak-check=full to see details of leaked memory
==12519==
==12519== For counts of detected and suppressed errors, rerun with: -v
==12519== Use --track-origins=yes to see where uninitialised values come from
==12519== 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