[OpenWrt-Devel] rpcd memory leaks [Was: Re: OpenWrt 19.07 release schedule ?]
Yousong Zhou
yszhou4tech at gmail.com
Sun Oct 20 07:33:56 EDT 2019
On Sat, 19 Oct 2019 at 13:02, Petr Štetiar <ynezz at true.cz> wrote:
>
> Yousong Zhou <yszhou4tech at gmail.com> [2019-10-19 12:11:08]:
>
> Hi,
>
> > > * rpcd leaks memory
> >
> > I will give this a try and see how many leaks I can uncover in the weekend.
>
> great! BTW that release blocking one might be already fixed, just guessing from this IRC discussion:
>
> < jow> Hauke: the leak in rpcd can be easily provoked by running something like while true; do ubus call iwinfo info '{ "device": "radio0" }'; done
> < jow> Hauke: it has been (inadvertently) fixed by https://git.openwrt.org/?p=project/iwinfo.git;a=commitdiff;h=a29b7d4e26a8d97e48c2a899dda3665d385b95db
> < jow> Hauke: didn't yet check if 18.06 is affected
>
I only tested master branch and could not reproduce the issue there.
Likely it's already fixed.
> Nonetheless scan-build from clang version 9 reports some issues[1], as there
> are no valgrind CI tests yet, I'm unsure if those are false positives.
>
> 1. https://ynezz.gitlab.io/-/openwrt-rpcd/-/jobs/323420230/artifacts/build/scan/2019-10-17-075741-163-1/index.html
>
> -- ynezz
This scan-build is great. I will look into it in more details later ;)
Regards,
yousong
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list