Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

art/runtime/stack.cc:205] Check failed: success Failed to read the this object in void ....handleLoadPackage(de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam) #72

@3c71

Description

@3c71

I built an Xposed module since a few years, and users are now reporting a weird issue in which the app itself no longer starts when its integrated module is enabled.

When module is enabled, the Xposed logs shows many lines like this:

art/runtime/stack.cc:205] Check failed: success Failed to read the this object in void ccc71.at.xposed.at_xposed_enabled.handleLoadPackage(de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam)

Not sure what it means or if it relates to the app no longer starting, but it's odd enough as the method in question is quite simple:

@Override
public void handleLoadPackage(LoadPackageParam lpparam) throws Throwable
{
	String self = at_xposed_helpers.getPackageName();

	if (lpparam.packageName.equals(self))
	{
		findAndHookMethod("ccc71.at.xposed.at_xposed_helpers", lpparam.classLoader, "isXposedEnabled", new XC_MethodHook()
		{
			@Override
			protected void beforeHookedMethod(MethodHookParam param) throws Throwable
			{
				param.setResult(at_xposed_helpers.VERSION);
			}
		});
	}
}

static String getPackageName()
{
    return BuildConfig.XPOSED_PACKAGE;
}

Can anybody help me understand how an Xposed module being enabled would prevent the hosting app from starting? There's nothing in logcat, no ANR nor any tombstones when this happens. Just those lines in the log attached.

xposed_error_20171206_062700.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions