Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

SOPC Win32 error 487

Hi I receive a "Failed to refresh PTF file" error when trying to generate my SOPC. I have searched the Win32 error 487 and have found that it commonly is caused by using Windows Vista or Logitech software, neither of which I have. I am running Version 8.1 software on XP. Is this something with my cygwin?

Info: Starting PTF file elaboration.

23 [main] ? (2100) C:\altera\81\quartus\bin\cygwin\bin\sh.exe: *** fatal error - couldn't allocate heap, Win32 error 487, base 0x810000, top 0x830000, reserve_size 126976, allocsize 131072, page_const 4096

28 [main] sh 1072 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11

C:/altera/81/quartus/sopc_builder/bin/nios_sh: fork: Resource temporarily unavailable

Error: Failed to refresh PTF file

Info: Finished elaborating PTF file.

Executing: C:/altera/81/quartus//sopc_builder/bin/sopc_builder --classic --generate C:/ColorDepth/DevSpace/Source/TickerColorDepth/RiseController_Factory/nios_3c16.ptf

Info: Starting generation...

22 [main] ? (3088) C:\altera\81\quartus\bin\cygwin\bin\sh.exe: *** fatal error - couldn't allocate heap, Win32 error 487, base 0x810000, top 0x830000, reserve_size 126976, allocsize 131072, page_const 4096

30 [main] sh 1272 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11

C:/altera/81/quartus/sopc_builder/bin/nios_sh: fork: Resource temporarily unavailable

Error: System generation failed.

Thanks in advance.

9 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    http://www.altera.com/literature/rn/rn_qts_90.pdf

    pg. 29:

    issue:

    --- Quote Start ---

    In the Quartus II software versions 7.1 SP1 and later,

    you may encounter the following error if you have

    McAfee VirusScan 8.0.0 Enterprise Edition installed

    during system generation in SOPC Builder or while

    doing a build in the Nios II IDE.

    4 [main] ? (3920)

    C:\altera\80\quartus\bin\cygwin\bin

    sh.exe: *** fatal error - couldn't

    allocate heap, Win32 error 487, base

    0x6D0000, top 0x6F0000, reserve_size

    126976, allocsize 131072, page_const

    4096

    3 [main] sh 420 fork: child -1 - died

    waiting for longjmp before

    initialization, retry 0, exit code

    0x100, errno 1

    --- Quote End ---

    fix:

    --- Quote Start ---

    Either temporary disable McAfee VirusScan 8.0.0 or

    upgrade to VirusScan 8.5.0i.

    --- Quote End ---

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thank you for your reply. I came across this solution as well, but I forgot to mention that I also am not running any McAfee software. Is there any other know causes to this problem? I am able to generate other SOPC systems, just not this particular one.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    does your project path have any space?

    did you copy the project from a CD, i.e, there is an only-read file?

    Did you turn off your antivirus?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    No spaces in project path.

    Turned off Read-Only on all files.

    I'm running Symantec Endpoint and I am not allowed to disable the antivirus. If the antivirus was the cause wouldn't this affect other project's SOPC generation?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I never tried booting in safe mode, but I updated to version 9.0 and the error didn't occur. Thanks for your suggestions.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I have the same problem just below:

    Info: Creating test_hello.objdump

    nios2-elf-objdump --disassemble --syms --all-header --source test_hello.elf >test_hello.objdump

    2 [main] ? (13844) C:\altera\11.1sp1\quartus\bin\cygwin\bin\sh.exe: *** fatal error - couldn't allocate heap, Win32 error 487, base 0x810000, top 0x820000, reserve_size 61440, allocsize 65536, page_const 4096

    1 [main] sh 13576 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11

    /usr/bin/sh: fork: Resource temporarily unavailable

    make: *** [test_hello.objdump] Error 128

    and I have my classroom next wednesday and would like this working

    Best Regards

    Richard