[Bug 577012] New: yast2 crashes on startup with floating point exception when logged in via ssh.

http://bugzilla.novell.com/show_bug.cgi?id=577012 http://bugzilla.novell.com/show_bug.cgi?id=577012#c0 Summary: yast2 crashes on startup with floating point exception when logged in via ssh. Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: i586 OS/Version: openSUSE 11.2 Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: george@grwelch.com QAContact: jsrain@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 I am on a remote computer. I connect to the openSUSE machine with ssh, try to run yast2, and it crashes on startup. local_machine:~ $ ssh openSUSE_machine -l root Password: Last login: Tue Feb 2 20:09:29 2010 from local_machine.dom.tld Have a lot of fun... openSUSE_machine:~ # yast2 /sbin/yast2: line 454: 12999 Floating point exception$y2ccbin $Y2UI_ARGS "$@" openSUSE_machine:~ # I believe the failure is related to the X server on local_machine. In the example above, local_machine is a macbook running OSX 10.6.2 and XQuartz 2.3.4. If I connect to the openSUSE machine with ssh from my neighbor's linux box, then yast does not crash. However, I have no problem running any other X program using the macbook -- it is ONLY yast that crashes. So basically, something seems to be wrong with yast that is exposed by the XQuartz X-server. Thank you for your attention, and thank you for writing such amazingly cool software. Reproducible: Always Steps to Reproduce: See details above. Actual Results: yast crashes on startup. Expected Results: yast should not crash on startup. Presumably the details above are enough. If not, I will supply any thing needed, such as logs etc. This is reproducible. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=577012 http://bugzilla.novell.com/show_bug.cgi?id=577012#c yang xiaoyu <xyyang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyyang@novell.com AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=577012 http://bugzilla.novell.com/show_bug.cgi?id=577012#c1 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |george@grwelch.com --- Comment #1 from Lukas Ocilka <locilka@novell.com> 2010-02-05 12:59:27 UTC --- Attach YaST logs, please (/var/log/YaST2/). See http://en.opensuse.org/Bugs/YaST for more information. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=577012 http://bugzilla.novell.com/show_bug.cgi?id=577012#c2 George Welch <george@grwelch.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |george@grwelch.com Info Provider|george@grwelch.com | --- Comment #2 from George Welch <george@grwelch.com> 2010-02-05 14:37:16 UTC ---
Attach YaST logs, please (/var/log/YaST2/).
Lucas, That directory is filled with lots of personal information about my system (ip addresses, user names, hardware config, etc), that is probably not relevent to this bug. Here is the information that is probably useful: If I back up the log directory, then expose this bug (as described in the bug report) then no file in this directory is touched in any way. That is, YaST crashes before touching the log. If that is not good enough, and you actually need the logs, could you at least pare down the request some so that you are not asking for personal information? For example, would some subset of those files be enough? Thanks! --George -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=577012 http://bugzilla.novell.com/show_bug.cgi?id=577012#c3 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |george@grwelch.com --- Comment #3 from Lukas Ocilka <locilka@novell.com> 2010-02-05 14:54:43 UTC --- Check the end of the /var/log/YaST/y2log file, there should be something about the crash. At least in which part is crashed. You can also try to find it using "time" in logs. Anyway, if you were running some YaST module after this crash, you will not find it at the end of the logfile. Additionally, logs are rotated. So, you might have to check also y2log-1, y2log-2 ... If there is nothing in the log, you can also try to reproduce it with debugging turned on: 1.) mv /var/log/YaST2/y2logs /var/log/YaST2/y2logs.backup 2.) openSUSE_machine:~ # Y2DEBUG=1 yast2 Then attach the resulting y2log file. It should not contain any confidential information. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=577012 http://bugzilla.novell.com/show_bug.cgi?id=577012#c4 George Welch <george@grwelch.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|george@grwelch.com | --- Comment #4 from George Welch <george@grwelch.com> 2010-02-05 15:22:23 UTC ---
Check the end of the /var/log/YaST/y2log file, there should be something about the crash. At least in which part is crashed. You can also try to find it using "time" in logs.
No, there is nothing there. As I said, YaST crashes *before* touching the logs in any way.
Anyway, if you were running some YaST module after this crash, you will not find it at the end of the logfile. Additionally, logs are rotated. So, you might have to check also y2log-1, y2log-2 ...
Yes, I did this. There is nothing there, because YaST crashes before touching the logs.
If there is nothing in the log, you can also try to reproduce it with debugging turned on: 1.) mv /var/log/YaST2/y2logs /var/log/YaST2/y2logs.backup 2.) openSUSE_machine:~ # Y2DEBUG=1 yast2
Then attach the resulting y2log file. It should not contain any confidential information.
I did exactly this, includng the Y2DEBUG as you suggest, and /var/log/YaST2 was still totally empty. Nothing to attach. --George -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=577012 http://bugzilla.novell.com/show_bug.cgi?id=577012#c5 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |george@grwelch.com --- Comment #5 from Lukas Ocilka <locilka@novell.com> 2010-02-05 15:51:23 UTC --- what about `strace yast2 2>/logfile` ? or using gdb http://en.opensuse.org/Bugs/YaST#How_can_I_start_YaST_in_debugger_.28gdb.29.... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=577012 http://bugzilla.novell.com/show_bug.cgi?id=577012#c6 George Welch <george@grwelch.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|george@grwelch.com | Severity|Major |Critical --- Comment #6 from George Welch <george@grwelch.com> 2010-02-05 16:34:46 UTC ---
what about `strace yast2 2>/logfile` ?
The result is attached.
or using gdb http://en.opensuse.org/Bugs/YaST#How_can_I_start_YaST_in_debugger_.28gdb.29....
This is harder. I downloaded the three debug packages referenced on that page. Then I run openSUSE_machine:~ # gdb /usr/lib/YaST2/bin/y2base and get this: GNU gdb (GDB) SUSE (6.8.91.20090930-2.4) Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i586-suse-linux". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/lib/YaST2/bin/y2base...Reading symbols from /usr/lib/debug/usr/lib/YaST2/bin/y2base.debug...done. done. (gdb) The web page you referenced suggests running some module. At random, I did this: (gdb) run repositories qt And it spewed several pages of "Missing separate debuginfo". Finally, it did this: Program received signal SIGFPE, Arithmetic exception. [Switching to Thread 0xb5604b70 (LWP 31000)] 0xb5b0071d in ?? () from /usr/lib/libQtGui.so.4 (gdb) If you want me to install all those debug packages, I may want to try installing openSUSE into a VM, since I don't really want to perturb the system with a hundred new packages. Is it needed? --George -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=577012 http://bugzilla.novell.com/show_bug.cgi?id=577012#c7 --- Comment #7 from George Welch <george@grwelch.com> 2010-02-05 16:37:04 UTC --- Created an attachment (id=341082) --> (http://bugzilla.novell.com/attachment.cgi?id=341082) Logfile as requested Here is the result of the command you requested: strace yast2 2>/logfile -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=577012 http://bugzilla.novell.com/show_bug.cgi?id=577012#c8 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kmachalkova@novell.com AssignedTo|yast2-maintainers@suse.de |mvidner@novell.com Severity|Critical |Major --- Comment #8 from Lukas Ocilka <locilka@novell.com> 2010-02-05 17:05:33 UTC --- Martin, please, take this over. BTW, "Critical" means "loss of data", thus "Major" -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=577012 http://bugzilla.novell.com/show_bug.cgi?id=577012#c Martin Vidner <mvidner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=577012 http://bugzilla.novell.com/show_bug.cgi?id=577012#c9 --- Comment #9 from Katarina Machalkova <kmachalkova@novell.com> 2010-02-25 16:14:01 UTC --- Doesn't the local Mac machine happen to use QtCurve theme? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=577012 http://bugzilla.novell.com/show_bug.cgi?id=577012#c10 --- Comment #10 from George Welch <george@grwelch.com> 2010-02-25 19:20:51 UTC --- (In reply to comment #9)
Doesn't the local Mac machine happen to use QtCurve theme?
I don't understand the question. Can you explain what you are asking? Thanks. --George -- Configure bugmail: http://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=577012 https://bugzilla.novell.com/show_bug.cgi?id=577012#c11 Lukas Ocilka <locilka@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |locilka@suse.com Resolution| |WONTFIX --- Comment #11 from Lukas Ocilka <locilka@suse.com> 2012-01-13 15:46:26 UTC --- It seems that nobody has touched this bug for a very long time, thus nobody has fixed that on our side. I'm closing the bug as WONTFIX now. Please, reopen if it's still valid. Thanks. -- 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