bugParaGUI - Bugs: bug #7162, PG_LineEdit segfault

 
 

bug #7162: PG_LineEdit segfault

Submitted by:  None
Submitted on:  Sat 10 Jan 2004 01:12:52 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sat 10 Jan 2004 01:12:52 AM UTC, original submission:

If you activate a PG_LineEdit object (i.e. give it the focus), and then destroy the widget containing this object, the widget will first hide, then destroy all its children. When hiding, the lineedit will submit a message "lost focus" addressed to itself to the queue. Then it is deleted. However, the message is only processed after the widget has finished destroying its children, so this algorithm leads to a definite segfault
- create a widget with a PG_LineEdit or related object
- give the edit the focus
- delete the widget

One can circumvent this bug by manually hiding the edit a while before the widget is deleted, but nevertheless, this bug is nasty.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #961:  bug.tar.bz2 added by None (976B - application/octet-stream - basisc demonstration program to illustrate this bug)

 

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):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Sat 10 Jan 2004 01:12:52 AM UTCNoneAttached File-=>Added bug.tar.bz2, #941

Back to the top


Powered by Savane 3.1-cleanup