(2018-01-26, 14:35)popcornmix Wrote: (2018-01-26, 02:43)Milhouse Wrote: To me this looks more like #0805 than #0804, but it's hard to say if #0806 is worse than #0805 - I'd probably say they're much the same, and that the problem starts with - or is made worse (a small leak becoming a much bigger leak) by - #0805.
The only major change in #0806 is the gcc/glibc bump but hopefully they're not involved, as that would be a major task to track down...and wouldn't really explain why this affects only HEVC playback and not any other video codec.
Does the leak seem to be once per play? i.e. if you play/stop after a few seconds repeatedly does memory exhaust much faster than playing a single file that lasts an hour? (I'd guess it probably would)
How hard would it be to build head of tree with older gcc/glibc? Does that crash with out-of-memory after repeated plays?
(I suspect that #0805 is really the culprit, but the evidence is currently a bit unclear).
BTW John is on holiday this week so we won't get an immediate fix, but would be nice to be sure the bug is in the hevc code when he returns.
Hi Popcornmix,
Looks like Milhouse beat me to it, so for what it's worth, here are the results from #0806, I've only got top to give me the memory usage accurately.
screen snaps in the drop box folder.
https://www.dropbox.com/sh/fc4chc5irjnal...s3qUa?dl=0
B4Start.png is before I do anything, after a reboot.
I then played the video in a repeat.
Free memory at start of first play was 263MB by end 204MB
Free memory at start of second play was 194MB by end 201MB
Free memory at start of third play was 157MB by end 113MB
Free memory at start of fourth play was 94MB by end 49MB
Free memory at start of fifth play was 86MB by end 47MB
End5thplay265.png is recorded just before the end of the 5th play of Elysium, so same as above at 47MB.
I then rebooted so everything was back to as it was in B4Start.png
I then played the first 5 seconds of the video and stopped, 1x5sec265.png
then again 2x5sec265.png, then twice more, 5x5sec265.png then another 5 times 10x5sec265.png
as you can see, by the end of the 10th play there is 90MB free, not good, but more than playing the whole video 10 times, which would not be possible, as it locks up after 6 or 7 plays.
Regards,
Kevin