Bug 569965

Summary: Yast ncurses crashes when displaying packages
Product: [openSUSE] openSUSE 11.1 Reporter: Tomas Jedno <chucky666>
Component: YaST2Assignee: Katarina Machalkova <kmachalkova>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Critical    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: yast logs

Description Tomas Jedno 2010-01-12 14:11:28 UTC
Created attachment 336138 [details]
yast logs

User-Agent:       Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.2.15 Version/10.10

after update of some ncurses packages (?) Yast crashes when displaying packages. 
yast sw_single -> enter some text in search + enter. Then silently closes and get back to command line. In logs, there is some message:
2010-01-12 11:53:47 <3> cassandra(24439) [ncurses-pkg] NCPackageSelectorPluginImpl.cc(runPkgSelection):153 Caught a std::exception: std::bad_alloc                                                                                                          
2010-01-12 11:53:47 <1> cassandra(24439) [ui] YCP_UI.cc(RunPkgSelection):1373 Package selection done. Returning with `cancel 



Reproducible: Always

Steps to Reproduce:
1. run yast sw_single
2. enter some text in search box + enter
Actual Results:  
crash

Expected Results:  
work ok
Comment 1 Katarina Machalkova 2010-01-12 14:14:48 UTC
An update introducing binary incompatibility has been released. Please be patient, a new patch is on the way

*** This bug has been marked as a duplicate of bug 569000 ***
Comment 2 Tomas Jedno 2010-01-12 14:19:40 UTC
Forgot to mention the same (don't) work in update module. 
About duplicate bug - this is not writing segfault. It is exception (?).
Comment 3 Katarina Machalkova 2010-01-12 14:39:27 UTC
Ah. Sorry, I was too hasty. Didn't notice you're running openSUSE 11.1

(dobra prezdivka, btw :P)
Comment 4 Katarina Machalkova 2010-01-12 14:45:05 UTC
So - which updates did you install? ('rpm -q --changelog yast2-ncurses | head' will tell)

It may or may not be a different symptom of the binary incompatibility introduced by paging fix (bug #550733). Need to verify it ...
Comment 5 Tomas Jedno 2010-01-12 15:16:42 UTC
command gives output:

* Fri Dec 18 2009 ma@suse.de
- Work around 32768 lines limit in ncurses table. (bnc #550733)
- V 2.17.17

* Tue Mar 31 2009 gs@suse.de
- Bugfix for IntField widget: draw the value correctly (was hidden
  in some cases, e.g. in Image Creator, bnc #488757)
- V 2.17.16

* Wed Mar 11 2009 gs@suse.de

(mam celou sbirku, to by (ste|jsi) se divila :)
Comment 6 Katarina Machalkova 2010-01-13 09:27:26 UTC
Duplicating un-duplicate. Rebuilding yast2-ncurses-pkg against updated yast2-ncurses resolves the problem (unlike 11.2, 11.1 doesn't crash initially, but the reason for the failure is the same - binary incompatibility of shared libs)

Please install the latest update, it has been released last night.

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