|
Bugzilla – Full Text Bug Listing |
| Summary: | suspend fg resume not working | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Brian Pribis <brian.pribis> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | high | ||
| Priority: | low | ||
| Version: | 1.8.9 | ||
| Hardware: | Other | ||
| OS: | Other | ||
|
Description
Brian Pribis
2014-04-28 06:56:13 MDT
This may be unrelated, but I thought I'd add it anyway. When fg fails, my number pad stops working correctly (acts like it may be enabled in mouse mode or something). But if I open another file (say, using emacs) and exit, the number pad starts working correctly. 1. Open file with sudo emacs 2. Ctl-Z 3. fg 4. Repeat 1-3 until fg fails to bring emacs to foreground. 5. Numpad not working. 6. Open another file with emacs (doesn't have to be sudo'd). 7. Exit emacs (or send to background). 8. Numpad working now. I compiled and installed from src 1.8.10p2 and the problem appears to have gone away. Can anyone confirm this? Ubuntu doesn't have this version yet available. I'm currently traveling and won't be able to try to reproduce the problem on Ubuntu 14.04 until the end of the week. Thanks for trying out 1.8.10p2, I was going to ask if you could do that. There was a change in 1.8.10 that affects how the terminal mode is restored which might be relevant. Just to note, 1.8.10p2 also fixed the numpad problem as well. I'm going to mark this as fixed as I am unable to reproduce the problem with Ubuntu 14.04 using either the Ubuntu 1.8.9p5 package or 1.8.10p2 from sudo.ws. This kind of race condition can be hard to reproduce and may depend on the number of CPUs and how busy the system is. Since you can no longer reproduce the problem it seems likely that the changeset that fixed it was http://www.sudo.ws/repos/sudo/rev/94979d51daa2 |