-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
I compile the alarm4i-cb to evaluate.But I face the segmention fault. I use gdb to debug the program .
following are debug information .
(gdb) r
Starting program: /root/OAT/work/combo_cb
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
__cfv_ret () at trampoline.S:35
35 stp x0, x1, [sp, #-144]! /* store scratch registers */
(gdb) x/gx $sp-144
0x7fff7ffff0: Cannot access memory at address 0x7fff7ffff0
(gdb) x/gx $sp-140
0x7fff7ffff4: Cannot access memory at address 0x7fff7ffff4
(gdb) x/gx $sp-130
0x7fff7ffffe: Cannot access memory at address 0x7fff7ffffe
(gdb) x/gx $sp-120
0x7fff800008: 0x0000000000000000
(gdb) x/gx $sp
0x7fff800080: 0x0000000000000000
(gdb) x/gx $sp-138
0x7fff7ffff6: Cannot access memory at address 0x7fff7ffff6
(gdb) x/gx $sp-132
0x7fff7ffffc: Cannot access memory at address 0x7fff7ffffc
(gdb) x/gx $sp-131
0x7fff7ffffd: Cannot access memory at address 0x7fff7ffffd
(gdb) x/gx $sp-130
0x7fff7ff
ffe: Cannot access memory at address 0x7fff7ffffe
(gdb) x/gx $sp-129
0x7fff7fffff: Cannot access memory at address 0x7fff7fffff
(gdb) x/gx $sp-128
0x7fff800000: 0x0000000000000000
as you can see ,in trampoline.s:35
stp x0, x1, [sp, #-144]! /* store scratch registers */
the sp-144 = 0x7fff7ffff0 is a invalid address.
how can I fix this bug ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels