Re: Crash in libsystem_kernel.dylib`__workq_kernreturn:
Re: Crash in libsystem_kernel.dylib`__workq_kernreturn:
- Subject: Re: Crash in libsystem_kernel.dylib`__workq_kernreturn:
- From: Trygve Inda <email@hidden>
- Date: Sun, 25 Jan 2015 14:57:36 -0800
- Thread-topic: Crash in libsystem_kernel.dylib`__workq_kernreturn:
> On Jan 25, 2015, at 12:33 , Trygve Inda <email@hidden> wrote:
>>
>> It does seem like if I remove a call to
>>
>> NSData* imageData = [[self myImageRep]
>> representationUsingType:NSJPEGFileType properties:imageProperties];
>>
>> It no longer crashes, but the crash happens 3-5 seconds after this call when
>> my program should be idle.
>
> It sounds like a memory management bug. What’s the context of the above line
> of code? Is it in a block? Are you using ARC?
>
>
No ARC and not in a block. I am trying to make a jpg file from a
NSBitmapImageRep which works fine, but sometimes I get a crash... Even
though the file is correctly produced.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden