Ticket #68 (closed defect: fixed)

Opened 18 months ago

Last modified 4 weeks ago

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)

Attachments

avoid-sigpipe.museek+.diff (354 bytes) - added by agrow@… 18 months ago.
patch to avoid SIGPIPE when peers disappear

Change History

Changed 18 months ago by agrow@…

patch to avoid SIGPIPE when peers disappear

Changed 4 weeks ago by lbponey

  • status changed from new to closed
  • resolution set to fixed

All this stuff has been completely reworked in newnet branch. Fixed.

Add/Change #68 (uncaught SIGPIPE brings down museekd)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.