Page 1 of 1

cc1plus.exe stops working

Posted: Feb 14 2013
by faschim
I am using 8.5 rc. When trying to compile studies I am getting a windows dialog that sais "cc1plus.exe has stopped working". Once this error occurs I can't compile any study without the error window. the only way to solve it is to reinstall MC. I have had to reinstall twice already. After a reinstall the compiler works okay for a while but seems to eventually get itself twisted out of shape. then a reinstall is required. Have never noticed this problem with any previous versions

Re: cc1plus.exe stops working

Posted: Feb 14 2013
by Henry MultiСharts
Hello faschim,

Does it happen on a random study compilation or when compiling a certain study?
Do you have MinGV compiler installed separately from MultiCharts?

Re: cc1plus.exe stops working

Posted: Feb 14 2013
by faschim
There is no separate installation of mingw (gcc) compiler suite. It has never happened on that computer until upgrading to 8.5 rc. The 2 times it has happened it was initiated with the compilation of one particularly long (2000 lines) and involved program. After it get into its "messed mode" (for lack of a better term) it won't compile any study regardless of its length or complexity. Reinstalling sorts it out for a while

Re: cc1plus.exe stops working

Posted: Feb 14 2013
by Henry MultiСharts
Please try to compile this particular study in Fast Compilation mode.

Image

If this solution did not help please send me the code of this study for analysis support@multicharts.com or come to our live chat Monday-Friday 6:30 am - 4 pm EST to demonstrate the issue remotely.

Re: cc1plus.exe stops working

Posted: Feb 26 2013
by JoshM
Please try to compile this particular study in Fast Compilation mode.
That sadly doesn't solve it, and I'm running MultiCharts Version 8.5 Release (Build 6743).

The code that I try to compile is not relevant, since this cc1plus.exe crash happens with every function, indicator, or signal that I try to compile. The weird thing is, is that yesterday every compile on MultiCharts 8.5 Release went okay, and today even after restarting MultiCharts numerous times (and waiting till all processes closed), the problem still persists.

1. After pressing compile, an error message pop-ups signalling that cc1plus.exe has stopped working:

Image

2. After clicking 'close the program', the PowerLanguage Editor Build tabs says:

Code: Select all

------ Compiled with error(s): ------
Compile error
errLine 0, errColumn 0, errLineEnd 0, errColumnEnd 0
causal study: (Function)
Edit: I've emailed you the MultiCharts logs and cc1plus.exe minidump Henry. :)

Re: cc1plus.exe stops working  [SOLVED]

Posted: Mar 01 2013
by Henry MultiСharts
The solution for this issue is Repair of MultiCharts. You need to have MultiCharts 8.5 Release installed on your PC. Then go to Control panel->Add/Remove programs->Double click on MultiCharts->Repair.

Re: cc1plus.exe stops working

Posted: Mar 03 2013
by JoshM
As a follow-up, I visited the Live Chat three days ago to get remote help for this issue and was helped quickly and efficiently. Since then, the issue hasn't reappeared since so I believe it's solved for good now. Thanks to Henry and the anonymous MultiCharts engineer for their help. :)

Re: cc1plus.exe stops working

Posted: Mar 12 2013
by faschim
I haven't had any issues since I changed all compilation to "fast compilation" mode. So its a workaround but not ideal. I have some rather computationally intensive strategies so I would rather do as many gcc optimizations as I can.

Apart from going to Live Chat is there a solution that can be shared publically. The pc in question has the following specs:
windows vista ultimate (32 bit)
xeon 5140 cpu
Its getting a bit aged but it is rock solid stable so haven't yet found any motivation to replace it.

Re: cc1plus.exe stops working

Posted: Mar 15 2013
by Henry MultiСharts
I have some rather computationally intensive strategies so I would rather do as many gcc optimizations as I can.
Hello faschim,

How many lines of code do you have in your study? Can you send it to me (support@multicharts.com) for analysis?

Re: cc1plus.exe stops working

Posted: Mar 21 2013
by faschim
I have just upgraded to the latest version of 8.5. It now seems to be working fine when compiling in "fast execution" mode. Thanks Henry.

Re: cc1plus.exe stops working

Posted: Oct 07 2013
by lcresswell
I have just encountered this problem as well.
MC is up to date. 8.7
Vista

It matters not what file is being compiled.

Have searched the Web and not found a solution.

Suggestions?

Re: cc1plus.exe stops working

Posted: Oct 07 2013
by TJ

Re: cc1plus.exe stops working

Posted: Oct 07 2013
by Henry MultiСharts
I have just encountered this problem as well.
MC is up to date. 8.7
Vista
It matters not what file is being compiled.
Have searched the Web and not found a solution.
Suggestions?
lcresswell, are you running Vista Home edition? Please make sure you have all available service packs and updates installed for your OS.

Re: cc1plus.exe stops working

Posted: Oct 24 2013
by qweasz
Same problem here.

After recurrent problems with cc1plus.exe I upgraded from MC 8.5 to MC 8.7 today.
I have been compiling without issues all day until now. Then the message starts again.

I am running Windows Vista Ultimate and I am using the Fast Compilation option.

Re: cc1plus.exe stops working

Posted: Oct 24 2013
by Henry MultiСharts
Same problem here.

After recurrent problems with cc1plus.exe I upgraded from MC 8.5 to MC 8.7 today.
I have been compiling without issues all day until now. Then the message starts again.

I am running Windows Vista Ultimate and I am using the Fast Compilation option.
What has changed in your system setup?
Have you installed any new applications? Were any system updates installed today?

Re: cc1plus.exe stops working

Posted: Oct 24 2013
by qweasz
What has changed in your system setup?
Have you installed any new applications? Were any system updates installed today?
No changes in the system today, besides upgrading from 8.5 to 8.7 to overcome the problem.

Re: cc1plus.exe stops working

Posted: Oct 28 2013
by Henry MultiСharts
qweasz, do you have all available service packs installed for your OS?

If you still have this issue - please come to our live chat Monday-Friday 6:30 am - 4 pm EST to demonstrate the issue remotely and we will collect all required for analysis information.

Re: cc1plus.exe stops working

Posted: Oct 28 2013
by qweasz
Thank you Henry. I have Vista Utimate SP2 fully updated.

The compiler error log shows: "internal error in mingw32_gt_pch_use_address, at config/i386/host-mingw32.c:171: MapViewOfFileEx: Attempt to access invalid address."

I have been working on this over the weekend and now I can compile for a while if I check cc1plus.exe to run in XP Compatibility mode. Whenever it stops compiling I restart the system and starts compiling again (in compatibility mode).

Re: cc1plus.exe stops working

Posted: Oct 29 2013
by Henry MultiСharts
Thank you Henry. I have Vista Utimate SP2 fully updated.

The compiler error log shows: "internal error in mingw32_gt_pch_use_address, at config/i386/host-mingw32.c:171: MapViewOfFileEx: Attempt to access invalid address."

I have been working on this over the weekend and now I can compile for a while if I check cc1plus.exe to run in XP Compatibility mode. Whenever it stops compiling I restart the system and starts compiling again (in compatibility mode).
qweasz, please uninstall MultiCharts and install it again.
You can keep the user data, no need to delete it. The point is to perform uninstall/install of the application instead of repair/update. Let me know how it goes.

Re: cc1plus.exe stops working

Posted: Oct 30 2013
by qweasz
qweasz, please uninstall MultiCharts and install it again.
You can keep the user data, no need to delete it. The point is to perform uninstall/install of the application instead of repair/update. Let me know how it goes.
I reinstalled yesterday following your instructions. No problems so far.
In the case the problem arises I will let you know. Thank you.