savannah-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Savannah-users] potentional memleak


From: Alexander Khryukin
Subject: Re: [Savannah-users] potentional memleak
Date: Wed, 13 Feb 2013 15:21:44 +0300



2013/2/13 Alexander Khryukin <address@hidden>
Hello guys.
Few days ago i installed airtime + liquidsoap + icecast on latest Centos.
And trying to play video.

I modified one of *.liq scripts

#     ignore(output_t(%vorbis(quality=0.8, channels = 2), !source))
     ignore(output_t(%ogg(%theora(quality=25,width=320,height=240),%vorbis), !source))

Now i can play video (http://mirrorblender.top-ix.org/peach/bigbuckbunny_movies/big_buck_bunny_1080p_stereo.ogg) with liquidsoap but in htop i see memleaks.


Valgrind output


11885 3,059,808 bytes in 3 blocks are possibly lost in loss record 2,054 of 2,056
11885 at 0x4A05FDE: malloc (vg_replace_malloc.c:236)
11885 by 0x710C6E: caml_aligned_malloc (in /usr/bin/liquidsoap)
11885 by 0x7132AA: caml_alloc_for_heap (in /usr/bin/liquidsoap)
11885 by 0x7137D8: caml_alloc_shr (in /usr/bin/liquidsoap)
11885 by 0x713CFC: caml_alloc (in /usr/bin/liquidsoap)
11885 by 0x7169D9: caml_make_vect (in /usr/bin/liquidsoap)
11885 by 0x721753: ? (in /usr/bin/liquidsoap)
11885 by 0x800: ?
11885
11885 9,523,200 bytes in 31 blocks are possibly lost in loss record 2,055 of 2,056
11885 at 0x4A04820: memalign (vg_replace_malloc.c:581)
11885 by 0x6FC102: caml_rgb_alligned_plane (in /usr/bin/liquidsoap)
11885 by 0x721753: ? (in /usr/bin/liquidsoap)
11885 by 0x280: ?
11885 by 0x1E0: ?
11885 by 0x4CF6D57: ?
11885 by 0x5017AE: camlOgg_decoder__fun_555 (in /usr/bin/liquidsoap)
11885 by 0x280: ?
11885 by 0x4C7FF47: ?
11885 by 0x5E86BBF: ?
11885 by 0x71DCF4: caml_obj_tag (in /usr/bin/liquidsoap)
11885 by 0x50061B: camlOgg_decoder__video_feed_257 (in /usr/bin/liquidsoap)
11885
11885 13,209,600 bytes in 43 blocks are possibly lost in loss record 2,056 of 2,056
11885 at 0x4A04820: memalign (vg_replace_malloc.c:581)
11885 by 0x6FC102: caml_rgb_alligned_plane (in /usr/bin/liquidsoap)
11885 by 0x721753: ? (in /usr/bin/liquidsoap)
11885 by 0x280: ?
11885 by 0x1E0: ?
11885 by 0x4CF7ACF: ?
11885 by 0x5017AE: camlOgg_decoder__fun_555 (in /usr/bin/liquidsoap)
11885 by 0x280: ?
11885 by 0x4C7FF47: ?
11885 by 0x5F9906F: ?
11885 by 0x71DCF4: caml_obj_tag (in /usr/bin/liquidsoap)
11885 by 0x50061B: camlOgg_decoder__video_feed_257 (in /usr/bin/liquidsoap)
11885
11885 LEAK SUMMARY:
11885 definitely lost: 0 bytes in 0 blocks
11885 indirectly lost: 0 bytes in 0 blocks
11885 possibly lost: 71,474,101 bytes in 3,204 blocks
11885 still reachable: 1,163,496 bytes in 2,707 blocks
11885 suppressed: 0 bytes in 0 blocks
11885 Reachable blocks (those to which a pointer was found) are not shown.
11885 To see them, rerun with: --leak-check=full --show-reachable=yes
11885
11885 For counts of detected and suppressed errors, rerun with: -v
11885 ERROR SUMMARY: 1063 errors from 645 contexts (suppressed: 15 from 9)




Might you can provide any suggestion to fix memleak or some simple solution to play video?


steps to reproduce

use my single_video_2.liq

s=mksafe(single("/root/unknown-big_buck_bunny_480p_stereo-192kbps.ogg"))

output.icecast(%ogg(%theora(quality=25,width=320,height=240),%vorbis),
     host = "localhost", port = 8000,
     password = "hackme", mount = "liq.ogg",
     s)


and start it

sudo -u pypo /usr/bin/airtime-liquidsoap --verbose -f /root/single_video_2.liq

See in htop how memory leaks

reply via email to

[Prev in Thread] Current Thread [Next in Thread]