Crash, when closing package window
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:
- Open a project
- open a package, used by the project (Maybe not needed: for which you have some units open in the editor)
- In package window: "Add" > New unit
- In package window: select the new unit: "Remove"
(it will be moved to "removed" section, and will be selected / do not click anything to change selection)
- Close unit in Source editor, when ask: do not save.
- Close package (not yet saved). When asked, say "yes" to save it
Crash
Additional information:
#0 INHERITSFROM(0x2, 0x1376454) at ..\inc\objpas.inc:529
#1 fpc_do_is(0x2, 0x137055b0) at ..\inc\objpas.inc:41
#2 GETNODEDATA(0x1572f330, 0x1331dd48) at ..\packager\packageeditor.pas:2048
#3 GETCURRENTFILE(0x1572f330, false) at ..\packager\packageeditor.pas:2031
#4 UPDATESELECTEDFILE(0x1572f330) at ..\packager\packageeditor.pas:1881
#5 UPDATEALL(0x1572f330, false) at ..\packager\packageeditor.pas:1490
#6 SETMODIFIED(0x10c89650, false) at ..\packager\packagedefs.pas:2516
#7 SAVETOXMLCONFIG(0x10c89650, 0x1331e008, 0x1284eec 'Package/') at ..\packager\packagedefs.pas:2917
#8 DOSAVEPACKAGE(0x12df2cd8, 0x10c89650, []) at ..\packager\pkgmanager.pas:2429
#9 ONPACKAGEEDITORSAVEPACKAGE(0x12df2cd8, 0x274418, 0x10c89650, false) at ..\packager\pkgmanager.pas:884
#10 SAVEPACKAGE(0x274418, 0x10c89650, false) at ..\packager\packageeditor.pas:2524
#11 PACKAGEEDITORFORMCLOSEQUERY(0x1572f330, 0x1572f330, true) at ..\packager\packageeditor.pas:922
#12 CLOSEQUERY(0x1572f330) at include\customform.inc:2157
#13 CLOSE(0x1572f330) at include\customform.inc:2067
#14 WMCLOSEQUERY(0x1572f330, {MSG = 66622, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, LPARAMLO = 0, LPARAMHI = 0, RESULTLO = 0, RESULTHI = 0}) at include\customform.inc:2165
#15 DISPATCH(0x137055b0, 0) at ..\inc\objpas.inc:592
#16 WNDPROC(0x1572f330, {MSG = 66622, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, LPARAMLO = 0, LPARAMHI = 0, RESULTLO = 0, RESULTHI = 0}) at include\control.inc:2099
#17 WNDPROC(0x1572f330, {MSG = 66622, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, LPARAMLO = 0, LPARAMHI = 0, RESULTLO = 0, RESULTHI = 0}) at include\wincontrol.inc:5327
#18 WNDPROC(0x1572f330, {MSG = 66622, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, LPARAMLO = 0, LPARAMHI = 0, RESULTLO = 0, RESULTHI = 0}) at include\customform.inc:1430
#19 DELIVERMESSAGE(0x1572f330, 0) at lclmessageglue.pas:112
#20 WINDOWPROC(3146530, 16, 0, 0) at win32\win32callback.inc:2497
#21 CUSTOMFORMWNDPROC(3146530, 16, 0, 0) at win32\win32wsforms.pp:395
#22 USER32!GetWindowMinimizeRect at :0
#23 ?? at :0
#24 USER32!GetWindowMinimizeRect at :0
#25 WIN32WSFORMS_ADJUSTFORMBOUNDS$TCUSTOMFORM$RECT at :0
#26 USER32!RemoveClipboardFormatListener at :0
#27 WINNLSEnableIME at :0
#28 ntdll!LdrEnumResources at :0
#29 ?? at :0
#30 USER32!DisplayExitWindowsWarnings at :0
#31 UxTheme!GetThemeSysColor at :0
#32 UxTheme!GetThemeBool at :0
#33 ?? at :0
#34 UxTheme!GetThemePropertyOrigin at :0
#35 UxTheme!GetThemeRect at :0
#36 USER32!DwmGetDxRgn at :0
#37 CALLDEFAULTWINDOWPROC(3146530, 274, 61536, 11928299) at win32\win32callback.inc:85
#38 WINDOWPROC(3146530, 274, 61536, 11928299) at win32\win32callback.inc:2576
#39 CUSTOMFORMWNDPROC(3146530, 274, 61536, 11928299) at win32\win32wsforms.pp:395
#40 USER32!GetWindowMinimizeRect at :0
#41 ?? at :0
#42 USER32!EnumDisplaySettingsA at :0
#43 WIN32WSFORMS_ADJUSTFORMBOUNDS$TCUSTOMFORM$RECT at :0
#44 USER32!CallNextHookEx at :0
#45 USER32!SendNotifyMessageA at :0
#46 UxTheme!GetThemeBool at :0
#47 ?? at :0
#48 UxTheme!GetThemePropertyOrigin at :0
#49 UxTheme!GetThemeRect at :0
#50 USER32!DwmGetDxRgn at :0
#51 CALLDEFAULTWINDOWPROC(3146530, 161, 20, 11928299) at win32\win32callback.inc:85
#52 WINDOWPROC(3146530, 161, 20, 11928299) at win32\win32callback.inc:2295
#53 CUSTOMFORMWNDPROC(3146530, 161, 20, 11928299) at win32\win32wsforms.pp:395
#54 USER32!GetWindowMinimizeRect at :0
#55 ?? at :0
#56 USER32!GetWindowMinimizeRect at :0
#57 WIN32WSFORMS_ADJUSTFORMBOUNDS$TCUSTOMFORM$RECT at :0
#58 USER32!GetMonitorInfoA at :0
#59 USER32!DisplayExitWindowsWarnings at :0
#60 APPPROCESSMESSAGES(0x28be68) at win32\win32object.inc:367
#61 HANDLEMESSAGE(0x234078) at include\application.inc:1268
#62 RUNLOOP(0x234078) at include\application.inc:1401
#63 APPRUN(0x28be68, {Proc = {procedure (POINTER)} 0xecdfeb0, Self = 0x234078}) at include\interfacebase.inc:54
#64 RUN(0x234078) at include\application.inc:1389
#65 main at lazarus.pp:128
Mantis conversion info:
- Mantis ID: 25233
- OS: win
- OS Build: vista
- Platform: w32
- Version: 1.3 (SVN)
- Fixed in revision: 43341 (#766298e0)
- Target version: 1.4