Memory leaks with 0.7.0-test3

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
tsar
Blank Cone
Blank Cone
Posts: 10
Joined: 04 Dec 2003 16:59
Location: France
Contact:

Memory leaks with 0.7.0-test3

Postby tsar » 31 Dec 2003 11:38

Using xwwindows interface on win386/XP and running latest 0.7.0-test3 binaries as downloaded from VLC site.

I think there are leaks of memory while viewing repeatedly simple video files. The easier way to reproduce the problem is to set up loop display on any single file in a reading list and go. Video works fine and display output loops ok repeatedly. However, system memory allocation grows slowly up to the max before swapping...

I am looping as an exercice on an AVI file and have tried on both Hardware YUV overlay and Software RGB DirectX ouput types... same problem.
TS.

Dnumgis

Postby Dnumgis » 31 Dec 2003 23:35

How bad is this leak? Is it a show stopper that need to be fixed before a release? And could you provide us with a sample file that has this behaviour?

tsar
Blank Cone
Blank Cone
Posts: 10
Joined: 04 Dec 2003 16:59
Location: France
Contact:

Postby tsar » 01 Jan 2004 15:37

Yes I think it should get fixed.

Where can I ftp/post a test avi file for you?

In any case, I think the bug is reproductible with any file potentially.

a) add one or many files in the reader list
b) check repeat all box
c) go display
d) look the memory growing and growing...

Happy new year !!
TS.

Anil
Blank Cone
Blank Cone
Posts: 32
Joined: 21 Nov 2003 12:09
Location: Ecole Centrale Paris, France

Postby Anil » 01 Jan 2004 17:25

Where can I ftp/post a test avi file for you?
If you can't put it online somewhere, upload it to ftp.videolan.org/incoming (a few Mbytes should be enough)
In any case, I think the bug is reproductible with any file potentially.
Can you narrow the leak to one specific module (like video output, audio output...) ?
To track this down, try to play only the audio track of your file,
or only the video, or none of them
(you can disable audio and/or video in the prefs panel)

Thanks
Anil Daoud

irkuck

I also noticed leakage problem

Postby irkuck » 01 Jan 2004 18:31

I am running vlc 0.7.0-test2 on
Win XP.

On 01.01.2004 European HDTV started broadcast from Astra satellite and I am testing it.
The streams are of course MPEG-2
transport with bit rate about 18 Mb/s.

What I noticed is that vlc plays fine but when broadcast of one piece stops and switches to another I can see from task manager that page memory usage starts growing and grows all the time until bad problems appear like breaks in audio and video.

This may correspond to the loop
video problem report above. It might be something arising when
player is activated and starts playing new piece of video stream.

When player plays one piece of video stream however long it is playing it fine.

zorglub
Cone that earned his stripes
Cone that earned his stripes
Posts: 482
Joined: 21 Nov 2003 02:53
Location: Paris - France
Contact:

Postby zorglub » 01 Jan 2004 21:30

The leak is in input buffers management

The buffer allocated on line 195 of src/input/input_ext-plugins.c doesn't seem to be released correctly. This seems to happen on every types of streams.
Zorglub
Clément Stenac

tsar
Blank Cone
Blank Cone
Posts: 10
Joined: 04 Dec 2003 16:59
Location: France
Contact:

Postby tsar » 02 Jan 2004 21:02

Then, no need to upload an AVI file for you I guess, it happends well to any files. The problem is easily seen I agree with small files displayed repeatedly. Let me know if you need me to test a fix for this.
TS.

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 03 Jan 2004 01:45

Should be fixed now :)

tsar
Blank Cone
Blank Cone
Posts: 10
Joined: 04 Dec 2003 16:59
Location: France
Contact:

Postby tsar » 03 Jan 2004 11:10

Thank you sir.
What binaries shall we use to test ?
TS.

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 03 Jan 2004 14:58

VLC 0.7.0 will be announced within a few hours... stay tuned :)

tsar
Blank Cone
Blank Cone
Posts: 10
Joined: 04 Dec 2003 16:59
Location: France
Contact:

Postby tsar » 05 Jan 2004 12:44

However, (part of) the bug remains in 0.7.0...

Please use ftp.videolan.org/incoming/DANGER.avi as an example file.

Playing that file repeatedly is enough to highlight memory growth.
TS.

Anil
Blank Cone
Blank Cone
Posts: 32
Joined: 21 Nov 2003 12:09
Location: Ecole Centrale Paris, France

Postby Anil » 05 Jan 2004 21:31

Please use ftp.videolan.org/incoming/DANGER.avi as an example file.
File moved to ftp://ftp.videolan.org/pub/streams/DANGER.avi
Anil Daoud

chenvc
Blank Cone
Blank Cone
Posts: 68
Joined: 28 Nov 2003 02:49

Postby chenvc » 27 Apr 2004 04:17

Yes. The vlc-0.7.1 yet have the memory leak! Indeed the vlc-0.7.2-test1 yet have the meomry leak. It will be growing and growing when play file.
chenvc


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 17 guests