GSB Forums

Not logged in [Login - Register]

Futures and forex trading contains substantial risk and is not for every investor. An investor could
potentially lose all or more than the initial investment. Risk capital is money that can be lost without
jeopardizing ones’ financial security or life style. Only risk capital should be used for trading and only
those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of
future results
Go To Bottom

Printable Version  
Author: Subject: Cant“start GSB 33.103 RELEASE BUILD, .NET exception
lvau
Junior Member
**




Posts: 12
Registered: 21-9-2017
Member Is Offline

Mood: No Mood

[*] posted on 21-9-2017 at 02:45 PM
Cant“start GSB 33.103 RELEASE BUILD, .NET exception


Hi Peter,

I“ve just read about your most likely excellent GSB on the Adaptrade Forums and wanted to give it a try. So I“ve downloaded GSB 33.103 (last non-beta-release). I“ve tried the ZIP file and the installer, both result in a crash on the very first start of GSB that says (from the event log):


Application: GSB.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ComponentModel.Win32Exception
at System.Diagnostics.PerformanceMonitor.GetData(System.String)
at System.Diagnostics.PerformanceCounterLib.GetPerformanceData(System.String)
at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
at System.Diagnostics.PerformanceCounterLib.CounterExists(System.String, System.String, Boolean ByRef)
at System.Diagnostics.PerformanceCounterLib.CounterExists(System.String, System.String, System.String)
at System.Diagnostics.PerformanceCounter.InitializeImpl()
at System.Diagnostics.PerformanceCounter..ctor(System.String, System.String, System.String, Boolean)
at System.Diagnostics.PerformanceCounter..ctor(System.String, System.String, System.String)
at GSB.ResourcesMonitor.ā€Œā®ā¬ā€‹ā€®ā€¬āŖā®ā€Žā€ā«ā€«ā­ā€«ā­ā€¬ā®āÆā­ā€ā®ā€¬ā­ā€Œā®āÆā€¬āÆā€ŽāÆāÆā€ā­ā€ā€Œā€ā€«ā€ŖāŖā€Žā€®(Syste m.String, System.String, System.String)
at GSB.ResourcesMonitor..cctor()

Exception Info: System.TypeInitializationException
at GSB.ResourcesMonitor..ctor()
at GSB.Globals..cctor()

Exception Info: System.TypeInitializationException
at GSB.Globals.set_AppStart(System.DateTime)
at GSB.UI.Program.Main()



XML Format:

-
-

1026
2
0
0x80000000000000

761
Application
SERVER


-
Application: GSB.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.ComponentModel.Win32Exception at System.Diagnostics.PerformanceMonitor.GetData(System.String) at System.Diagnostics.PerformanceCounterLib.GetPerformanceData(System.String) at System.Diagnostics.PerformanceCounterLib.get_CategoryTable() at System.Diagnostics.PerformanceCounterLib.CounterExists(System.String, System.String, Boolean ByRef) at System.Diagnostics.PerformanceCounterLib.CounterExists(System.String, System.String, System.String) at System.Diagnostics.PerformanceCounter.InitializeImpl() at System.Diagnostics.PerformanceCounter..ctor(System.String, System.String, System.String, Boolean) at System.Diagnostics.PerformanceCounter..ctor(System.String, System.String, System.String) at GSB.ResourcesMonitor.ā€Œā®ā¬ā€‹ā€®ā€¬āŖā®ā€Žā€ā«ā€«ā­ā€«ā­ā€¬ā®āÆā­ā€ā®ā€¬ā­ā€Œā®āÆā€¬āÆā€ŽāÆāÆā€ā­ā€ā€Œā€ā€«ā€ŖāŖā€Žā€®(Syste m.String, System.String, System.String) at GSB.ResourcesMonitor..cctor() Exception Info: System.TypeInitializationException at GSB.ResourcesMonitor..ctor() at GSB.Globals..cctor() Exception Info: System.TypeInitializationException at GSB.Globals.set_AppStart(System.DateTime) at GSB.UI.Program.Main()






