Skip to content

Instantly share code, notes, and snippets.

@pedrocr
Created January 3, 2015 22:21
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/32677cc544b168af48e4 to your computer and use it in GitHub Desktop.
Save pedrocr/32677cc544b168af48e4 to your computer and use it in GitHub Desktop.
valgrind of dakrtable-cli with rawspeed-sync branch
$ valgrind /opt/darktable/bin/darktable-cli RAW_SONY_A100.ARW RAW_SONY_A100.ARW.jpg
==7956== Memcheck, a memory error detector
==7956== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==7956== Using Valgrind-3.10.0.SVN and LibVEX; rerun with -h for copyright info
==7956== Command: /opt/darktable/bin/darktable-cli RAW_SONY_A100.ARW RAW_SONY_A100.ARW.jpg
==7956==
output file already exists, it will get renamed
[exiv2] Directory SubImage1 with 6496 entries considered invalid; not read.
==7956== Conditional jump or move depends on uninitialised value(s)
==7956== at 0x27032CEB: commit_params (denoiseprofile.c:1528)
==7956== by 0x4F17752: dt_iop_init_pipe (imageop.c:455)
==7956== by 0x4F257A0: dt_dev_pixelpipe_create_nodes (pixelpipe_hb.c:216)
==7956== by 0x4EDE009: dt_imageio_export_with_flags (imageio.c:624)
==7956== by 0x4EDF06F: dt_imageio_export (imageio.c:503)
==7956== by 0x261D502E: store (disk.c:285)
==7956== by 0x402238: main (main.c:391)
==7956==
==7956== Conditional jump or move depends on uninitialised value(s)
==7956== at 0x27032CF8: commit_params (denoiseprofile.c:1528)
==7956== by 0x4F17752: dt_iop_init_pipe (imageop.c:455)
==7956== by 0x4F257A0: dt_dev_pixelpipe_create_nodes (pixelpipe_hb.c:216)
==7956== by 0x4EDE009: dt_imageio_export_with_flags (imageio.c:624)
==7956== by 0x4EDF06F: dt_imageio_export (imageio.c:503)
==7956== by 0x261D502E: store (disk.c:285)
==7956== by 0x402238: main (main.c:391)
==7956==
==7956== Conditional jump or move depends on uninitialised value(s)
==7956== at 0x298C5D41: commit_params (rotatepixels.c:297)
==7956== by 0x4F17752: dt_iop_init_pipe (imageop.c:455)
==7956== by 0x4F257A0: dt_dev_pixelpipe_create_nodes (pixelpipe_hb.c:216)
==7956== by 0x4EDE009: dt_imageio_export_with_flags (imageio.c:624)
==7956== by 0x4EDF06F: dt_imageio_export (imageio.c:503)
==7956== by 0x261D502E: store (disk.c:285)
==7956== by 0x402238: main (main.c:391)
==7956==
==7956== Conditional jump or move depends on uninitialised value(s)
==7956== at 0x4F175C9: dt_iop_commit_params (imageop.c:1325)
==7956== by 0x4F25A0D: dt_dev_pixelpipe_synch_all (pixelpipe_hb.c:253)
==7956== by 0x4EDE014: dt_imageio_export_with_flags (imageio.c:625)
==7956== by 0x4EDF06F: dt_imageio_export (imageio.c:503)
==7956== by 0x261D502E: store (disk.c:285)
==7956== by 0x402238: main (main.c:391)
==7956==
==7956== Conditional jump or move depends on uninitialised value(s)
==7956== at 0x4F25CA9: dt_dev_pixelpipe_get_dimensions (pixelpipe_hb.c:2385)
==7956== by 0x4EDE035: dt_imageio_export_with_flags (imageio.c:626)
==7956== by 0x4EDF06F: dt_imageio_export (imageio.c:503)
==7956== by 0x261D502E: store (disk.c:285)
==7956== by 0x402238: main (main.c:391)
==7956==
==7956== Conditional jump or move depends on uninitialised value(s)
==7956== at 0x4F2126D: dt_dev_pixelpipe_cache_available (pixelpipe_cache.c:117)
==7956== by 0x4F216F7: dt_dev_pixelpipe_process_rec (pixelpipe_hb.c:718)
==7956== by 0x4F25FBB: dt_dev_pixelpipe_process (pixelpipe_hb.c:2214)
==7956== by 0x4EDEDB9: dt_imageio_export_with_flags (imageio.c:715)
==7956== by 0x4EDF06F: dt_imageio_export (imageio.c:503)
==7956== by 0x261D502E: store (disk.c:285)
==7956== by 0x402238: main (main.c:391)
==7956==
==7956== Conditional jump or move depends on uninitialised value(s)
==7956== at 0x4F21288: dt_dev_pixelpipe_cache_available (pixelpipe_cache.c:117)
==7956== by 0x4F216F7: dt_dev_pixelpipe_process_rec (pixelpipe_hb.c:718)
==7956== by 0x4F25FBB: dt_dev_pixelpipe_process (pixelpipe_hb.c:2214)
==7956== by 0x4EDEDB9: dt_imageio_export_with_flags (imageio.c:715)
==7956== by 0x4EDF06F: dt_imageio_export (imageio.c:503)
==7956== by 0x261D502E: store (disk.c:285)
==7956== by 0x402238: main (main.c:391)
==7956==
==7956== Conditional jump or move depends on uninitialised value(s)
==7956== at 0x4F215AE: dt_dev_pixelpipe_process_rec (pixelpipe_hb.c:700)
==7956== by 0x4F215FE: dt_dev_pixelpipe_process_rec (pixelpipe_hb.c:702)
==7956== by 0x4F215FE: dt_dev_pixelpipe_process_rec (pixelpipe_hb.c:702)
==7956== by 0x4F215FE: dt_dev_pixelpipe_process_rec (pixelpipe_hb.c:702)
==7956== by 0x4F215FE: dt_dev_pixelpipe_process_rec (pixelpipe_hb.c:702)
==7956== by 0x4F21F01: dt_dev_pixelpipe_process_rec (pixelpipe_hb.c:834)
==7956== by 0x4F215FE: dt_dev_pixelpipe_process_rec (pixelpipe_hb.c:702)
==7956== by 0x4F215FE: dt_dev_pixelpipe_process_rec (pixelpipe_hb.c:702)
==7956== by 0x4F21F01: dt_dev_pixelpipe_process_rec (pixelpipe_hb.c:834)
==7956== by 0x4F215FE: dt_dev_pixelpipe_process_rec (pixelpipe_hb.c:702)
==7956== by 0x4F215FE: dt_dev_pixelpipe_process_rec (pixelpipe_hb.c:702)
==7956== by 0x4F215FE: dt_dev_pixelpipe_process_rec (pixelpipe_hb.c:702)
==7956==
==7956== Conditional jump or move depends on uninitialised value(s)
==7956== at 0x4F2130F: dt_dev_pixelpipe_cache_get_weighted (pixelpipe_cache.c:149)
==7956== by 0x4F21F74: dt_dev_pixelpipe_process_rec (pixelpipe_hb.c:847)
==7956== by 0x4F25FBB: dt_dev_pixelpipe_process (pixelpipe_hb.c:2214)
==7956== by 0x4EDEDB9: dt_imageio_export_with_flags (imageio.c:715)
==7956== by 0x4EDF06F: dt_imageio_export (imageio.c:503)
==7956== by 0x261D502E: store (disk.c:285)
==7956== by 0x402238: main (main.c:391)
==7956==
[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_02.jpg'
==7956== Syscall param unlink(pathname) points to unaddressable byte(s)
==7956== at 0x6288AF7: unlink (syscall-template.S:81)
==7956== by 0x4EB15F5: dt_database_destroy (database.c:1138)
==7956== by 0x4EB0693: dt_cleanup (darktable.c:957)
==7956== by 0x40226C: main (main.c:398)
==7956== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==7956==
==7956==
==7956== HEAP SUMMARY:
==7956== in use at exit: 3,626,095 bytes in 22,053 blocks
==7956== total heap usage: 314,549 allocs, 292,496 frees, 4,800,872,102 bytes allocated
==7956==
==7956== LEAK SUMMARY:
==7956== definitely lost: 17,042 bytes in 25 blocks
==7956== indirectly lost: 1,317,205 bytes in 844 blocks
==7956== possibly lost: 110,461 bytes in 2,457 blocks
==7956== still reachable: 2,114,115 bytes in 18,248 blocks
==7956== suppressed: 0 bytes in 0 blocks
==7956== Rerun with --leak-check=full to see details of leaked memory
==7956==
==7956== For counts of detected and suppressed errors, rerun with: -v
==7956== Use --track-origins=yes to see where uninitialised values come from
==7956== ERROR SUMMARY: 11 errors from 10 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment