Bug 2192188 - openbox crashes when switching from fullscreened window to another one with alt-tab
Summary: openbox crashes when switching from fullscreened window to another one with a...
Keywords:
Status: CLOSED DUPLICATE of bug 2178299
Alias: None
Product: Fedora
Classification: Fedora
Component: openbox
Version: 38
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-30 09:09 UTC by Roman A. Manzhos
Modified: 2023-05-02 07:59 UTC (History)
11 users (show)

Fixed In Version:
Clone Of: 2186319
Environment:
Last Closed: 2023-05-02 07:27:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Roman A. Manzhos 2023-04-30 09:09:39 UTC
+++ This bug was initially created as a clone of Bug #2186319 +++

Description of problem:
Xorg+openbox crashes while switching from fullscreen window to another one with alt+tab.

Version-Release number of selected component (if applicable):
Fedora 38-beta

How reproducible:
Everytime

Steps to Reproduce:
1. Enter some program into fullscreen mode, e.g. eom, mplayer, mpv or fullscreen video playback in firefox  
2. Press alt+tab to switch to another running program.

Actual results:
Xorg just exits or crashes. Indeed there is no message about segmentation fault.

Expected results:
Switch to needed window.

Additional info:
This behavior is typical for Xorg with openbox in Fedora 38 beta version. In 37 everything is fine.

--- Additional comment from Olivier Fourdan on 2023-04-14 13:59:56 UTC ---

Please provide the Xorg logs, it is impossible to investigate such an issue without any data I'm afraid.

--- Additional comment from Roman A. Manzhos on 2023-04-14 21:02:01 UTC ---

It seems like it is the openbox crahes.
The output of Xorg log when it craches is the following:

Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: VA-API test failed: no supported VAAPI profile found. (t=0.77021) [GFX1-]: glxtest: VA-API test failed: no supported VAAPI profile found.

                                                                                ATTENTION: default value of option mesa_glthread overridden by environment.
                                  ATTENTION: default value of option mesa_glthread overridden by environment.
                                                                                                             ATTENTION: default value of option mesa_glthread overridden by environment.

                                                                 How are you gentlemen? All your base are belong to us. (Openbox received signal 11)
                           xinit: connection to X server lost

waiting for X server to shut down xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"
xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"
(II) Server terminated successfully (0). Closing log file.

Comment 1 Roman A. Manzhos 2023-04-30 09:13:18 UTC
This is the full output from openbox started with --debug option:

Openbox-Debug: Failed to connect to session manager: SESSION_MANAGER environment variable not defined
Openbox-Debug: Monitor 0 @ 0,0 1920x1080

Openbox-Debug: Full desktop @ 0,0 1920x1080

