Skip navigation.
 
mlRe: help with closing file handle
FROM : Daniel Luis dos Santos
DATE : Sun Feb 10 12:18:00 2008

That was all the code. The only thing that is not showing is the 
string literal that gets passed through the argument list.

Thanks anyway



On Feb 9, 2008, at 3:23 PM, Shawn Erickson wrote:

> On Feb 9, 2008 5:22 AM, Nir Soffer <<email_removed>> wrote:
>

>> I guess that you pass an autoreleased string to the file handle, and
>> the exceptions you get are raised when the file handle try to send a
>> message to the object you passed, which does not exists any more

>
> It would be the responsibility of NSFileHandle to retain or copy the
> string. Likely it is an over-released string because of a bug in
> memory management.
>
> However as you said we need to see more code to help.
>
> -Shawn

Related mailsAuthorDate
mlhelp with closing file handle Daniel Luis dos Sa… Feb 8, 14:06
mlRe: help with closing file handle Kyle Sluder Feb 8, 17:15
mlRe: help with closing file handle Daniel Luis dos Sa… Feb 9, 13:03
mlRe: help with closing file handle Daniel Luis dos Sa… Feb 9, 13:14
mlRe: help with closing file handle Nir Soffer Feb 9, 14:22
mlRe: help with closing file handle Uli Kusterer Feb 9, 15:55
mlRe: help with closing file handle Shawn Erickson Feb 9, 16:23
mlRe: help with closing file handle Daniel Luis dos Sa… Feb 10, 12:18