[packagekit] Apt backend - PkPackageId annoyance

Richard Hughes hughsient at gmail.com
Mon Jun 9 01:55:29 PDT 2008

On Fri, 2008-06-06 at 23:14 +0200, Patrick Niklaus wrote:
> >
> > Crashing is never good, apologies. There's a couple of bugfixes in git
> > master that might fix this. If you can get a backtrace I can be sure.
> >
> I attached the backtrace. It is not too helpful, but I was able to
> narrow it down to line 372 in gpk-application.c:
> repo_name = (const gchar *) g_hash_table_lookup
> (application->priv->repos, ident->data);
> Which is reasonable, since ident->data is NULL and doing a hash tabel
> lookup on NULL will result in a segmentation fault.

Correct, how silly of me. I've protected that in git, which should fix
the bug. Many thanks for tracking this one down.


More information about the PackageKit mailing list