[packagekit] pkcon install-local throws glib error

Adam Winberg Adam.Winberg at smhi.se
Wed Jan 5 02:01:24 PST 2011


On Tue, 2011-01-04 at 17:55 +0000, Richard Hughes wrote:

> On 4 January 2011 17:51, Adam Winberg
> > running "pkcon install-local" always throws an error for me, anyone
> > recognize this?
> 
> Hmm, works for me, but I'm using git master. What version is this?
> 
> > (pkcon:9475): GLib-CRITICAL **: g_strv_length: assertion `str_array != NULL'
> > failed
> 
> A backtrace would be great, you can probably break on g_logv or g_log.
> 
> Thanks,
> 
> Richard.


I'm running PackageKit-0.5.8-13.el6.x86_64. Here's a backtrace:


(gdb) break g_log
Breakpoint 1 at 0x403f48
(gdb) run install-local /data/temp/Adam.Winberg/numlockx-1.1-1.el6.rf.x86_64.rpm
Starting program: /usr/bin/pkcon install-local /data/temp/Adam.Winberg/numlockx-1.1-1.el6.rf.x86_64.rpm
[Thread debugging using libthread_db enabled]
Simulating install            [=========================]         
Starting                      [=========================]         
Running                       [=========================]         
Resolving dependencies        [=========================]         
Breakpoint 1, 0x0000003325643390 in g_log () from /lib64/libglib-2.0.so.0
(gdb) bt
#0  0x0000003325643390 in g_log () from /lib64/libglib-2.0.so.0
#1  0x000000332565864a in g_strv_length () from /lib64/libglib-2.0.so.0
#2  0x0000003326a31d16 in ?? () from /usr/lib64/libpackagekit-glib2.so.12
#3  0x000000332764c6f9 in ?? () from /lib64/libgio-2.0.so.0
#4  0x0000003325638f0e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#5  0x000000332563c938 in ?? () from /lib64/libglib-2.0.so.0
#6  0x000000332563cd55 in g_main_loop_run () from /lib64/libglib-2.0.so.0
#7  0x000000000040550d in ?? ()
#8  0x0000003323e1ec5d in __libc_start_main () from /lib64/libc.so.6
#9  0x0000000000404049 in ?? ()
#10 0x00007fffffffdf78 in ?? ()
#11 0x000000000000001c in ?? ()
#12 0x0000000000000003 in ?? ()
#13 0x00007fffffffe2b7 in ?? ()
#14 0x00007fffffffe2c6 in ?? ()
#15 0x00007fffffffe2d4 in ?? ()
#16 0x0000000000000000 in ?? ()
(gdb) 




/Adam

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20110105/2995858a/attachment-0003.htm>


More information about the PackageKit mailing list