[Bugs] #4530 Sugar URGE: Sugar crashing on opening the pippy activity from journal
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Thu Aug 15 04:49:58 EDT 2013
#4530: Sugar crashing on opening the pippy activity from journal
------------------------------+-------------------------------
Reporter: suraj.gillespie | Owner:
Type: defect | Status: new
Priority: Urgent | Milestone: Unspecified
Component: Sugar | Version: Unspecified
Severity: Major | Resolution:
Keywords: journal | Distribution/OS: Unspecified
Bug Status: New |
------------------------------+-------------------------------
\
\
\
\
Changes (by dnarvaez):
* cc: walter (added)
\
\
\
Comment:
Oh, it looks like mime.get_mime_parents() is actually already using
list_parents(). I think the real problem is the annotation on
xdg_mime_list_parents. It should be transfer container, not transfer full.
In fact that function duplicates only the array, not the strings it
contains. The following fixes the issue for me
- * Return value: (array zero-terminated=1) (transfer full):
+ * Return value: (transfer container):
At least it fixes mime.get_mime_parents("text/xml"), which is crashing
without that change for me (after running it a couple of times).
\
\
\
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/4530#comment:9>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list