Skip to content

运行patch报错 #1780

Description

@robinfjb

版本: 1.9.14.19
com.tencent.tinker.loader.TinkerRuntimeException: Tinker Exception:patch dex extract failed (stack size 1039KB).
at com.tencent.tinker.lib.patch.DexDiffPatchInternal.extractDexDiffInternals(DexDiffPatchInternal.java:612)
at com.tencent.tinker.lib.patch.DexDiffPatchInternal.patchDexExtractViaDexDiff(DexDiffPatchInternal.java:171)
at com.tencent.tinker.lib.patch.DexDiffPatchInternal.tryRecoverDexFiles(DexDiffPatchInternal.java:87)
at com.tencent.tinker.lib.patch.UpgradePatch.tryPatch(UpgradePatch.java:157)
at com.tencent.tinker.lib.service.TinkerPatchService.doApplyPatch(TinkerPatchService.java:223)
at com.tencent.tinker.lib.service.TinkerPatchService.onHandleIntent(TinkerPatchService.java:101)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:78)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:219)
at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by: java.lang.StackOverflowError: stack size 1039KB
at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:111)
at com.tencent.tinker.android.dex.io.DexDataBuffer.readByte(DexDataBuffer.java:119)
at com.tencent.tinker.android.dex.Leb128.readUnsignedLeb128(Leb128.java:119)
at com.tencent.tinker.android.dex.io.DexDataBuffer.readUleb128(DexDataBuffer.java:156)
at com.tencent.tinker.android.dex.io.DexDataBuffer.readStringData(DexDataBuffer.java:170)
at com.tencent.tinker.android.dex.Dex$Section.readStringData(Dex.java:624)
at com.tencent.tinker.commons.dexpatcher.algorithms.patch.StringDataSectionPatchAlgorithm.nextItem(StringDataSectionPatchAlgorithm.java:59)
at com.tencent.tinker.commons.dexpatcher.algorithms.patch.StringDataSectionPatchAlgorithm.nextItem(StringDataSectionPatchAlgorithm.java:29)
at com.tencent.tinker.commons.dexpatcher.algorithms.patch.DexSectionPatchAlgorithm.doFullPatch(DexSectionPatchAlgorithm.java:203)
at com.tencent.tinker.commons.dexpatcher.algorithms.patch.DexSectionPatchAlgorithm.execute(DexSectionPatchAlgorithm.java:147)
at com.tencent.tinker.commons.dexpatcher.DexPatchApplier.executeAndSaveTo(DexPatchApplier.java:226)
at com.tencent.tinker.lib.patch.DexDiffPatchInternal.patchDexFile(DexDiffPatchInternal.java:738)
at com.tencent.tinker.lib.patch.DexDiffPatchInternal.extractDexDiffInternals(DexDiffPatchInternal.java:595)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions