bugParaGUI - Bugs: bug #7162, PG_LineEdit segfault

 
 

bug #7162: PG_LineEdit segfault

Submitter:  None
Submitted:  Sat 10 Jan 2004 01:12:52 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

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

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2004-01-10 None Attached File- Added bug.tar.bz2, #941

Back to the top

Powered by Savane 3.13-54b4.
Corresponding source code