Openbox-Debug: Moving to desktop 1
Openbox-Debug: not managing override redirect window 0x80020b
Openbox-Debug: Managing window: 0x60000c
Openbox-Debug: client area: 474 151  499 654  bw 0
Openbox-Debug: Normal hints: min size (25 17) max size (2147483647 2147483647)
Openbox-Debug: size inc (6 13) base size (19 4)
Openbox-Debug: client requested desktop 0x0
Openbox-Debug: Setting client vadu@serendipity:~ colormap: 0x20
Openbox-Debug: Window type: 7
Openbox-Debug: Window group: 0x0
Openbox-Debug: Window name: xterm class: XTerm role:  title: vadu@serendipity:~
Openbox-Debug: Window group name: xterm group class: XTerm
Openbox-Debug: Window matching: 
Openbox-Debug: Going to try activate new window? no
Openbox-Debug: placing window 0x60000c at 474, 151 with size 499 x 654. some restrictions may apply
Openbox-Debug: placed window 0x60000c at 474, 151 with size 499 x 654
Openbox-Debug: Sending ConfigureNotify to vadu@serendipity:~ for 473,152 499x654
Openbox-Debug: Managed window 0x60000c plate 0x800261 (XTerm)
Openbox-Debug: UnmapNotify for window 0x60000c eventwin 0x60000c sendevent 0 ignores left 1
Openbox-Debug: KILLED open menus
Openbox-Debug: Managing window: 0xa0000c
Openbox-Debug: client area: 0 0  1284 772  bw 1
Openbox-Debug: Normal hints: min size (20 36) max size (2147483647 2147483647)
Openbox-Debug: size inc (16 32) base size (4 4)
Openbox-Debug: client desktop set to the current desktop: 0
Openbox-Debug: Setting client xterm colormap: 0x20
Openbox-Debug: Window type: 7
Openbox-Debug: Window group: 0x0
Openbox-Debug: Window name: xterm class: XTerm role:  title: xterm
Openbox-Debug: Window group name: xterm group class: XTerm
Openbox-Debug: Window matching: 
Openbox-Debug: Going to try activate new window? yes
Openbox-Debug: Want to focus window 0xa0000c at time 8739931 launched at 0 (last user interaction time 0) request from other, allow other desktop: no, desktop switch time 0
Openbox-Debug: Unknown launch time, using 0 - independent window
Openbox-Debug: Allowing focus stealing for xterm at time 8739931 (last user interaction time 0)
Openbox-Debug: Positioned: no @ 0 0
Openbox-Debug: Sized: program specified @ 1284 772
Openbox-Debug: placement choice 0 is monitor 0
Openbox-Debug:   - placement choice
Openbox-Debug:   - primary monitor
Openbox-Debug: setting window size to 1286x774
Openbox-Debug: placing window 0xa0000c at 634, 306 with size 1284 x 772. some restrictions may apply
Openbox-Debug: placed window 0xa0000c at 634, 306 with size 1284 x 772
Openbox-Debug: Sending ConfigureNotify to xterm for 634,306 1284x772
Openbox-Debug: Managed window 0xa0000c plate 0x8002b4 (XTerm)
Openbox-Debug: Managing window: 0xc00007
Openbox-Debug: client area: 480 12  960 1056  bw 0
Openbox-Debug: Normal hints: min size (440 350) max size (2147483647 2147483647)
Openbox-Debug: size inc (1 1) base size (440 350)
Openbox-Debug: client desktop set to the current desktop: 0
Openbox-Debug: Setting client Eye of MATE Image Viewer colormap: 0xc00006
Openbox-Debug: Window type: 7
Openbox-Debug: Window group: 0xc00001
Openbox-Debug: Window name: eom class: Eom role:  title: Eye of MATE Image Viewer
Openbox-Debug: Window group name: eom group class: Eom
Openbox-Debug: Going to try activate new window? yes
Openbox-Debug: Want to focus window 0xc00007 at time 8741466 launched at 0 (last user interaction time 0) request from other, allow other desktop: no, desktop switch time 0
Openbox-Debug: Unknown launch time, using 0 - independent window
Openbox-Debug: Allowing focus stealing for Eye of MATE Image Viewer at time 8741466 (last user interaction time 0)
Openbox-Debug: Positioned: program specified @ 480 12
Openbox-Debug: Sized: no @ 960 1056
Openbox-Debug: placement choice 0 is monitor 0
Openbox-Debug:   - placement choice
Openbox-Debug:   - primary monitor
Openbox-Debug: setting window size to 964x1079
Openbox-Debug: placing window 0xc00007 at 480, 1 with size 960 x 1056. some restrictions may apply
Openbox-Debug: placed window 0xc00007 at 480, 1 with size 960 x 1056
Openbox-Debug: Sending ConfigureNotify to Eye of MATE Image Viewer for 482,22 960x1056
Openbox-Debug: Managed window 0xc00007 plate 0x8002e1 (Eom)
Openbox-Debug: ConfigureRequest for "Eye of MATE Image Viewer" desktop 0 wmstate 1 visible 1
Openbox-Debug:                      x 480 y 1 w 960 h 1056 b 0
Openbox-Debug: Restack request Above for client Eye of MATE Image Viewer sibling (all)
Openbox-Debug: ConfigureRequest x(0) 480 y(0) 1 w(0) 960 h(0) 1056 move 1 resize 0
Openbox-Debug: Granting ConfigureRequest x 480 y 1 w 960 h 1056
Openbox-Debug: Sending ConfigureNotify to Eye of MATE Image Viewer for 482,22 960x1056
Openbox-Debug: net_active_window for 0xc00007 source=application
Openbox-Debug: (APPLICATION BUG) _NET_ACTIVE_WINDOW message for window Eye of MATE Image Viewer is missing a timestamp
Openbox-Debug: Want to focus window 0xc00007 at time 8741498 launched at 0 (last user interaction time 0) request from user, allow other desktop: no, desktop switch time 0
Openbox-Debug: Unknown launch time, using 0 - independent window
Openbox-Debug: Allowing focus stealing for Eye of MATE Image Viewer at time 8741498 (last user interaction time 0)
Openbox-Debug: net_wm_state Add 336 0 for 0xc00007
Openbox-Debug: Window 1.TfCHW7ax4Rmx7GMUkRYxpGr44R07-usb.K-8U17rFN_CxDP-tP_q7MesGriKC475VKZ-U0pUJIoI.jpg going fullscreen (1)
Openbox-Debug: Sending ConfigureNotify to 1.TfCHW7ax4Rmx7GMUkRYxpGr44R07-usb.K-8U17rFN_CxDP-tP_q7MesGriKC475VKZ-U0pUJIoI.jpg for 0,0 1920x1080
Openbox-Debug: Want to focus window 0xa0000c at time 8743217 launched at 0 (last user interaction time 8742209) request from user, allow other desktop: yes, desktop switch time 0
Openbox-Debug: Unknown launch time, using 8742209 - independent window
Openbox-Debug: Allowing focus stealing for vadu@serendipity:~ at time 8743217 (last user interaction time 8742209)

Comment 2 Miroslav Lichvar 2023-05-02 07:27:28 UTC
Try latest openbox from updates-testing.

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

Comment 3 Roman A. Manzhos 2023-05-02 07:59:56 UTC
Installation openbox from updates-testing solved the problem. Now everything is fine. Thank you very much!


Note You need to log in before you can comment on or make changes to this bug.