Bug#563140: application freezes in presentation mode if gtk.gdk.threads_init is called

Peter Ward peteraward at gmail.com
Mon Jan 4 22:18:28 UTC 2010


Okay, so I suppose the real question now is why I need the
gtk.gdk.threads_init().

I was experiencing freezes / crashes when I added the video sink into my
DrawingArea, which I believe was due to the issue here:
http://sourceforge.net/mailarchive/forum.php?thread_name=1258400785.3124.106.camel%40fancy&forum_name=gstreamer-devel

As you can see, the recommended solution there was to use the GDK lock,
which obviously conflicts with the solution upstream have supplied. :(

Peter

2010/1/5 Josselin Mouette <joss at debian.org>

> Le jeudi 31 décembre 2009 à 20:38 +1100, Peter Ward a écrit :
> > Package: python-evince
> > Version: 2.28.0-5
> >
> > I'm trying to write an application which makes use of both gstreamer
> > and python-evince - in order to get gstreamer to work properly, I need
> > to call gtk.gdk.threads_init() when importing modules.
> > This unexpectedly causes problems when using a evince.View widget in
> > presentation mode.
> >
> > I have included below a short program which demonstrates the problem -
> > I can reproduce this bug in both my desktop and my laptop.
> >
> >
> > import gtk
> > gtk.gdk.threads_init() # commenting out this line makes the problem go
> away.
>
> Could you reply to the upstream bug report at
> https://bugzilla.gnome.org/show_bug.cgi?id=606028 ?
> Apparently the recommended code is gobject.threads_init() instead, but
> I’d like to be sure this solution works for you.
>
> Cheers,
> --
>  .''`.      Josselin Mouette
> : :' :
> `. `'   “I recommend you to learn English in hope that you in
>  `-     future understand things”  -- Jörg Schilling
>



-- 
Peter Ward
http://identi.ca/flowblok/
http://flowblok.selfip.net:8001/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20100105/e9de4a98/attachment.htm>


More information about the pkg-gnome-maintainers mailing list