Bug 784600 - Valgrind reporting Invalid reads, Memory leaks
Summary: Valgrind reporting Invalid reads, Memory leaks
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: GlusterFS
Classification: Community
Component: protocol
Version: mainline
Hardware: Unspecified
OS: Linux
high
medium
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-25 14:24 UTC by Shwetha Panduranga
Modified: 2015-12-01 16:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-16 15:54:00 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)
Valgrind Logs on Server1 (238.95 KB, text/x-log)
2012-01-25 14:24 UTC, Shwetha Panduranga
no flags Details
valgrind logs from server2 (243.24 KB, text/x-log)
2012-01-25 14:25 UTC, Shwetha Panduranga
no flags Details
valgrind log from client (24.83 KB, text/x-log)
2012-01-25 14:26 UTC, Shwetha Panduranga
no flags Details
Valgrind logs from S1, S2, Client (122.54 KB, application/octet-stream)
2012-01-29 15:43 UTC, Shwetha Panduranga
no flags Details

Description Shwetha Panduranga 2012-01-25 14:24:37 UTC
Created attachment 557461 [details]
Valgrind Logs on Server1

Description of problem:
Valgrind reporting few Memory leaks on server side and Invalid reads and writev pointing to uninitialized bytes on the client side 

Steps to Reproduce:
-------------------
1.Create a replicate volume (2 bricks)
2.Start the glusterfsd with valgrind 
3.Mount to volume from client
4. Added audio/video files from the mount point
5. Played the videos 


Attaching the logs from server1, server2 and the client.

Comment 1 Shwetha Panduranga 2012-01-25 14:25:27 UTC
Created attachment 557462 [details]
valgrind logs from server2

Comment 2 Shwetha Panduranga 2012-01-25 14:26:25 UTC
Created attachment 557463 [details]
valgrind log from client

Comment 3 Shwetha Panduranga 2012-01-29 15:43:17 UTC
Created attachment 558176 [details]
Valgrind logs from S1, S2, Client

Comment 4 Amar Tumballi 2012-03-29 08:32:32 UTC
noticed that most of the leaks reported on server side are fixed by http://review.gluster.com/2744 and http://review.gluster.com/2756. Can this operations be performed on latest git/qa release and see what are the results?

Comment 5 Amar Tumballi 2012-04-16 15:54:00 UTC
with the latest changes, we do have all this issues fixed.


Note You need to log in before you can comment on or make changes to this bug.