Opened 11 years ago

Closed 9 years ago

#1238 closed defect (fixed)

For this .wma file, valgrind reports Leak_DefinitelyLost.

Reported by: xuecongli@… Owned by: reimar
Priority: normal Component: demuxer
Version: HEAD Severity: normal
Keywords: Cc: catchconv-bugreports@…
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

This bug was found as part of the metafuzz project, see http://www.metafuzz.com

For this .wma file, valgrind reports Leak_DefinitelyLost.

System Info:

MPlayer dev-SVN-r27422-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel Pentium 4/Celeron 4 Northwood. Pentium 4 EE/Xeon Prestonia,Gallatin (Family: 15, Model: 2, Stepping: 7)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

Playing 113-IWontCry.wma.

##############################################################

to reproduce:
wget http://www.metafuzz.com/testcases/876901-113-3049269950-Leak_PossiblyLost.tgz
tar xzf 876901-113-3049269950-Leak_PossiblyLost.tgz
valgrind mplayer 113-IWontCry.wma

::::::::::::::::::::Valgrind result:::::::::::::::::::::::::::::

==28724== Memcheck, a memory error detector.
==28724== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==28724== Using LibVEX rev 1715, a library for dynamic binary translation.
==28724== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks? LLP.
==28724== Using valgrind-3.2.2, a dynamic binary instrumentation framework.
==28724== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==28724== For more details, rerun with: -v
==28724==
==28724== My PID = 28724, parent PID = 28723. Prog and args are:
==28724== mplayer
==28724== 113-IWontCry.wma
==28724==
==28724==
==28724== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 21 from 1)
==28724== malloc/free: in use at exit: 35,912 bytes in 13 blocks.
==28724== malloc/free: 2,675 allocs, 2,662 frees, 2,091,398 bytes allocated.
==28724== For counts of detected errors, rerun with: -v
==28724== searching for pointers to 13 not-freed blocks.
==28724== checked 2,951,504 bytes.
==28724==
==28724== 3,004 bytes in 1 blocks are definitely lost in loss record 5 of 6
==28724== Stack hash: 3370902398
==28724== at 0x401D480: malloc (vg_replace_malloc.c:149)
==28724== by 0x8114062: read_asf_header (asfheader.c:518)
==28724== by 0x811FDF3: demux_open_asf (demux_asf.c:619)
==28724== by 0x811C75D: demux_open_stream (demuxer.c:818)
==28724== by 0x811CB44: demux_open (demuxer.c:998)
==28724== by 0x8078DCC: main (mplayer.c:3237)
==28724==
==28724== LEAK SUMMARY:
==28724== definitely lost: 3,004 bytes in 1 blocks.
==28724== possibly lost: 0 bytes in 0 blocks.
==28724== still reachable: 32,908 bytes in 12 blocks.
==28724== suppressed: 0 bytes in 0 blocks.
==28724== Reachable blocks (those to which a pointer was found) are not shown.
==28724== To see them, rerun with: --leak-check=full --show-reachable=yes

Change History (2)

comment:1 Changed 9 years ago by compn

  • Owner changed from r_togni@… to reimar

comment:2 Changed 9 years ago by reimar

  • Resolution set to fixed
  • Status changed from new to closed

Fixed by SVN r32711.

Note: See TracTickets for help on using tickets.