Bug 579869

Summary: Leak memory aggresively
Product: [Fedora] Fedora Reporter: Catalin BOIE <fedora-bugzilla>
Component: radvdAssignee: Jiri Skala <jskala>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: aglotov, jgorig, jskala
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: radvd-1.6-1.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-19 19:09:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Catalin BOIE 2010-04-06 19:07:31 UTC
Description of problem:
radvd leaks memory (around 100M now)

Version-Release number of selected component (if applicable):
radvd-1.5-2.fc12.i686

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.
  
Actual results:
Leaks at every call of send_ra

Expected results:
No leaks.

Additional info:
Valgrind reports:
==1842== 4,096 bytes in 1 blocks are definitely lost in loss record 14 of 17
==1842==    at 0x4805BDC: malloc (vg_replace_malloc.c:195)
==1842==    by 0x10C461: send_ra (send.c:108)
==1842==    by 0x10D06F: send_ra_forall (send.c:36)
==1842==    by 0x10AF89: kickoff_adverts (radvd.c:393)
==1842==    by 0x10BAD4: main (radvd.c:303)
==1842== 
==1842== 4,096 bytes in 1 blocks are definitely lost in loss record 15 of 17
==1842==    at 0x4805BDC: malloc (vg_replace_malloc.c:195)
==1842==    by 0x10C461: send_ra (send.c:108)
==1842==    by 0x10D06F: send_ra_forall (send.c:36)
==1842==    by 0x10AF1B: stop_adverts (radvd.c:418)
==1842==    by 0x10BB99: main (radvd.c:319)
==1842== 
==1842== 12,288 bytes in 3 blocks are definitely lost in loss record 16 of 17
==1842==    at 0x4805BDC: malloc (vg_replace_malloc.c:195)
==1842==    by 0x10C461: send_ra (send.c:108)
==1842==    by 0x10D06F: send_ra_forall (send.c:36)
==1842==    by 0x10B2B2: timer_handler (radvd.c:342)
==1842==    by 0x10C304: alarm_handler (timer.c:159)
==1842==    by 0x4847B27: ??? (in /lib/libc-2.11.1.so)
==1842==    by 0x10BB20: main (radvd.c:313)

Seems that 1.6 solves the problem.

Comment 1 Jiri Skala 2010-04-07 07:47:28 UTC
rebased to radvd-1.6

Comment 2 Fedora Update System 2010-04-07 07:48:34 UTC
radvd-1.6-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/radvd-1.6-1.fc12

Comment 3 Fedora Update System 2010-04-09 01:32:47 UTC
radvd-1.6-1.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update radvd'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/radvd-1.6-1.fc12

Comment 4 Fedora Update System 2010-05-19 19:09:27 UTC
radvd-1.6-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.