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

smartdns运行错误,反复报错 #1878

Closed
qingting04 opened this issue Dec 16, 2024 · 7 comments
Closed

smartdns运行错误,反复报错 #1878

qingting04 opened this issue Dec 16, 2024 · 7 comments

Comments

@qingting04
Copy link

问题现象
简要描述问题出现的现象

运行环境

  1. 固件型号
    ImmortalWrt 23.05.3 r27917-81a1f98d5b / LuCI openwrt-23.05 branch git-24.314.43925-4431ab0
  2. 运营商
    电信
  3. smartdns来源以及版本
    immortal的opkg源、smartdns 46-1
  4. 涉及的配置(注意去除个人相关信息)

config smartdns
option server_name 'smartdns'
option dualstack_ip_selection '1'
option prefetch_domain '1'
option serve_expired '1'
option tcp_server '1'
option seconddns_tcp_server '1'
option port '7383'
option ipv6_server '1'
option seconddns_port '8053'
option seconddns_server_group 'office'
option enabled '0'
option cache_size '20000'
option rr_ttl '3600'
option rr_ttl_min '5'
option auto_set_dnsmasq '1'
option tls_server '0'
option doh_server '0'
option bind_device '1'
option cache_persist '1'
option resolve_local_hostnames '1'
option force_https_soa '1'
option log_output_mode 'file'
option response_mode 'fastest-ip'
option seconddns_force_https_soa '1'
option old_port '7383'
option old_enabled '0'
option old_auto_set_dnsmasq '1'

config domain-rule

config client-rule
option enabled '0'
option dualstack_ip_selection '1'
option force_https_soa '1'

config ip-rule

config server
option enabled '1'
option name '闃块噷1'
option ip '223.5.5.5'
option type 'udp'
option server_group 'home'

config server
option enabled '1'
option name '闃块噷2'
option ip 'alidns_ip/dns-query'
option type 'https'
option server_group 'home'

config server
option enabled '1'
option name '鑵捐1'
option ip '119.29.29.29'
option type 'udp'
option server_group 'home'

config server
option enabled '1'
option name '鑵捐2'
option ip 'doh.pub/dns-query'
option type 'https'
option server_group 'home'

config server
option enabled '1'
option name '鐢典俊1'
option ip '101.226.4.6'
option type 'udp'
option server_group 'home'

config server
option enabled '1'
option name '鐢典俊2'
option ip '218.30.118.6'
option type 'udp'
option server_group 'home'

config server
option enabled '1'
option name 'Cloudflare1'
option ip '1.1.1.1'
option type 'udp'
option server_group 'office'
option exclude_default_group '1'

config server
option enabled '1'
option name 'Cloudflare2'
option ip '1.1.1.1/dns-query'
option type 'tls'
option server_group 'office'
option exclude_default_group '1'

config server
option enabled '1'
option name 'Google1'
option ip '8.8.8.8'
option type 'udp'
option server_group 'office'
option exclude_default_group '1'

config server
option enabled '1'
option name 'Google2'
option ip 'dns.google'
option type 'tls'
option server_group 'office'
option exclude_default_group '1'

config server
option enabled '1'
option name 'Quad91'
option ip 'dns11.quad9.net/dns-query'
option type 'https'
option server_group 'office'
option exclude_default_group '1'

config server
option enabled '1'
option name 'Quad92'
option ip '68.20.247.20'
option type 'udp'
option server_group 'office'
option exclude_default_group '1'

