IDE crash , possibly related to GetDetailRegion in win32themes.pas (r29642)
Original Reporter info from Mantis: Bart @flyingsheep
-
Reporter name: Bart Broersma
Original Reporter info from Mantis: Bart @flyingsheep
- Reporter name: Bart Broersma
Description:
After updating Lazarus to r29727 my IDE crashes (randomly it seems), but almost always within 2 minutes.
I was unable to get a backtrace in gdb.
In debug.log I finally could find this backtrace (on 2 consecutive crashes):
(In this case Lazarus crashed almost immediately after start, that is after it appeared on my desktop)
SetPrimaryConfigPath NewValue="h:\programmas\svnlaz" -> "H:\programmas\svnlaz"
TMainIDE.DoLoadLFM Creating designer for hidden component of F:\LazarusProjecten\UurCodes\main.ppTMainIDE.DoOpenProjectFile Form1:TForm1 TDesignerTApplication.HandleException Access violation
Stack trace:
$00000001
$005CB486 TWIN32THEMESERVICES__GETDETAILREGION, line 191 of win32themes.pas
$00432D5C THINTWINDOW__UPDATEREGION, line 91 of ./include/hintwindow.inc
$004335D9 THINTWINDOW__INITIALIZEWND, line 247 of ./include/hintwindow.inc
$0053A007 TWINCONTROL__CREATEWND, line 7290 of ./include/wincontrol.inc
$00422E13 TSCROLLINGWINCONTROL__CREATEWND, line 34 of ./include/scrollingwincontrol.inc
$004291EC TCUSTOMFORM__CREATEWND, line 2466 of ./include/customform.inc
$005399D5 TWINCONTROL__CREATEHANDLE, line 7176 of ./include/wincontrol.inc
$0053AB2A TWINCONTROL__HANDLENEEDED, line 7613 of ./include/wincontrol.inc
$0052B571 TCONTROLCANVAS__CREATEHANDLE, line 99 of ./include/controlcanvas.inc
$004BD846 TCANVAS__REQUIREDSTATE, line 1570 of ./include/canvas.inc
$004BD012 TCANVAS__GETUPDATEDHANDLE, line 1253 of ./include/canvas.inc
$00433582 THINTWINDOW__CALCHINTRECT, line 238 of ./include/hintwindow.inc
$0042E1BB TAPPLICATION__SHOWHINTWINDOW, line 837 of ./include/application.inc
$0042E3FB TAPPLICATION__ONHINTTIMER, line 919 of ./include/application.inc
$00557535 TCUSTOMTIMER__DOONTIMER, line 181 of customtimer.pas
$0055749F TCUSTOMTIMER__TIMER, line 156 o
This call to GetDetailRegion in win32themes.pas was introduced in r29642.
When I downgraded to r29641 the crashes seem ta have gone.
Additional information:
I built Lazarus with "make clean all OPT=-gl" using fpc 2.4.2 on Windows ME.
Mantis conversion info:
- Mantis ID: 18873
- OS: WinMe
- OS Build: MS
- Build: 29727
- Platform: i386
- Version: 0.9.31 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Fixed in revision: 29736 (#bdff407a)