Opened 12 years ago

Closed 12 years ago

#949 closed defect (invalid)

sigpipe crashes for pidgin on unstable connection

Reported by: kstange Owned by: MarkDoliner
Milestone: Component: libpurple
Version: 2.0 Keywords: sigpipe crash oscar msn disconnect

Description (last modified by kstange)

My connection is horribly unstable, and often when I get disconnected from AIM or MSN, I get a SIGPIPE. Attached is the BT and debug output relevant to the crash for each PRPL. This file contains both the MSN and the OSCAR crashes. The OSCAR one is the second one. Both seem to be because the connection disappears and the PRPL tries to write to the FD after it's gone. I'm not familiar enough with the PRPLs to know how best to detect the lost connection and clean up, but in MSN's case, the connection check is like this before sending to the closed FD at cmdproc.c:157:

if (!servconn->connected)


So, 'connected' is not being set to FALSE and it's trying to send the disconnection message to the server posthumously. I presume OSCAR is similar.

Attachments (1)

sigpipe.txt (3.6 KB) - added by kstange 12 years ago.
debug log and backtrace

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by kstange

debug log and backtrace

comment:1 Changed 12 years ago by kstange

  • Description modified (diff)

comment:2 Changed 12 years ago by kstange

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

khc notes that sigpipe is handled by libpurple, so the crash is most likely something else. I will reopen this later when I find it.

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!