[packagekit] I've broken all your nice backend code...

Daniel Nicoletti dantti12 at gmail.com
Mon Jun 11 18:13:51 PDT 2012


hmmm aptcc has just ported to the itemProgress()
signal, and trying to test is giving lots
of segfaults this time, tho some of them (refresh-cache)
aren't related to my changes, does this looks familiar?

(gdb) bt
#0  0x00007ffff6688445 in __GI_raise (sig=<optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff668bbab in __GI_abort () at abort.c:91
#2  0x00007ffff66c5e2e in __libc_message (do_abort=2,
fmt=0x7ffff67ce0d0 "*** glibc detected *** %s: %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
#3  0x00007ffff66d0626 in malloc_printerr (action=3,
str=0x7ffff67ce2c0 "double free or corruption (fasttop)",
ptr=<optimized out>)
    at malloc.c:5007
#4  0x00007ffff6f557a3 in g_value_unset () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5  0x00007ffff6f389fe in g_object_get_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6  0x00007ffff6f38d97 in g_object_get () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7  0x000000000041435c in pk_transaction_package_list_to_string
(array=0x7fffe8004b40) at pk-transaction.c:790
#8  pk_transaction_finished_cb (backend=<optimized out>,
exit_enum=<optimized out>, transaction=0x6a2a20) at
pk-transaction.c:1185
#9  0x00007ffff6f331e9 in g_cclosure_marshal_VOID(unsigned int0_t,
void) () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007ffff6f30eca in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007ffff6f49741 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007ffff6f4a242 in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x000000000041d38e in pk_backend_finished_delay (data=<optimized
out>) at pk-backend.c:2373
#14 0x00007ffff6c7491b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007ffff6c73d53 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007ffff6c740a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007ffff6c7449a in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x000000000040d10e in main (argc=1, argv=0x7fffffffe658) at pk-main.c:351

Best


More information about the PackageKit mailing list