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

ms crash #545

Closed
trufae opened this issue Jan 15, 2024 · 1 comment
Closed

ms crash #545

trufae opened this issue Jan 15, 2024 · 1 comment

Comments

@trufae
Copy link
Member

trufae commented Jan 15, 2024

0$ lldb -- r2 frida://0
r
(lldb) target create "r2"
Current executable set to '/usr/local/bin/r2' (arm64).
(lldb) settings set -- target.run-args  "frida://0"
(lldb) r
Process 13034 launched: '/usr/local/bin/r2' (arm64)
INFO: Mounted io on /r2f at 0x0
 -- Good morning, pal *<:-)
[0x100003640]> ms
[/]> cd r2f
[/r2f]> ls
Process 13034 stopped
* thread #24, name = 'gum-js-loop', stop reason = EXC_BAD_ACCESS (code=1, address=0x20ead0779b60)
    frame #0: 0x000000018fffbed8 libobjc.A.dylib`objc_release + 16
libobjc.A.dylib`objc_release:
->  0x18fffbed8 <+16>: ldr    x17, [x2, #0x20]
    0x18fffbedc <+20>: tbz    w17, #0x2, 0x18fffbf3c    ; <+116>
    0x18fffbee0 <+24>: tbz    w16, #0x0, 0x18fffbf58    ; <+144>
    0x18fffbee4 <+28>: lsr    x17, x16, #55
Target 0: (r2) stopped.
(lldb)
(lldb) bt
* thread #24, name = 'gum-js-loop', stop reason = EXC_BAD_ACCESS (code=1, address=0x20ead0779b60)
  * frame #0: 0x000000018fffbed8 libobjc.A.dylib`objc_release + 16
    frame #1: 0x0000000190003418 libobjc.A.dylib`AutoreleasePoolPage::releaseUntil(objc_object**) + 196
    frame #2: 0x000000018ffffaf0 libobjc.A.dylib`objc_autoreleasePoolPop + 260
    frame #3: 0x00000001904605d4 CoreFoundation`_CFAutoreleasePoolPop + 32
    frame #4: 0x000000019156a5f4 Foundation`-[NSAutoreleasePool release] + 144
    frame #5: 0x00000001268d804c frida-agent.dylib`___lldb_unnamed_symbol11460 + 76
    frame #6: 0x00000001268d7060 frida-agent.dylib`___lldb_unnamed_symbol11445 + 772
    frame #7: 0x00000001269acbd4 frida-agent.dylib`___lldb_unnamed_symbol19402 + 1276
@trufae
Copy link
Member Author

trufae commented Jan 16, 2024

this is a macOS specific crash, it works well on linux

@trufae trufae closed this as completed in 9f5d92e Jan 16, 2024
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

1 participant