[Bugs] #3670 Browse IMME: Browse segfaults when closing
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Wed Jun 13 10:42:57 EDT 2012
#3670: Browse segfaults when closing
--------------------------+-------------------------------------------------
Reporter: erikos | Owner: erikos
Type: defect | Status: new
Priority: Immediate | Milestone: 0.96
Component: Browse | Version: 0.96.x
Severity: Critical | Keywords: 12.1.0, patch
Distribution: OLPC | Status_field: Assigned
--------------------------+-------------------------------------------------
Comment(by humitos):
OK. I think that {{{GObject.threads_init()}}} allow us to use the Python's
{{{threading}}} module, e.i "import threading".
I checked that the {{{threading}}} module is imported in Browse in the
{{{pdfviewer.pdf}}} but it's not used (and should be removed) and I think
that it was added some time before.
Besides, Get Books uses Python's threading module to download things from
the Internet ({{{opds.py}}} file) and if I comment the
{{{GObject.threads_init()}}} line it don't work anymore.
The [http://developer.gnome.org/pygobject/stable/glib-functions.html
#function-glib--threads-init doc link] seems to miss something in the
middle of the explanation: pay attention to the "the the". Even more, if
you copy and paste that line on a text entry you will see a big space
between the "the the" words -> that made me think about there is something
missing there...
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/3670#comment:12>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list