This is on Windows 10 x64 1703 (15063.608), 16GB RAM on an i7-3770k. I am working directly under the "Administrator" account, so this is no permissions issue either.

I have no issues running Adaptrade Builder nor Strategyquant, MultiCharts nor Amibroker or any other crashes at all.

I“ve also tried to install GSB to another folder like C:\GSB C:\GSB1 C:\PortablePrograms\GSB etc. It does not make a difference. Also, I did not modify any of the files, this is a straight unpackaging from the ZIP file into a fresh directory (and the same via the installer which I“ve also tried). The error is always the same.

Can you possibly fix that? I would really like to trial GSB as it looks very promising.

P.S.: Maybe the newer BETA“s work instead, so if you could send me the access password, I could try that as well.

Thank you:)


View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 21-9-2017 at 04:52 PM


Unzip this folder, and copy the manger files on top of your other files. Dont use the files under the sub direcectory. The config was for a specific customer and wont work well for you.
https://www.dropbox.com/s/ip1liecsy9f3hyr/GSB%20%28Managers%...

Thanks for all the debug info. If the beta doesnt work there should be a exception folder under gsb you can send me.


View user's profile View All Posts By User
lvau
Junior Member
**




Posts: 12
Registered: 21-9-2017
Member Is Offline

Mood: No Mood

[*] posted on 21-9-2017 at 07:32 PM


Thanks for the quick reply, I“ve tested it and the error is the same:


Application popup: Exception: GSB.37.08.exe - Application Error : The exception unknown software exception (0xe0434352) occurred in the application at location 0x00007FFB438E9E08.


Application: GSB.37.08.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ComponentModel.Win32Exception
at System.Diagnostics.PerformanceMonitor.GetData(System.String)
at System.Diagnostics.PerformanceCounterLib.GetPerformanceData(System.String)
at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
at System.Diagnostics.PerformanceCounterLib.CounterExists(System.String, System.String, Boolean ByRef)
at System.Diagnostics.PerformanceCounterLib.CounterExists(System.String, System.String, System.String)
at System.Diagnostics.PerformanceCounter.InitializeImpl()
at System.Diagnostics.PerformanceCounter..ctor(System.String, System.String, System.String, Boolean)
at System.Diagnostics.PerformanceCounter..ctor(System.String, System.String, System.String)
at GSB.ResourcesMonitor.āÆā€®ā®āÆā€Ŗā€ā€ā€ā€ā€®āŖā€®ā€‹ā«ā¬ā€Ŗā€ā¬ā€‹ā­ā€¬ā€®ā€«ā€Ŗā€«ā«ā€ā€¬ā€Ŗā€«ā€Žā€¬ā€®ā€¬āÆāÆā€‹ā¬ā®ā€­ā€®(Syste m.String, System.String, System.String)
at GSB.ResourcesMonitor..cctor()

Exception Info: System.TypeInitializationException
at GSB.ResourcesMonitor..ctor()
at GSB.Globals..cctor()

Exception Info: System.TypeInitializationException
at GSB.Globals.set_ManForm(GSB.UI.Forms.MainForm)
at GSB.UI.Forms.MainForm..ctor()
at GSB.UI.Program.Main()



There is no folder "Exception" in GSB after the crash either. I“ve used ProcMon to see if it creates a directory somewhere else during the crash, but it creates nothing at all. I hope that there is still HOPE to get it working ;)


View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 21-9-2017 at 07:40 PM


Im going to forward this to the programmer. Can you try on another machine?
Looks like you ave very savvy in your IT skills.
That's a great skill to have.


View user's profile View All Posts By User
lvau
Junior Member
**




Posts: 12
Registered: 21-9-2017
Member Is Offline

Mood: No Mood

[*] posted on 21-9-2017 at 08:05 PM


Thank you, fixing computers is my actual main job (Administrator) and I also do some coding. It works fine on another "stock" Windows 10 machine I“ve just tested. This one here has the Performance Counters (hard) disabled to save CPU cycles (optimized for max speed). Your program seems to try to check these and can“t handle the non-existent of those on my machine, hence seems to crash. Your programmer should simply check if PerformanceCounters are enabled / exist atall or not before trying to "just access them" in the assumption that they "must surely be there". Because from my daily work I can tell you that there are other Windows 10 instances were PerformanceCounters are not available too (even if not forcible disabling them).

