Description of problem: I'm experiencing some g_slice issue so I've set: export G_SLICE="debug-blocks" export MALLOC_CHECK_=2 export G_DEBUG="gc-friendly" the following python code: import gudev gudev_client = gudev.Client(["usb", "input"]) input_devices = gudev_client.query_by_subsystem("input") causes: GSlice: MemChecker: attempt to release block with invalid size: 0x8e5b660 size=12 invalid-size=8 generating a coredump. #0 0x001a9416 in __kernel_vsyscall () #1 0x0056f2f1 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #2 0x00570d5e in abort () at abort.c:92 #3 0x00442b49 in g_slice_free_chain_with_offset (mem_size=8, mem_chain= 0x8e5b660, next_offset=4) at gslice.c:980 #4 0x00442e2e in g_slist_free (list=0x8e5b660 = {...}) at gslist.c:166 #5 0x0038fcf6 in _wrap_g_udev_client_query_by_subsystem (self=0xb74e55a4, args=('input',), kwargs=0x0) at gudev.override:156 #6 0x00218878 in PyCFunction_Call (func= <built-in method query_by_subsystem of gudev.Client object at remote 0xb74e55a4>, arg=('input',), kw=0x0) at /usr/src/debug/Python-2.7/Objects/methodobject.c:85 in frame #5: 154 source = g_udev_client_query_by_subsystem(G_UDEV_CLIENT(self->obj), subsystem); 155 dest = gslist_to_pylist_objs(source); 156 g_slist_free(source); 157 return dest; at line 156 is called g_slist_free(source) but source is of type GList according to g_udev_client_query_by_subsystem documentation, so the free cause a memory corruption. Version-Release number of selected component (if applicable): python-gudev-debuginfo-147.1-5.fc14.i686 python-gudev-147.1-5.fc14.i686 libgudev1-161-8.fc14.i686 libgudev1-devel-161-8.fc14.i686 How reproducible: Always reproducible
python-gudev-147.1-6.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/python-gudev-147.1-6.fc14
python-gudev-147.1-7.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/python-gudev-147.1-7.fc15
is there any reason for patching python-gudev-147.1 instead of updating it to python-gudev-147.3 ?
python-gudev-147.2-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/python-gudev-147.2-1.fc15
There is no 147.3 version yet. Thanks for pointing out that there is a newer version though, forgot about it. Updated to 147.2 in F15+. I still prefer to keep F14 as bugfix-only with as few changes as possible.
Package python-gudev-147.1-6.fc14: * should fix your issue, * was pushed to the Fedora 14 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-gudev-147.1-6.fc14' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/python-gudev-147.1-6.fc14 then log in and leave karma (feedback).
python-gudev-147.1-6.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
python-gudev-147.2-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.