Re: I met a strange problem: after dispose g_object_ref could also succeed!
- From: Dan Kegel <dank kegel com>
- To: Peter Cai <newptcai gmail com>
- Cc: gtk-list gnome org
- Subject: Re: I met a strange problem: after dispose g_object_ref could also succeed!
- Date: Fri, 19 Jun 2009 07:16:10 -0700
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]