Now I could go ahead and reinstall this Windows 10 here (my main machine) with PerformanceCounters on, but to be honest, your program is the only program that crashes because they do not exist. I have a myriad of .NET programs that do not crash at all and some of them do try to access PerformanceCounters as well and fail, but they have a built-in check (and that is how it should actually be handled correctly) that first checks if PerformanceCounters are even available on the system before trying to access them - if they are not, they simply skip the whole usage of those. And if GSB really needs to check PerformanceCounters (they are kind of a resource usage monitor for disk, RAM, CPU, etc.), there are other way to check that information if it is REALLY needed for GSB (which I doubt as this is most likely just used to display some kind of CPU / memory usage chart, which can also be done with other methods).

Thank you:)


View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 21-9-2017 at 08:09 PM


GSB does use performance metrics a fair bit. I will add this to the build. Is it a simple thing to re-enable them? os re-install seems drastic.

View user's profile View All Posts By User
lvau
Junior Member
**




Posts: 12
Registered: 21-9-2017
Member Is Offline

Mood: No Mood

[*] posted on 21-9-2017 at 08:14 PM


I understand, but are they really needed? I mean I am using like 50 to 60 different programs during my work as an IT Admin (including many .NET based applications like yours), also on this computer here - many of those monitor performance as well, not one of them has an issue with PerformanceCounters being disabled.

No, not easy to re-enable them, I am ripping them out of the Windows ISO right before install via www.ntlite.com (a tool to customize a Windows installation right before installation, throwing out all the nonsense one does not need .e.g Cortana, Action Center, modern apps, all that stuff that IT admins hate, haha). I“ve been doing that since Windows 7 and that is also the time since I“ve been ripping out PerformanceCounters - did not have a single program crashing because of that basically since Windows 7, otherwise I would have left PerformanceCounters in, but your program, in all honesty (I really swear, haha), is the only one crashing because they do not exist on this system.


View user's profile View All Posts By User
lvau
Junior Member
**




Posts: 12
Registered: 21-9-2017
Member Is Offline

Mood: No Mood

[*] posted on 21-9-2017 at 10:25 PM


Maybe this helps your developer as another .NET program from another developer is crashing with almost the exact same reason:

https://github.com/haneytron/dache/issues/22


View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 22-9-2017 at 07:16 PM


The problem is fixed, but not tested. Should have new beta Tuesday if it passes testing.

View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 22-9-2017 at 09:32 PM


GSB 37.29 August 23 (beta)
To run as standalone, run GSB manager and set workers to 0
many bug fixes
GSB=TS for tick data fixed?
improved reliability of GSB workers
new TS functions needed. (enclosed)
may be small incompatibility with other code. ie zerosafe function
I have not well tested all parts of this release.
Put files in c:\dropbox\GSB-Workplace-Test

Attachment: Login to view the details


View user's profile View All Posts By User
lvau
Junior Member
**




Posts: 12
Registered: 21-9-2017
Member Is Offline

Mood: No Mood

[*] posted on 23-9-2017 at 12:57 AM


Wow, wow and did I say WOW? :-) Now THAT was a fast fix and it works indeed! I can now open GSB just fine and will start testing it. Thank you SO much for that quick and perfect work you and your programmer did there - pretty much unmatched at that speed:) Also, most companies would have simply told me that their product is only compatible with a "standard" Windows 10, not a customized one like mine. So, big big thanks again, I appreciate it!

Have a nice weekend!

P.S.: Would it be possible to get general beta access via the password? That would be great...


View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 23-9-2017 at 05:26 AM


Thanks for your kind words. You can get the pwd for private forum and the free systems + GSB, but it will cost you $1500 :)
I dont give out beta to trial users as they are more likely to be buggy. However when a trial user has a critical bug that needs fixing, they can get the beta.


View user's profile View All Posts By User
lvau
Junior Member
**




