question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Window freezing

Accessing to an unreferenced static sub-class freeze the window.

To Reproduce

Steps to reproduce the behavior (or see the video below):

  1. Make sure your default decompiler is set to Fernflower ! (this is the configuration used in the example). You can also launch Recaf with a terminal to see logs.
  2. Open sample BugRecaf-1.jar.
  3. Open bugrecaf.util.Utils class & decompile it with CFR
  4. Right-click on Yj.z, and click on Goto definition.
  5. The class Yj is normally successfully opened.
  6. Close opened tabs.
  7. Open bugrecaf.freeze.Constants class.
  8. The bugrecaf/Yj class is now unreferenced (see it in logs).
  9. Now, repeat steps 3 and 4.
  10. The window freezes.

Additionnal information : Yj is a static sub-class of Constants. The <undefinedtype> of the field y in Constants, is Yj. This problem only happens with Fernflower: CFR has no problems.

These classes were extracted from an obfuscated jar file.

The example video :

https://user-images.githubusercontent.com/52298108/111886096-fcf1bf00-89cb-11eb-9833-f8fa71a5bd22.mp4

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
win32kbasecommented, Oct 28, 2021

Thanks for reporting this. I think I found the problem, I’ve fixed it locally but I want to make sure that it doesn’t occur for anybody before pushing to upstream. Would you guys mind trying out my JAR and see if it happens anymore for you? Here’s a compiled JAR: https://gofile.io/d/Toc0ef or if you want to compile it yourself: https://github.com/win32kbase/Recaf

3reactions
xtherkcommented, Oct 26, 2021

I’ve reproduced this problem and I will try to solve it

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows-based computer freeze troubleshooting
Advanced troubleshooting for Windows freezes · Which computer is freezing? · Try to access the computer through a remote desktop connection.
Read more >
Windows 10 freezes randomly [Solved] - Driver Easy
Try these fixes · Update your drivers · Clear your computer's temp files · Adjust your virtual memory · Repair your system files...
Read more >
Windows 10 Keeps Freezing Up? 9 Ways to Fix
Windows 10 Keeps Freezing Up? 9 Ways to Fix · Check the Logs in the Event Viewer · Run the System File Checker...
Read more >
Windows 10 Freezing? How to Diagnose and Repair
Troubleshooting a computer freezing randomly · Restart your computer · Update your drivers · Run a System File Checker scan · Run your...
Read more >
How to Stop Your Windows from Freezing this Winter Season?
During the cold winters here in Canada it's pretty common for windows to freeze shut, but this is a huge safety hazard and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found