[Sugar-devel] [ASLO] Release Clock-17

Gonzalo Odiard godiard at sugarlabs.org
Wed May 13 11:40:11 EDT 2015

I have pushed two changes to the clock activity repo
and send a pr to sugar-toolkit-gtk3 [1]

The pr avoid checking if the espeak plugin is installed every time
the enabled() function is called. I suppose that could remove the scanning.

I couldn't reproduce the crash here, testing in sugar-build on F21,
in a xo-1 with 13.2.4 and in a vm with ubuntu.


[1] https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/215

On Tue, May 12, 2015 at 7:21 PM, James Cameron <quozl at laptop.org> wrote:

> On Tue, May 12, 2015 at 06:22:42PM -0300, Gonzalo Odiard wrote:
> > I think I found the problem.
> > Could you confirm replacing the attached file in the activity dir?
> Thanks, that's much better.  The warning about rate and the delay
> before speaking have been fixed.
> Rarely, about one in 10 times, it doesn't speak, and reports in log
> (sugar-activity:2492): GStreamer-CRITICAL **: gst_memory_new_wrapped:
> assertion `offset + size <= maxsize' failed
> (sugar-activity:2492): GStreamer-CRITICAL **: gst_buffer_insert_memory:
> assertion `mem != NULL' failed
> Rarely, about one in 5 times, it does segmentation fault.  I've
> captured two core dumps by adding "ulimit -c unlimited" to
> ~/.sugar/debug.  Both showed similar stack traces; a thread busy doing
> an fts_open and fts_sort at the same time as the main thread doing
> something else.
> http://dev.laptop.org/~quozl/z/1YsIKF.txt
> Speculation: the Gst.init() in src/sugar3/speech.py creates a thread
> which is racing with something in the main thread.  fts_open and
> fts_sort are necessary calls for scanning plugins.
> Sometimes the race condition corrupts pointers and we get the silence
> with GStreamer-CRITICAL messages.  Sometimes the corruption causes a
> segmentation fault.
> Perhaps _GstSpeechPlayer should wait for good Gst.State before the
> next call into Gst?
> I remember recent work on GStreamer plugin scan initialisation in
> Sugar, but I can't find it yet.
> --
> James Cameron
> http://quozl.linux.org.au/

Gonzalo Odiard

SugarLabs - Software for children learning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20150513/1e0a4912/attachment-0001.html>

More information about the Sugar-devel mailing list