| Summary: | After installed deepin music the memory it used rise rise and rise till used up of the machine's in fedora 19 KDE | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Chen Chen <243750496> |
| Component: | pygtk2 | Assignee: | leigh scott <leigh123linux> |
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 22 | CC: | fedora, walters |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-03-04 00:16:33 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Chen Chen
2013-08-28 06:31:42 UTC
pygtk2-2.24.0-7.fc19.src.rpm no need to install i add it by mistake it's true cause of pygtk bug , i try to patched it and creat rpm pacage , after installed the patched pygtk2.rpm , it solved . here is the patch:
Index: pygtk-2.24.0/pangocairo.override
===================================================================
--- pygtk-2.24.0.orig/pangocairo.override 2012-04-14 01:40:59.568703232 +0800
+++ pygtk-2.24.0/pangocairo.override 2012-04-14 01:41:05.792703324 +0800
@@ -119,10 +119,15 @@
_wrap_pango_cairo_create_layout(PyGObject *self)
{
PangoLayout *ret;
+ PyObject *py_ret;
ret = pango_cairo_create_layout(PycairoContext_GET(self));
/* pygobject_new handles NULL checking */
- return pygobject_new((GObject *)ret);
+ py_ret = pygobject_new((GObject *) ret);
+ if (ret) {
+ g_object_unref(ret);
+ }
+ return py_ret;
}
static PyObject *
add this patch (named 10_fix_create_layout_unref.patch) to the pygtk2.spec: Patch1: 10_fix_create_layout_unref.patch %patch1 -p1 and then build rpm pacage from pygtk2-2.24.0-7.fc19.src.rpm This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22 f19 is EOL |