[Bug 955381] New: yast2 software management segfaults when started on secondary monitor
http://bugzilla.opensuse.org/show_bug.cgi?id=955381 Bug ID: 955381 Summary: yast2 software management segfaults when started on secondary monitor Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: x86-64 OS: openSUSE 42.1 Status: NEW Severity: Minor Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: hardy.heroin+novell@gmail.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36 Build Identifier: Using openSUSE Leap 42.1 with Plasma 5 fully updated using official repo. I have 2 screens. When I start yast2 (as root) and then start Software Managment, and I move the Software Management window to my secondary monitor it segfaults with this message: Run command: /sbin/yast2 sw_single & YaST got signal 11 at file /usr/share/YaST2/modules/PackagesUI.rb:312 sender PID: 504 /sbin/yast2: line 440: 19682 Segmentation fault $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS If the windows happens to start on my primary monitor, or I move it there before it is fully loaded it is fine and doesn't crash. Reproducible: Always Steps to Reproduce: 1. Start yast2 (via CLI or GUI) 2. Start Software Management 3. Move starting window to secondary monitor 4. /sbin/yast2: line 440: 15222 Segmentation fault $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS OR 1. /sbin/yast2 sw_single & (see steps 3 + 4) Actual Results: The software management window disappears without error message (unless you look at the CLI it was started from). When started from the UI no warning or error message is shown. Expected Results: I expect the software management window to stay open, also on my secondary monitor. stack traces of strace /sbin/yast2 sw_single for both cases (primary monitor, no crash) and (secondary monitor, crash) are identical. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=955381
Josef Reidinger
http://bugzilla.opensuse.org/show_bug.cgi?id=955381
http://bugzilla.opensuse.org/show_bug.cgi?id=955381#c2
--- Comment #2 from Josef Reidinger
http://bugzilla.opensuse.org/show_bug.cgi?id=955381
Christian Boltz
http://bugzilla.opensuse.org/show_bug.cgi?id=955381
http://bugzilla.opensuse.org/show_bug.cgi?id=955381#c11
Vadim Krevs
http://bugzilla.opensuse.org/show_bug.cgi?id=955381
http://bugzilla.opensuse.org/show_bug.cgi?id=955381#c12
--- Comment #12 from Vadim Krevs
http://bugzilla.opensuse.org/show_bug.cgi?id=955381
http://bugzilla.opensuse.org/show_bug.cgi?id=955381#c14
ted creedon
http://bugzilla.opensuse.org/show_bug.cgi?id=955381
Andrey Karepin
http://bugzilla.opensuse.org/show_bug.cgi?id=955381
http://bugzilla.opensuse.org/show_bug.cgi?id=955381#c15
Fabian Vogt
http://bugzilla.opensuse.org/show_bug.cgi?id=955381
http://bugzilla.opensuse.org/show_bug.cgi?id=955381#c16
Fabian Vogt
http://bugzilla.opensuse.org/show_bug.cgi?id=955381
http://bugzilla.opensuse.org/show_bug.cgi?id=955381#c17
Josef Reidinger
It seems to be caused by /usr/lib64/qt5/plugins/platformthemes/KDEPlatformTheme.so as doing "unset KDE_FULL_SESSION; unset XDG_CURRENT_DESKTOP" to avoid detecting KDE makes it work reliably. That does not mean that the bug is in that file itself, though, it might only be triggered by it.
@YaST-Maintainers: As a workaround, unset those two variables in the yast2 script? Function set_qt_env in /usr/lib/YaST2/bin/yast2-funcs seems to be the perfect place, just after the other workaround...
YaST is already full of workarounds and it slap us into face often as if we do it, then in future we forgot to remove it and then due to workaround only YaST does not work correctly. So I propose to fix real bug instead of installing another workaround in non related project. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=955381
http://bugzilla.opensuse.org/show_bug.cgi?id=955381#c18
--- Comment #18 from Fabian Vogt
http://bugzilla.opensuse.org/show_bug.cgi?id=955381
http://bugzilla.opensuse.org/show_bug.cgi?id=955381#c19
Gabriele Mohr
http://bugzilla.opensuse.org/show_bug.cgi?id=955381
ted creedon
http://bugzilla.opensuse.org/show_bug.cgi?id=955381
http://bugzilla.opensuse.org/show_bug.cgi?id=955381#c20
Hrvoje Senjan
http://bugzilla.opensuse.org/show_bug.cgi?id=955381
http://bugzilla.opensuse.org/show_bug.cgi?id=955381#c21
--- Comment #21 from Hrvoje Senjan
Please don't adjust priorities. That is assignees.
*for assignees. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=955381
Meld Watts
http://bugzilla.opensuse.org/show_bug.cgi?id=955381
http://bugzilla.opensuse.org/show_bug.cgi?id=955381#c22
--- Comment #22 from Hardy Heroin
http://bugzilla.opensuse.org/show_bug.cgi?id=955381
http://bugzilla.opensuse.org/show_bug.cgi?id=955381#c23
Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=955381
http://bugzilla.opensuse.org/show_bug.cgi?id=955381#c24
--- Comment #24 from Wolfgang Bauer
At least the latest comments sound like it could be related to this Konsole problem: https://bugs.kde.org/show_bug.cgi?id=356343
Sorry, I actually meant this one, which has been marked as duplicate of the above mentioned one but is explicitly about running on the 2nd monitor: https://bugs.kde.org/show_bug.cgi?id=357388 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=955381
http://bugzilla.opensuse.org/show_bug.cgi?id=955381#c27
Sven Semmler
http://bugzilla.opensuse.org/show_bug.cgi?id=955381
http://bugzilla.opensuse.org/show_bug.cgi?id=955381#c31
Richard Brown
The package is basically maintained outside the YaST team, as mentioned in comment #28 it contains the Qt stylesheet and some icons.
I still consider it a Qt bug if it fails with our stylesheet, there is no binary plugin or something advanced, it's just plain CSS files + PNG icons.
I'm not sure if dropping the package is desired, it depends on the openSUSE maintainers...
I do not know who is responsible for this, but "osc bugowner yast2-qt-branding-openSUSE" says Richard and Bruno - setting the needinfo to them.
Moreover https://github.com/openSUSE/branding/blob/leap-42.1/README also mentions Coolo and Vincent.
My understanding from the discussions I had with Kenneth circa SLE 12 GA is that yast2-qt-branding was made obsolete by the work that he and the YaST team did as part of that rethemeing. I am still awaiting a SR/delete request once that's complete. I see no problem dropping yast2-qt-branding-openSUSE, it's only part of the branding-openSUSE package because someone else put it there. I certainly do not feel this is my bug to fix, given I am neither a YaST maintainer nor a QT guy, and some old stylesheet shouldn't be a cause for some segfaults :) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=955381
http://bugzilla.opensuse.org/show_bug.cgi?id=955381#c32
Bruno Friedmann
http://bugzilla.opensuse.org/show_bug.cgi?id=955381
http://bugzilla.opensuse.org/show_bug.cgi?id=955381#c37
Fabian Vogt
participants (1)
-
bugzilla_noreply@novell.com