upx / upx

UPX - the Ultimate Packer for eXecutables
https://upx.github.io
Other
14.21k stars 1.34k forks source link

App Crash with build with static lib #820

Closed Lioncky closed 17 hours ago

Lioncky commented 4 months ago

What should have happened?

I build my dll with the mi-malloc static lib.

Do you have an idea for a solution?

Build with dynamic lib will works well

Please tell us details about your environment.

Lioncky commented 4 months ago

Crash point: image

jreiser commented 4 months ago
  1. Please use copy+paste of text when communicating text (such as source code, disassembly, memory dump, transcript of console/Terminal/PowerShell, etc.). A screenshot can be processed by eyeballs only. Text can be processed by grep (Find+Replace), text editors, foreground/background color adjust, etc. Printing a screenshot that has a black background requires at least 10 times as much expensive ink as text, and the printed paper cannot be annotated using pen or pencil. The only trick is how to Paste the copied text into GitHub. For less than one line, then use a backtick at each end of the pasted text. For more than one line, then surround the pasted paragraph with a line before and after that contains only three characters: three backticks. (This is a common convention when using the Markdown tool.) A backtick has the character code hex 0x60, octal 0140, decimal 96; on most Western keyboards it is on the same key as tilde, just to the left of the digit '1'.
  2. Which version of mi-malloc did you use, and how+where can I get a copy?
  3. In order to diagnose and fix, then I need to reproduce the problem. Does a simple example `main() { return malloc(10);}' fail? If not, then does cutting out major pieces of your program still fail? Anything to reduce the size of the program wll help. (Perhaps the problem appears only at certain sizes or sequences of malloc+free?)
Lioncky commented 4 months ago

The code crash by upx, I think you can find it by ASM scan in any version upx packaged library, sorry. I build the latest mi-malloc (clone .git).

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 90 days with no activity. Please remove the stale label or add a comment or this issue will be closed in 30 days.

github-actions[bot] commented 17 hours ago

This issue was closed because it has been stalled for 30 days with no activity. Please feel free to reopen.