Bug 955557

Summary: packagekitd crashes
Product: [openSUSE] openSUSE Tumbleweed Reporter: Hendrik Woltersdorf <hendrikw>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: chcao, dimstar, hendrikw
Version: Current   
Target Milestone: ---   
Hardware: i586   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: log snippet with crash info
core dump of crashed packagekitd
several logs from gdb and valgrind

Description Hendrik Woltersdorf 2015-11-18 09:02:28 UTC
Created attachment 656379 [details]
log snippet with crash info

I am using oS Tumbleweed with KDE Plasma5 desktop, current version "openSUSE Tumbleweed (20151116) (i586)".
After login I get error messages from the update applet. In the log I find:
...
Nov 18 09:48:30 linux-yb52.local packagekitd[2742]: *** stack smashing detected ***: /usr/lib/packagekitd terminated
Nov 18 09:48:30 linux-yb52.local packagekitd[2742]: ======= Backtrace: =========
Nov 18 09:48:30 linux-yb52.local packagekitd[2742]: /lib/libc.so.6(+0x6afc3)[0xb70c9fc3]
Nov 18 09:48:30 linux-yb52.local packagekitd[2742]: /lib/libc.so.6(__fortify_fail+0x37)[0xb715a187]
Nov 18 09:48:30 linux-yb52.local packagekitd[2742]: /lib/libc.so.6(+0xfb148)[0xb715a148]
Nov 18 09:48:30 linux-yb52.local packagekitd[2742]: /usr/lib/packagekit-backend/libpk_backend_zypp.so(_fini+0x0)[0xb4cf2144]
Nov 18 09:48:30 linux-yb52.local packagekitd[2742]: /usr/lib/packagekit-backend/libpk_backend_zypp.so(+0x2f3b9)[0xb4ceb3b9]
Nov 18 09:48:30 linux-yb52.local audit[2781]: ANOM_ABEND auid=4294967295 uid=0 gid=0 ses=4294967295 pid=2781 comm="PK-Backend" exe="/usr/lib/packagekitd" sig=6
...

For details see he attached files.
Comment 1 Hendrik Woltersdorf 2015-11-18 09:08:55 UTC
Created attachment 656384 [details]
core dump of crashed packagekitd
Comment 2 Dominique Leuenberger 2015-11-18 09:47:46 UTC
What activities did you try to perform?

Can you please produce a gdb backtrace? (core files are fun: but they are very restrictive on the arch - and I don't have any i586 setup around to even try to produce a BT out of the core)

It might also be worthy to try to run packagekitd inside of valgrind, especially as it segfaults due to stach smashing...
Comment 3 Hendrik Woltersdorf 2015-11-18 13:39:52 UTC
Created attachment 656449 [details]
several logs from gdb and valgrind

I'm new to tools like gdb and valgrind. If you want me to run them with specific commands, options, etc., please tell me so.
I attach, what I managed to produce so far.
Comment 4 Hendrik Woltersdorf 2015-11-18 13:42:38 UTC
To answer your question about activities:
I did nothing manually firsthand. packagekitd gets started automatically after every login.
Comment 5 Hendrik Woltersdorf 2017-08-14 18:06:15 UTC
I tested the issue with the current version of openSUSE Tumbleweed. Even though I'm suffering from the key delete problem, I don't see crashes any more.
So this problem here seems to be fixed.