<div dir="ltr"><div dir="ltr"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 6, 2020 at 1:19 AM Jo-Philipp Wich <<a href="mailto:jo@mein.io">jo@mein.io</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
> rpcd crashes for me daily, to the point where i have a script that restarts it<br>
> every 5 minutes.<br>
> <br>
> It also gets hung a lot without crashing, and stops serving responses to ubus<br>
> traffic.<br>
<br>
I've never heard about anything like that until now, not even in the forum or<br>
IRC chatter. Getting some details here would be interesting.<br>
<br>
~ Jo<br></blockquote><div><br></div><div>I've reviewed the mailing list for the previous year, and found this post:<br></div><div><br></div><div><a href="http://lists.infradead.org/pipermail/openwrt-devel/2019-October/019592.html">http://lists.infradead.org/pipermail/openwrt-devel/2019-October/019592.html</a><br></div><div><br></div><div>Which appears to have been merged into rpcd with this commit : <a href="https://git.openwrt.org/?p=project/rpcd.git;a=commit;h=bd0ed2521476c3e5b6c1a0e0bd2c386ea809d74b">https://git.openwrt.org/?p=project/rpcd.git;a=commit;h=bd0ed2521476c3e5b6c1a0e0bd2c386ea809d74b</a></div><div><br></div><div>This post / commit appears to identify the same crash that my scripts cause.</div><div><br></div><div>However, the commit for the OpenWRT 18.06 branch (Still receiving security fixes, as far as I can tell), has this commit for RPCD</div><div><br></div><div><a href="https://github.com/openwrt/openwrt/blob/openwrt-18.06/package/system/rpcd/Makefile">https://github.com/openwrt/openwrt/blob/openwrt-18.06/package/system/rpcd/Makefile</a><br></div><div><br></div><div>commit 3aa81d0dfae167eccc26203bd0c96f3e3450f253<br>Author: Jo-Philipp Wich <<a href="mailto:jo@mein.io">jo@mein.io</a>><br>Date:   Wed Nov 28 12:12:04 2018 +0100<br><br>    file: access exec timeout via daemon ops structure<br><br>    Since the plugin is not linked, but dlopen()'d with RTLD_LOCAL, we cannot<br>    access global rpcd variables but need to access them via the common ops<br>    structure symbol.<br><br>    Signed-off-by: Jo-Philipp Wich <<a href="mailto:jo@mein.io">jo@mein.io</a>><br></div><div><br></div><div><br></div><div><br></div><div>To see if that really fixed the issue, I will update my build of rpcd from 3aa81d0dfae167eccc26203bd0c96f3e3450f253 to bd0ed2521476c3e5b6c1a0e0bd2c386ea809d74b (or git head, perhaps) to see if the crash gets resolved.</div><div><br></div></div></div>