MantisBT - Ecere SDK
View Issue Details
0000656Ecere SDKidepublic2011-10-14 03:502013-05-19 22:15
jerome 
jerome 
immediatecrashhave not tried
closedfixed 
 
0.44 Ryoan-ji0.44 Ryoan-ji 
0000656: Crash in GlobalSettingsDialog / Compilers Tab on second Destroy
The problem seems to come from the Stacker's OnResize method doing a:

         oldControls.Free();

The individual controls have already been deleted (suspecting on the first 'Destroy')

Which comes from the GlobalSettingsDialog's OnDestroy() invoking compilerSelector.Clear()
File, Global Settings, Click Compilers tab, Escape
File, Global Settings, Escape [*boom*]
Callstack:

  0 __ecereNameSpace__ecere__gui__Window Destructor, src\gui\Window.ec:634
  1 __ecereNameSpace__ecere__com__eInstance_Delete Function, src\com\instance.ec:4358
  2 __ecereNameSpace__ecere__com__eInstance_DecRef Function, src\com\instance.ec:4746
  3 __ecereNameSpace__ecere__com__OnFree Function, src\com\dataTypes.ec:220
  4 __ecereNameSpace__ecere__com__Array_Free Method, src\com\containers\Array.ec:181
  5 __ecereNameSpace__ecere__gui__controls__Stacker_OnResize Method, src\gui\controls\Stacker.ec:273
  6 SelectorBar_Clear Method, ..\extras\gui\controls\SelectorBar.ec:59
  7 GlobalSettingsDialog_OnDestroy Method, src\dialogs\GlobalSettingsDialog.ec:204
  8 __ecereNameSpace__ecere__gui__Window_DestroyEx Method, src\gui\Window.ec:5471
  9 __ecereNameSpace__ecere__gui__Window_Destroy Method, src\gui\Window.ec:6290
 10 __ecereInstMeth___ecereNameSpace__ecere__gui__controls__Button_NotifyClicked__00000000 Function, src\dialogs\GlobalSettingsDialog.ec:55
 11 __ecereNameSpace__ecere__gui__controls__Button_OnLeftButtonUp Method, src\gui\controls\Button.ec:574
 12 __ecereNameSpace__ecere__gui__controls__Button_OnKeyUp Method, src\gui\controls\Button.ec:728
 13 __ecereNameSpace__ecere__gui__Window_KeyMessage Method, src\gui\Window.ec:4519
 14 __ecereNameSpace__ecere__gui__Window_ProcessHotKeys Method, src\gui\Window.ec:4594
 15 __ecereNameSpace__ecere__gui__Window_KeyMessage Method, src\gui\Window.ec:4514
 16 __ecereNameSpace__ecere__gui__drivers__Win32Interface_ProcessKeyMessage Method, src\gui\drivers\Win32Interface.ec:404
 17 __ecereNameSpace__ecere__gui__drivers__Win32Interface_ApplicationWindow Method, src\gui\drivers\Win32Interface.ec:655
 18 inside USER32!IsDialogMessageW, C:\Windows\SysWOW64\user32.dll
No tags attached.
related to 0000657closed jerome Crash in GlobalSettingsDialog deleting 2 compilers in a row 
Issue History
2011-10-14 03:50jeromeNew Issue
2011-10-14 03:56jeromeDescription Updated
2011-10-14 06:25jeromeRelationship addedrelated to 0000657
2011-10-14 20:13jeromeStatusnew => resolved
2011-10-14 20:13jeromeFixed in Version => 0.44 pre-release 2
2011-10-14 20:13jeromeResolutionopen => fixed
2011-10-14 20:13jeromeAssigned To => jerome
2011-10-14 20:13jeromeNote Added: 0000477
2012-03-08 15:33redjTarget Versionold 0.44.pre2 => 0.44 Ryoan-ji
2012-03-08 18:07redjFixed in Version => 0.44 Ryoan-ji
2012-03-29 07:52redjCategory => ide
2012-03-29 07:52redjProject@3@ => Ecere SDK
2013-05-19 22:15jeromeStatusresolved => closed

Notes
(0000477)
jerome   
2011-10-14 20:13   
Reverted unstable Stacker.ec modifications (FlipStacker/Spring etc.)

https://github.com/ecere/sdk/commit/28a771133cb578c040cf7f6e06588400eb3103ec [^] [^]