-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
rpcd segfaults #7335
Comments
BTW, is this relevant and up to date? https://ucode.mein.io/module-core.html |
Couldn't reproduce this during some cursory testing with a qemu x86/64 vm |
Try running the it multiple times. Sometimes things worked out or me. But after a few repeats, it eventually happens. |
Did a |
Madness. Do you run it on 23.05 or master? |
same issue 23.05 x86_64 |
after 1 day, rpcd report RPCError -32000 |
ping @jow-
Segfaults and hangs. Sometimes.
ucode ddns.uc
thinks the code is fine.hang code
segfault code
But when put the file in
/usr/share/rpcd/ucode
and I do:for the problem cases,
rpcd
comes back withCommand failed: Request timed out
, and maybe after repeated attempts on ARM, the problem cases complete. No hang.Segfault examples from x86_64
Seems like resource exhaustion issues. Problems seem to centre around the
popen
call todate
.Weird thing? If I start with
Then subsequent calls don't seem to lock or hang so soon. But ARM does this if it doesn't hang:
While x86_64 does this:
ARM:
x86_64
Addendum: Copying the files to my devices using:
scp -O applications/luci-app-ddns/root/usr/share/rpcd/ucode/ddns.uc [email protected]:/usr/share/rpcd/ucode
reliably triggered the problem. I've noticed somewhere else that
scp -O
causes problems with large transfers.But once I installed
openssh-sftp-server
the problems abated on x86_64.The text was updated successfully, but these errors were encountered: