Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#1221 closed defect (fixed)

Crash when SIP transport tried to write to a broken pipe

Reported by: ming Owned by: bennylp
Priority: normal Milestone: release-1.10
Component: pjsip Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description (last modified by ming)

Crash occurred when SIP transport tried to write to a broken pipe and get a SIGPIPE error while the underlying connection is refused.

Application should refer to pjsua/main.c for handling the case when we get a SIGPIPE signal.

Change History (6)

comment:1 Changed 13 years ago by ming

  • Description modified (diff)

comment:2 Changed 13 years ago by ming

  • Resolution set to fixed
  • Status changed from new to closed

(In [3478]) Fixed #1221: Crash when SIP transport tried to write to a broken pipe.

comment:3 Changed 13 years ago by ming

(In [3479]) Re #1221: Fix variable name error.

comment:4 Changed 13 years ago by ming

(In [3480]) Re #1221: Move setting the socket option to pjlib level (sock_bsd) instead of in the SIP transport.

comment:5 Changed 13 years ago by ming

(In [3492]) Re #1221: Fixed wrong reference to the socket variable.

comment:6 Changed 12 years ago by bennylp

  • Backported unset

Updated in #1538

Note: See TracTickets for help on using tickets.