• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Crash in libsystem_kernel.dylib`__workq_kernreturn:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash in libsystem_kernel.dylib`__workq_kernreturn:


  • Subject: Re: Crash in libsystem_kernel.dylib`__workq_kernreturn:
  • From: "Stephen J. Butler" <email@hidden>
  • Date: Sun, 25 Jan 2015 19:05:15 -0600

I agree that it sounds like a memory management bug. Especially since
you aren't using ARC. Try turning on NSZombies and see if it crashes
at a more helpful point.

http://michalstawarz.pl/2014/02/22/debug-exc_bad_access-nszombie-xcode-5/

On Sun, Jan 25, 2015 at 4:57 PM, Trygve Inda <email@hidden> wrote:
>> 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

_______________________________________________

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


References: 
 >Re: Crash in libsystem_kernel.dylib`__workq_kernreturn: (From: Quincey Morris <email@hidden>)
 >Re: Crash in libsystem_kernel.dylib`__workq_kernreturn: (From: Trygve Inda <email@hidden>)

  • Prev by Date: Re: Crash in libsystem_kernel.dylib`__workq_kernreturn:
  • Next by Date: Re: Binding to a view's model object
  • Previous by thread: Re: Crash in libsystem_kernel.dylib`__workq_kernreturn:
  • Next by thread: Any way to force a window under the menu bar?
  • Index(es):
    • Date
    • Thread