ChiChou/grapefruit

linux-arm's frida-server doesn't work when attaching to a process

wenkane opened this issue · 1 comments

I build a linux-arm version frida-server for myself, and the version is 14.2.18.62.g92c1e68. But when I try to attach to a process, the frida-server stuck at the 'pool-frida' thread and nothing continue. And a few seconds(like 10s) later, the thread exited. But still nothing happens both in frida-server and frida tools.

here's the info:
(gdb) c
Continuing.
[New LWP 25810] // when I attach to a process, this thread created.
^C
Thread 1 "frida-server" received signal SIGINT, Interrupt.
0xb6e030c8 in poll () from /lib/libc.so.6
(gdb) i thread
Id Target Id Frame

  • 1 LWP 3843 "frida-server" 0xb6e030c8 in poll () from /lib/libc.so.6
    2 LWP 3844 "gmain" 0xb6e030c8 in poll () from /lib/libc.so.6
    3 LWP 3898 "gdbus" 0xb6e030c8 in poll () from /lib/libc.so.6
    4 LWP 25810 "pool-frida" 0xb6e09790 in syscall () from /lib/libc.so.6
    (gdb) thread 4
    [Switching to thread 4 (LWP 25810)]
    #0 0xb6e09790 in syscall () from /lib/libc.so.6
    (gdb) i r
    r0 0x17318f4 24320244
    r1 0x80 128
    r2 0x2 2
    r3 0xb4ffedbc 3036671420
    r4 0xb4ffedf4 3036671476
    r5 0x3a98 15000
    r6 0xec963 969059
    r7 0xf0 240
    r8 0x1347c90 20216976
    r9 0x17318e8 24320232
    r10 0x17318f0 24320240
    r11 0x13526a0 20260512
    r12 0xb4ffeda8 3036671400
    sp 0xb4ffed94 0xb4ffed94
    lr 0x10803dc 17302492
    pc 0xb6e09790 0xb6e09790 <syscall+32>
    cpsr 0x60010010 1610678288
    (gdb) c
    Continuing.
    [LWP 25810 exited]

// then nothing happens both the frida-server and the frida-tools . and the frida-tool shows I am still ataching to the process.

sorry for open this issue at the wrong repository.