<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.28.3">
</HEAD>
<BODY>
On Tue, 2011-01-04 at 17:55 +0000, Richard Hughes wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
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.
</PRE>
</BLOCKQUOTE>
<BR>
I'm running PackageKit-0.5.8-13.el6.x86_64. Here's a backtrace:<BR>
<BR>
<PRE>
<FONT SIZE="2">(gdb) break g_log</FONT>
<FONT SIZE="2">Breakpoint 1 at 0x403f48</FONT>
<FONT SIZE="2">(gdb) run install-local /data/temp/Adam.Winberg/numlockx-1.1-1.el6.rf.x86_64.rpm</FONT>
<FONT SIZE="2">Starting program: /usr/bin/pkcon install-local /data/temp/Adam.Winberg/numlockx-1.1-1.el6.rf.x86_64.rpm</FONT>
<FONT SIZE="2">[Thread debugging using libthread_db enabled]</FONT>
<FONT SIZE="2">Simulating install [=========================] </FONT>
<FONT SIZE="2">Starting [=========================] </FONT>
<FONT SIZE="2">Running [=========================] </FONT>
<FONT SIZE="2">Resolving dependencies [=========================] </FONT>
<FONT SIZE="2">Breakpoint 1, 0x0000003325643390 in g_log () from /lib64/libglib-2.0.so.0</FONT>
<FONT SIZE="2">(gdb) bt</FONT>
<FONT SIZE="2">#0 0x0000003325643390 in g_log () from /lib64/libglib-2.0.so.0</FONT>
<FONT SIZE="2">#1 0x000000332565864a in g_strv_length () from /lib64/libglib-2.0.so.0</FONT>
<FONT SIZE="2">#2 0x0000003326a31d16 in ?? () from /usr/lib64/libpackagekit-glib2.so.12</FONT>
<FONT SIZE="2">#3 0x000000332764c6f9 in ?? () from /lib64/libgio-2.0.so.0</FONT>
<FONT SIZE="2">#4 0x0000003325638f0e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0</FONT>
<FONT SIZE="2">#5 0x000000332563c938 in ?? () from /lib64/libglib-2.0.so.0</FONT>
<FONT SIZE="2">#6 0x000000332563cd55 in g_main_loop_run () from /lib64/libglib-2.0.so.0</FONT>
<FONT SIZE="2">#7 0x000000000040550d in ?? ()</FONT>
<FONT SIZE="2">#8 0x0000003323e1ec5d in __libc_start_main () from /lib64/libc.so.6</FONT>
<FONT SIZE="2">#9 0x0000000000404049 in ?? ()</FONT>
<FONT SIZE="2">#10 0x00007fffffffdf78 in ?? ()</FONT>
<FONT SIZE="2">#11 0x000000000000001c in ?? ()</FONT>
<FONT SIZE="2">#12 0x0000000000000003 in ?? ()</FONT>
<FONT SIZE="2">#13 0x00007fffffffe2b7 in ?? ()</FONT>
<FONT SIZE="2">#14 0x00007fffffffe2c6 in ?? ()</FONT>
<FONT SIZE="2">#15 0x00007fffffffe2d4 in ?? ()</FONT>
<FONT SIZE="2">#16 0x0000000000000000 in ?? ()</FONT>
<FONT SIZE="2">(gdb) </FONT>
</PRE>
<BR>
<BR>
<BR>
/Adam<BR>
<BR>
</BODY>
</HTML>