Ticket #182 (new Bug)
Opened 6 years ago
spins when ispell output is exactly 1 kbyte
| Reported by: | cg2v | Owned by: | Cyrus Daboo |
|---|---|---|---|
| Priority: | major | Milestone: | unassigned |
| Component: | Application | Version: | v4.0.7 |
| Severity: | Crash/data loss | Keywords: | |
| Cc: | Operating System: | Linux | |
| OS Version: | Fedora Core 3 |
Description
Note that the summary may not be an accurate statement, but it's better than anything else I could think of.
I encountered a problem today where mulberry would hang (with high cpu utilization) if I pasted the following string into a compose window:
default_etypes=aes256-cts-hmac-96 arcfour-hmac des3-cbc-sha1 des-cbc-crc
strace showed the following two syscalls over and over again: waitpid(28869, 0xbfab4b88, WNOHANG) = 0 select(12, [11], NULL, NULL, {0, 0}) = 0 (Timeout)
We're running a fairly old ispell here: International Ispell Version 3.1.20 10/10/95
and that will probably make it hard to reproduce this.
I captured the input and output of ispell and noticed that ispell's output is exactly 1024 bytes, suggesting that there may be a boundary condition in mulberry. The input/output are attached.