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

Dead loop, memory exception #536

Open
zrrrrrrrr opened this issue Jan 22, 2025 · 3 comments
Open

Dead loop, memory exception #536

zrrrrrrrr opened this issue Jan 22, 2025 · 3 comments

Comments

@zrrrrrrrr
Copy link

zrrrrrrrr commented Jan 22, 2025

BUG

situation

In the Linux environment, decompilation seems to have entered a dead loop, outputting large result files in a short amount of time, resulting in insufficient server disk space resources

recurrent

use the test file "gettext.pyc" to decompile

Image

@zrrrrrrrr
Copy link
Author

gettext.docx
Change the file suffix to pyc

@greenozon
Copy link
Contributor

wow, your .pyc is from Python 2.7
what are rare thing ins 2025 :)

  1. I could confirm that there is a never-endingloop that generates huge output
    the tricky routine is GNUTranslations._parse()

@zrrrrrrrr
Copy link
Author

  1. I don't know which version this .pyc is using. My program processes .py files, so I need to use tools to decompile .pyc to .py. Any version will appear, which is headache inducing but inevitable.
  2. My suggestion is that it can be ineffective, but it cannot cause the server to crash. I hope you can consider repairing it.Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants