cancel
Showing results for 
Search instead for 
Did you mean: 

SBO takes 99% CPU and freezes the computer for infinity

kurt_huwiler
Participant
0 Kudos

Hi developer fellows

My Add-On plugs menu items to the module menu of Business One and uses UI- and DI functionality. Clicking on this menu items launches different executables of my Add-On application.

Instancing and terminating this Add-On-executables do not need any CPU-power of SBO Business One. But from some how reason I’m facing the problem, that after a couple of instancing and terminating of this Add-On-executables, SBOBusinessOne.exe’s CPU needs raises up to 99% and freezes the hole computer. Nothing works anymore. The only way is to kill the SBOBusinessOne process using the task manager.

The phenomenon is reproducible.

This is a very serious problem.

My questions:

Does anyone facing similar problems?

Is this a reported bug?

Can somebody explain me what is going wrong?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hello all,

If a patch fixes a particular problem, then please log a message for my attention and i will provide you with the patch.

Regards,

Lisa Mulchinock,

SDK Support Consultant

Galway

Former Member
0 Kudos

Hi Lisa,

Could you please email me patch 24? But wouldn't it be better if this patch was available on a website so everyone could get a copy?

Thanks, Lita

Former Member
0 Kudos

Hi Lita,

Unfortunately we are not permitted to deliver patches based on SDN messages, only with messages logged on SAP Service Marketplace. Please note that there is currently hotnews 750579 where a problem regarding VAT Reports has been identified with all patches from 24 onwards. This problem is fixed in Patch 7 of 6.5 SP1 so we would only recommend upgrading to this patch.

Kind Regards,

Lisa Mulchinock,

SAP SDK Consultant,

Galway

Former Member
0 Kudos

Hi All,

this issue was corrected in Patch 24 of 6.50 SP0. So any patch subsequent to this should solve this issue. Also note that SP1 is now available to download.

Regards,

Lisa Mulchinock

SDK Support Consultant

Galway

Former Member
0 Kudos

Where can we get patch 24? The latest patch available to download from the SMB Portal site is patch 20. Someone else in this forum previously tried to obtain patch 24 by asking SAP support but was told support knew nothing about it. I still have problems with SBO freezing several times a day and I would love to get my hands on patch 24, so please, where can we get this patch?

Former Member
0 Kudos

Kurt

I just found something else.

In an scenario without Add-ons, SAP Business One freezes and consumes 99% CPU usage again.

But that's where my guess was wrong, because I realized that the Screen Painter is running as an Add-on too. So I want to know if you are using the Screen Painter along with your Add-ons.

Maybe the bug is in the Screen Painter Add-on just as I've seen a moment ago. Without any Add-on (except the Screen Painter) SBO also freezes the computer.

I hope we can find the cause of this bug and find out a solution.

Kind Regards,

L. Iván Juárez A.

kurt_huwiler
Participant
0 Kudos

Hi Louis

Good to have somebody out there facing the same problem.

It gives me hope to get rid of that bug.

About your question: I dont use the screen painter or any other SBO add ons.

Once, the "freeze" happend just when I launched SBO and my add on plugged the menu items to the module menu. It really looks like beeing an SBO or SDK problem.

The ugli thing is that the freeze is unpredictable. Once it happend during a sales presentation of our add-on. You can imagin that this is not fun at all.

I will next unregister my add-on and launch it manually to see if the freez happens again.

I mailed our problem to Israel and I hope we will get some help from there.

regards

Kurt

kurt_huwiler
Participant
0 Kudos

Hi Luis

Good to have somebody out there facing the same problem.

It gives me hope that the problem will be solved.

About your question: I dont use the screen painter and there are no SBO add ons installed.

I was unregister my add on and launched it manually. After open and closing my add on

exe's by clicking on the SBO menu items my add on plugged in, I was running again into the "freeze".

I have a guess that is worth to proof:

Could it be that SBO wants to go to sleep mode but for somehow reason this ends up in 99% CPU usage ?

Regards

Kurt

Former Member
0 Kudos

Hi Kurt

I've been studying several scenarios where the bug activates and it looks that is triggered when you try to access any element on your windows taskbar.

When I'm running SAP Business One with and Add-On (screen painter or one of my own) if you try to click an element on the taskbar SBO freezes.

So far it's the only confirmed action that triggers the bug.

I hope you can update this info on your mail sent to Israel.

Let me know any news.

Kind Regards

L. Iván Juárez

kurt_huwiler
Participant
0 Kudos

Hi Luis

Thank you for your studies.

I found a developer who was reporting me just the same

It seems there are more developers out there suffering from the same problem.

I got feedback from Israel. For them it’s now a high priority task.

I will inform Israel of what you find out.

Regards and happy ester

Kurt

Former Member
0 Kudos

Hi all

Is any news about this issue? I'm suffering very much from that problem.

Mark

Former Member
0 Kudos

Hi,

This is not a reported BUG.

Could you explain why you need different processes of the same *.exe?

The same *.exe can open multiple and different forms / windows.

Regards,

SDK Supprt ,

SAP Manage Israel.

kurt_huwiler
Participant
0 Kudos

Dear Yaniv

Here some further explanations:

BusinessOne launches our main-executable, that plugs the add-on menu items to the module menu of business one. This executable stays running and checks the module menu events. When a menu-Click arrives, it launches the appropriate VisualBasic 6 executable using this lines of code:

Set objExplorer = VBA.CreateObject(Class:=szExplorerIdentifier)

This executables behave like standard executables and are OutOfProcessServers having an Interface so we can pass an objec to it. Terminating such an OutOfProcessServers releases all the memory used by itselfs.

This OutOfProcessServers do not add forms to BusinessOne. They are all using VB6 Forms. Therefore it makes no sense that BusinessOne goes up to 99% CPU usage… but it does.

It’s unpredictable to say when BusinessOne raises up to 99% CPU usage. It can happen after 10 exe-launches or it can happen after 30 exe-launches. I even got a freezing of BusinessOne when no exe was launched at all just after BusinessOne plugged the AddOn Menue items to the module menu.

I recommend a webex session to show this phenomenon to the SDK developers.

Witch regards

Kurt

Former Member
0 Kudos

Kurt

I've seen the same issue with my add-on.

In my case it's only one .EXE but sometimes it freezes SAP Business one and consumes the 99% of the resources of my computer.

I don't know either what's the reason for this bug. But I know it's when an add-on is running in the background when you register the .EXE

By now all i could do is unregister the Add-on and the bug is not triggered again.

So I support your oppinion about the unpredictability of the bug, but for sure it's when you register your add-on and it's launched automatically when SBO starts.