Bug 452080 - gpk-update-viewer crashes
gpk-update-viewer crashes
Status: CLOSED DUPLICATE of bug 456513
Product: Fedora
Classification: Fedora
Component: gnome-packagekit (Show other bugs)
9
All Linux
low Severity high
: ---
: ---
Assigned To: Robin Norwood
Fedora Extras Quality Assurance
:
: 453823 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-19 04:16 EDT by Timon
Modified: 2008-10-27 09:12 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-10-27 09:12:23 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
bug-buddy report (265.43 KB, text/plain)
2008-06-19 04:16 EDT, Timon
no flags Details
gdb backtrace (1.71 KB, application/octet-stream)
2008-06-25 06:24 EDT, Timon
no flags Details
real gdb backtrace (2.77 KB, text/plain)
2008-06-25 06:28 EDT, Timon
no flags Details
callgrind (1.52 MB, text/plain)
2008-06-26 05:07 EDT, Timon
no flags Details
backtrace from gdb (3.82 KB, text/plain)
2008-07-04 05:54 EDT, JanS
no flags Details
gpk-update-viewer-bugreport (1.23 KB, text/plain)
2008-07-27 10:28 EDT, JanS
no flags Details
gpk-update-viewer output, run by user, after update from testing (1.27 KB, text/plain)
2008-07-27 10:31 EDT, JanS
no flags Details
Bug Buddy report (335.12 KB, text/plain)
2008-07-30 07:06 EDT, Antonio
no flags Details

  None (edit)
Description Timon 2008-06-19 04:16:11 EDT
[timon@localhost ~]$ rpm -q gnome-packagekit
gnome-packagekit-0.1.12-14.20080516.fc9.2.i386

bug-buddy report in attachment
Comment 1 Timon 2008-06-19 04:16:11 EDT
Created attachment 309826 [details]
bug-buddy report
Comment 2 Richard Hughes 2008-06-22 11:14:27 EDT
Could you run gpk-update-viewer under gdb and attach the backtrace here please?
Thanks.
Comment 3 Timon 2008-06-25 06:24:49 EDT
Created attachment 310248 [details]
gdb backtrace
Comment 4 Timon 2008-06-25 06:28:18 EDT
Created attachment 310249 [details]
real gdb backtrace

sorry :)
Comment 5 Richard Hughes 2008-06-25 10:00:11 EDT
David, PolicyKit bug?
Comment 6 David Zeuthen 2008-06-25 11:26:23 EDT
(In reply to comment #5)
> David, PolicyKit bug?

Unlikely, haven't seen other PolicyKit bugs about crashing. More like
bad/corrupt data being passed to the library.
Comment 7 Timon 2008-06-26 05:07:13 EDT
Created attachment 310315 [details]
callgrind

valgrind --tool=callgrind gpk-update-viewer
maybe this info can help you
Comment 8 Richard Hughes 2008-07-04 05:39:37 EDT
*** Bug 453823 has been marked as a duplicate of this bug. ***
Comment 9 JanS 2008-07-04 05:54:17 EDT
Created attachment 311023 [details]
backtrace from gdb

#0  0x00000039a8404560 in _compute_polkit_result (action=<value optimized out>)
at polkit-gnome-action.c:800
#1  0x00000039a8406038 in set_property (object=<value optimized out>,
prop_id=<value optimized out>, value=<value optimized out>,
    pspec=<value optimized out>) at polkit-gnome-action.c:1129
#2  0x000000399c410ae0 in ?? () from /lib64/libgobject-2.0.so.0
#3  0x00000039a84060a9 in polkit_gnome_action_constructor (type=<value
optimized out>, n_construct_properties=<value optimized out>,
    construct_properties=<value optimized out>) at polkit-gnome-action.c:381
#4  0x000000399c411063 in g_object_newv () from /lib64/libgobject-2.0.so.0
#5  0x000000399c411aab in g_object_new_valist () from
/lib64/libgobject-2.0.so.0
#6  0x000000399c411cfc in g_object_new () from /lib64/libgobject-2.0.so.0
#7  0x00000039a8404ae7 in polkit_gnome_action_new_default (name=<value
optimized out>, polkit_action=<value optimized out>, label=<value optimized
out>,
    tooltip=<value optimized out>) at polkit-gnome-action.c:1061
#8  0x0000000000406716 in main (argc=1, argv=0x7fffd2fd01e8) at
gpk-update-viewer.c:1910


Whole output from gdb on attachment
Comment 10 JanS 2008-07-27 07:48:41 EDT
Is this bug under investigation?

I am still experiencing constant crashes of gpk-update-viewer as user.
As root I can run it, but I cannot update. So it is hard to update only some of
the packages. All or nothing.
Comment 11 Richard Hughes 2008-07-27 09:08:43 EDT
JanS, can you try the packages in updates-testing please? You only have to
update gnome-packagekit and PackageKit.
Comment 12 JanS 2008-07-27 10:27:09 EDT
I have updated gnome-packagekit and PackageKit from update-testing.
Yum shown some errors during procedure, when updating gnome-packagekit:

many errors like:
  Unknown media type in type 'print/class'
  Unknown media type in type 'fonts/package'

and after cleanup:

ERROR:dbus.connection:Unable to set arguments () according to signature u's':
<type 'exceptions.TypeError'>: More items found in D-Bus signature than in
Python arguments
Unable to send message to PackageKit"



And gpk-update-viewer still was crashing.

Only after total reboot of machine it works.


There was an additional issue before reboot. When gpk-update-viewer was run by
root (because when run by user was crashing) when going to Review, Getting
details... was always working and never ending.
For eg. this process was still on:
root     31462 29873  4 44696 16544   1 15:45 ?        00:00:00 /usr/bin/python
/usr/share/PackageKit/helpers/yum/get-update-detail.py
kernel-devel;2.6.25.11-97.fc9;x86_64;updates

only kill -9 was needed. Any subsequent try to get update detailes ended same
way, and get-update-detail.py was hanging all the time.

Now after reboot almost everything works. Except that update detailes are still
not cached (bug 453986).
Comment 13 JanS 2008-07-27 10:28:55 EDT
Created attachment 312730 [details]
gpk-update-viewer-bugreport
Comment 14 JanS 2008-07-27 10:31:08 EDT
Created attachment 312731 [details]
gpk-update-viewer output, run by user, after update from testing
Comment 15 JanS 2008-07-27 10:38:55 EDT
ATTENTION. I now wy after reboot it worked!

Its because I had not any programs running, especially Firefox.

Now when I had started Firefox gpk-update-viewer crashes again.
When I am closing Firefox, gpk-update-viewer works.
When I am starting it, gpk-update-viewer crashes, an so on...

Additional info:
  firefox.x86_64                           3.0.1-1.fc9
Comment 16 Antonio 2008-07-30 07:06:18 EDT
Created attachment 312983 [details]
Bug Buddy report

I found an interesting relationship: removing the Notification Area (2.22.2 in
my case), the gpk-application runs seamless....
Comment 17 aravind.parchuri 2008-08-27 21:14:29 EDT
I can confirm this bug, it seems to be a generic problem with gnome apps using packagekit. See bug 456513.
Comment 18 Richard Hughes 2008-10-27 09:12:23 EDT
Okay. thanks.

*** This bug has been marked as a duplicate of bug 456513 ***

Note You need to log in before you can comment on or make changes to this bug.