-
Notifications
You must be signed in to change notification settings - Fork 2k
In the ARM arch, the version 1.15.8.1 rc0 has a segmentation fault #1481
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
Comments
@luohuichang Could you share more info to help us reproduce this? I haven't been able to reproduce so far, with the following:
Only by including the typo, a runtime error is thrown when calling |
@thibaultcha I try again, mabe I used the old lua-resty-core in my own code. |
Sorry, I have mistake to use the wrong lib(resty.core), the version work well at ARM now! |
@luohuichang |
In the ARM arch, the version 1.15.8.1 rc0 has a segmentation fault
dict.flush_all() function will cause the Segmentation fault
nginx.conf:
lua_shared_dict test_dict 1m; in http
dofile code:
test_dict = ngx.shared.test_dict
test_dict:set("key", "value", 1000)
test_dict.flush_all() -- will cause segmentation fault
version:
https://openresty.org/download/openresty-1.15.8.1rc0.tar.gz
[root@kwephicprc03649 ELB_V3_nginx]# /usr/local/NSP/sbin/nginx -V
nginx version: openresty/1.15.8.1rc0
built by gcc 4.9.3 20160525 (prerelease) (GCC)
built with OpenSSL 1.1.0h 27 Mar 2018
TLS SNI support enabled
uname -r
4.1.43-01.25.vhulk1708.1.1.aarch64
dmesg:
[610835.327726] nginx[9053]: unhandled level 2 translation fault (11) at 0x00000000, esr 0x92000006
[610835.327731] pgd = ffff80038d345000
[610835.327733] [00000000] *pgd=00000003caaae003, *pud=00000003c8fc4003, *pmd=0000000000000000
[610835.327740] CPU: 7 PID: 9053 Comm: nginx Tainted: G E 4.1.44-06.160.vhulk1711.1.1.aarch64 #1
[610835.327743] Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015
[610835.327745] task: ffff8000ba9ae200 ti: ffff80038c6d0000 task.ti: ffff80038c6d0000
[610835.327760] PC is at 0x597f00
[610835.327762] LR is at 0x59ba00
[610835.327764] pc : [<0000000000597f00>] lr : [<000000000059ba00>] pstate: 20000000
[610835.327766] sp : 0000ffffe5b43510
[610835.327767] x29: 0000ffffe5b43510 x28: 000029faa1dbb710
[610835.327771] x27: 000029faa1de2b68 x26: 0000ffffe5b437b0
[610835.327773] x25: 0000000000000000 x24: 0000000000000003
[610835.327776] x23: 0000ffffe5b43708 x22: 0000000000000000
[610835.327779] x21: 000029faa1db21c8 x20: 0000000000000000
[610835.327781] x19: 0000ffffe5b43708 x18: 0000ffffe5b43400
[610835.327783] x17: 0000ffffa7f1e230 x16: 0000ffffa8284000
[610835.327786] x15: fffffffffffffff5 x14: 0000000000000031
[610835.327788] x13: 000029faa1dbf8a0 x12: 0000000000000065
[610835.327791] x11: 000000000059b8dc x10: 0000ffffe5b437a0
[610835.327793] x9 : ffffffffffffffff x8 : 0000ffffa8211d28
[610835.327796] x7 : 00000000000f4240 x6 : 0000000000000005
[610835.327798] x5 : 000029faa1db2150 x4 : 0000000000000004
[610835.327801] x3 : 0000000000000000 x2 : 0000000000000000
[610835.327803] x1 : 0000000000000002 x0 : fffffffffffffff8
The text was updated successfully, but these errors were encountered: