retdec: Segmentation fault in llvmir2hll due to insufficient stack space

Hi. Running retdec under Windows Server 2016, getting this:

...
 -> converting function_7ca104() ( 2052.13s )
 -> converting entry_point() ( 2052.13s )
Running phase: removing functions prefixed with [__decompiler_undefined_function_] ( 2053.03s )
decompile.sh: line 947:  5356 Segmentation fault      $LLVMIR2HLL "${LLVMIR2HLL_PARAMS[@]}"
Error: Decompilation of file '/c/retdec/bin/myfile.c.backend.bc' failed

myfile.exe can be downloaded here: https://www.dropbox.com/s/jm7xnxtto3r4jxf/myfile.zip?dl=0

Please, help!

About this issue

  • Original URL
  • State: open
  • Created 7 years ago
  • Comments: 19 (3 by maintainers)

Most upvoted comments

–max-memory always defaults to half of your physical memory now, which is exactly what’s happening here. You should probably use --max-memory 60000000000 or so.