#1 2020-03-11 09:09:07

KevinChen
Member
Registered: 2016-09-10
Posts: 10

Test hang on _SynDBRemote caused by THttpApiServer.Destroy

Hi,

The new changes related to (fClones: THttpApiServers) resulted the test process hang at THttpApiServer.Destroy (...finally inherited Destroy ...).
When I restored the code back to the version (fClones: TObjectList), the test passed as usual.
Any help would be appreciated.

Offline

#2 2020-03-11 09:17:14

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,655
Website

Re: Test hang on _SynDBRemote caused by THttpApiServer.Destroy

I was wondering when this problem (which I did see sometimes) come from.
I will check the fClones commit, i.e. https://synopse.info/fossil/info/10b0598e32315138

Offline

#3 2020-03-11 09:18:05

sakura
Member
From: Germany
Registered: 2018-02-21
Posts: 239
Website

Re: Test hang on _SynDBRemote caused by THttpApiServer.Destroy

I guess, this could relate to https://synopse.info/forum/viewtopic.php?id=5327 as well?

Offline

#4 2020-03-11 10:13:52

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,655
Website

Re: Test hang on _SynDBRemote caused by THttpApiServer.Destroy

Yes, this is the same code.

What it weird is that it should happen with the previous code too, but less often due to some weird multi-thread magic.

Should be fixed by https://synopse.info/fossil/info/f640a7dc402c311c

Offline

#5 2020-03-11 15:49:36

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,655
Website

Re: Test hang on _SynDBRemote caused by THttpApiServer.Destroy

The fix was not enough.
Please try https://synopse.info/fossil/info/b2c2d46be6 - which seems fine now in my tests.

The problem was when you had no cloned thread, i.e. ThreadPoolCount=1.

Offline

Board footer

Powered by FluxBB