Bug 640091

Summary: Network Services segfault YaST got signal 11 at YCP file inetd/dialogs.ycp:710
Product: [openSUSE] openSUSE 11.3 Reporter: Forgotten User 6yMpDEBP2y <forgotten_6yMpDEBP2y>
Component: YaST2Assignee: Forgotten User h13THG8RK1 <forgotten_h13THG8RK1>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: forgotten_h13THG8RK1
Version: Final   
Target Milestone: ---   
Hardware: PC   
OS: openSUSE 11.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: /var/log/YaST2/signal
y2log

Description Forgotten User 6yMpDEBP2y 2010-09-17 12:54:27 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10) Gecko/20100914 SUSE/3.6.10-0.3.1 Firefox/3.6.10

yast2-inetd-2.17.3-6.2.noarch

3 tries, 3 dies

YaST got signal 11 at YCP file inetd/dialogs.ycp:710
/sbin/yast2: line 399: 16047 Segmentation fault      $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS


YaST got signal 11 at YCP file inetd/dialogs.ycp:710
/sbin/yast2: line 399: 16203 Segmentation fault      $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS


YaST got signal 11 at YCP file inetd/dialogs.ycp:710
/sbin/yast2: line 399: 16355 Segmentation fault      $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS


Reproducible: Always

Steps to Reproduce:
1. Fresh install of 11.3-i386 (didn't verify x86_64)
2. Online Update & reboot
3. Log on as regular user
4. Start YaST2 w/superuser priv
5. Select Network Services
6. Click on Enable
7. Click on Status column header to sort
8. Select CHARGEN line (any "--" status line will do)
9. Click Toggle button, or use kb shortcut
10. BOOM!  Network Services editor dies with pop-up error.  Yast2 main program is still running.

Actual Results:  
Segmentation fault

Expected Results:  
no Segmentation fault
Comment 1 Michal Zugec 2010-10-18 10:47:56 UTC
Please attach also yast logs
Comment 2 Forgotten User 6yMpDEBP2y 2010-10-18 13:50:42 UTC
Created attachment 395432 [details]
/var/log/YaST2/signal
Comment 3 Forgotten User 6yMpDEBP2y 2010-10-18 13:51:41 UTC
Created attachment 395433 [details]
y2log
Comment 4 Forgotten User 6yMpDEBP2y 2010-10-18 13:57:25 UTC
Comment on attachment 395432 [details]
/var/log/YaST2/signal

YaST got signal 11 at YCP file inetd/dialogs.ycp:710
Comment 5 Michal Zugec 2010-10-19 08:48:19 UTC
Could you please try the same also in ncurses?

/usr/lib/YaST2/bin/y2base inetd ncurses
Comment 6 Forgotten User 6yMpDEBP2y 2010-10-19 08:56:26 UTC
(In reply to comment #5)
> Could you please try the same also in ncurses?

No problem with the ncurses interface.


Please note Step 7 in the steps to reproduce:
7. Click on Status column header to sort

A) you can only do this in the gui (and I have a Gnome desktop)
B) if you don't sort the list, it doesn't crash
Comment 7 Forgotten User 6yMpDEBP2y 2010-10-19 08:57:11 UTC
clear NEEDINFO
Comment 8 Michal Zugec 2010-10-19 09:24:56 UTC
That's a trick ;-)
Ctrl+o
Comment 9 Michal Zugec 2010-10-19 12:07:56 UTC
Please test in ncurses again and use ctrl+o to change order by table col_name.
Comment 10 Forgotten User 6yMpDEBP2y 2010-10-19 16:02:53 UTC
ah, that is a trick

It also works OK w/ncurses + sorting.
Comment 11 Michal Zugec 2010-10-20 08:48:13 UTC
Ricardo, seems it's yast2-gtk issue.
Comment 12 Forgotten User h13THG8RK1 2010-10-20 20:13:27 UTC
Fixed in svn.

I have backported the fix to the 11.3 branch, if you guys want to request a patch issue.