CBot instance XXX process was unexpectedly terminated.
CBot instance XXX process was unexpectedly terminated.
09 Jan 2024, 10:58
Guys I am udating one of my .net 6 bots and now 09/01/2024 21:46:01.363 | CBot instance ….. process was unexpectedly terminated.
I have the compiler in the automate tab setting as 6.0.412.
The bot properties are set to
[Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.FullAccess)]
My onstart has
protected override void OnStart()
{
Print("Started");
var result = System.Diagnostics.Debugger.Launch();
if (result is false)
{
Print("Debugger launch failed");
}
else if (result is true)
{
Print("Debugger launched");
}
….
But the debugger wont attach
Any help please!!!!
Replies
PanagiotisCharalampous
10 Jan 2024, 07:25
Hi there,
Please send us some troubleshooting info and quote the link to this discussion.
Best Regards,
Panagiotis
@PanagiotisCharalampous
acrigney
17 Jan 2024, 12:08
( Updated at: 18 Jan 2024, 14:11 )
RE: CBot instance XXX process was unexpectedly terminated.
Thanks mate but I don't see how that is going to help you, maybe if I could send you a stack trace/symbolic dump or something?
The error occurs before the bot gets to debug. I have tried a clean rebuild etc. I just cloned one bot to make changes and it happened after making changes to the clone. I will reclone again and see if I get the problem again before making any changes.
Best Regards,
Alistair
PanagiotisCharalampous said:
Hi there,
Please send us some troubleshooting info and quote the link to this discussion.
Best Regards,
Panagiotis
@acrigney
acrigney
19 Jan 2024, 00:12
( Updated at: 19 Jan 2024, 06:31 )
RE: RE: CBot instance XXX process was unexpectedly terminated.
I have tried rebuilding the bot several times, is there no way to debug this mate?
acrigney said:
Thanks mate but I don't see how that is going to help you, maybe if I could send you a stack trace/symbolic dump or something?
The error occurs before the bot gets to debug. I have tried a clean rebuild etc. I just cloned one bot to make changes and it happened after making changes to the clone. I will reclone again and see if I get the problem again before making any changes.
Best Regards,
Alistair
PanagiotisCharalampous said:
Hi there,
Please send us some troubleshooting info and quote the link to this discussion.
Best Regards,
Panagiotis
@acrigney
PanagiotisCharalampous
19 Jan 2024, 06:42
RE: RE: RE: CBot instance XXX process was unexpectedly terminated.
acrigney said:
I have tried rebuilding the bot several times, is there no way to debug this mate?
acrigney said:
Thanks mate but I don't see how that is going to help you, maybe if I could send you a stack trace/symbolic dump or something?
The error occurs before the bot gets to debug. I have tried a clean rebuild etc. I just cloned one bot to make changes and it happened after making changes to the clone. I will reclone again and see if I get the problem again before making any changes.
Best Regards,
Alistair
PanagiotisCharalampous said:
Hi there,
Please send us some troubleshooting info and quote the link to this discussion.
Best Regards,
Panagiotis
Hi Alistair,
Unfortunately I cannot help you since I cannot reproduce this issue. So please follow my suggestion above.
Best regards,
Panagiotis
@PanagiotisCharalampous
acrigney
19 Jan 2024, 06:53
( Updated at: 21 Jan 2024, 11:24 )
RE: RE: RE: RE: CBot instance XXX process was unexpectedly terminated.
OK mate I did a submit with the issue but I think I found that if I do a build inside CTrader it will then work. So something was out of sync perhaps with VS and2022 and Ctrader perhaps?
PanagiotisCharalampous said:
acrigney said:
I have tried rebuilding the bot several times, is there no way to debug this mate?
acrigney said:
Thanks mate but I don't see how that is going to help you, maybe if I could send you a stack trace/symbolic dump or something?
The error occurs before the bot gets to debug. I have tried a clean rebuild etc. I just cloned one bot to make changes and it happened after making changes to the clone. I will reclone again and see if I get the problem again before making any changes.
Best Regards,
Alistair
PanagiotisCharalampous said:
Hi there,
Please send us some troubleshooting info and quote the link to this discussion.
Best Regards,
Panagiotis
Hi Alistair,
Unfortunately I cannot help you since I cannot reproduce this issue. So please follow my suggestion above.
Best regards,
Panagiotis
@acrigney
PanagiotisCharalampous
21 Jan 2024, 11:41
RE: RE: RE: RE: RE: CBot instance XXX process was unexpectedly terminated.
acrigney said:
OK mate I did a submit with the issue but I think I found that if I do a build inside CTrader it will then work. So something was out of sync perhaps with VS and2022 and Ctrader perhaps?
PanagiotisCharalampous said:
acrigney said:
I have tried rebuilding the bot several times, is there no way to debug this mate?
acrigney said:
Thanks mate but I don't see how that is going to help you, maybe if I could send you a stack trace/symbolic dump or something?
The error occurs before the bot gets to debug. I have tried a clean rebuild etc. I just cloned one bot to make changes and it happened after making changes to the clone. I will reclone again and see if I get the problem again before making any changes.
Best Regards,
Alistair
PanagiotisCharalampous said:
Hi there,
Please send us some troubleshooting info and quote the link to this discussion.
Best Regards,
Panagiotis
Hi Alistair,
Unfortunately I cannot help you since I cannot reproduce this issue. So please follow my suggestion above.
Best regards,
Panagiotis
Could be, I can't know :)
@PanagiotisCharalampous
acrigney
09 Jan 2024, 12:26
All bots broken with this error now
Now all of my bots are doing this, must be my machine or something
And its IMPOSSIBLE TO DEBUG this?
@acrigney