• 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
Fwd: ObjectAlloc crashes my app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: ObjectAlloc crashes my app


  • Subject: Fwd: ObjectAlloc crashes my app
  • From: "Martin Redington" <email@hidden>
  • Date: Tue, 10 Jul 2007 02:01:08 +0100

---------- Forwarded message ----------
From: Martin Redington <email@hidden>
Date: Jul 10, 2007 2:00 AM
Subject: Re: ObjectAlloc crashes my app
To: Matt Neuburg <email@hidden>


Basically, as I understand it, if you're using any code that uses custom allocators, which are used by a lot of stuff (quicktime and lots of security code, but lots of othr stuff as well, probably), you can forget objectalloc. OmniObjectMeter suffers from similar problems.

If you can cut the stuff with custom allocation out of your app, you
may be able to debug the rest. I was able to do this when I was using
some ssl and other security stuff, but in my quicktime video capture
app, it would be kind of pointless.

Heap and leaks should still work though, and are sometimes easier to
work with than the graphical apps.

On 7/10/07, Matt Neuburg <email@hidden> wrote:
When I try to use ObjectAlloc to launch my app, my app crashes. I am shown
the dialog "The subtask was terminated by signal 11." There is a crash log,
which starts like this:

Thread 0 Crashed:
0   <<00000000>>     0xfffeff18 objc_msgSend_rtp + 24
1   com.apple.AppKit                   0x93a6b9a0
-[NSApplication(NSErrorPresentation) _validateError:forPresentationMethod:]
+ 44
2   com.apple.AppKit                   0x93a6bd04
-[NSApplication(NSErrorPresentation) presentError:] + 64
3   com.neuburg.matt.PacManOnMarsX     0x00005444 -[MyObject
applicationDidFinishLaunching:] + 1412 (MyObject.m:50)
[...]

My applicationDidFinishLaunching: does indeed have a presentError: call, but
I don't understand why the error is even trying to appear, since it does not
appear when I run or debug the app without ObjectAlloc in the story.

The problem seems to have to do with QTKit and loading a QTMovie. If I
comment out the code that loads the QTMovie, the problem vanishes. Is there
some known bad interaction between ObjectAlloc and QTKit?

m.

--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
AppleScript: the Definitive Guide - Second Edition!
http://www.amazon.com/gp/product/0596102119
Take Control of Word 2004, Tiger, and more -
http://www.takecontrolbooks.com/tiger-customizing.html
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >ObjectAlloc crashes my app (From: Matt Neuburg <email@hidden>)

  • Prev by Date: ObjectAlloc crashes my app
  • Next by Date: Re: Icon creation tool
  • Previous by thread: ObjectAlloc crashes my app
  • Next by thread: Re: ObjectAlloc crashes my app
  • Index(es):
    • Date
    • Thread