Bug 300437

Summary: opensuse-updater-applet Segmentation faults after checking for updates
Product: [openSUSE] openSUSE 10.3 Reporter: Tim Lee <timlee>
Component: YaST2Assignee: Joerg Kress <jkress>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: nospamm
Version: Beta 1   
Target Milestone: ---   
Hardware: i686   
OS: Other   
Whiteboard:
Found By: Integration Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Tim Lee 2007-08-14 20:14:18 UTC
* clean install of beta1, build 908, default gnome
* have http://download.opensuse.org/update/10.3 and install media as software
repositories. 
* started opensuse-updater-applet in gdb
* right clicked on opensuse-updater applet icon in task area of panel
* selected Check now from the popup menu
* after about a minute opensuse-updater-applet got a SIGSEGV


stdout from gdb
=============================================================================
......
 Received 20 kB
 Received 20 kB
child process 3359 exited with status 0.
calling out2update_list()...
Entity: line 263: parser error : Premature end of data in tag stream line 2

^
Document not parsed successfully!!
[New Thread 0xb5843b90 (LWP 3360)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6cf76c0 (LWP 3355)]
0x0804b412 in updater_ui_populate_update_list ()
(gdb) thread apply all bt

Thread 2 (Thread 0xb5843b90 (LWP 3360)):
#0  0xffffe410 in ?? ()
#1  0xb5843398 in ?? ()
#2  0x00000014 in ?? ()
#3  0xb5843374 in ?? ()
#4  0xb775aefb in read () from /lib/libc.so.6
#5  0xb761b3ea in child_watch_helper_thread (data=0x0)
    at /usr/include/bits/unistd.h:35
#6  0xb763de4f in g_thread_create_proxy (data=0x81f0078) at gthread.c:634
#7  0xb726e192 in start_thread () from /lib/libpthread.so.0
#8  0xb7769d2e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb6cf76c0 (LWP 3355)):
#0  0x0804b412 in updater_ui_populate_update_list ()
#1  0x0804bae0 in backend_check_updates_watch ()
#2  0xb7618972 in g_child_watch_dispatch (source=0x817ad30,
    callback=0xb77d6170, user_data=0x809d830) at gmain.c:3850
#3  0xb761a4b6 in IA__g_main_context_dispatch (context=0x8074b58)
    at gmain.c:2061
#4  0xb761d852 in g_main_context_iterate (context=0x8074b58, block=1,
    dispatch=1, self=0x8061d10) at gmain.c:2694
#5  0xb761dc37 in IA__g_main_loop_run (loop=0x81a0200) at gmain.c:2898
#6  0xb7d04a54 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#7  0x0804ae89 in main ()
Comment 1 Tim Lee 2007-08-15 19:26:27 UTC
A repeatable crash in the software update stack seems more than a normal bug.
Comment 2 Joerg Kress 2007-08-20 09:12:14 UTC
This is due to a bug in zypper / zypp-checkpatches-wrapper. It should be fixed in beta2.

It doesn't appear with correct update-list anymore, so I mark it as fixed.