Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

middle click clipboard crash #1356

Closed
totaam opened this issue Nov 13, 2016 · 10 comments
Closed

middle click clipboard crash #1356

totaam opened this issue Nov 13, 2016 · 10 comments

Comments

@totaam
Copy link
Collaborator

totaam commented Nov 13, 2016

Issue migrated from trac ticket # 1356

component: clipboard | priority: major | resolution: needinfo

2016-11-13 03:00:18: antoine created the issue


Apparently easily reproducible with xmonad wm.

2016-11-12 20:39:07,634 x_event_filter event=None/KeyRelease took 0.6ms
2016-11-12 20:39:07,634 parse_key_event(<gtk.gdk.Event at 0x3e8604bf7d8: GDK_KEY_RELEASE keyval=BackSpace>, False)=<GTKKeyEvent object, contents: {'modifiers'\
: [], 'group': 0, 'string': '', 'keyname': 'BackSpace', 'pressed': False, 'keyval': 65288, 'keycode': 22}>
2016-11-12 20:39:07,635 handle_key_action(ClientWindow(1), <GTKKeyEvent object, contents: {'modifiers': [], 'group': 0, 'string': '', 'keyname': 'BackSpace', \
'pressed': False, 'keyval': 65288, 'keycode': 22}>) wid=1
2016-11-12 20:39:07,635 send_key_action(1, <GTKKeyEvent object, contents: {'modifiers': [], 'group': 0, 'string': '', 'keyname': 'BackSpace', 'pressed': False\
, 'keyval': 65288, 'keycode': 22}>)
2016-11-12 20:39:07,636 add_packet_to_queue(key-action ...)
2016-11-12 20:39:07,640 processing packet draw
2016-11-12 20:39:07,640 check_server_echo(0) last=True, server_ok=True
2016-11-12 20:39:07,641 process_draw 1 bytes for window 1 using mmap encoding with options={'flush': 0, 'rgb_format': 'RGB'}
2016-11-12 20:39:07,641 draw_region(514, 226, 760, 16, mmap, 1 bytes, 2280, {'flush': 0, 'rgb_format': 'RGB'}, [<function record_decode_time at 0x3e85ffb0398>\
, <function after_draw_refresh at 0x3e86046c938>])
2016-11-12 20:39:07,641 record_decode_time(True, ) wid=1, mmap: 760x16, 0.4ms
2016-11-12 20:39:07,642 after_draw_refresh(True, ) 760x16 at 514x226 encoding=mmap, options={'encoding': 'mmap', 'flush': 0, 'rgb_format': 'RGB'}
2016-11-12 20:39:07,642 add_packet_to_queue(damage-sequence ...)
2016-11-12 20:39:07,643 do_expose_event(<gtk.gdk.Event at 0x3e8604bf7b0: GDK_EXPOSE area=[514, 226, 760, 16]>) area=gtk.gdk.Rectangle(514, 226, 760, 16)
2016-11-12 20:39:07,969 x_event_filter event=None/ButtonPress window=0xe0007b
2016-11-12 20:39:07,970 x_event_filter event=None/ButtonPress took 0.6ms
2016-11-12 20:39:07,971 pointer_modifiers(<gtk.gdk.Event at 0x3e8604bf7b0: GDK_BUTTON_PRESS x=508.00, y=331.00, button=2>)=((510, 350), [], [])
2016-11-12 20:39:07,971 _button_action(2, <gtk.gdk.Event at 0x3e8604bf7b0: GDK_BUTTON_PRESS x=508.00, y=331.00, button=2>, True) wid=1 / focus=1, device=Core \
Pointer, pointer=(510, 350), modifiers=[], buttons=[]
2016-11-12 20:39:07,972 add_packet_to_queue(button-action ...)
2016-11-12 20:39:07,973 x_event_filter event=('xpra-enter-event', None)/EnterNotify window=0xe0007b
2016-11-12 20:39:07,975 x_event_filter event=('xpra-enter-event', None)/EnterNotify took 1.3ms
2016-11-12 20:39:07,975 x_event_filter event=None/ButtonRelease window=0xe0007b
2016-11-12 20:39:07,976 x_event_filter event=None/ButtonRelease took 0.4ms
The program 'Xpra' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 213159 error_code 3 request_code 38 minor_code 0)
    (Note to programmers: normally, X errors are reported asynchronously;
       that is, you will receive the error a while after causing it.
          To debug your program, run it with the --sync command line
             option to change this behavior. You can then get a meaningful
                backtrace from your debugger if you break on the gdk_x_error() function.)

Both client and server are running 0.17.6 on [https://www.parabola.nu/].

@totaam
Copy link
Collaborator Author

totaam commented Nov 13, 2016

2016-11-13 11:07:48: antoine changed status from new to assigned

@totaam
Copy link
Collaborator Author

totaam commented Nov 13, 2016

2016-11-13 11:07:48: antoine edited the issue description

@totaam
Copy link
Collaborator Author

totaam commented Nov 13, 2016

2016-11-13 11:07:48: antoine commented


If someone can reproduce this crash, it would be useful to capture the backtrace using Debugging.

@totaam
Copy link
Collaborator Author

totaam commented Nov 14, 2016

2016-11-14 05:09:59: _user145 commented


Laptop: Lenovo X200 libreboot, resolution 1280x800, Parabola GNU/Linux, xmonad, grsecurity.

Installation: done via aur with the xpra-winswitch package and all dependencies listed there.

Induced by: after a while or a few hours typically when using the middle click keyboard button or several mouse-clicks in a row or mouse middle-click button.

GTK2 and GTK3 installed.

Changed to awesome WM and problems seems to have gone away. I still occasionally have a few white pixels on the windows though.

@totaam
Copy link
Collaborator Author

totaam commented Nov 18, 2016

2016-11-18 12:01:12: antoine changed status from assigned to new

@totaam
Copy link
Collaborator Author

totaam commented Nov 18, 2016

2016-11-18 12:01:12: antoine changed owner from antoine to _user145

@totaam
Copy link
Collaborator Author

totaam commented Nov 18, 2016

2016-11-18 12:01:12: antoine commented


Since I cannot reproduce this, I won't be able to make progress without a gdb backtrace..

@totaam
Copy link
Collaborator Author

totaam commented Feb 19, 2017

2017-02-19 07:16:08: antoine changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Feb 19, 2017

2017-02-19 07:16:08: antoine set resolution to needinfo

@totaam
Copy link
Collaborator Author

totaam commented Feb 19, 2017

2017-02-19 07:16:08: antoine commented


Cannot reproduce, might have been fixed in #276: r14704, r14638, r14007, 14722, 14765, 15031 (some of those commits undo each other...)

@totaam totaam closed this as completed Feb 19, 2017
@totaam totaam added the v0.17.x label Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant