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

bug: compiling TikTok patches failed. #3166

Closed
3 tasks done
ghost opened this issue May 14, 2024 · 2 comments
Closed
3 tasks done

bug: compiling TikTok patches failed. #3166

ghost opened this issue May 14, 2024 · 2 comments
Labels
Bug report Something isn't working

Comments

@ghost
Copy link

ghost commented May 14, 2024

Bug description

I tried this several times with different versions and different set of patches. it fails everytime with same error

Error logs

- Device Info
ReVanced Manager: 1.20.1
Model: M2102J20SG
Android version: 12
Supported architectures: arm64-v8a, armeabi-v7a, armeabi
Root permissions: No

- Patch Info
App: com.ss.android.ugc.trill v34.5.6 (Suggested: 32.5.3)
Patches version: v4.7.0
Patches added: Default
Patches removed: Feed filter, Remember clear display, Downloads, Playback speed, Settings
Default patch options changed: None

- Settings
Allow changing patch selection: false
Version compatibility check: true
Show universal patches: false
Patches source: revanced/revanced-patches
Integration source: revanced/revanced-integrations

- Logs
Reading APK
Decoding app manifest
Loading patches
Executing patches
Applied 3 patches
Compiling patched dex files
Compiled 23 dex files
An error occurred:
java.lang.OutOfMemoryError: Failed to allocate a 24 byte allocation with 1393856 free bytes and 1361KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC.
	at com.android.tools.smali.dexlib2.dexbacked.instruction.DexBackedInstruction.buildInstruction(Unknown Source:237)
	at com.android.tools.smali.dexlib2.dexbacked.instruction.DexBackedInstruction.readFrom(Unknown Source:43)
	at com.android.tools.smali.dexlib2.dexbacked.DexBackedMethodImplementation$1$1.readNextItem(SourceFile:0)
	at com.android.tools.smali.dexlib2.dexbacked.DexBackedMethodImplementation$1$1.readNextItem(SourceFile:0)
	at com.android.tools.smali.dexlib2.dexbacked.util.VariableSizeLookaheadIterator.computeNext(Unknown Source:2)
	at com.android.tools.smali.dexlib2.dexbacked.util.VariableSizeLookaheadIterator.tryToComputeNext(Unknown Source:3)
	at com.android.tools.smali.dexlib2.dexbacked.util.VariableSizeLookaheadIterator.hasNext(Unknown Source:8)
	at com.android.tools.smali.util.IteratorUtils.getLast(Unknown Source:4)
	at com.android.tools.smali.dexlib2.dexbacked.util.DebugInfo$DebugInfoImpl.iterator(Unknown Source:38)
	at com.android.tools.smali.dexlib2.writer.DexWriter.writeDebugItem(Unknown Source:57)
	at com.android.tools.smali.dexlib2.writer.DexWriter.writeDebugAndCodeItems(Unknown Source:198)
	at com.android.tools.smali.dexlib2.writer.DexWriter.writeTo(SourceFile:0)
	at com.android.tools.smali.dexlib2.writer.DexWriter.writeTo(SourceFile:0)
	at lanchon.multidexlib2.DexIO.writeMultiDexDirectoryCommon(Unknown Source:80)
	at lanchon.multidexlib2.DexIO.access$000(Unknown Source:0)
	at lanchon.multidexlib2.DexIO$1.call(SourceFile:0)
	at lanchon.multidexlib2.DexIO$1.call(SourceFile:0)
	at java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
	at java.lang.Thread.run(Thread.java:1012)

Solution

No response

Additional context

No response

Acknowledgements

  • This issue is not a duplicate of an existing bug report.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
@ghost ghost added the Bug report Something isn't working label May 14, 2024
@LisoUseInAIKyrios
Copy link
Contributor

#190 (comment)

@ghost
Copy link
Author

ghost commented May 14, 2024

It is a dupe of ReVanced/revanced-patcher#193

@ghost ghost closed this as completed May 14, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug report Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant