bugClanLib - Bugs: bug #6399, destruction of CL_Window causes...

 
 

bug #6399: destruction of CL_Window causes crash

Submitted by:  Lih-Hern <Lf3T-Hn4D>
Submitted on:  Thu 06 Nov 2003 12:45:52 PM UTC  
 
Category: clanGUISeverity: 3 - Normal
Item Group: Crash ErrorStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: None
Operating System: AllPlanned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 06 Nov 2003 02:44:32 PM UTC, comment #2:

If you try the GUITest program in Tests workspace, class AboutDialog : public CL_Window does close a window using CL_Component::quit. Here is works.

But yes, this is a known and big problem in ClanGUI, and will be looked into. It is most probably caused by buggy cleanups when components are removed.

Kenneth Gangstoe <sphair>
Project Administrator
Thu 06 Nov 2003 01:25:10 PM UTC, comment #1:

hmmm... removing the commented line as bellow from
CL_Component_Generic::~CL_Component_Generic()
seemed to solved the problem. But is this legal?

if (parent)
{
parent->impl->children.remove(owner);
parent->impl->delete_children.remove(owner);
//parent->update();
}

Lih-Hern <Lf3T-Hn4D>
Thu 06 Nov 2003 12:45:52 PM UTC, original submission:

When a window is destructed via CL_Component::quit(), the app crashes. Doing a debug got me into

CL_EventTrigger *CL_GUIManager::get_update_trigger()

where "this" is undefined or targeted to an undefined address.

A weird beheavior since if its self is deleted, how could one even managed to call it?

Lih-Hern <Lf3T-Hn4D>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 12 Jan 2004 04:08:10 PM UTCsphairStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Thu 06 Nov 2003 02:44:32 PM UTCsphairCategoryNone=>(Error - Not Found)
  Item GroupNone=>(Error - Not Found)
  Operating SystemNone=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1