New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak #2
Comments
|
I fixed a memleak related to the Slideshow that occured under certain conditions (see the commit message).
|
|
Thank you for quick response. I'll try to test it tomorrow. |
|
@basicmaster btw shouldn't you be using |
|
Sorry, I missed that one; fixed now, thanks!
|
|
Hmm, interesting. Could you please invoke it with Valgrind and upload the log somewhere? (and also use `-v` with the PAD encoder)
|
(after 30s) Valgrind: |
|
Just for the sake of completeness: Which Linux distribution (release) and which version of the ImageMagick lib do you use?
|
|
I use ubuntu 16.04 server 64-bit. |
Ubuntu 16.04 currently ships an ImageMagick version that was affected by a memleak and is fixed since v6.9.2-2: http://git.imagemagick.org/repos/ImageMagick/commit/6790815c75bdea0357df5564345847856e995d6b Closes #2.
|
Thanks for the information and for bringing this up. I was able to reproduce the bug with 16.04. It turned out that there has been a memleak in ImageMagick which was fixed in 09/2015: http://git.imagemagick.org/repos/ImageMagick/commit/6790815c75bdea0357df5564345847856e995d6b I will file a bug for Ubuntu to backport this fix and notify the mailing list; in the meantime you should upgrade to a recent version of the version 6 branch. |
|
Wouldn't it be a good idea to add check to ./configure and prevent compiling on affected versions? Anyway, thanks for support! |
|
@basicmaster I wanted to apply this patch to the package that ships with ubuntu 16.04 and seems it is already applied. Are you sure that this is the cause? |
|
Oh I am sorry, I just noticed that this fix was released recently :) |
|
No problem ;-) But I recently found out that there is a second (less problematic) memleak in the version shipped by 16.04; the reason is a backport patch on top of the upstream release: https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1680543 |
|
That second memleak has by the way been fixed with the following package versions: Debian Jessie: Ubuntu 16.04: |


I have found out a memory leak in ODR-PadEnc 2.1.0.
I have a multiplexer where I run 3 instances of odr-padenc.
They are executed as the following
/usr/local/bin/odr-padenc -t /home/app/metadata/radio/dls.txt -o /home/app/metadata/radio/pad.fifo --pad=58 --charset=15 --dir=/home/app/metadata/radio/images --sleep=30/home/app/metadata/radio/images contains only one PNG image and is not updated.
I have noticed that at some point I stopped having log messages from padenc but process keeps running.
When I did
cat /home/app/metadata/radio/pad.fifothere were some data (+/- 2 screens on terminal).The text was updated successfully, but these errors were encountered: