LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Putty crashes when selecting text to copy (https://www.linuxquestions.org/questions/linux-software-2/putty-crashes-when-selecting-text-to-copy-927972/)

m.collingwood 02-06-2012 07:18 PM

Putty crashes when selecting text to copy
 
Hi guys

I've had this happening for a few months now and it's becoming very annoying. I use putty on a daily basis and it all works fine, but if I want to copy and paste some text into an email I start the selection (click and drag the mouse) but as soon as I complete the selection (letting the mouse button up) putty simply crashes completely. There is no on screen error - the application has gone from the list of running apps.

So, I started putty from a terminal window and tried the same exercise, this time I got an error back in the terminal window, as follows:

Code:

The program 'putty' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 5900 error_code 8 request_code 114 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.

I searched on Google but there is nothing that matches this error.

I haven't done any strange configuration for putty - it's all out-of-the-box stuff.

I'm on Debian Squeeze 6.0.3
Linux 2.6.32-5-amd64
Gnome 2.30.2
Putty : Development Snapshot 2010-02-20

Cheers
Murray

DucQuoc 02-06-2012 08:34 PM

Quote:

Putty : Development Snapshot 2010-02-20
This version seems strange to me. I would recommend to use the latest version of PuTTy (0.62), which released in 2011.
http://the.earth.li/~sgtatham/putty/.../x86/putty.exe

Also, the error message suggested option --sync to putty. Have you ever tried it?

--Duc

m.collingwood 02-06-2012 11:46 PM

Quote:

Originally Posted by DucQuoc (Post 4595546)
This version seems strange to me. I would recommend to use the latest version of PuTTy (0.62), which released in 2011.
http://the.earth.li/~sgtatham/putty/.../x86/putty.exe

Also, the error message suggested option --sync to putty. Have you ever tried it?

--Duc

Hi Duc

I just tried running putty with the --sync option (sorry, I should have tried that earlier), anyways it worked fine and I was able to copy text without any problem.

I then went back to putty without the --sync option and it also worked as normal.

I don't think I'm at the bottom of this problem yet... not it appears to be intermittent. Next time it happens I will try with the --sync option from the command line and see what error I get.

Cheers
Murray

m.collingwood 03-11-2013 08:41 PM

And again with the putty --sync a similar error:

Quote:

murray@miro:~$ putty --sync
The program 'putty' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 52696 error_code 8 request_code 114 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.)
murray@miro:~$
And still it happens. The problem appears to be somewhat intermittent.
I've just restarted the computer and it's happening.

The really funny thing is that I was Googling for this problem of putty crashing and found this error reported, reading through thinking, yes yes yes - that's exactly what is happening to me, and then I was weirdly surprised to see it was my bug report from nearly 3 years ago.

Cheers
Murray

chrism01 03-12-2013 11:17 PM

As DucQuoc pointed out
Code:

Putty : Development Snapshot 2010-02-20
That version is
1. obsolete
2. NOT a prod version.

If you upgrade to current PROD version of Putty, you likely won't get that problem.


All times are GMT -5. The time now is 02:37 PM.