Re: Problem with memory management with builder.



Hi Krzysztof,


Deleting an already deleted object will not always be guaranteed to
cause obvious problems like a segmentation fault. Sometimes, depending
on what order objects are created in and whether you try to do anything
after the delete, you may see no apparent problem. Try adding some heap
activity between the delete window and the delete button; you may be
able to provoke the crash that way. Or run it with valgrind, which
should report the double-delete whether it would actually crash or not.

Cheers,
Rob
I do some heap activity but it does not change anything. I run valgrind. See attached log. There is no invalid free.

 
--
-----------------------------------------------------------
Krzysztof Łochwinowicz

UI file attached also.

--
-----------------------------------------------------------
Krzysztof Łochwinowicz

Attachment: ssshm.ui
Description: application/designer



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]