Adium

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#6270 closed defect (fixed)

NSConcreteFileHandle bad file descriptor exception needs to be avoided or handled

Reported by: evands Owned by: evands
Milestone: Adium X 1.0.1 Component: Logging
Version: Severity: normal
Keywords: Cc:
Patch Status:

Description

The following crash was reported as "crash after closing a message window". Devs: Crash reporter entry.

OS Version:	Version 10.4.8 (Build 8L127)
Language:	en
Exception:	NSFileHandleOperationException
Reason:	*** -[NSConcreteFileHandle writeData:]: Bad file descriptor
Stack trace:
     1	
     2	 [NSException raise:format:] (in Foundation)
     3	
     4	-[NSConcreteFileHandle writeData:] (in Foundation)
     5	
     6	-[AIXMLAppender addElementWithName:escapedContent:attributeKeys:attributeValues:] (in Adium) (crt.c:355)
     7	
     8	-[AILoggerPlugin chatClosed:] (in Adium) (crt.c:355)
     9	
    10	__nsnote_callback (in Foundation)
    11	
    12	___CFXNotificationPost (in CoreFoundation)
    13	
    14	__CFXNotificationPostNotification (in CoreFoundation)
    15	
    16	-[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)

This exception needs to be avoided if possible and handled gracefully if not. Colin, can you please look into this?

Change History (5)

comment:1 Changed 13 years ago by Evan Schoenberg

This is definitely a common 1.0 crash; I found five reports of it in the first 2 pages of the reporter. here is another person's report; same trace.

comment:2 Changed 13 years ago by Colin Barrett

http://evands.penguinmilitia.net/Adium_1.0-nostrip.dmg

That's the build to try, in case people are watching this ticket. Let us know on this ticket if you experience the crash on the above build.

comment:3 Changed 13 years ago by Evan Schoenberg

Owner: changed from Colin Barrett to Evan Schoenberg
Status: newassigned

comment:4 Changed 13 years ago by Evan Schoenberg

Resolution: fixed
Status: assignedclosed

(In [18894]) Exception handling when doing log writing via AIXMLAppender. Fixes #6270

comment:5 Changed 13 years ago by Evan Schoenberg

(In [18895]) Merged [18894]: Exception handling when doing log writing via AIXMLAppender. Fixes #6270

Note: See TracTickets for help on using tickets.