Hi Andrej
> 
> b) Running via valgrind, it seems there is quite a bit of memory leaking
> :
> 
> ==24927== LEAK SUMMARY:
> ==24927==    definitely lost: 420,685 bytes in 9,673 blocks <<<<<<<< a
> lot!
> ==24927==    indirectly lost: 3,131,371 bytes in 137,994 blocks
> ==24927==      possibly lost: 7,113 bytes in 104 blocks
> ==24927==    still reachable: 13,165,191 bytes in 5,724 blocks
> ==24927==         suppressed: 0 bytes in 0 blocks
> ==24927== Reachable blocks (those to which a pointer was found) are not
> shown.
> ==24927== To see them, rerun with: --leak-check=full
> --show-leak-kinds=all
> ==24927==
> ==24927== For counts of detected and suppressed errors, rerun with: -v
> ==24927== Use --track-origins=yes to see where uninitialised values come
> from
> ==24927== ERROR SUMMARY: 134 errors from 42 contexts (suppressed: 0 from
> 0)
> 
> ... with stack overruns, invalid reads, and the such.
> 
> c) When running via valgrind, it seems to run without crashing; when
> running without it, it keeps crashing after an hour or two (No coredump
> tho) This behaviour is quite tipycal for code with memory handling
> isses.
> 
> I would suggest checking out valgring output carefully, quite a bit of
> "interesting" stuff reported, and GCC compile warnings might be of
> interest too.
> 
> Cheers,
> Andrej

I've updated a 1.4.0pre5 that removes all Linux compile-warning and I
also passed it through valgrind. It helped removing a few leaks, but
nothing was at a scale you experienced. here is waht's left, after 30
minutes using 3 players

==5735== LEAK SUMMARY:
==5735==    definitely lost: 876 bytes in 12 blocks
==5735==    indirectly lost: 0 bytes in 0 blocks
==5735==      possibly lost: 2,240 bytes in 8 blocks
==5735==    still reachable: 0 bytes in 0 blocks
==5735==         suppressed: 0 bytes in 0 blocks

Most of the leaks are not "epidemic" in a sense that they do not grow
with time. For 3 of them I don't understand why they are still here, but
this is code that is only used at startup, not for playing. The rest in
in libupnp and this is not growing as well - all this is cleaned at exit
by the system itself



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=102496

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to