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

Zygisk modules stacktraces cannot show function name #4776

Closed
yujincheng08 opened this issue Oct 16, 2021 · 1 comment
Closed

Zygisk modules stacktraces cannot show function name #4776

yujincheng08 opened this issue Oct 16, 2021 · 1 comment
Labels
confirmed Issue confirmed to exist and the reason is known core This issue is related to Magisk Core

Comments

@yujincheng08
Copy link
Collaborator

Device: Any
Android version: 5+
Magisk version name: e8ae103
Magisk version code: 23001

Zygsik modules' stacktraces cannot show function name:

A/DEBUG:   NOTE: Function names and BuildId information is missing for some frames due
                   NOTE: to unreadable libraries. For unwinds of apps, only shared libraries
                   NOTE: found under the lib/ directory are readable.
                   NOTE: On this device, run setenforce 0 to make the libraries readable.

image

After setenforce 0 the backtrace becomes normal but only for pre-fork functions. Post fork functions are still showing the same.

Anyway, allow crash_dump adb_data_file dir search can fix the pre-fork backtrace. Need more investigation for post-fork backtrace.

@osm0sis osm0sis added the confirmed Issue confirmed to exist and the reason is known label Oct 20, 2021
@yujincheng08 yujincheng08 linked a pull request Mar 1, 2023 that will close this issue
3 tasks
@yujincheng08 yujincheng08 added the core This issue is related to Magisk Core label Mar 2, 2023
@yujincheng08
Copy link
Collaborator Author

Should be the same with #6229 that app_process is mounted and thus crash dumper cannot get the correct function name.

@yujincheng08 yujincheng08 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed Issue confirmed to exist and the reason is known core This issue is related to Magisk Core
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants