retdec icon indicating copy to clipboard operation
retdec copied to clipboard

Stuck at "running CopyPropagationOptimizer" for 10 days

Open SamDecrock opened this issue 4 years ago • 3 comments

Hi,

RetDec seems to be stuck at some step inside CopyPropagationOptimizer for about 10 days now. It's been stuck at using 5GB of RAM and 100% of CPU. RAM usage does not increase.

The last step it has been showing for over 10 days is:

Warning: [NonRecursiveCFGBuilder] there is no node for an edge to `goto 0x5d40c` -> skipping this edge

What is happening and can I skip this step somehow?

Thanks, Sam

Edit: still the same after 22 days... :-(

SamDecrock avatar Jul 13 '20 21:07 SamDecrock

I 'solved' it by adding this to the command line:

--backend-disabled-opts=CopyPropagationOptimizer

But it seems like a lot of exe's I'm trying to decompile these days are stuck at this phase... Or could it be coincidence?

SamDecrock avatar Aug 05 '20 04:08 SamDecrock

Same problem for me. Software crashes after few hours during "CopyPropagationOptimizer". Please find enclosed the dll. You need a least 20 Go of RAM for this file. The crash is clearly an out of memory but I don't think it's fine that this small file needs more than 2 hours to be analyzed.

With --backend-disabled-opts=CopyPropagationOptimizer analyse takes about two minutes.

Feu.zip log-CopyPropagationOptimizer-disabled.txt log-stuck.txt

bansan85 avatar Oct 14 '20 14:10 bansan85

Before I used that trick I was able to get farther along, but still got hung up in that same step. One time I tried it the memory utilization started to slowly go down to near zero about 2 hours into the decompile process before of course I messed up and killed the script. Never experienced it again after that. What does removing that optimization step effect?

stelladraco27 avatar Aug 25 '22 19:08 stelladraco27