SIGSEGV/AV in CodeTools
Original Reporter info from Mantis: etrusco
-
Reporter name: Flávio Etrusco
Original Reporter info from Mantis: etrusco
- Reporter name: Flávio Etrusco
Description:
The exception doesn't appear to the user and I don't know how to reproduce, I'm just reporting it in case there's a false assumption easily detectable ;-)
As can be seen from the stacktrace TCodeHelpManager.CodeNodeToElementName receives a nil value for 'CodeTool', as if CodeToolBoss.CurCodeTool.FindDeclaration returned True but didn't fill CTNode.
{{{
#0 TCODEHELPMANAGER__CODENODETOELEMENTNAME(0x0, 0x0, <error reading variable>, 0x0) at codehelp.pas:1846
#1 TCODEHELPMANAGER__GETHTMLHINT(0x9c4ccc8, 17, 36, [CHHODECLARATIONHEADER], 0xdff9d8 'lazdoc://', 0xa999f00 '<div class="header"> <br>'#13#10' <a href="source://C:\Users\etrusco\projetos\lazarus\lcl\stdctrls.pp(1,1)">C:\<wbr/>Users\<wbr/>etrusco\<wbr/>projetos\<wbr/>lazarus\<wbr/>lcl\<wbr/>stdctrls.pp(1,1)</a>'#13#10..., true, <error reading variable>) at codehelp.pas:2296
#2 TIDEHELPMANAGER__GETHINTFORSOURCEPOSITION(0xbd0c880 'C:\Users\etrusco\projetos\lazarus\designer\taborderdlg.pas', {X = 17, Y = 36}, 0xdff9d8 'lazdoc://', 0xa999f00 '<div class="header"> <br>'#13#10' <a href="source://C:\Users\etrusco\projetos\lazarus\lcl\stdctrls.pp(1,1)">C:\<wbr/>Users\<wbr/>etrusco\<wbr/>projetos\<wbr/>lazarus\<wbr/>lcl\<wbr/>stdctrls.pp(1,1)</a>'#13#10..., [], <error reading variable>) at idehelpmanager.pas:1525
#3 TMAINIDE__ONSRCNOTEBOOKSHOWHINTFORSOURCE(0xbd548b8, {X = 194, Y = 192}, {X = 17, Y = 36}, <error reading variable>) at main.pp:16194
#4 TSOURCENOTEBOOK__SHOWSYNEDITHINT({X = 497, Y = 353}, <error reading variable>) at sourceeditor.pp:7409
#5 TSOURCENOTEBOOK__HINTTIMER(0xbc0e2c0, <error reading variable>) at sourceeditor.pp:7339
#6 TCUSTOMTIMER__DOONTIMER(<error reading variable>) at customtimer.pas:181
#7 TCUSTOMTIMER__TIMER(<error reading variable>) at customtimer.pas:156
#8 TIMERCALLBACKPROC(0, 275, 23420, 125772795) at .\win32\win32callback.inc:2660
#9 USER32!IsWindowVisible at :0
#10 ?? at :0
}}}
Mantis conversion info:
- Mantis ID: 19839
- Version: 0.9.31 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Fixed in revision: 32166 (#0baaf191)