信息收集

  1. 将/var/log/smrtdns.log日志作为附件上传(注意去除个人相关信息)。
    [2024-12-16 19:29:14,786][FATAL][ util.c:1703] Stack:
    [2024-12-16 19:29:14,786][FATAL][ util.c:1715] 360 C301路由无法安装 #1: 0x41dd50 print_stack() from /usr/sbin/smartdns+0x1dd50
    [2024-12-16 19:29:23,699][FATAL][ smartdns.c:757 ] process exit with signal 11, code = 1, errno = 0, pid = 12, self = 28546, pc = 0x41e48d, addr = 0xc, build(46 mips)
    [2024-12-16 19:29:23,700][FATAL][ util.c:1703] Stack:
    [2024-12-16 19:29:23,700][FATAL][ util.c:1715] 360 C301路由无法安装 #1: 0x41dd50 print_stack() from /usr/sbin/smartdns+0x1dd50
    [2024-12-16 19:29:29,998][FATAL][ smartdns.c:757 ] process exit with signal 11, code = 1, errno = 0, pid = 12, self = 29544, pc = 0x41e48d, addr = 0xc, build(46 mips)
    [2024-12-16 19:29:29,999][FATAL][ util.c:1703] Stack:
    [2024-12-16 19:29:29,999][FATAL][ util.c:1715] 360 C301路由无法安装 #1: 0x41dd50 print_stack() from /usr/sbin/smartdns+0x1dd50
    [2024-12-16 19:29:40,006][FATAL][ smartdns.c:757 ] process exit with signal 11, code = 1, errno = 0, pid = 12, self = 30506, pc = 0x41e48d, addr = 0xc, build(46 mips)
    [2024-12-16 19:29:40,006][FATAL][ util.c:1703] Stack:
    [2024-12-16 19:29:40,006][FATAL][ util.c:1715] 360 C301路由无法安装 #1: 0x41dd50 print_stack() from /usr/sbin/smartdns+0x1dd50
    [2024-12-16 19:29:45,380][FATAL][ smartdns.c:757 ] process exit with signal 11, code = 1, errno = 0, pid = 12, self = 31733, pc = 0x41e48d, addr = 0xc, build(46 mips)
    [2024-12-16 19:29:45,381][FATAL][ util.c:1703] Stack:
    [2024-12-16 19:29:45,381][FATAL][ util.c:1715] 360 C301路由无法安装 #1: 0x41dd50 print_stack() from /usr/sbin/smartdns+0x1dd50
    [2024-12-16 19:29:54,230][FATAL][ smartdns.c:757 ] process exit with signal 11, code = 1, errno = 0, pid = 12, self = 326, pc = 0x41e48d, addr = 0xc, build(46 mips)
    [2024-12-16 19:29:54,230][FATAL][ util.c:1703] Stack:
    [2024-12-16 19:29:54,230][FATAL][ util.c:1715] 360 C301路由无法安装 #1: 0x41dd50 print_stack() from /usr/sbin/smartdns+0x1dd50
    [2024-12-16 19:30:03,122][FATAL][ smartdns.c:757 ] process exit with signal 11, code = 1, errno = 0, pid = 12, self = 1244, pc = 0x41e48d, addr = 0xc, build(46 mips)
    [2024-12-16 19:30:03,122][FATAL][ util.c:1703] Stack:
    [2024-12-16 19:30:03,122][FATAL][ util.c:1715] 360 C301路由无法安装 #1: 0x41dd50 print_stack() from /usr/sbin/smartdns+0x1dd50
    [2024-12-16 19:30:12,408][FATAL][ smartdns.c:757 ] process exit with signal 11, code = 1, errno = 0, pid = 12, self = 2174, pc = 0x41e48d, addr = 0xc, build(46 mips)
    [2024-12-16 19:30:12,408][FATAL][ util.c:1703] Stack:
    [2024-12-16 19:30:12,408][FATAL][ util.c:1715] 360 C301路由无法安装 #1: 0x41dd50 print_stack() from /usr/sbin/smartdns+0x1dd50
    [2024-12-16 19:30:21,362][FATAL][ smartdns.c:757 ] process exit with signal 11, code = 1, errno = 0, pid = 12, self = 3215, pc = 0x41e48d, addr = 0xc, build(46 mips)
    [2024-12-16 19:30:21,362][FATAL][ util.c:1703] Stack:
    [2024-12-16 19:30:21,362][FATAL][ util.c:1715] 360 C301路由无法安装 #1: 0x41dd50 print_stack() from /usr/sbin/smartdns+0x1dd50
    [2024-12-16 19:30:30,395][FATAL][ smartdns.c:757 ] process exit with signal 11, code = 1, errno = 0, pid = 12, self = 4243, pc = 0x41e48d, addr = 0xc, build(46 mips)
    [2024-12-16 19:30:30,395][FATAL][ util.c:1703] Stack:
    [2024-12-16 19:30:30,396][FATAL][ util.c:1715] 360 C301路由无法安装 #1: 0x41dd50 print_stack() from /usr/sbin/smartdns+0x1dd50

  2. 如进程异常,请将coredump功能开启,上传coredump信息文件,同时上传配套的smartdns进程文件。
    在自定义界面,开启设置->自定义设置->生成coredump配置,重现问题后提交coredump文件
    coredump文件在/tmp目录下
    core.zip

@qingting04 qingting04 changed the title smartdns反复报错 smartdns运行错误,反复报错 Dec 16, 2024
@qingting04
Copy link
Author

屏幕截图 2024-12-16 195845

@pymumu
Copy link
Owner

pymumu commented Dec 16, 2024

用release中静态编译的版本看看有没有问题。

@qingting04
Copy link
Author

问题已经解决,但是我想在编译的时候加入该包,我并非使用机器自己编译,而是访问了immortalwrt的官方编译网站,这个issue是不是要去非静态版本库下面进行提问

@PikuZheng
Copy link
Contributor

问题已经解决,但是我想在编译的时候加入该包,我并非使用机器自己编译,而是访问了immortalwrt的官方编译网站,这个issue是不是要去非静态版本库下面进行提问

一般是编译环境中没有目标target的openssl

@qingting04
Copy link
Author

我是在该网站下进行编译,我该如何解决,是加软件包,还是向immortalwrt提出issue,让他们修改
屏幕截图 2024-12-17 192449

@qingting04
Copy link
Author

问题已经解决,但是我想在编译的时候加入该包,我并非使用机器自己编译,而是访问了immortalwrt的官方编译网站,这个issue是不是要去非静态版本库下面进行提问

一般是编译环境中没有目标target的openssl

求解决

@qingting04
Copy link
Author

问题已解决请前往 immortalwrt/packages#1419

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

3 participants