Skip to content
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

FS#2959 - kern.info kernel: do_page_fault(): sending SIGSEGV to unbound-control for invalid read access from 0 #7737

Open
openwrt-bot opened this issue Apr 4, 2020 · 0 comments
Labels

Comments

@openwrt-bot
Copy link

vollkommenheit:

Supply the following if possible:

  • Device problem occurs on

ath79-generic-netgear_wndr3800

  • Software versions of OpenWrt/LEDE release, packages, etc.

r12776-437eb41f23

libunbound-light - 1.10.0-2
unbound-control - 1.10.0-2
unbound-control-setup - 1.10.0-2
unbound-daemon - 1.10.0-2

Package: unbound-control
Version: 1.10.0-2
Depends: libc, libopenssl1.1, unbound-daemon
Status: install user installed
Section: net
Architecture: mips_24kc
Size: 45121
Filename: unbound-control_1.10.0-2_mips_24kc.ipk
Description: This package contains the Unbound control utility.
Installed-Time: 1585766447

  • Steps to reproduce

Initially posted at forum.openwrt.org
https://forum.openwrt.org/t/unbound-control-1-10-0-2-sending-sigsegv-to-unbound-control-for-invalid-read-access-from-00000000/59201

Then posted on github, but I can't seem to locate unbound-control code, especially 1.10.0.2, there:
openwrt/packages#11750

On the CLI, when issuing for example "unbound-control local-data test.lan A 10.10.10.10", it manifests itself as:

[1585965988] unbound-control[32619:0] warning: control-enable is 'no' in the config file.
Segmentation fault

In syslog, it shows:

Wed Apr 1 12:01:38 2020 kern.info kernel: [141571.460081] do_page_fault(): sending SIGSEGV to unbound-control for invalid read access from 00000000
Wed Apr 1 12:01:38 2020 kern.info kernel: [141571.474976] ra = 77df0d2d in libunbound.so.8.1.7[77dbc000+b3000]

Now, I'm getting a bit more info in syslog, when unbound-control gets triggered by a shell script, specifically that line referencing libc:

Thu Apr 2 22:01:55 2020 kern.info kernel: [253187.975857] do_page_fault(): sending SIGSEGV to unbound-control for invalid read access from 00000000
Thu Apr 2 22:01:55 2020 kern.info kernel: [253187.985262] epc = 77eca230 in libc.so[77e56000+97000]
Thu Apr 2 22:01:55 2020 kern.info kernel: [253187.990544] ra = 77dd2d2d in libunbound.so.8.1.7[77d9e000+b3000]
Thu Apr 2 22:01:55 2020 local0.warn dnsmasq[6451]: script process exited with status 139

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant