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

发生错误之后自动退出 #40

Closed
jx-xysm opened this issue Nov 9, 2018 · 7 comments
Closed

发生错误之后自动退出 #40

jx-xysm opened this issue Nov 9, 2018 · 7 comments

Comments

@jx-xysm
Copy link

jx-xysm commented Nov 9, 2018

[2018-11-09 20:36:22,780][ERROR][ fast_ping.c:339 ] sendto 2a01:111:2010:8::ff20, id 934, Permission denied
[2018-11-09 20:44:39,301][ERROR][ dns_client.c:1519] send query to 1.0.0.1 failed, No error information
[2018-11-09 20:44:39,318][ERROR][ dns_client.c:1519] send query to 1.0.0.1 failed, No error information
[2018-11-09 20:44:39,323][ERROR][ dns_client.c:1519] send query to 1.0.0.1 failed, No error information
[2018-11-09 20:44:39,334][ERROR][ dns_client.c:1519] send query to 1.0.0.1 failed, No error information
[2018-11-09 20:44:39,338][ERROR][ dns_client.c:1519] send query to 1.0.0.1 failed, No error information
[2018-11-09 20:44:39,341][ERROR][ dns_client.c:1519] send query to 1.0.0.1 failed, No error information
[2018-11-09 20:44:39,365][ERROR][ dns_client.c:1519] send query to 1.0.0.1 failed, No error information
[2018-11-09 20:44:39,369][ERROR][ dns_client.c:1519] send query to 1.0.0.1 failed, No error information
[2018-11-09 20:44:39,372][ERROR][ dns_client.c:1519] send query to 1.0.0.1 failed, No error information
[2018-11-09 20:44:39,380][ERROR][ dns_client.c:1519] send query to 1.0.0.1 failed, No error information
[2018-11-09 20:44:39,391][ERROR][ dns_client.c:1519] send query to 1.0.0.1 failed, No error information
[2018-11-09 20:44:39,395][ERROR][ dns_client.c:1519] send query to 1.0.0.1 failed, No error information
[2018-11-09 20:44:39,399][ERROR][ dns_client.c:1519] send query to 1.0.0.1 failed, No error information
[2018-11-09 20:44:39,403][ERROR][ dns_client.c:1519] send query to 1.0.0.1 failed, No error information
[2018-11-09 20:44:39,420][ERROR][ dns_client.c:1519] send query to 1.0.0.1 failed, No error information
[2018-11-09 20:44:39,451][ERROR][ dns_client.c:1519] send query to 1.0.0.1 failed, No error information
[2018-11-09 20:44:39,455][ERROR][ dns_client.c:1519] send query to 1.0.0.1 failed, No error information
[2018-11-09 20:44:39,465][ERROR][ dns_client.c:1519] send query to 1.0.0.1 failed, No error information
[2018-11-09 20:44:39,468][ERROR][ dns_client.c:1519] send query to 1.0.0.1 failed, No error information
[2018-11-09 20:48:43,722][ERROR][ fast_ping.c:339 ] sendto 2404:6800:4012::200e, id 3561, Permission denied
[2018-11-09 20:52:56,499][ERROR][ dns_server.c:356 ] BUG: refcnt is -1
[2018-11-09 20:52:56,503][ERROR][ smartdns.c:289 ] process exit with signal 6

@pymumu
Copy link
Owner

pymumu commented Nov 11, 2018

是最新的吗?什么CPU的版本。
多长时间会出现?大约访问什么域名的时候异常?

@jx-xysm
Copy link
Author

jx-xysm commented Nov 11, 2018

是最新的,
主机型号 | NETGEAR WNDR3800 CPU:680Mhz
架构 | Atheros AR7161 rev 2
固件版本 | OpenWrt R8.1.9 By Lean / LuCI Master (git-18.294.37857-217cc5a)
内核版本 | 4.9.135
抱歉,由于之前的日志等级是error,没记录到具体域名,但是是发生在迅雷进行大流量长时间下载的时候发生的,现在我将等级调成info,看会不会出现再出现自动退出的现象,到时候再报告。

@jx-xysm
Copy link
Author

jx-xysm commented Nov 11, 2018

