Re: Problem with memory management with builder.

2011/6/15 Robert Pearce <rob bdt-home demon co uk>
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.

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

Krzysztof Łochwinowicz

Attachment: valgrind_log.tar.bz2
Description: BZip2 compressed data

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