Package: python-gudev
Version: 147.1-1
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I hit the following crash:

***MEMORY-ERROR***: [19405]: GSlice: assertion failed: sinfo->n_allocated > 0

Program received signal SIGABRT, Aborted.
0x00007ffff69fe175 in *__GI_raise (sig=<value optimized out>) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
64      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
        in ../nptl/sysdeps/unix/sysv/linux/raise.c

(gdb) where
#0  0x00007ffff69fe175 in *__GI_raise (sig=<value optimized out>) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff6a00f80 in *__GI_abort () at abort.c:92
#2  0x00007ffff5b7630e in mem_error (format=0x7ffff5baabd5 "assertion failed: 
%s") at /tmp/buildd/glib2.0-2.24.1/glib/gslice.c:1209
#3  0x00007ffff5b76703 in slab_allocator_free_chunk (chunk_size=<value 
optimized out>, mem=0xc8f4c0) at /tmp/buildd/glib2.0-2.24.1/glib/gslice.c:1091
#4  0x00007ffff5b7799b in magazine_cache_trim (ix=<value optimized out>, 
magazine_chunks=<value optimized out>, count=<value optimized out>) at 
/tmp/buildd/glib2.0-2.24.1/glib/gslice.c:626
#5  magazine_cache_push_magazine (ix=<value optimized out>, 
magazine_chunks=<value optimized out>, count=<value optimized out>) at 
/tmp/buildd/glib2.0-2.24.1/glib/gslice.c:657
#6  0x00007ffff5b77f47 in thread_memory_magazine2_unload (mem_size=<value 
optimized out>, mem_chain=<value optimized out>, next_offset=<value optimized 
out>) at /tmp/buildd/glib2.0-2.24.1/glib/gslice.c:756
#7  IA__g_slice_free_chain_with_offset (mem_size=<value optimized out>, 
mem_chain=<value optimized out>, next_offset=<value optimized out>) at 
/tmp/buildd/glib2.0-2.24.1/glib/gslice.c:940
#8  0x00007ffff66549bc in _wrap_g_udev_client_query_by_subsystem 
(self=0xbfd1e0, args=<value optimized out>, kwargs=<value optimized out>) at 
gudev.override:156
#9  0x00000000004a7f85 in call_function (f=Frame 0x92aa10, for file 
./devgraph.py, line 50, in <module> (), throwflag=<value optimized out>) at 
../Python/ceval.c:3750
#10 PyEval_EvalFrameEx (f=Frame 0x92aa10, for file ./devgraph.py, line 50, in 
<module> (), throwflag=<value optimized out>) at ../Python/ceval.c:2412
#11 0x00000000004a99a1 in PyEval_EvalCodeEx (co=0x7ffff7efd030, globals=<value 
optimized out>, locals=<value optimized out>, args=0x0, argcount=<value 
optimized out>, kws=<value optimized out>, kwcount=0, defs=0x0, defcount=0, 
closure=0x0) at ../Python/ceval.c:3000
#12 0x00000000004a9a72 in PyEval_EvalCode (co=0x4bcd, globals=<unknown at 
remote 0x4bcd>, locals=<unknown at remote 0x6>) at ../Python/ceval.c:541
#13 0x00000000004c9c8e in run_mod (fp=<value optimized out>, 
filename=0x7fffffffe454 "./devgraph.py", start=<value optimized out>, 
globals=<value optimized out>, locals=<value optimized out>, closeit=1, 
flags=0x7fffffffdfe0) at ../Python/pythonrun.c:1351
#14 PyRun_FileExFlags (fp=<value optimized out>, filename=0x7fffffffe454 
"./devgraph.py", start=<value optimized out>, globals=<value optimized out>, 
locals=<value optimized out>, closeit=1, flags=0x7fffffffdfe0) at 
../Python/pythonrun.c:1337
#15 0x00000000004c9ea4 in PyRun_SimpleFileExFlags (fp=<value optimized out>, 
filename=0x7fffffffe454 "./devgraph.py", closeit=1, flags=0x7fffffffdfe0) at 
../Python/pythonrun.c:941
#16 0x000000000041a6bd in Py_Main (argc=-135311232, argv=<value optimized out>) 
at ../Modules/main.c:577
#17 0x00007ffff69eac4d in __libc_start_main (main=<value optimized out>, 
argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized 
out>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
stack_end=0x7fffffffe0f8) at libc-start.c:228
#18 0x00000000004198d9 in _start ()

The result of g_udev_client_query_by_subsystem is being freed with
g_slist_free, when it should be freed by g_list_free.

I've fixed this in
<http://github.com/yrro/python-gudev/commit/0f946dc55d15463e451ac9784ab50fffef7ad521>.

- -- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (430, 'testing'), (420, 'unstable'), (410, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-gudev depends on:
ii  libc6                         2.11.1-3   Embedded GNU C Library: Shared lib
ii  libglib2.0-0                  2.24.1-1   The GLib library of C routines
ii  libgudev-1.0-0                157-1      GObject-based wrapper library for 
ii  python                        2.6.5-3    An interactive high-level object-o
ii  python-support                1.0.8      automated rebuilding support for P

python-gudev recommends no packages.

python-gudev suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkwc54kACgkQshl/216gEHgHcQCgzJOwbaVwgrlInB1lTzrWFQac
ac8AoOsIABLkD2qECGtFU0xyUMNDGIlM
=6RDZ
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to