This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Segmentation faut error in armcc.exe

Hi All:
I was using uVision 3 with the RealView 3 'C' compiler without problem for a while... Suddenly, I got an error from the compiler:

** Segmentation fault

and I got an unhandled win32 exception from the armcc.exe program.

I desintalled and re-installed the programs again, but the error still there...
It would be a hardware memory error?

Thanks;
Gus

Parents
  • Having the same type of problem: when I attempt to access an LPC-based project in uVision 3, armcc.exe throws an access violation at address 0x001082D0. I have submitted a support request, hours ago, so I don't expect a reply yet.

    Trying to talk through a uLink2 emulator to a MCB2368 eval board, from a Win XP Pro SP2 system.

    I've tried rerunning the install, in case armcc.exe was damaged;

    then I uninstalled and reinstalled from scratch;

    last I tried uninstalling, deleting the C:\Keil tree, scrubing the registry for 'uVision' 'Keil' 'armcc', _then_ reinstalling, and even after that, I get the same access violation.

    Waiting for a tech suport opinion now.

Reply
  • Having the same type of problem: when I attempt to access an LPC-based project in uVision 3, armcc.exe throws an access violation at address 0x001082D0. I have submitted a support request, hours ago, so I don't expect a reply yet.

    Trying to talk through a uLink2 emulator to a MCB2368 eval board, from a Win XP Pro SP2 system.

    I've tried rerunning the install, in case armcc.exe was damaged;

    then I uninstalled and reinstalled from scratch;

    last I tried uninstalling, deleting the C:\Keil tree, scrubing the registry for 'uVision' 'Keil' 'armcc', _then_ reinstalling, and even after that, I get the same access violation.

    Waiting for a tech suport opinion now.

Children
  • Hi Howard:
    I'm using version uVision3 v3.51 . The Armcc.exe does not provide any version number. The assembler is RVCT 3.0 (build 951). The problem is not with a particular project. With every project (including the ones that becomes as examples with the tool) I get the error.
    I tried with different hard Disk/Windows in the same machine, the Hard Disk in another machine, and even reinstalled the tool in a different machine...
    I don't know is happening but in all cases (including in a new machine) I got the same error: "** Segmentation problem"
    It would be usefull if you share the tech-support response...

    Regards;
    Gus

  • Brian Clough from Keil TS suggested downloading the most recent MDK, version 3.11. I have done so, installed it clean, and the error is gone. I'm using a MCB2368 eval board, and the Blinky example is running on it now.

    It looks to me like the trouble was with just that particular version.

    Good luck with that, or what ever other solution you might come across...

  • Using uVision-Help-About shows the compiler and assembler (plus some more) version numbers, the example here is for MDK3.10:

    C Compiler:         Armcc.Exe       V3.1.0.903
    Assembler:          Armasm.Exe      V3.1.0.903
    Linker/Locator:     ArmLink.Exe     V3.1.0.903
    

    V3.1.0.903 really means: V3.10, Build 903.

    You can obtain the version numbers also from the command line in a dos box:

    C:\Keil\Arm\Bin31\ArmCC --vsn
    C:\Keil\Arm\Bin31\ArmAsm --vsn
    

    Assuming you are using your correct path for 'C:\Keil\Arm\Bin31', the results for MDK3.10 will be:

    ARM/Thumb RVCT3.1 [Build 903] for uVision [Standard]
    Software supplied by: ARM Limited
    
    ARM/Thumb C/C++ Compiler, RVCT3.1 [Build 903] for uVision [Standard]
    Software supplied by: ARM Limited
    

  • ciao at all

    Hi have the same problem of Gustavo Sabina

    The problem is very simple
    On winxpSp2 open dos windows

    go to program/keil/ARM/BIN30

    and type "armcc" the result is

    C:\programmi\Keil\ARM\BIN30>armcc

    ** Segmentation fault

    C:\programmi\Keil\ARM\BIN30>

    and the same error message appears on desktop

    Solutions ?

    ciao, beppe

  • Hi All:
    Downloading the last version, the problem is solved.

    Thanks for all;

    Regards;
    Gus