[g-a-devel]Re: ref counting issue ...



Michael,

is there a way I can reproduce this problem?

Padraig

> Subject: ref counting issue ...
> To: "Padraig O'Briain" <Padraig Obriain sun com>
> Cc: accessibility mailing list <gnome-accessibility-devel gnome org>
> Content-Transfer-Encoding: 7bit
> Mime-Version: 1.0
> 
> Hi Padraig,
> 
> 	Looks like a ref counting problem; somehow the accessible seems to have
> got destroyed - or not got created yet. Whatever the cause, we need some
> NULL checks around here perhaps:
> 
> #6  0x40cf6560 in gail_focus_notify (widget=0x8406ab8) at gail.c:352
> 352	      atk_focus_tracker_notify (atk_obj);
> (gdb) l
> 347	      gail_focus_notify_when_idle (focus_widget);
> 348	    }
> 349	  else
> 350	    {
> 351	      atk_obj  = gail_get_accessible_for_widget (focus_widget,
> &transient);
> 352	      atk_focus_tracker_notify (atk_obj);
> 353	      if (transient)
> 354	        g_object_unref (atk_obj);
> 355	    }
> 356	}
> 
> 	The trace:
> 
> (gdb) bt
> #0  0x408244bf in g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR,
> format=0x40cbed80 "file %s: line %d (%s): assertion failed: (%s)", 
>     args1=0xbffff1bc) at gmessages.c:560
> #1  0x4082456b in g_log (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR,
> format=0x40cbed80 "file %s: line %d (%s): assertion failed: (%s)")
>     at gmessages.c:583
> #2  0x40ca589e in spi_accessible_construct (type=135208880, o=0x0) at
> accessible.c:453
> #3  0x40ca5841 in spi_accessible_new (o=0x0) at accessible.c:442
> #4  0x40cd2d3b in spi_atk_bridge_focus_tracker (object=0x0) at
> bridge.c:311
> #5  0x4052555b in atk_focus_tracker_notify (object=0x0) at atkutil.c:196
> #6  0x40cf6560 in gail_focus_notify (widget=0x8406ab8) at gail.c:352
> #7  0x40cf64f8 in gail_focus_idle_handler (data=0x8406ab8) at gail.c:328
> #8  0x4081fd10 in g_idle_dispatch (source=0x840be90, callback=0x40cf64c0
> <gail_focus_idle_handler>, user_data=0x8406ab8) at gmain.c:3129
> #9  0x4081d6de in g_main_dispatch (context=0x80c87f0) at gmain.c:1617
> #10 0x4081e4f5 in g_main_context_dispatch (context=0x80c87f0) at
> gmain.c:2161
> #11 0x4081e888 in g_main_context_iterate (context=0x80c87f0, block=1,
> dispatch=1, self=0x80baad0) at gmain.c:2242
> #12 0x4081ef2e in g_main_loop_run (loop=0x8269508) at gmain.c:2462
> #13 0x40361cab in gtk_main () at gtkmain.c:916
> #14 0x0806593d in main (argc=1, argv=0xbffff684) at nautilus-main.c:263
> #15 0x408dc306 in __libc_start_main (main=0x8065480 <main>, argc=1,
> ubp_av=0xbffff684, init=0x8059800 <_init>, fini=0x809d5f0 <_fini>, 
>     rtld_fini=0x4000d2dc <_dl_fini>, stack_end=0xbffff67c) at
> ../sysdeps/generic/libc-start.c:129
> 
> 	Regards,
> 
> 		Michael.
> 
> -- 
>  mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot
> 




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