Skip to content
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

/R faults on /usr/bin/aspell, /usr/bin/ftpd #776

Closed
zonkzonk opened this issue Apr 9, 2014 · 4 comments
Closed

/R faults on /usr/bin/aspell, /usr/bin/ftpd #776

zonkzonk opened this issue Apr 9, 2014 · 4 comments
Milestone

Comments

@zonkzonk
Copy link
Contributor

zonkzonk commented Apr 9, 2014

Core was generated by `r2 /usr/bin/aspell'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f1a8b9c4ff3 in __strchr_sse2 () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007f1a8b9c4ff3 in __strchr_sse2 () from /usr/lib/libc.so.6
#1  0x00007f1a8f86e74e in handle_print_meta_infos (core=0x6068c0 <r>, ds=0x1dc96b0, buf=0x1dc3fc0 "\377,\035", len=7, idx=0) 
#2  0x00007f1a8f870bf2 in r_core_print_disasm (p=0x14403b0, core=0x6068c0 <r>, addr=4341123, buf=0x1dc3fc0 "\377,\035", len=7
    cbytes=1) at disasm.c:1595
#3  0x00007f1a8f83cba0 in cmd_print (data=0x6068c0 <r>, input=0x1dc91a1 "D 7") at cmd_print.c:1199
#4  0x00007f1a8f85e48b in r_cmd_call (cmd=0x14744f0, input=0x1dc91a0 "pD 7") at cmd_api.c:171
#5  0x00007f1a8f846dd9 in r_core_cmd_subst_i (core=0x6068c0 <r>, cmd=0x1dc91a0 "pD 7") at cmd.c:1390
#6  0x00007f1a8f845640 in r_core_cmd_subst (core=0x6068c0 <r>, cmd=0x1dc91a0 "pD 7") at cmd.c:963
#7  0x00007f1a8f84786a in r_core_cmd (core=0x6068c0 <r>, cstr=0x7fffdc9d9c30 "pD 7 @ 0x423d83", log=0) at cmd.c:1586
#8  0x00007f1a8f847db2 in r_core_cmdf (user=0x6068c0 <r>, fmt=0x7f1a8f8a0418 "pD %d @ 0x%llx") at cmd.c:1700
#9  0x00007f1a8f8412ce in r_core_search_rop (core=0x6068c0 <r>, from=4194304, to=4354272, opt=0, grep=0x1494862 "") at cmd_se
#10 0x00007f1a8f84166e in cmd_search (data=0x6068c0 <r>, input=0x1494861 "R") at cmd_search.c:412
#11 0x00007f1a8f85e48b in r_cmd_call (cmd=0x14744f0, input=0x1494860 "/R") at cmd_api.c:171
#12 0x00007f1a8f846e72 in r_core_cmd_subst_i (core=0x6068c0 <r>, cmd=0x1494860 "/R") at cmd.c:1403
#13 0x00007f1a8f845640 in r_core_cmd_subst (core=0x6068c0 <r>, cmd=0x1494860 "/R") at cmd.c:963
#14 0x00007f1a8f84786a in r_core_cmd (core=0x6068c0 <r>, cstr=0x149b350 "/R", log=1) at cmd.c:1586
#15 0x00007f1a8f820c6e in r_core_prompt_exec (r=0x6068c0 <r>) at core.c:729
#16 0x0000000000404760 in main (argc=2, argv=0x7fffdc9dccd8, envp=0x7fffdc9dccf0) at radare2.c:622
(gdb) i r $rip
rip            0x7f1a8b9c4ff3   0x7f1a8b9c4ff3 <__strchr_sse2+35>
...

file /usr/bin/aspell
/usr/bin/aspell: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.27, BuildID[sha1]=05afd519c15e5b48e6d0dec92ccf93083d419358, stripped

wtf

@radare
Copy link
Collaborator

radare commented Apr 9, 2014

let me know if last commit fixes this issue

On 09 Apr 2014, at 03:15, zonkzonk notifications@github.com wrote:

Core was generated by `r2 /usr/bin/aspell'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f1a8b9c4ff3 in __strchr_sse2 () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007f1a8b9c4ff3 in __strchr_sse2 () from /usr/lib/libc.so.6
#1 0x00007f1a8f86e74e in handle_print_meta_infos (core=0x6068c0 , ds=0x1dc96b0, buf=0x1dc3fc0 "\377,\035", len=7, idx=0)
#2 0x00007f1a8f870bf2 in r_core_print_disasm (p=0x14403b0, core=0x6068c0 , addr=4341123, buf=0x1dc3fc0 "\377,\035", len=7
cbytes=1) at disasm.c:1595
#3 0x00007f1a8f83cba0 in cmd_print (data=0x6068c0 , input=0x1dc91a1 "D 7") at cmd_print.c:1199
#4 0x00007f1a8f85e48b in r_cmd_call (cmd=0x14744f0, input=0x1dc91a0 "pD 7") at cmd_api.c:171
#5 0x00007f1a8f846dd9 in r_core_cmd_subst_i (core=0x6068c0 , cmd=0x1dc91a0 "pD 7") at cmd.c:1390
#6 0x00007f1a8f845640 in r_core_cmd_subst (core=0x6068c0 , cmd=0x1dc91a0 "pD 7") at cmd.c:963
#7 0x00007f1a8f84786a in r_core_cmd (core=0x6068c0 , cstr=0x7fffdc9d9c30 "pD 7 @ 0x423d83", log=0) at cmd.c:1586
#8 0x00007f1a8f847db2 in r_core_cmdf (user=0x6068c0 , fmt=0x7f1a8f8a0418 "pD %d @ 0x%llx") at cmd.c:1700
#9 0x00007f1a8f8412ce in r_core_search_rop (core=0x6068c0 , from=4194304, to=4354272, opt=0, grep=0x1494862 "") at cmd_se
#10 0x00007f1a8f84166e in cmd_search (data=0x6068c0 , input=0x1494861 "R") at cmd_search.c:412
#11 0x00007f1a8f85e48b in r_cmd_call (cmd=0x14744f0, input=0x1494860 "/R") at cmd_api.c:171
#12 0x00007f1a8f846e72 in r_core_cmd_subst_i (core=0x6068c0 , cmd=0x1494860 "/R") at cmd.c:1403
#13 0x00007f1a8f845640 in r_core_cmd_subst (core=0x6068c0 , cmd=0x1494860 "/R") at cmd.c:963
#14 0x00007f1a8f84786a in r_core_cmd (core=0x6068c0 , cstr=0x149b350 "/R", log=1) at cmd.c:1586
#15 0x00007f1a8f820c6e in r_core_prompt_exec (r=0x6068c0 ) at core.c:729
#16 0x0000000000404760 in main (argc=2, argv=0x7fffdc9dccd8, envp=0x7fffdc9dccf0) at radare2.c:622
(gdb) i r $rip
rip 0x7f1a8b9c4ff3 0x7f1a8b9c4ff3 <__strchr_sse2+35>
...

file /usr/bin/aspell
/usr/bin/aspell: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.27, BuildID[sha1]=05afd519c15e5b48e6d0dec92ccf93083d419358, stripped
wtf


Reply to this email directly or view it on GitHub.

@zonkzonk
Copy link
Contributor Author

zonkzonk commented Apr 9, 2014

nope :/

commit: af800c4b1bfc795de4ad4ac5a37122c1f3a9a852 build: 2014-04-09
,echo '/R' | r2 /usr/bin/aspell 
 -- Default scripting languages are NodeJS and Python.
Segmentation fault

@zonkzonk zonkzonk changed the title /R faults on /usr/bin/aspell /R faults on /usr/bin/aspell, /usr/bin/ftpd Apr 9, 2014
@zonkzonk
Copy link
Contributor Author

also: /R in debug mode hangs and eat 100%CPU Ⓜ️ (do we need /R with -d at all ? )

@zonkzonk
Copy link
Contributor Author

cannot reproduce in 1ccd783

cool! Thanks!1 :)

yossizap pushed a commit to yossizap/radare2 that referenced this issue Dec 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants