Windows 7 Unhandled Exception

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Windows 7 Unhandled Exception

ソリューションへジャンプ
22,766件の閲覧回数
nonarKitten
Contributor II

When starting the IDE in Windows 7, the proram will work fine until a project is loaded at which point it will report an error:

 

CodeWarrior encountered an unhandled exception 0xc0000005 at address {different each time} (The memory at address {different random address} could not be read)

 

Location: IDE.EXE:{same as the first random address}

 

Crash dump written to MEM_FREE.b2830.20090320.122156A.dump

 

Choose 'Abort' to end the program, 'Retry' to debug, or 'Ignore' to continue (at your own risk!)

 

Abort will kill it, Retry will cause it to be unresponsive, and Ignore just brings the same error back up a few times until I get this:

 

Generic Error 32770. An unknown error has occured.

 

Neither running as Administrator nor taking ownership of the Program Files folder seems to help.

ラベル(1)
1 解決策
3,763件の閲覧回数
Audi
Contributor II

I found this work-around. . .

 

Again, I am using 32-bit Win7 Pro.  I run CW with the "Disble desktop composition" enabled (checked).  You can find that option on the Compatability tab of CW's Properties dialog.

 

 

元の投稿で解決策を見る

25 返答(返信)
3,440件の閲覧回数
onemoretouch
Contributor I

I also meet this problem. I think your graphic card is nvidia series and the driver is the latest one. With the same, I am using a notebook with the graphic card of Quadro NVS160M, when I install the old driver(179.**), everything works well. But when I install the latest drivers ( For example, 18*.** or 19*.**), codewarrior will have some unlandled exceptions. It seams that some dll file is not compatible with the new graphic driver!

Hope freescale solve this problem early!

0 件の賞賛
返信
3,440件の閲覧回数
looxonline
Contributor I

Audi:You are a hero!

 

Freescale: Pull your pants up... 

0 件の賞賛
返信
3,440件の閲覧回数
plugas
Contributor I
I have the same problem. I was reading other forums about this problem but all recommendations, compatibilities, run as admin, etc.... but I still having the problem with CW 6.2 and 7.1... anybody with ideas?...
0 件の賞賛
返信
3,440件の閲覧回数
Audi
Contributor II

Add me to the list.

  32-bit Windows 7

  CW 5.9

  MC9S processor

 

 

0 件の賞賛
返信
3,440件の閲覧回数
jajomafa
Contributor I
service request submitted
0 件の賞賛
返信
3,440件の閲覧回数
nonarKitten
Contributor II

Possible work-around #1 - uninstall everything CodeWarrior related. Go to your user folder (e.g., C:\Users\MyUserName\) and create a folder called Apps. Then reinstall and when you're given the choice of where to install, select the Apps folder you created (e.g., C:\Users\MyUserName\Apps). It seems MOST of the problems are caused by Windows' new security on the Program Files folder(s).

 

Note - still unresolved issues include: CodeWarrior crashing if you attempt to move it to a second display (e.g., if you have more than one LCD hooked up), and programming via USB devices may be hit-or-miss. I've as of yet been unable to program via our SofTec unit. However, some of these problems may be because I'm also running x64 edition of Windows 7, so your mileage may vary.

 

Possible work-around #2 - Install XP Mode. This raises its own issues, namely that the USB handling is really poor and you often have to reconnect the programmer until XP Mode "catches" the device. It also has many other limitations (e.g., it's slow, randomly disconnects local drives, won't work with dual displays, and isn't the reason you got Windows 7 anyway).

0 件の賞賛
返信
3,440件の閲覧回数
jajomafa
Contributor I
thank you Nonar and Audi for those "work-around". I tried Audi's and worked fine ... Thank you very much
0 件の賞賛
返信
3,764件の閲覧回数
Audi
Contributor II

I found this work-around. . .

 

Again, I am using 32-bit Win7 Pro.  I run CW with the "Disble desktop composition" enabled (checked).  You can find that option on the Compatability tab of CW's Properties dialog.

 

 

3,440件の閲覧回数
GrupoAvatecsys
Contributor I

Yo uso Windows 7 Enterprise, equivalente al profesional y uso CodeWarrior for Microcontrollers v6.3, este ha funcionado deshabilitando la composicion del escritorio, ejecutandolo en modo de compatibilidad con Windows XP Service Pack 2 y ejecutandolo en modo Administrador, aun falla cuando trato de cerrar algun proyecto pero funciona bien para programar y compilar.

0 件の賞賛
返信
3,440件の閲覧回数
RN_
Contributor I

I am using CW5.1 in WINDOWS 7, my problem is when I open any of my previous project created on XP doesnt open on W-7 and getting below error.... Can anyone please tell me the reason.

0 件の賞賛
返信
3,440件の閲覧回数
RN_
Contributor I

Its solved

steps

1.Right click on CWx.x project and sellect Properties

2.sellect compatability

3.click on "desktop composition"(sellect check box )

4. OK

0 件の賞賛
返信
3,440件の閲覧回数
kef
Specialist I

I thought CW5.1 for S12(X) should work natively on Win7. I tried it on Win7 PRO x86  and got the same annoying Unhandled Exception.

 

Thanks Audi for solution!

 

 

0 件の賞賛
返信
3,440件の閲覧回数
alv66
Contributor I

Hi all,

 

I follow all the instructions of this topic, but still have some problems. I can open a project correctly, but when I close codewarrior I have some errors, like:

 

- CodeWarrior encountered an unhalted exception 0xc0000005 at adress 0x76f96bf0 (....memory could not be written) ... crash dump ... etc

- Generic error 32770...

 

My set-up: win7 (32 bits), CodeWarrior IDE v5.9 running as admin with compatability options enabled.

 

Any idea?

 

Thanks in advance!

0 件の賞賛
返信
3,440件の閲覧回数
kef
Specialist I

Does this error happens only for Processor Expert enabled projects? Without processor expert CW opens and closes just fine. For PE you probably need to find some PE executable and enable same compatibility option for it.

3,445件の閲覧回数
MPCMpy
Contributor II

Audi's right!

0 件の賞賛
返信
3,445件の閲覧回数
Randhawa
Contributor I

Hi Audi,

 

I run the CW as an Administrator But still getting the unhandled Exception error.

Please tell where I can find this Desktop compatibility option in the CW.

 

Thanks,

Randhawa

0 件の賞賛
返信
3,445件の閲覧回数
Audi
Contributor II

Using 32-bit Win7 Pro, right-click on the CW short-cut in your Start menu.  Select properties.  Select the Compatability tab.  Check the "Disble desktop composition" option.

 

0 件の賞賛
返信
3,445件の閲覧回数
jonr
Contributor III

So sad, I've had an open ticket with both P&E and FreeScale for months and neither one could fix this issue.  Thanks for the fix.

 

0 件の賞賛
返信
3,445件の閲覧回数
MoveX
Contributor I

@Audi

 

Thanks for the hint, that solved the persistens crashes with Codewarrior 2.7 for MPC 56xx under Windows 7 x64, too.

0 件の賞賛
返信
3,445件の閲覧回数
nallyn
Contributor I

Another option that works is to "Run As Administrator".

0 件の賞賛
返信