Bug 16679 - gpk-update-viewer (Show Available Updates) crashes
Summary: gpk-update-viewer (Show Available Updates) crashes
Status: RESOLVED INVALID
Alias: None
Product: PackageKit
Classification: Unclassified
Component: client-library (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-11 15:57 UTC by Vladimir Mencl
Modified: 2008-09-26 08:06 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Mencl 2008-07-11 15:57:20 UTC
When I click "Show Available Updates" or run gpk-update-viewer from the command-line, it immediately crashes.

I am running Fedora 9, up to date as of 2008-07-11.
I have installed the debuginfo packages, and this is the stack trace I get in gdb:

gdb gpk-update-viewer 
GNU gdb Fedora (6.8-11.fc9)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(gdb) run
Starting program: /usr/bin/gpk-update-viewer 
[Thread debugging using libthread_db enabled]
[New Thread 0xb80ad710 (LWP 1022)]
[WARN  1022] polkit-error.c:143:polkit_error_get_error_message(): error != NULL
 Not built with -rdynamic so unable to print a backtrace

** (gpk-update-viewer:1022): WARNING **: Failed to initialize PolicyKit context: (null)
[WARN  1022] polkit-error.c:156:polkit_error_free(): error != NULL
 Not built with -rdynamic so unable to print a backtrace

(gpk-update-viewer:1022): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gpk-update-viewer:1022): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(gpk-update-viewer:1022): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gpk-update-viewer:1022): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

Program received signal SIGSEGV, Segmentation fault.
0x00936a3a in _compute_polkit_result (action=<value optimized out>) at polkit-gnome-action.c:800
800	        pk_caller = polkit_tracker_get_caller_from_pid (action->priv->pk_g_context->pk_tracker, 
(gdb) bt
#0  0x00936a3a in _compute_polkit_result (action=<value optimized out>) at polkit-gnome-action.c:800
#1  0x00938930 in set_property (object=<value optimized out>, prop_id=<value optimized out>, value=<value optimized out>, pspec=Could not find the frame base for "set_property".
) at polkit-gnome-action.c:1129
#2  0x0011f991 in g_object_constructor (type=<value optimized out>, n_construct_properties=<value optimized out>, construct_params=<value optimized out>) at gobject.c:697
#3  0x0093899b in polkit_gnome_action_constructor (type=Could not find the frame base for "polkit_gnome_action_constructor".
) at polkit-gnome-action.c:381
#4  0x001200de in IA__g_object_newv (object_type=<value optimized out>, n_parameters=<value optimized out>, parameters=<value optimized out>) at gobject.c:937
#5  0x00120cd2 in IA__g_object_new_valist (object_type=<value optimized out>, first_property_name=<value optimized out>, var_args=<value optimized out>) at gobject.c:1027
#6  0x00120e1e in IA__g_object_new (object_type=<value optimized out>, first_property_name=Could not find the frame base for "IA__g_object_new".
) at gobject.c:795
#7  0x00936fe8 in polkit_gnome_action_new_default (name=Could not find the frame base for "polkit_gnome_action_new_default".
) at polkit-gnome-action.c:1061
#8  0x0804d2ae in main (argc=1, argv=0xbffd39b4) at gpk-update-viewer.c:1910
(gdb)
Comment 1 Vladimir Mencl 2008-07-12 23:49:22 UTC
Forgot to specify the version I'm using:

rpm -qa PackageKit\* 
>>
PackageKit-debuginfo-0.1.12-13.20080522.fc9.i386
PackageKit-libs-0.1.12-13.20080522.fc9.i386
PackageKit-0.1.12-13.20080522.fc9.i386
Comment 2 Richard Hughes 2008-09-26 08:06:10 UTC
THis is fixed with 0.2.1, can you try updating to a newer version please?


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.