Comment 3 for bug 384643

Revision history for this message
Rick Spencer (rick-rickspencer3) wrote : Re: credentials.get_request_token function causes a segmentation fault

Ok, the secret to causing the seg fault seems to be that I am running the application UI on a thread, starting gtk.main() in a context like this:
 gtk.gdk.threads_init()
 gtk.gdk.threads_enter()
 gtk.main()
 gtk.gdk.threads_leave()

When I comment out gtk.gdk.threads_enter(), and gtk.gdk.threads_leave() the program does not seg fault.