Re: I met a strange problem: after dispose g_object_ref could also succeed!



On Fri, Jun 19, 2009 at 1:20 AM, Peter Cai<newptcai gmail com> wrote:
> I met a strange problem: after dispose ( or during dispose) g_object_ref
> could also succeed!

Have you tried running your program under Valgrind?  If that finds
any warnings, your program's behavior is ill-defined, and all bets
are off.  You should do
  export G_SLICE=always-malloc
before running under valgrind for best results.
- Dan


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