MikroBasic Libstock Manager erratic behavior

General discussion on mikroBasic PRO for dsPIC30/33 and PIC24.
Post Reply
Author
Message
Andrewz
Posts: 30
Joined: 07 Apr 2010 12:34
Location: Saint-Petersburg, Russia

MikroBasic Libstock Manager erratic behavior

#1 Post by Andrewz » 26 May 2018 21:18

Hello!
Is it possible to disable Libstock Manager functionality in latest MikroBasic Compilers?
Since it was integrated, the speed for opening and closing of a compiler significantly degraded. It seems like program waits for Libstock Manager connection to internet services complete.
If there is no internet connection, compilers refuse to start! It hangs on "Initializing" string. Sometimes it starts within several minutes. If the internet connection is available,
compiler starts relatively fast, but if you close it immediately after start, the program stays active in task manager for approx 20 seconds waiting for Libstock Manager to connect.
That is very annoying if you are switching between several projects fast!
This behavior is tested on several computers running Windows 7 64-bit Professional OS.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: MikroBasic Libstock Manager erratic behavior

#2 Post by filip » 28 May 2018 16:01

Hi,

I apologize for the inconvenience, I have tried this on my PC (Windows 7 64-bit) with and without internet connection
and I didn't observe any time difference in the compiler's loading, yet alone the refusal to start up.

I will test this on other computers to see if I can reproduce this issue.

Regards,
Filip.

Andrewz
Posts: 30
Joined: 07 Apr 2010 12:34
Location: Saint-Petersburg, Russia

Re: MikroBasic Libstock Manager erratic behavior

#3 Post by Andrewz » 28 May 2018 16:11

Hello. I'm using MikroBasic PRO for dsPIC version 7.1.0 - the latest one. When i disable any network activity for MikroBasic in windows firewall it hangs for about 3 minutes with message string "Initializing...". The same is for MikroBasic PRO for PIC version 7.2.0.

Andrewz
Posts: 30
Joined: 07 Apr 2010 12:34
Location: Saint-Petersburg, Russia

Re: MikroBasic Libstock Manager erratic behavior

#4 Post by Andrewz » 28 May 2018 16:47

Anyway.. New versions of Mikroe Compilers with Libstock Manager actively uses internet connection during start process. It seems like some process waits for server reply and blocks starting of a programm. It can be seen in Process Explorer. Older version 7.0.1 starts much faster and it doesent matter if there is internet connection or not! Than issue should be addressed immediately!

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: MikroBasic Libstock Manager erratic behavior

#5 Post by filip » 29 May 2018 14:53

Hi,

Please, can you attach the screenshot of this issue or even better some short video ?

Regards,
Filip.

Andrewz
Posts: 30
Joined: 07 Apr 2010 12:34
Location: Saint-Petersburg, Russia

Re: MikroBasic Libstock Manager erratic behavior

#6 Post by Andrewz » 29 May 2018 15:41

Shure!
Attachments
This error occures when i try to close application if network activity is disabled!
This error occures when i try to close application if network activity is disabled!
Error screen.jpg (72.92 KiB) Viewed 5145 times
This window hangs for about 3 minutes if network activity is disabled!
This window hangs for about 3 minutes if network activity is disabled!
Init string.jpg (63.8 KiB) Viewed 5145 times

Andrewz
Posts: 30
Joined: 07 Apr 2010 12:34
Location: Saint-Petersburg, Russia

Re: MikroBasic Libstock Manager erratic behavior

#7 Post by Andrewz » 31 May 2018 10:25

Hello. Is there any progress on this issue?

Andrewz
Posts: 30
Joined: 07 Apr 2010 12:34
Location: Saint-Petersburg, Russia

Re: MikroBasic Libstock Manager erratic behavior

#8 Post by Andrewz » 31 May 2018 15:52

OK. This issue occures:
1. If LAN is connected but there is no access to internet.
2. If LAN is connected but network activity for MikroBasic is disabled by firewall rules.

If LAN is disconnected, compiler starts always normally!

I think that MikroBasic detects that threre is network connection is available but it cant get data because of firewall rules or missign internet connection.
It waits for some minutes for response hanging in "initialization". You should consider to exclude any network activity dependence during program lifecycle.
Any waitings for internet connection should be used only for internet dependent services in MikroBasic but not for rest of a compiler!

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: MikroBasic Libstock Manager erratic behavior

#9 Post by filip » 04 Jun 2018 08:46

Hi,

So, when the LAN cable is connected but the internet access is disabled from the Control Panel, the issue exists ?

I have tried every combination on my PC but couldn't reproduce this.

Regards,
Filip.

Andrewz
Posts: 30
Joined: 07 Apr 2010 12:34
Location: Saint-Petersburg, Russia

Re: MikroBasic Libstock Manager erratic behavior

#10 Post by Andrewz » 04 Jun 2018 10:40

Hello. What do you mean "disabled from the Control Panel"? If you disable network connection from Control Panel everything works fine! But if computer connected to LAN and internet cable is unplugged from the router this issue exists. If computer can work within LAN which is not connected to internet this issue occurres. Simply disable any MikroBasic network activity in windows firewall rules and you will see this issue (computer must be connected to LAN).

Andrewz
Posts: 30
Joined: 07 Apr 2010 12:34
Location: Saint-Petersburg, Russia

Re: MikroBasic Libstock Manager erratic behavior

#11 Post by Andrewz » 04 Jun 2018 10:47

This issue additionally tested on Windows 8.1 PRO and Windows 10 PRO.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: MikroBasic Libstock Manager erratic behavior

#12 Post by filip » 06 Jun 2018 15:55

Hi,

I will try this on different PCs and let you know.

Regards,
Filip.

Andrewz
Posts: 30
Joined: 07 Apr 2010 12:34
Location: Saint-Petersburg, Russia

Re: MikroBasic Libstock Manager erratic behavior

#13 Post by Andrewz » 20 Jun 2018 12:23

Hello. Is there any progress? Have you reproduced this issue?

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: MikroBasic Libstock Manager erratic behavior

#14 Post by filip » 22 Jun 2018 09:09

Hi,

Unfortunately, even on 10+ PCs in my office I could not reproduce it.

Regards,
Filip.

arco
Posts: 312
Joined: 15 Apr 2008 13:54
Location: The Netherlands

Re: MikroBasic Libstock Manager erratic behavior

#15 Post by arco » 21 Aug 2018 11:31

Even with a good internet connection startup is horribly slow (10...15 seconds)
Please add option to disable this. (I think most don't use it anyway)
Regards,

Peter.

Post Reply

Return to “mikroBasic PRO for dsPIC30/33 and PIC24 General”