Ticket #68 (closed defect: fixed)
uncaught SIGPIPE brings down museekd
| Reported by: | agrow@… | Owned by: | daelstorm |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | museekd | Version: | 0.1.10 |
| Keywords: | SIGPIPE 141 | Cc: |
Description
The SIGPIPE is frequent enough that museekd is unusable. But see the attached patch, which fixes it.
[Museek.TM.DBG] initiating stack length: 0 [Museekal.CM.CYCLE] cycle 7
Program received signal SIGPIPE, Broken pipe. 0x283dff43 in sendto () from /lib/libc.so.6 (gdb) bt #0 0x283dff43 in sendto () from /lib/libc.so.6 #1 0x283dec40 in send () from /lib/libc.so.6 #2 0x080d9bb5 in ClientConnection::return_poll_mask (this=0x812ce00, mask=3) at build-i386-freebsd/Museekal/ClientConnection.cc:215 #3 0x080d4e37 in BaseConnection::return_poll_mask (this=0x812ce00, mask=3) at build-i386-freebsd/Museek/BaseConnection.cc:162 #4 0x080dd0e1 in ConnectionManager::cycle (this=0x812f000, timeout=6000) at build-i386-freebsd/Museekal/ConnectionManager.cc:233 #5 0x080dd15d in ConnectionManager::loop (this=0x812f000, timeout=60000) at build-i386-freebsd/Museekal/ConnectionManager.cc:332 #6 0x0808da13 in main (argc=1, argv=0xbfbfe188) at build-i386-freebsd/museekd/main.cc:114 (gdb)
