例程运行错误 Segmentation fault
运行例子出错误 ,错误信息如下,请问是什么情况?root@ubuntu:~# fltest_uarttest
Internal error: Accessing user space memory outside uaccess.h routines: 96000005 [#4] PREEMPT SMP
Modules linked in: lcd mali_kbase(O)
CPU: 1 PID: 10917 Comm: bash Tainted: G D O 4.9.170 #14
Hardware name: sun50iw9 (DT)
task: ffffffc05c7cab80 task.stack: ffffffc05b88c000
PC is at open_exec+0x50/0x11c
LR is at open_exec+0x50/0x11c
pc : [<ffffff800821efbc>] lr : [<ffffff800821efbc>] pstate: 80400145
sp : ffffffc05b88fc80
x29: ffffffc05b88fc80 x28: 00000000ab3ce960
x27: 0000000000000001 x26: ffffffc0637d5700
x25: ffffff8008f3d000 x24: ffffffc063494880
x23: ffffff800961d1d0 x22: ffffffc069d83438
x21: ffffffc0636b9600 x20: fffffffffffffffe
x19: fffffffffffffffe x18: 0000000000000000
x17: 0000000000000000 x16: ffffff800821fb74
x15: 0000000000000000 x14: 0000000000000001
x13: 0000000000000218 x12: 0000000000000010
x11: 0101010101010101 x10: ffffffff7f7f7f7f
x9 : 0000000000000000 x8 : ffffffc0636b9c00
x7 : 0300ff0001000001 x6 : 0000000000000010
x5 : ffffffc072365f38 x4 : ffffffffffffffff
x3 : 0000000000000000 x2 : ffffffc07f3101e0
x1 : ffffffc0637d5700 x0 : 0000000000400010
SP: 0xffffffc05ba2fc00:
fc0069d83438 ffffffc0 0961d1d0 ffffff80 63494880 ffffffc0 08f3d000 ffffff80
fc20637d5700 ffffffc0 00000001 00000000 ab97d580 00000000 5ba2fc80 ffffffc0
fc400821efbc ffffff80 5ba2fc80 ffffffc0 0821efbc ffffff80 80400145 00000000
fc605ba2fc80 ffffffc0 0821efbc ffffff80 ffffffff 0000007f 000409aa 00000000
fc805ba2fcb0 ffffffc0 0827e7d4 ffffff80 63494580 ffffffc0 fffffff8 00000000
fca0636b9600 ffffffc0 000409aa 00000000 5ba2fdb0 ffffffc0 0821e9f8 ffffff80
fcc0fffffff8 00000000 636b9600 ffffffc0 09849c40 ffffff80 09849000 ffffff80
fce00961d1d0 ffffff80 096182a0 ffffff80 00000001 00000000 637d5700 ffffffc0
X1: 0xffffffc0637d5680:
568000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
56a000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
56c000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
56e000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
570000400012 00000000 ffffffff ffffffff a3667000 6ce40000 00000001 00000000
572000000000 00000000 5ba2c000 ffffffc0 00000002 00404040 00000000 00000000
574000000000 00000000 00000001 00000000 00000008 00000000 00022030 00000001
57605c516580 ffffffc0 00000000 00000001 00000078 00000078 00000078 00000000
X2: 0xffffffc07f310160:
0160636b9e00 ffffffc0 0054afa0 00000000 018dae40 ffffffbf 01ae81c0 ffffffbf
018069d83c00 ffffffc0 0001c8a8 00000000 01a76080 ffffffbf 01e4b000 ffffffbf
01a06355a400 ffffffc0 000bad10 00000000 018d5600 ffffffbf 01e1fc00 ffffffbf
01c0634bc800 ffffffc0 00003d28 00000000 018d2e00 ffffffbf 01e7ba00 ffffffbf
01e0637a4000 ffffffc0 00596340 00000000 018de800 ffffffbf 00000000 00000000
0200634c2000 ffffffc0 0000014c 00000000 018d3000 ffffffbf 018d2c00 ffffffbf
022000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
024000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
X5: 0xffffffc072365eb8:
5eb800000000 00000000 72365b00 ffffffc0 6b073e00 ffffffc0 6b161390 ffffffc0
5ed86b15f750 ffffffc0 72365ee0 ffffffc0 72365ee0 ffffffc0 00000000 00000000
5ef800000000 00000000 000800c0 00000000 00000000 00000000 7cf91e58 ffffffc0
5f18780ab0c0 ffffffc0 c8f2e733 00000015 72365f38 ffffffc0 00000000 00000000
5f386c2d646c 78756e69 7261612d 34366863 2e6f732e 65000031 00000073 00000000
5f5800020002 00000000 00000000 00000000 78779000 ffffffc0 00000000 00000000
5f7800000000 00000000 6b0e2200 ffffffc0 6b072c80 ffffffc0 7203bb10 ffffffc0
5f986b16fd50 ffffffc0 72365fa0 ffffffc0 72365fa0 ffffffc0 00000000 00000000
X8: 0xffffffc0636b9b80:
9b8000000000 00000000 00000000 00000000 00000000 00000000 6bbe7c00 ffffffc0
9ba000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9bc000000000 00000000 00000000 00000000 00000000 00000000 636b9bd8 ffffffc0
9be0636b9bd8 ffffffc0 636b9be8 ffffffc0 636b9be8 ffffffc0 00000000 00000000
9c0000000000 00000000 00000000 00000000 00000000 00000000 79e48800 ffffffc0
9c2000000000 00000000 00000000 00000000 00000000 00000000 00000001 00000000
9c4000000000 00000000 00000001 ffffffff 00000000 00000000 00000000 00000000
9c6008a6d21c ffffff80 00000000 00000000 00000000 00000000 00000000 00000000
X10: 0xffffffff7f7f7eff:
7efc******** ******** ******** ******** ******** ******** ******** ********
7f1c******** ******** ******** ******** ******** ******** ******** ********
7f3c******** ******** ******** ******** ******** ******** ******** ********
7f5c******** ******** ******** ******** ******** ******** ******** ********
7f7c******** ******** ******** ******** ******** ******** ******** ********
7f9c******** ******** ******** ******** ******** ******** ******** ********
7fbc******** ******** ******** ******** ******** ******** ******** ********
7fdc******** ******** ******** ******** ******** ******** ******** ********
7ffc******** ******** ******** ******** ******** ******** ******** ********
X21: 0xffffffc0636b9580:
958000000000 00000000 00000000 00200000 00000000 00000000 00000000 00000000
95a000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
95c0ffff0000 ffff0000 00000082 00000900 5ba4f580 ffffffc0 5ba4f602 ffffffc0
95e000000b80 00000001 636b95e8 ffffffc0 636b95e8 ffffffc0 78332678 ffffffc0
9600464c457f 00010102 00000000 00000000 00b70002 00000001 00400960 00000000
962000000040 00000000 00005070 00000000 00000000 00380040 00400008 00230024
964000000006 00000005 00000040 00000000 00400040 00000000 00400040 00000000
9660000001c0 00000000 000001c0 00000000 00000008 00000000 00000003 00000004
X22: 0xffffffc069d833b8:
33b800000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
33d800000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
33f800000000 00000000 00000006 00000005 00000040 00000000 00400040 00000000
341800400040 00000000 000001c0 00000000 000001c0 00000000 00000008 00000000
343800000003 00000004 00000200 00000000 00400200 00000000 00400200 00000000
34580000001b 00000000 0000001b 00000000 00000001 00000000 00000001 00000005
347800000000 00000000 00400000 00000000 00400000 00000000 00001010 00000000
349800001010 00000000 00010000 00000000 00000001 00000006 00001de8 00000000
X24: 0xffffffc063494800:
480063494700 ffffffc0 63494808 ffffffc0 63494808 ffffffc0 080bef20 ffffff80
482000000000 00000000 0965a6e0 ffffff80 637a7000 ffffffc0 637a7018 ffffffc0
484000000000 fffffffe 00000000 00000000 08522a00 ffffff80 637a7000 ffffffc0
486000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
488062696c2f 2d646c2f 756e696c 61612d78 36686372 6f732e34 0800312e ffffff80
48a000000000 00000000 0965a6e0 ffffff80 637a0000 ffffffc0 637a0018 ffffffc0
48c000000000 fffffffe 00000000 00000000 08522a00 ffffff80 637a0000 ffffffc0
48e000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
X26: 0xffffffc0637d5680:
568000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
56a000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
56c000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
56e000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
570000400012 00000000 ffffffff ffffffff a3667000 6ce40000 00000001 00000000
572000000000 00000000 5ba2c000 ffffffc0 00000002 00404040 00000000 00000000
574000000000 00000000 00000001 00000000 00000008 00000000 00022030 00000001
57605c516580 ffffffc0 00000000 00000001 00000078 00000078 00000078 00000000
X29: 0xffffffc05ba2fc00:
fc0069d83438 ffffffc0 0961d1d0 ffffff80 63494880 ffffffc0 08f3d000 ffffff80
fc20637d5700 ffffffc0 00000001 00000000 ab97d580 00000000 5ba2fc80 ffffffc0
fc400821efbc ffffff80 5ba2fc80 ffffffc0 0821efbc ffffff80 80400145 00000000
fc605ba2fc80 ffffffc0 0821efbc ffffff80 ffffffff 0000007f 000409aa 00000000
fc805ba2fcb0 ffffffc0 0827e7d4 ffffff80 63494580 ffffffc0 fffffff8 00000000
fca0636b9600 ffffffc0 000409aa 00000000 5ba2fdb0 ffffffc0 0821e9f8 ffffff80
fcc0fffffff8 00000000 636b9600 ffffffc0 09849c40 ffffff80 09849000 ffffff80
fce00961d1d0 ffffff80 096182a0 ffffff80 00000001 00000000 637d5700 ffffffc0
Process bash (pid: 30657, stack limit = 0xffffffc05ba2c000)
Stack: (0xffffffc05ba2fc80 to 0xffffffc05ba30000)
fc80: ffffffc05ba2fcb0 ffffff800827e7d4 ffffffc063494580 00000000fffffff8
fca0: ffffffc0636b9600 00000000000409aa ffffffc05ba2fdb0 ffffff800821e9f8
fcc0: 00000000fffffff8 ffffffc0636b9600 ffffff8009849c40 ffffff8009849000
fce0: ffffff800961d1d0 ffffff80096182a0 0000000000000001 ffffffc0637d5700
fd00: 0000000000000001 00000000ab97d580 ffffffc05ba2fd70 ffffff80080d3330
fd20: ffffff8008c5a1f4 ffffff8008222c98 ffffff80095dd000 ffffff8000000000
fd40: ffffffc05ba2c000 ffffffc05ba2fdb0 ffffffc05ba2fda0 ffffff800821ea04
fd60: ffffffc0ffffffff 00000000000409aa ffffffc05ba2fd90 ffffff8008c5a624
fd80: ffffffc069d83400 ffffff800821e9d0 ffffffc05ba2fdb0 ffffff800821e9e0
fda0: 00000000fffffff8 00000000000409aa ffffffc05ba2fe00 ffffff800821f664
fdc0: ffffffc0636b9600 0000000000000000 00000000000077c1 ffffffc0637a0000
fde0: 0000000000000000 ffffffc06367b370 00000000000077c1 ffffffc0637a0000
fe00: ffffffc05ba2fe90 ffffff800821fbc0 00000000ab969fd8 00000000ab97d580
fe20: 00000000ab972f58 00000000f7471978 0000000060070030 0000000000000011
fe40: 000000000000018a 000000000000000b ffffff8008c76000 ffffffc0637d5700
fe60: 000000000000018a ffffff8009810000 ffffff80095dd000 000000010821fba0
fe80: 0000000000000000 00000000000409aa 0000000000000000 ffffff8008083540
fea0: fffffffffffffe80 0000004076157000 ffffffffffffffff ffffff8008083420
fec0: 00000000ab972f58 00000000ab969fd8 00000000ab97d580 00000000f7d0d600
fee0: 00000000ab1153f0 00000000ab972f58 00000000ab972f58 000000000000000b
ff00: 00000000ab969ed8 00000000ab969fd8 00000000ab97d580 00000000f7576968
ff20: 00000000ab115628 00000000ffee8dac 00000000ab089769 0000000000000000
ff40: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ff60: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ff80: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ffa0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ffc0: 00000000f7471978 0000000060070030 00000000ab972f58 000000000000000b
ffe0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
Call trace:
Exception stack(0xffffffc05ba2fa90 to 0xffffffc05ba2fbc0)
fa80: fffffffffffffffe 0000007fffffffff
faa0: 000000004189b000 ffffff800821efbc 0000000080400145 ffffff80082283a0
fac0: ffffff80095dd000 ffffffc05ba2fc60 ffffffc05ba2fae0 ffffff80082283ec
fae0: ffffffc05ba2fc10 ffffff800821edf8 0000000000000000 00000000ffffff9c
fb00: ffffff80095dd000 ffffffc069d83438 ffffff800961d1d0 ffffffc072394030
fb20: 0000000000000001 fffffffffffffffe ffffffc07caceaa0 ffffffc0780ab0c0
fb40: 00000015c8f2e733 00000000000409aa 0000000000400010 ffffffc0637d5700
fb60: ffffffc07f3101e0 0000000000000000 ffffffffffffffff ffffffc072365f38
fb80: 0000000000000010 0300ff0001000001 ffffffc0636b9c00 0000000000000000
fba0: ffffffff7f7f7f7f 0101010101010101 0000000000000010 0000000000000218
[<ffffff800821efbc>] open_exec+0x50/0x11c
[<ffffff800827e7d4>] load_elf_binary+0x188/0x127c
[<ffffff800821e9f8>] search_binary_handler+0x98/0x1d4
[<ffffff800821f664>] do_execveat_common.isra.15+0x46c/0x660
[<ffffff800821fbc0>] compat_SyS_execve+0x4c/0x60
[<ffffff8008083540>] el0_svc_naked+0x34/0x38
Code: aa0003f4 aa1303e0 aa1403f3 94001cf9 (f9400e60)
---[ end trace 3c6ada907b9a8460 ]---
BUG: Bad rss-counter state mm:ffffffc079703740 idx:1 val:1
您看看我们手册,您执行命令后边没有参数,命令不全
页:
[1]