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

Example project crashed when use the libinspectivec.dylib made by myself #17

Open
zfn-zz opened this issue Feb 15, 2017 · 6 comments
Open

Comments

@zfn-zz
Copy link

zfn-zz commented Feb 15, 2017

I'm using the latest theos and building with make package FINALPACKAGE=1.
iPhone 5c, iOS 9.0.1, iOS 9.0 SDK

@zfn-zz
Copy link
Author

zfn-zz commented Feb 15, 2017

I got some logs :
Feb 15 13:57:33 iPhone SpringBoard[1995] : MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/Example.dylib
Feb 15 13:57:33 iPhone SpringBoard[1995] : [InspectiveC] Loading - Directory is "/var/mobile/Documents"
Feb 15 13:57:33 iPhone SpringBoard[1995] : MS:Error: unable to open() binary file
Feb 15 13:57:33 iPhone SpringBoard[1995] : MS:Error: failure to check FridaLoader.dylib
Feb 15 13:57:33 iPhone SpringBoard[1995] : MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/introspy.dylib
Feb 15 13:57:33 iPhone diagnosticd[181] : error evaluating process info - pid: 1995, puniqueid: 1995
Feb 15 13:57:33 iPhone com.apple.xpc.launchd[1] (com.apple.SpringBoard[1995]) : Service exited due to signal: Bus error: 10
Feb 15 13:57:33 iPhone com.apple.xpc.launchd[1] (com.apple.SpringBoard) : Service only ran for 0 seconds. Pushing respawn out by 5 seconds.
Feb 15 13:57:33 iPhone ReportCrash[1998] : MS:Notice: Injecting: (null) [ReportCrash] (1240.10)

@DavidGoldman
Copy link
Owner

Do you have a stack trace? Do the other versions work?

@zfn-zz
Copy link
Author

zfn-zz commented Feb 16, 2017

I got a stack trace from Xcode.
stack.txt
But I don't know how to resolve it.
What other versions mean?

@DavidGoldman
Copy link
Owner

Hmm, that's hard to read because it's not symbolicated. Kinda looks like infinite recursion, but it's hard to tell what's causing it. Can you try installing the debs found in this repo?

@zfn-zz
Copy link
Author

zfn-zz commented Feb 16, 2017

The debs in stable_debs works well.But I want to add something to this project,so I'm trying to compile it by myself.I tried using lldb to debug it and found that the crash occurred during the loading dylib phase.

@DavidGoldman
Copy link
Owner

Does it work if you use a different SDK version? Maybe try using the old Theos? Maybe also try adding libinspectivec_LDFLAGS += -Wl,-segalign,4000 to the Makefile?

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

2 participants