cc1plus.exe stops working [SOLVED]
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
- Henry MultiСharts
- Posts: 9165
- Joined: Aug 25 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
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?
Does it happen on a random study compilation or when compiling a certain study?
Do you have MinGV compiler installed separately from MultiCharts?
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
- Henry MultiСharts
- Posts: 9165
- Joined: Aug 25 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Please try to compile this particular study in Fast Compilation mode.
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.
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.
- Attachments
-
- fast compilation.png
- (11.95 KiB) Downloaded 2826 times
- JoshM
- Posts: 2196
- Joined: May 20 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
That sadly doesn't solve it, and I'm running MultiCharts Version 8.5 Release (Build 6743).Please try to compile this particular study in Fast Compilation mode.
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:
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)
- Attachments
-
- scr.26-02-2013 18.12.17.png
- (14.4 KiB) Downloaded 2800 times
- Henry MultiСharts
- Posts: 9165
- Joined: Aug 25 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
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.
- JoshM
- Posts: 2196
- Joined: May 20 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
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.
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.
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.
- Henry MultiСharts
- Posts: 9165
- Joined: Aug 25 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Hello faschim,I have some rather computationally intensive strategies so I would rather do as many gcc optimizations as I can.
How many lines of code do you have in your study? Can you send it to me (support@multicharts.com) for analysis?
-
- Posts: 1
- Joined: Sep 16 2013
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?
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?
- TJ
- Posts: 7775
- Joined: Aug 29 2006
- Location: Global Citizen
- Has thanked: 1036 times
- Been thanked: 2233 times
- Henry MultiСharts
- Posts: 9165
- Joined: Aug 25 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
lcresswell, are you running Vista Home edition? Please make sure you have all available service packs and updates installed for your OS.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?
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.
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.
- Henry MultiСharts
- Posts: 9165
- Joined: Aug 25 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
What has changed in your system setup?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.
Have you installed any new applications? Were any system updates installed today?
- Henry MultiСharts
- Posts: 9165
- Joined: Aug 25 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
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.
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.
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).
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).
- Henry MultiСharts
- Posts: 9165
- Joined: Aug 25 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
qweasz, please uninstall MultiCharts and install it again.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).
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.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.
In the case the problem arises I will let you know. Thank you.