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:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment (Rich 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.



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

Attach Files:

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 add your encouragement to it.
This task has 0 encouragements so far.

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.7