Posts: 12
Registered: 21-9-2017
Member Is Offline

Mood: No Mood

[*] posted on 23-9-2017 at 10:24 AM


OK, I see:) Right now I first need to see how GSB works for me. I am a full time (automated) Forex trader via MT4 since about 2006 and I know that GSB does not support MT4 yet (and not sure if it is even planned, as I only see MT5 being mentioned for the future, but MT5 is a big no-go for me because you cannot even use your own history data in it, so can never do any meaningful backtest with custom data in it and can only use the "fake" data that Metaquotes provides so that their brokers can make even more money by pretending good results to the users based on faked data). But your videos got me curious in terms of generation speed and in terms of the quality of the systems that it seems to generate compared to other platforms (I own most of those out there). So if the system are really of such a quality, I will invest the time to switch to MultiCharts once again (been using it many many years ago already too). But now I first need to fiddle with GSB in order to see how I can get my Forex data from MT4 into it and generate some systems - seems like no one did that yet if looking in the Forum....

View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 24-9-2017 at 06:29 PM


Hi Ivau,
what your saying is interesting. Is custom data in the pipeline for mt5? It seems regressive not to have it.
I am open to mt4, but it will depend on demand. GSB also needs to stop having the frequent addition of features, before we go to other platforms.
The big issues on platforms is the quirks why GSB <> platform results. TS had lots of quirks, and it gets complex when quirky situations are handled differently with another platform.
ie you have data1 bar but no data2 bar at the same instant.

I have done little work with FX and GSB, but feel the architecture is going to need changes to make good fx systems. This is in the pipeline and contribution from experienced
fx traders like yourself will be welcome.
You can see this thread.
http://www.trademaid.info/forum/viewthread.php?tid=19
http://www.trademaid.info/forum/viewthread.php?tid=14


View user's profile View All Posts By User
lvau
Junior Member
**




Posts: 12
Registered: 21-9-2017
Member Is Offline

Mood: No Mood

[*] posted on 25-9-2017 at 02:27 AM


Hi :)

Yes, I totally understand this, this is one of the longest taking coding parts for any platform (StrategyQuant 4 is not ready because of that yet too, as backtests do not line up 100% yet between it and the supported platforms). Even Adaptrade Builder has some issues with the exported code, have already reported many bugs there too (non-matching backtests etc.). So I surely know that this will be a HUGE task for you guys.

MT5 is going backward completely in my opinion. The only thing that is going to improve is for the brokers (besides that you can now see market-depth, but there is no global market-depth on spot FX, only on futures, so I have no use for that either). That you can“t import your custom history data into MT5 anymore is seriously a feature MetaQuotes did on purpose! Because now only THEM do supply the data, which does not go back far enough (just a few years), is of low quality (holes) and is simply fake in some areas so that EA results look better to the trader, which will then go ahead, fund an account with an MT5 broker and lose its money. And who gets this money? The broker gets it! And who pays MetaQuotes solely? Yes, the brokers:) So MT5 is a big thing for MetaQuotes and their brokers, especially once they decide to drop MT4 completely (not sure when this will be yet, but MT4 did not get updates for a while now and these bastards do actually supply the MT5 installer to users who wish to download MT4!! Russian tactics!).

Anyhow, I think the userbase for MT4 is still big enough and many do not want to use MT5 at all because of the mentioned reasons. I mean MT5 has been around like 7 years meanwhile, yet they still support MT4 as users do not wish to switch to MT5 at all. So cutting off MT4, they would be leaving a whole lot of money on the table and that is surely something Russians will not do either :-) So if you could add support for MT4, I would be very happy, but I understand it will be a long time until that....

Cheers:)


View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 28-9-2017 at 12:59 PM


When its time to to other platforms, I may take a poll to see where the demand is highest.
Once you have one system transferred to GSB, doing others should not be so hard. This is because all the systems follow the same basic format.


View user's profile View All Posts By User

  Go To Top

Trademaid forum. Software tools for TradeStation, MultiCharts & NinjaTrader
[Queries: 49] [PHP: 25.6% - SQL: 74.4%]