[Bug 273700] New: ncurses: update.ycp crashes ...
https://bugzilla.novell.com/show_bug.cgi?id=273700 Summary: ncurses: update.ycp crashes ... Product: openSUSE 10.3 Version: Alpha 3 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mmeeks@novell.com QAContact: jsrain@novell.com I run: gdb /usr/lib/YaST2/bin/y2base $ run -l /dev/stderr /usr/share/YaST2/clients/update.ycp ncurses I get a nice blue screen (and this is unfortunately intermittent) it then crashes sometime later: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1246086256 (LWP 20960)] | 0xb7cbe027 in YCPListRep::size () from /usr/lib/libycpvalues.so.3 (gdb) bt | #0 0xb7cbe027 in YCPListRep::size () from /usr/lib/libycpvalues.so.3 #1 0xb7ecdcf6 in main () from /usr/lib/libyui.so.2 (gdb) I attach a log of the -l output for an instance when it got further, then (apparently) hung, until I pressed a key, when it quit. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273700 ------- Comment #1 from mmeeks@novell.com 2007-05-11 08:14 MST ------- Created an attachment (id=139384) --> (https://bugzilla.novell.com/attachment.cgi?id=139384&action=view) output log -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273700 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |locilka@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273700 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |mmeeks@novell.com ------- Comment #2 from locilka@novell.com 2007-05-11 10:16 MST ------- Michael: can you reproduce it with Qt? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273700 mmeeks@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|mmeeks@novell.com | ------- Comment #3 from mmeeks@novell.com 2007-05-11 10:35 MST ------- nope seems to work ok with Qt; of course, there are no packages to update (may be related to that?). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273700 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |mmeeks@novell.com ------- Comment #4 from locilka@novell.com 2007-05-14 00:46 MST ------- Hmm, I'm still unable to find what broke it. Could you, please, try this: `Y2DEBUG=1 /sbin/yast update` and attach the last two YaST logs (/var/log/YaST2/y2log-1, /var/log/YaST2/y2log)? Thx -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273700 ------- Comment #5 from kmachalkova@novell.com 2007-05-14 02:09 MST ------- What version of y2-ncurses? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273700 mmeeks@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|mmeeks@novell.com | ------- Comment #6 from mmeeks@novell.com 2007-05-14 03:22 MST ------- Interesting - perhaps this is PEBCAK : when I run: Y2DEBUG=1 /sbin/yast update all is well & it works; extraordinarily curious :-) I assumed the wrapper was doing something clever, but in fact apparently not: Y2DEBUG=1 /usr/lib/YaST2/bin/y2base /usr/share/YaST2/clients/update.ycp ncurses also works just fine :-) most odd; then: /usr/lib/YaST2/bin/y2base /usr/share/YaST2/clients/update.ycp ncurses similarly works as you would expect; but adding: /usr/lib/YaST2/bin/y2base -l /dev/stderr /usr/share/YaST2/clients/update.ycp ncurses makes it crash repeatably - could this be down to the output to stderr / the console causing grief for ncurses (?) if I re-direct the output with the shell to a file eg. there is no crash. Alternatively perhaps it's a timing sensitive problem. Anyhow - unless it's obviously stupid, can re-test on the next alpha with a debuginfo package & get a better stack trace. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273700 kmachalkova@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|locilka@novell.com |kmachalkova@novell.com Status|NEW |ASSIGNED ------- Comment #7 from kmachalkova@novell.com 2007-05-14 03:29 MST -------
/usr/lib/YaST2/bin/y2base -l /dev/stderr /usr/share/YaST2/clients/update.ycp ncurses
makes it crash repeatably - could this be down to the output to stderr / the console causing grief for ncurses (?)
Yes, that might well be the case. See this line in the original y2log: 2007-05-11 15:08:55 <1> t60p(20793) [ui-ncurses] NCurses.cc(init):260 isatty(stderr)no Apparently it's not update.ycp that's to blame here, but y2-ncurses. I'll take care of this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273700 kmachalkova@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC|kmachalkova@novell.com | Severity|Critical |Normal ------- Comment #8 from kmachalkova@novell.com 2007-05-14 05:22 MST ------- Michael, I assume that redirecting logs to stderr is not something an user would regularly do and you need it for some debugging purpose only. So this is definitely not critical -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273700#c9 Martin Vidner <mvidner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mvidner@novell.com Status|ASSIGNED |NEEDINFO Info Provider| |mmeeks@novell.com Summary|ncurses: update.ycp crashes ... |ncurses: update.ycp crashes when logs go to | |stderr --- Comment #9 from Martin Vidner <mvidner@novell.com> 2007-09-19 09:14:13 MST --- Never mind whether anyone would do it regularly, but what did you actually expect it to do, Michael? An ncurses program with logs on stderr is just guaranteed to be a mess, so I dare say that the crash is a better result in the end ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=273700#c10 Katarina Machalkova <kmachalkova@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|mmeeks@novell.com | Resolution| |WONTFIX --- Comment #10 from Katarina Machalkova <kmachalkova@novell.com> 2007-11-06 04:17:53 MST --- No response ... Moreover, I can't think of any use-case of having ncurses program log to stderr. Please reopen if you still want to have this issue fixed for whatever reason -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com