Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
D
darshan
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 72
    • Issues 72
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 5
    • Merge Requests 5
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • darshan
  • darshan
  • Issues
  • #1

Closed
Open
Opened Sep 24, 2015 by Shane Snyder@ssnyder
  • Report abuse
  • New issue
Report abuse New issue

valgrind error in log compression

Need to see if there is an off-by-one error in darshan or if libz is doing something unusual:

==5852== Invalid read of size 4
==5852==    at 0x404A27D: crc32 (in /lib/libz.so.1.2.3.3)
==5852==    by 0x404C85A: ??? (in /lib/libz.so.1.2.3.3)
==5852==    by 0x404E1BA: ??? (in /lib/libz.so.1.2.3.3)
==5852==    by 0x404CB16: deflate (in /lib/libz.so.1.2.3.3)
==5852==    by 0x805BF26: cp_log_compress (darshan-mpi-io.c:1687)
==5852==    by 0x804C173: darshan_shutdown (darshan-mpi-io.c:429)
==5852==    by 0x804C4A6: MPI_Finalize (darshan-mpi-io.c:504)
==5852==    by 0x804B430: main (in /home/pcarns/working/darshan-examples/mpi-io-test)
==5852==  Address 0x55db614 is 964 bytes inside a block of size 967 alloc'd
==5852==    at 0x4024F20: malloc (vg_replace_malloc.c:236)
==5852==    by 0x805C321: darshan_get_exe_and_mounts (darshan-mpi-io.c:1818)
==5852==    by 0x804BC3C: darshan_shutdown (darshan-mpi-io.c:303)
==5852==    by 0x804C4A6: MPI_Finalize (darshan-mpi-io.c:504)
==5852==    by 0x804B430: main (in /home/pcarns/working/darshan-examples/mpi-io-test)
==5852== 
==5852== Invalid read of size 1
==5852==    at 0x4026979: memcpy (mc_replace_strmem.c:497)
==5852==    by 0x404C6C9: ??? (in /lib/libz.so.1.2.3.3)
==5852==    by 0x404E1BA: ??? (in /lib/libz.so.1.2.3.3)
==5852==    by 0x404CB16: deflate (in /lib/libz.so.1.2.3.3)
==5852==    by 0x805BF26: cp_log_compress (darshan-mpi-io.c:1687)
==5852==    by 0x804C173: darshan_shutdown (darshan-mpi-io.c:429)
==5852==    by 0x804C4A6: MPI_Finalize (darshan-mpi-io.c:504)
==5852==    by 0x804B430: main (in /home/pcarns/working/darshan-examples/mpi-io-test)
==5852==  Address 0x55db617 is 0 bytes after a block of size 967 alloc'd
==5852==    at 0x4024F20: malloc (vg_replace_malloc.c:236)
==5852==    by 0x805C321: darshan_get_exe_and_mounts (darshan-mpi-io.c:1818)
==5852==    by 0x804BC3C: darshan_shutdown (darshan-mpi-io.c:303)
==5852==    by 0x804C4A6: MPI_Finalize (darshan-mpi-io.c:504)
==5852==    by 0x804B430: main (in /home/pcarns/working/darshan-examples/mpi-io-test)
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
2
Labels
defect wrapper libraries
Assign labels
  • View project labels
Reference: darshan/darshan#1