Bug 681420

Summary: Packagekit with zypp-backend crashes while retrieving updates
Product: [openSUSE] openSUSE 11.4 Reporter: Forgotten User --EoyBps8f <forgotten_--EoyBps8f>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: martin.schlander
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User --EoyBps8f 2011-03-21 22:25:59 UTC
User-Agent:       Mozilla/5.0 (X11; Linux i686; rv:2.0b12) Gecko/20110222 Firefox/4.0b12

If I run pkcon get-updates I get:

pkcon get-updates
Aktualisierungen werden abgerufen[=========================]         
Starten                       [=========================]         
Abfragen                      [=========================]         
Software-Liste wird aktualisiert[==========               ] (40%)  Der Dämon stürzte während der Transaktion ab!

i.e. the daemon crashes.

If I run it in gdb it works.

Aktualisierungen werden abgerufen[=========================]         
Starten                       [=========================]         
Abfragen                      [=========================]         
Software-Liste wird aktualisiert[=========================]         
Verbesserung    choqok-1.0.0.60.git.1300604688-1.1.i586         Micro-Blogging Client for KDE
Sicherheit      java-1_6_0-sun-4147.noarch                      java-1_6_0-sun: Sun Java 1.6 security update u24
Wichtig         kdebase4-openSUSE-4162.noarch                   kdebase4-openSUSE: Updated sysinfo:/ artwork
Verbesserung    kdebase4-openSUSE-11.4-33.40.1.i586             openSUSE KDE Extension
Verbesserung    kdebase4-openSUSE-lang-11.4-33.40.1.noarch      Languages for package kdebase4-openSUSE
Verbesserung    kdebase4-runtime-branding-openSUSE-11.4-33.40.1.i586    The KDE Runtime Components
Verbesserung    kdebase4-workspace-branding-openSUSE-11.4-33.40.1.i586  openSUSE KDE Extension
Verbesserung    kdelibs4-branding-openSUSE-11.4-33.40.1.i586    KDE Base Libraries: Build Environment
Verbesserung    kdm-branding-openSUSE-11.4-33.40.1.i586         KDE login and display manager
Verbesserung    kio_sysinfo-11.4-33.40.1.i586                   System Information KIO-Slave
Verbesserung    kio_sysinfo-branding-openSUSE-11.4-33.40.1.i586 System Information KIO-Slave
Verbesserung    plasmoid-quickaccess-0.8.1-21.1.i586            Quick Access Plasmoid for KDE Desktop
Verbesserung    rekonq-0.6.95-17.1.i586                         WebKit Based Web Browser for KDE4
Wichtig         smolt-4167.noarch                               smolt: make it work without hal installed
Verbesserung    smolt-1.4.3-1.6.1.noarch                        Hardware Profiler
Verbesserung    smolt-gui-1.4.3-1.6.1.noarch                    Smolt GUI
Wichtig         valgrind-4168.noarch                            valgrind: Version upgrade to 3.6.1
Verbesserung    valgrind-3.6.1-1.3.1.i586                       Memory Management Debugger

Program exited normally.

I'll try to attach it again next time it happens. Maybe others have the same issue, i.e. can see that the kpackagekit icon disappears while checking for updates because the daemon crashed.

Reproducible: Sometimes
Comment 1 Forgotten User --EoyBps8f 2011-03-22 19:45:34 UTC
Got it! Attach gdb to packagekitd before running pkcon get-updates.

