GNOME Bugzilla – Bug 667632
segfault in gtk_text_view_accessible_update_cursor after a buffer had two textviews and one of those is destroyed
Last modified: 2012-01-12 03:49:02 UTC
Created attachment 204949 [details] backtrace if a GtkTextBuffer has two GtkTextView's, and one of those is destroyed, the application segfaults. <owen> mclasen: any clue why Oli747 has gail classes loaded without intentionally enabling a11y? <mclasen> owen: I'll defer to Company for the detailed analysis, but generally, if you call gtk_widget_get_accessible you'll get a real accessible for your widget nowadays regardless if a11y is turned on or not <mclasen> without looking at the stacktrace, it sounds like the a11y forgets to remove a signal handler when it gets nuked it calls update_cursor from a bunch of signal handlers <mclasen> on the buffer <mclasen> so if the buffer outlives the text view, there might be trouble <owen> yeah, ok, I was trying to figure out how anything got disconencted in a11y/ but I guess most cases the connections are on the widget itself <mclasen> yeah
Should be fixed with http://git.gnome.org/browse/gtk+/commit/?id=cac47f45b758ca89240c19f1ee56f61e8b1da12c and http://git.gnome.org/browse/gtk+/commit/?id=ff1e1e1f9123c69ca2ee733d0c674ba9faa14eaa