Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#268 closed defect (fixed)

qubes_guid exits with "msg 0x8f without CREATE for 0xc0002"

Reported by: rafal Owned by: marmarek
Priority: major Milestone: Release 1 Beta 2
Component: gui-virtualization Keywords:
Cc:

Description

I think it was seen before, related to failed reparenting of docked window in vm, and somehow handled - but here it reappears.
guid log:

Created 0x3200004(0x600001) parent 0x0(0x101) ovr=0
Created 0x3200005(0xa00001) parent 0x0(0x101) ovr=0
Created 0x3200006(0xa00003) parent 0x0(0x101) ovr=1
set title for window 0x3200006 to Fake Window
 XDestroyWindow 0x3200006
Created 0x3200007(0xc00001) parent 0x0(0x101) ovr=0
 XDestroyWindow 0x3200007
Created 0x3200008(0xc00001) parent 0x0(0x101) ovr=0
Created 0x3200009(0xa00004) parent 0x0(0x101) ovr=0
set title for window 0x3200005 to Terminal
invalid PMaxSize for 0x3200009 (0/0)
set WM_NORMAL_HINTS for window 0x3200009 to min=49/44, max=0/0, base=17/27, inc=8/17 (flags 0x150)
set title for window 0x3200009 to Terminal
process_xevent_configure local 0x3200009 remote 0xa00004, 657/435, was 657/435, xy 4/333 was 0/0
handle_configure_from_vm, local 0x3200009 remote 0xa00004, 657/435, was 657/435, ovr=0, xy 4/333, was 4/333
Created 0x320000c(0xc00003) parent 0x0(0x101) ovr=0
Created 0x320000d(0xc00004) parent 0x0(0x101) ovr=0
set title for window 0x3200008 to gnome-settings-daemon
docking window 0x320000d
invalid PMaxSize for 0x320000d (0/0)
invalid PResizeInc for 0x320000d (0/0)
invalid PBaseSize for 0x320000d (0/0)
set WM_NORMAL_HINTS for window 0x320000d to min=0/0, max=0/0, base=0/0, inc=0/0 (flags 0x10)
msg 0x8f without CREATE for 0xc00021
release_all_mapped_mfns running
Obtained 7 stack frames.
/usr/bin/qubes_guid(+0x7071) [0x7f22620f6071]
/usr/bin/qubes_guid(release_all_mapped_mfns+0x36) [0x7f22620f612b]
/lib64/libc.so.6(exit+0xe2) [0x7f2260dfaff2]
/usr/bin/qubes_guid(+0x6ecb) [0x7f22620f5ecb]
/usr/bin/qubes_guid(main+0x4c2) [0x7f22620f70bf]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x7f2260de3c5d]
/usr/bin/qubes_guid(+0x2f69) [0x7f22620f1f69]

gui_agent.log:

Waiting on /var/run/xf86-qubes-socket socket...
Ok, somebody connected.
Connection to local X server established.
Acquired MANAGER selection for tray
Create for 0x600001 class 0x2
#Create for 0xa00001 class 0x1
handle property _NET_WM_USER_TIME_WINDOW for window 0xa00001
handle property WM_COMMAND for window 0xa00001
handle property WM_CLIENT_MACHINE for window 0xa00001
handle property WM_CLASS for window 0xa00001
handle property WM_LOCALE_NAME for window 0xa00001
handle property _NET_WM_PID for window 0xa00001
Create for 0xa00003 class 0x1
handle property WM_NAME for window 0xa00003
got wmname=Fake Window
handle destroy 0xa00003
Create for 0xc00001 class 0x1
handle property _NET_WM_USER_TIME_WINDOW for window 0xc00001
handle property WM_COMMAND for window 0xc00001
handle property WM_CLIENT_MACHINE for window 0xc00001
handle property WM_CLASS for window 0xc00001
handle property WM_LOCALE_NAME for window 0xc00001
handle property _NET_WM_PID for window 0xc00001
handle destroy 0xc00001
Create for 0xc00001 class 0x1
handle property _NET_WM_USER_TIME_WINDOW for window 0xc00001
handle property WM_COMMAND for window 0xc00001
handle property WM_CLIENT_MACHINE for window 0xc00001
handle property WM_CLASS for window 0xc00001
handle property WM_LOCALE_NAME for window 0xc00001
handle property _NET_WM_PID for window 0xc00001
Create for 0xa00004 class 0x1
handle property _NET_WM_NAME for window 0xa00001
handle property WM_NAME for window 0xa00001
got wmname=Terminal
handle property _NET_WM_ICON for window 0xa00004
handle property WM_NORMAL_HINTS for window 0xa00004
handle property _MOTIF_DRAG_RECEIVER_INFO for window 0xa00004
handle property XdndAware for window 0xa00004
handle property WM_HINTS for window 0xa00004
got wmname=Terminal
0xa00004 raised
configure msg, x/y 4 333 (was 0 0), w/h 657 435 (was 657 435)
handle configure event 0xa00004 w=657 h=435 ovr=0
Create for 0xc00003 class 0x1
handle property _TIMESTAMP_PROP for window 0xc00003
handle property _XSETTINGS_SETTINGS for window 0xc00003
handle property _XSETTINGS_SETTINGS for window 0xc00003
Create for 0xc00004 class 0x1
handle property _NET_WM_NAME for window 0xc00001
handle property WM_NAME for window 0xc00001
got wmname=gnome-settings-daemon
handle property _XEMBED_INFO for window 0xc00004
handle property _NET_WM_SYNC_REQUEST_COUNTER for window 0xc00004
handle property GDK_TIMESTAMP_PROP for window 0xc00004
handle message _NET_SYSTEM_TRAY_OPCODE to window 0x200002
tray request dock for window 0xc00004
##handle property WM_NORMAL_HINTS for window 0xc00004
handle property _XEMBED_INFO for window 0xc00004
ErrorHandler: BadWindow (invalid Window parameter)
                 Major opcode: 3 (X_GetWindowAttributes)
                 ResourceID:   0xc00021
                 Failed serial number:  99
                 Current serial number: 100
