ESP32 cygheap base mismatch detected

Sysprogs forums Forums VisualGDB ESP32 cygheap base mismatch detected

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12019
    dparkinson
    Participant

    Whenever I have to re-build the esp-idf library files, I get the following error.  If I Build again, it moves on and builds for a while then throws the same error a litter further down the build chain. Eventually it will build all the files. Is there a way to get rid of the error, though, so I don’t have keep pushing build to get through all of the library files?

    I believe the only cygwin1.dll is in SysGCC\esp32\bin on my machine.

    Error:

    128 [main] cc1 (14600) C:\SysGCC\esp32\usr\libexec\gcc\xtensa-esp32-elf\5.2.0\cc1.exe: *** fatal error - cygheap base mismatch detected - 0x612E8408/0x2338408.
    This problem is probably due to using incompatible versions of the cygwin DLL.
    Search for cygwin1.dll using the Windows Start->Find/Search facility
    and delete all but the most recent version. The most recent version *should*
    reside in x:\cygwin\bin, where 'x' is the drive on which you have
    installed the cygwin distribution. Rebooting is also suggested if you
    are unable to find another cygwin DLL.
    xtensa-esp32-elf-gcc : internal compiler error : Segmentation fault (program cc1)
    #12025
    support
    Keymaster

    Hi,

    This happens if your PATH variable contains multiple Cygwin directories. ESP32 cygwin binaries would try to load an incompatible version of cygwin1.dll causing this problem.

    Please double-check your PATH and remove other Cygwin directories from it.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.