IDE hangs, when lhelp does not respond
Original Reporter info from Mantis: Martin @martin_frb
-
Reporter name: Martin Friebe
Original Reporter info from Mantis: Martin @martin_frb
- Reporter name: Martin Friebe
Description:
For some problem lhelp did not respond as it should. (it could likely be a misconfig of my IDE.
However, while the IDE waits for lhelp, the IDE is absolutely none responsive (takes 10 secs to respond to a keystroke).
This none responsiveness went on for way over a minute.
During this time the IDE printed to the console (my IDE is build with -WC )
LHelpControl: WaitForMsgResponse: hit timeout (10 seconds)
-------------
This report is not about why lhelp did not respond. But the IDE should be more responsive.
A 10 sec timeout is unacceptable.
Also if lhelp does not respond, it is questionable if the wait time should go on for such a long time.
It appears to only have ended, because lhelp finally started and responded.
Steps to reproduce:
TFPDocHTMLHelpDatabase.ShowHelp A Unitname=system NewNode.HelpType=1 NewNode.Title=RTL - Free Pascal Run Time Library Units NewNode.URL=file://index.html
TFPDocHTMLHelpDatabase.ShowHelp Filename="getmem." UnitName="system"
TFPDocHTMLHelpDatabase.ShowHelp BaseURL of Node.URL=""
TFPDocHTMLHelpDatabase.ShowHelp GetEffectiveBaseURL="rtl.chm://"
THTMLHelpDatabase.ShowURL B URL=rtl.chm://system/getmem.html URLType=rtl.chm URLPath=system/getmem.html URLParams=
TChmHelpViewer.ShowNode Filename="rtl.chm" SearchPath="B:\lazarus_latest_svn_2\docs\chm;B:\lazarus_latest_svn_2\docs\html;B:\lazarus_latest_svn_2\docs\html\lcl" Found="B:\lazarus_latest_svn_2\docs\chm\rtl.chm"
TLHelpConnection.StartHelpServer: going to start help server by executing D:\lazarus64\components\chmhelp\lhelp\lhelp.exe --ipcname lazhelp73560 --hide
Could not get lhelp running with command D:\lazarus64\components\chmhelp\lhelp\lhelp.exe --ipcname lazhelp73560 --hide
Info: (lazarus) Execute Title="- Building lhelp -"
Info: (lazarus) Working Directory="B:\lazarus_latest_svn_2\components\chmhelp\lhelp"
Info: (lazarus) Executable="B:\lazarus_latest_svn_2\lazbuild.exe"
Info: (lazarus) Param[0]="--ws=win32"
Info: (lazarus) Param[1]="--pcp=B:\laz_configs\lazarus_latest_svn_2"
Info: (lazarus) Param[2]="B:\lazarus_latest_svn_2\components\chmhelp\lhelp\lhelp.lpi"
TChmHelpViewer.ShowNode restarting lhelp to use updated protocols
LHelpControl: WaitForMsgResponse: hit timeout (10 seconds)
LHelpControl: WaitForMsgResponse: hit timeout (10 seconds)
LHelpControl: WaitForMsgResponse: hit timeout (10 seconds)
LHelpControl: WaitForMsgResponse: hit timeout (10 seconds)
LHelpControl: WaitForMsgResponse: hit timeout (10 seconds)
LHelpControl: WaitForMsgResponse: hit timeout (10 seconds)
LHelpControl: WaitForMsgResponse: hit timeout (10 seconds)
LHelpControl: WaitForMsgResponse: hit timeout (10 seconds)
LHelpControl: WaitForMsgResponse: hit timeout (10 seconds)
LHelpControl: WaitForMsgResponse: hit timeout (10 seconds)
Help viewer gave error response to mrShow command. Response was: ord: 1
Mantis conversion info:
- Mantis ID: 38902
- OS: win 10
- OS Build: 10
- Platform: 64bit Intel