XGetWindowAttributes for 0xc00021 failed in handle_create, ret=0x0
handle message _NET_SYSTEM_TRAY_OPCODE to window 0x200002
tray request dock for window 0xc00021
ErrorHandler: BadWindow (invalid Window parameter)
                 Major opcode: 7 (X_ReparentWindow)
                 ResourceID:   0xc00021
                 Failed serial number:  101
                 Current serial number: 102
ErrorHandler: BadWindow (invalid Window parameter)
                 Major opcode: 3 (X_GetWindowAttributes)
                 ResourceID:   0xc00024
                 Failed serial number:  103
                 Current serial number: 104
XGetWindowAttributes for 0xc00024 failed in handle_create, ret=0x0
handle message _NET_SYSTEM_TRAY_OPCODE to window 0x200002
tray request dock for window 0xc00024
ErrorHandler: BadWindow (invalid Window parameter)
                 Major opcode: 7 (X_ReparentWindow)
                 ResourceID:   0xc00024
                 Failed serial number:  105
                 Current serial number: 106
handle property _XEMBED_INFO for window 0xc00004
handle destroy 0xc00004
Create for 0xe00001 class 0x1
handle property _NET_WM_USER_TIME_WINDOW for window 0xe00001
handle property WM_COMMAND for window 0xe00001
handle property WM_CLIENT_MACHINE for window 0xe00001
handle property WM_CLASS for window 0xe00001
handle property WM_LOCALE_NAME for window 0xe00001
handle property _NET_WM_PID for window 0xe00001
handle property _NET_WM_ICON for window 0xa00004
handle property WM_HINTS for window 0xa00004
handle property _NET_WM_ICON_NAME for window 0xa00004
handle property WM_ICON_NAME for window 0xa00004
handle property _NET_WM_NAME for window 0xa00004
handle property WM_NAME for window 0xa00004
got wmname=user@other:/rw/home/user
Create for 0x1000001 class 0x1
handle property _NET_WM_USER_TIME_WINDOW for window 0x1000001
handle property WM_COMMAND for window 0x1000001
handle property WM_CLIENT_MACHINE for window 0x1000001
handle property WM_CLASS for window 0x1000001
handle property WM_LOCALE_NAME for window 0x1000001
handle property _NET_WM_PID for window 0x1000001
Create for 0xc00027 class 0x1
handle destroy 0x1000001
Create for 0x1200001 class 0x1
handle property WM_COMMAND for window 0x1200001
handle property WM_CLIENT_MACHINE for window 0x1200001
handle property WM_CLASS for window 0x1200001
handle property WM_LOCALE_NAME for window 0x1200001
handle property _NET_WM_PID for window 0x1200001

Change History (3)

comment:1 Changed 2 years ago by marmarek

  • Owner changed from rafal to marmarek
  • Status changed from new to accepted

This is the reason of #258.

It looks like XReparentWindow always returns 1 (success) even if it failed. Because of this message to dom0 is sent even for invalid window...

comment:2 Changed 2 years ago by marmarek

  • Resolution set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.