← Back to team overview

kernel-packages team mailing list archive

[Bug 1512815] Re: read() from pty doesn't finish.

 

I'm writing this comment on behalf of someone that does experience the
problem and have tested the test kernel (Wily kernel with commit
e81107d) by Joseph Salisbury.

Here is the feedbacks:

---
Hello,

We examined whether the provided kernel works on Ubuntu 15.10 by running
our test program.

4.2.0-16 kernel: The problem occurred 30 times at 630 running.
4.2.0-17.21~lp1512815 kernel: 0 time at 100000 running. (We didn't install linux-cloud-tools packages.)

We think the fixed kernel works fine.

By the way, if you are referencing 3.18.23, there is an extra
spin_unlock_irqrestore() which should be removed by
http://pastebin.com.keephe.com/L14RzUcF
,so please be aware.

We will wait for a kernel backported for Ubuntu 14.04 LTS (x86_64).
---

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1512815

Title:
  read() from pty doesn't finish.

Status in linux package in Ubuntu:
  In Progress

Bug description:
  It has been brought to my attention

  By the attached test program pty, a pair of process repeats writing
  and reading only '\n' to a master pseudoterminal device (/dev/ptmx)
  and a slave pseudoterminal device (/dev/pts/N) each. When we carry out
  the following 30 pairs 10,000 times, in a pair each process doesn't
  finish reading.

  $ pty 30
  The following message will be usually indicated immediately.
  #name copy num/sec usec/num
  pty_switch 30 1541842 0.648575

  When a message wasn't indicated any more, we got the attached dump file. 
  A kernel was 3.13.0-45.74. 
  A system was Ubuntu 14.04 LTS.

  The same problem occurred in case of 3.13.0-55.92 kernel and the following kernel have been tested as well:
  2.6.32, 3.10: not reproduces.
  3.19, 4.0.0, 4.1.3: reproduces.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1512815/+subscriptions


References