gaffe23 / linux-inject

Tool for injecting a shared object into a Linux process
Other
1.09k stars 244 forks source link

inject process failed,instead of expected SIGTRAP, target stopped with signal 4: Illegal instruction #16

Open yinggoga opened 3 years ago

yinggoga commented 3 years ago

[root@centos8-x86_64 linux-inject-master]# ./inject -p 638480 sample-library.so targeting process with pid 638480 instead of expected SIGTRAP, target stopped with signal 4: Illegal instruction sending process 638480 a SIGSTOP signal for debugging purposes

gthaker commented 3 years ago

I am getting similar (but slightly different):

$ ./inject -n sample-target sample-library.so targeting process "sample-target" with pid 52271 instead of expected SIGTRAP, target stopped with signal 11: Segmentation fault sending process 52271 a SIGSTOP signal for debugging purposes

dnhuy4869 commented 2 years ago

I am getting similar (but slightly different):

$ ./inject -n sample-target sample-library.so targeting process "sample-target" with pid 52271 instead of expected SIGTRAP, target stopped with signal 11: Segmentation fault sending process 52271 a SIGSTOP signal for debugging purposes

i got same problem with you, did you fix it ?

fr0zenrain commented 11 months ago

glibc 2.31 same here

targeting process with pid 23056 instead of expected SIGTRAP, target stopped with signal 11: Segmentation fault sending process 23056 a SIGSTOP signal for debugging purposes