[New Thread 0xb5a21b70 (LWP 8571)]
Detaching after fork from child process 8572.
Detaching after fork from child process 8573.
Detaching after fork from child process 8574.
Detaching after fork from child process 8575.
Detaching after fork from child process 8576.
Detaching after fork from child process 8577.
Detaching after fork from child process 8578.
Detaching after fork from child process 8579.
Detaching after fork from child process 8580.
Detaching after fork from child process 8581.
Detaching after fork from child process 8582.
Detaching after fork from child process 8583.
Detaching after fork from child process 8584.
Detaching after fork from child process 8585.
Detaching after fork from child process 8586.
Detaching after fork from child process 8587.
Detaching after fork from child process 8588.
Detaching after fork from child process 8589.
Detaching after fork from child process 8590.
Detaching after fork from child process 8591.
Detaching after fork from child process 8592.
Detaching after fork from child process 8593.
Detaching after fork from child process 8594.
Detaching after fork from child process 8595.
Detaching after fork from child process 8596.
Detaching after fork from child process 8597.
Detaching after fork from child process 8598.
Detaching after fork from child process 8599.
Detaching after fork from child process 8600.
Detaching after fork from child process 8601.
Detaching after fork from child process 8602.
Detaching after fork from child process 8603.
Detaching after fork from child process 8604.
Detaching after fork from child process 8605.
Detaching after fork from child process 8606.
Detaching after fork from child process 8607.
Detaching after fork from child process 8608.
Detaching after fork from child process 8609.
Detaching after fork from child process 8610.
Detaching after fork from child process 8611.
Detaching after fork from child process 8612.
Detaching after fork from child process 8613.
Detaching after fork from child process 8614.
Detaching after fork from child process 8615.
Detaching after fork from child process 8616.
Detaching after fork from child process 8617.
Detaching after fork from child process 8618.
Detaching after fork from child process 8619.
Detaching after fork from child process 8620.
Detaching after fork from child process 8621.
Detaching after fork from child process 8622.
Detaching after fork from child process 8623.
Detaching after fork from child process 8624.
Detaching after fork from child process 8625.
Detaching after fork from child process 8626.
Detaching after fork from child process 8627.
Detaching after fork from child process 8628.
Detaching after fork from child process 8629.
Detaching after fork from child process 8630.
Detaching after fork from child process 8631.
Detaching after fork from child process 8632.
Detaching after fork from child process 8633.
Detaching after fork from child process 8634.
Detaching after fork from child process 8635.
Detaching after fork from child process 8636.
Detaching after fork from child process 8637.
Detaching after fork from child process 8638.
Detaching after fork from child process 8639.
Detaching after fork from child process 8640.
Detaching after fork from child process 8642.
Detaching after fork from child process 8643.
Detaching after fork from child process 8644.
Detaching after fork from child process 8645.
Detaching after fork from child process 8646.
Detaching after fork from child process 8647.
Detaching after fork from child process 8648.
Detaching after fork from child process 8649.
Detaching after fork from child process 8650.
Detaching after fork from child process 8651.
Detaching after fork from child process 8652.
Detaching after fork from child process 8653.
Detaching after fork from child process 8654.
Detaching after fork from child process 8655.
Detaching after fork from child process 8656.
Detaching after fork from child process 8657.
Detaching after fork from child process 8658.
Detaching after fork from child process 8659.
Detaching after fork from child process 8660.
Detaching after fork from child process 8661.
Missing separate debuginfo for /usr/lib/libproxy-0.4.6/modules/pacrunner_mozjs.so
Try: zypper install -C "debuginfo(build-id)=9118200b9f07edbb8b0eaf824f0c5cbc9b1faf14"

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5a21b70 (LWP 8571)]
zypp_get_updates (backend=0x0) at zypp-utils.cpp:796
796     zypp-utils.cpp: Datei oder Verzeichnis nicht gefunden.
        in zypp-utils.cpp
(gdb) bt
#0  zypp_get_updates (backend=0x0) at zypp-utils.cpp:796
#1  0xb70a38c3 in backend_get_updates_thread (backend=0x80aa038) at pk-backend-zypp.cpp:715
#2  0x0806d50a in pk_backend_thread_setup (thread_data=0x8175b38) at pk-backend.c:2445
#3  0xb739df44 in ?? () from /lib/libglib-2.0.so.0
#4  0xb766fb05 in start_thread () from /lib/libpthread.so.0
#5  0xb7296d5e in clone () from /lib/libc.so.6
Comment 2 Forgotten User --EoyBps8f 2011-03-22 19:54:10 UTC
installing libzypp and zypper debuginfo packages does not provide a better backtrace. The translation of the above would be "zypp-utils.cpp file or folder not found.
Comment 3 Michael Andres 2011-04-01 19:59:47 UTC
This is because zypp-utils.cpp is from PackageKits zypp-backend. Assigning to gnome-maintainers. Please have a look at this.
Comment 4 Ludwig Nussel 2011-05-13 13:46:03 UTC
same as bug 685831 I guess

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