错误再次发生了
[2018-11-12 00:03:00,950][ INFO][ dns_server.c:1044] query server hm.e.shifen.com from 127.0.0.1, qtype = 1
[2018-11-12 00:03:00,952][ INFO][ dns_client.c:1603] send request hm.e.shifen.com, qtype 1, id 10084
[2018-11-12 00:03:00,956][ INFO][ dns_server.c:1044] query server 148.144.30.111.in-addr.arpa from 127.0.0.1, qtype = 12
[2018-11-12 00:03:00,960][ INFO][ dns_client.c:1603] send request 148.144.30.111.in-addr.arpa, qtype 12, id 10085
[2018-11-12 00:03:00,977][ INFO][ dns_server.c:680 ] hm.e.shifen.com, qtype: 41
[2018-11-12 00:03:00,982][ INFO][ dns_server.c:1044] query server hm.baidu.com from 127.0.0.1, qtype = 1
[2018-11-12 00:03:00,983][ INFO][ dns_client.c:1603] send request hm.baidu.com, qtype 1, id 10086
[2018-11-12 00:03:00,986][ INFO][ dns_server.c:292 ] result: hm.e.shifen.com, rcode: 0, 111.13.101.191
[2018-11-12 00:03:00,990][ INFO][ dns_server.c:1044] query server 148.144.30.111.in-addr.arpa from 127.0.0.1, qtype = 12
[2018-11-12 00:03:00,992][ INFO][ dns_client.c:1603] send request 148.144.30.111.in-addr.arpa, qtype 12, id 10087
[2018-11-12 00:03:00,997][ INFO][ dns_server.c:680 ] hm.e.shifen.com, qtype: 41
[2018-11-12 00:03:01,007][ INFO][ dns_server.c:1044] query server 148.144.30.111.in-addr.arpa from 127.0.0.1, qtype = 12
[2018-11-12 00:03:01,014][ INFO][ dns_client.c:1603] send request 148.144.30.111.in-addr.arpa, qtype 12, id 10088
[2018-11-12 00:03:01,018][ INFO][ dns_server.c:292 ] result: hm.baidu.com, rcode: 0, 111.13.101.191
[2018-11-12 00:03:01,035][ INFO][ dns_server.c:1044] query server 148.144.30.111.in-addr.arpa from 127.0.0.1, qtype = 12
[2018-11-12 00:03:01,038][ INFO][ dns_client.c:1603] send request 148.144.30.111.in-addr.arpa, qtype 12, id 10089
[2018-11-12 00:03:01,056][ INFO][ dns_server.c:1044] query server 148.144.30.111.in-addr.arpa from 127.0.0.1, qtype = 12
[2018-11-12 00:03:01,058][ INFO][ dns_client.c:1603] send request 148.144.30.111.in-addr.arpa, qtype 12, id 10090
[2018-11-12 00:03:01,082][ INFO][ dns_server.c:1044] query server 148.144.30.111.in-addr.arpa from 127.0.0.1, qtype = 12
[2018-11-12 00:03:01,084][ INFO][ dns_client.c:1603] send request 148.144.30.111.in-addr.arpa, qtype 12, id 10091
[2018-11-12 00:03:01,108][ INFO][ dns_server.c:1044] query server 148.144.30.111.in-addr.arpa from 127.0.0.1, qtype = 12
[2018-11-12 00:03:01,108][ INFO][ dns_server.c:310 ] result: www3-china.l.google.com, rcode: 0, 2404:6800:4008:0800:0000:0000:0000:200e
[2018-11-12 00:03:01,125][ INFO][ dns_client.c:1603] send request 148.144.30.111.in-addr.arpa, qtype 12, id 0
[2018-11-12 00:03:01,160][ERROR][ smartdns.c:289 ] process exit with signal 10
[2018-11-12 00:03:01,225][ INFO][ dns_server.c:292 ] result: www3-china.l.google.com, rcode: 0, 173.194.219.138
[2018-11-12 00:03:01,625][ INFO][ dns_server.c:292 ] result: www3-china.l.google.com, rcode: 0, 173.194.219.102

@pymumu
Copy link
Owner

pymumu commented Nov 12, 2018

signal 10是SIGUSR1信号,程序是不会发送这个信号的,可能是你路由器的其他进程给smartdns发送了信号10,导致的退出。

这个退出和上面说的那个不是同一个问题。
signal 6是smartdns发现异常调用abort的结果。

我改了下一个可疑的位置,给你的临时版本看看。

麻烦把安装用的安装包名给我下。

@jx-xysm
Copy link
Author

jx-xysm commented Nov 12, 2018

Smartdns.2018.11.03-2215.mips_24 kc.ipk

@pymumu
Copy link
Owner

pymumu commented Nov 12, 2018

smartdns.1.2018.11.12-2334.mips_24kc.ipk.zip

改了一个可能的地方,解压后安装看看。

@jx-xysm
Copy link
Author

jx-xysm commented Nov 12, 2018

Thanks♪(・ω・)ノ

@pymumu pymumu closed this as completed Dec 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants