Bug 1471005 - Error writing selection data: Error writing to file descriptor: Broken pipe
Summary: Error writing selection data: Error writing to file descriptor: Broken pipe
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gpaste
Version: 27
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Mohamed El Morabity
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-14 09:06 UTC by Lorenzo Dalrio
Modified: 2020-09-30 15:59 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-30 23:18:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lorenzo Dalrio 2017-07-14 09:06:37 UTC
Description of problem:
While using evolution clipboard stops working and the journal is flooded with this error

Error writing selection data: Error writing to file descriptor: Broken pipe


Version-Release number of selected component (if applicable):
evolution-3.24.3-1.fc26.x86_64


How reproducible:
Open Evolution, open a mail, select some text, copy it, paste it to gnome terminal.


Steps to Reproduce:
1. Open Evolution
2. Open a mail
3. Select some text and copy it.
4. Paste it to gnome-terminal


Actual results:
No text is pasted, the journal is flooded with the error

Error writing selection data: Error writing to file descriptor: Broken pipe


Expected results:
The text copied is pasted.


Additional info:

Comment 1 Milan Crha 2017-07-14 10:43:39 UTC
Thanks for a bug report. I tried to reproduce this, but no luck. I had opened GNOME Shell under Wayland and also GNOME Classic. Neither had this issue. I've been using middle-click and Ctrl+C and Ctrl+Shift+V to paste to the gnome-terminal.

The error message you provided suggests that the issue is somewhere deeper in the stack, might it be gtk+, or the window manager, or...

Could you try whether it's just an intermittent issue, like whether closing all evolution windows and running evolution from a terminal will still exhibit the issue? Eventually whether full restart of the machine would cure the issue, please?

Comment 2 Lorenzo Dalrio 2017-07-14 12:53:17 UTC
I forgot to mention that i have gpaste running all the time.

I have restarted my workstation and opened evolution from a terminal without any argument.

The issue appears after some time, i don't know what triggers it.

The output on terminal is this:

(evolution:12238): Gdk-WARNING **: Error writing selection data: Error writing to file descriptor: Broken pipe

A new line like the one above is printed every time i select some text.

If i try to paste to gnome-terminal this error is printed to journal:

Jul 14 14:46:55 gollum gnome-terminal-[3846]: gdkselection-wayland.c:266: error reading selection buffer: Operation was cancelled

Daemon reexec of gpaste does not solve the problem.

Closing and reopening evolution solves the problem.

Let me know if you need more debug or tests.

Comment 3 Milan Crha 2017-07-17 11:11:56 UTC
Thanks for the update. I can reproduce it when gpaste (or better the gpaste-daemon) is running, otherwise not, thus I move this to gpaste for further investigation.

Comment 4 Pranav Kant 2017-07-29 03:38:10 UTC
I can reproduce the same behavior in fedora 25 as well. But not with evolution, it is with gnome-terminal rather. I cannot paste anything into gnome-terminal using Ctrl + Alt + V suddenly; it used to work and suddenly it stopped working. I don't even have GPaste running. On journal I can find lines like :

gnome-terminal-[6410]: gdkselection-wayland.c:266: error reading selection buffer: Operation was cancelled

which is probably related to this.

Interestingly, -sometimes- the paste finally happens, but after a huge delay (~2 minutes or so).

Since the error message I am facing is same as Lorenzo, I think it is the same bug, but let me know if I need to file a separate bug report.

Comment 5 Pranav Kant 2017-07-29 03:53:05 UTC
And another thing if it may help: If I copy from gnome-terminal using Ctrl + Alt + C and paste it in the gnome-terminal (whether in the same tab, another tab or another terminal window), it works (without any delay). It's just that when I copy from some other application that it doesn't work.

Comment 6 Lorenzo Dalrio 2018-01-10 14:06:19 UTC
Still present of F27.

Comment 7 Ben Cotton 2018-11-27 13:57:46 UTC
This message is a reminder that Fedora 27 is nearing its end of life.
On 2018-Nov-30  Fedora will stop maintaining and issuing updates for
Fedora 27. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora  'version' of '27'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 27 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Ben Cotton 2018-11-30 23:18:21 UTC
Fedora 27 changed to end-of-life (EOL) status on 2018-11-30. Fedora 27 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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