cc1plus.exe stops working  [SOLVED]

Questions about MultiCharts and user contributed studies.
faschim
Posts: 37
Joined: 14 Jul 2009
Has thanked: 5 times

cc1plus.exe stops working

Postby faschim » 14 Feb 2013

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

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: cc1plus.exe stops working

Postby Henry MultiСharts » 14 Feb 2013

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?

faschim
Posts: 37
Joined: 14 Jul 2009
Has thanked: 5 times

Re: cc1plus.exe stops working

Postby faschim » 14 Feb 2013

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

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: cc1plus.exe stops working

Postby Henry MultiСharts » 14 Feb 2013

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.
Attachments
fast compilation.png
(11.95 KiB) Downloaded 2826 times

User avatar
JoshM
Posts: 2195
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1544 times
Been thanked: 1565 times
Contact:

Re: cc1plus.exe stops working

Postby JoshM » 26 Feb 2013

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. :)
Attachments
scr.26-02-2013 18.12.17.png
(14.4 KiB) Downloaded 2800 times

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: cc1plus.exe stops working  [SOLVED]

Postby Henry MultiСharts » 01 Mar 2013

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.

User avatar
JoshM
Posts: 2195
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1544 times
Been thanked: 1565 times
Contact:

Re: cc1plus.exe stops working

Postby JoshM » 03 Mar 2013

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. :)

faschim
Posts: 37
Joined: 14 Jul 2009
Has thanked: 5 times

Re: cc1plus.exe stops working

Postby faschim » 12 Mar 2013

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.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: cc1plus.exe stops working

Postby Henry MultiСharts » 15 Mar 2013

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?

faschim
Posts: 37
Joined: 14 Jul 2009
Has thanked: 5 times

Re: cc1plus.exe stops working

Postby faschim » 21 Mar 2013

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.

lcresswell
Posts: 1
Joined: 16 Sep 2013

Re: cc1plus.exe stops working

Postby lcresswell » 07 Oct 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?

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: cc1plus.exe stops working

Postby TJ » 07 Oct 2013


User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: cc1plus.exe stops working

Postby Henry MultiСharts » 07 Oct 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?
lcresswell, are you running Vista Home edition? Please make sure you have all available service packs and updates installed for your OS.

qweasz
Posts: 13
Joined: 15 Apr 2010
Has thanked: 6 times
Been thanked: 5 times

Re: cc1plus.exe stops working

Postby qweasz » 24 Oct 2013

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.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: cc1plus.exe stops working

Postby Henry MultiСharts » 24 Oct 2013

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?

qweasz
Posts: 13
Joined: 15 Apr 2010
Has thanked: 6 times
Been thanked: 5 times

Re: cc1plus.exe stops working

Postby qweasz » 24 Oct 2013

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.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: cc1plus.exe stops working

Postby Henry MultiСharts » 28 Oct 2013

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.

qweasz
Posts: 13
Joined: 15 Apr 2010
Has thanked: 6 times
Been thanked: 5 times

Re: cc1plus.exe stops working

Postby qweasz » 28 Oct 2013

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).

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: cc1plus.exe stops working

Postby Henry MultiСharts » 29 Oct 2013

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.

qweasz
Posts: 13
Joined: 15 Apr 2010
Has thanked: 6 times
Been thanked: 5 times

Re: cc1plus.exe stops working

Postby qweasz » 30 Oct 2013

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.


Return to “MultiCharts”