Skip to main content
Search titles, bodies, and author names
Found 21,315 posts across 1 forum.

Odd autorelease crashes — #1

Hey everyone. I'm having rather odd issues with the NSAutoRelease pool. My program is crashing when the NSAutoRelease pool releases an NSString that I have neither retained nor r…
MacNN Troubleshooting by Detrius

Odd autorelease crashes — #2

My guess is that NSString's -substringWithRange: returns an autoreleased NSString, so if you autorelease that, it's on the autorelease pool twice, and thus gets sent -release twice…
MacNN Troubleshooting by oVeRmInD911

Odd autorelease crashes — #3

Quote: Originally posted by oVeRmInD911: My guess is that NSString's -substringWithRange: returns an autoreleased NSString, so if you autorelease that, it's on the autor…
MacNN Troubleshooting by Detrius

Odd autorelease crashes — #4

Quote: Originally posted by Detrius: Is it possible that I am releasing an object elsewhere that is already on the autorelease pool, and then this object just inadverte…
MacNN Troubleshooting by qyn

Odd autorelease crashes — #5

Don't autorelease the object. Whenever you get an object without using an alloc] init... statmeent, it's assuemd the the object has already been autoreleased. Matt Fahrenbacher
MacNN Troubleshooting by Ghoser777

Odd autorelease crashes — #6

The thing that is absolutely bizarre is that according to Apple's ObjectAlloc utility, the NSString object has been neither retained nor released, yet it is crashing in the autorel…
MacNN Troubleshooting by Detrius

Odd autorelease crashes — #7

Quote: Originally posted by Detrius: If I autorelease the object returned from this function, the program crashes at the the NSString object. If I do not autorelease th…
MacNN Troubleshooting by Uncle Skeleton

Odd autorelease crashes — #8

wait, now that I actually read the part I quoted I'm less sure I ever knew what you were talking about. Did you mean you were autoreleasing the NSString you were talking about, or…
MacNN Troubleshooting by Uncle Skeleton

Odd autorelease crashes — #9

Quote: Originally posted by Uncle Skeleton: wait, now that I actually read the part I quoted I'm less sure I ever knew what you were talking about. Did you mean you wer…
MacNN Troubleshooting by Detrius

Odd autorelease crashes — #10

First thing, you shouldn't start your classes with lower case letters - it's bad style laExpression => LAExpression Second, I'm betting then something really weird is happeni…
MacNN Troubleshooting by Ghoser777

Odd autorelease crashes — #11

Quote: Originally posted by Detrius: I realized that I hadn't been following proper procedure, so I went back through all of my code and changed it as seemed appropriate…
MacNN Troubleshooting by Uncle Skeleton

Odd autorelease crashes — #12

Quote: Originally posted by Uncle Skeleton: my first instinct is to say you probably had a release on one of those once and now it's being auto-released and the stray re…
MacNN Troubleshooting by Detrius

Odd autorelease crashes — #13

New information: Elsewhere in this laExpression class, I have been using the NSNotification center to pass messages to whomever needs to know when the object has changed. On a wh…
MacNN Troubleshooting by Detrius

Odd autorelease crashes — #14

Maybe you should take a look at the stuff in NSDebug.h and search Apple's developer site for MallocDebug. These are both helpful in tracking down these types of issues.
MacNN Troubleshooting by smeger

Odd autorelease crashes — #15

Some closure here... apparently, ObjectAlloc isn't a program you can rely on to give you details about why your program crashed. The thing that I finally had to do is print out a…
MacNN Troubleshooting by Detrius

ThemePark HELP — #1

yes, i need help with some ThemePark problems. Okay, first off, in "Menu Item Selected" (Blue or Graphite) the image provided is too small or something, because it starts to repeat…
MacNN Troubleshooting by fireside

ThemePark HELP — #2

You could make the box part of the widget itself. Just make the inside sides of the boxes meet each other so they appear to connect.
MacNN Troubleshooting by TheDisaster

ThemePark HELP — #3

Quote: Originally posted by TheDisaster: You could make the box part of the widget itself. Just make the inside sides of the boxes meet each other so they appear to conn…
MacNN Troubleshooting by fireside

ThemePark HELP — #4

:: Best way to do it is make the box part of the TitleBar Caps. :: Then, make the widgets with a transparent background :: and they will float on top of the box. :: Fluid
MacNN Troubleshooting by Fluid

ThemePark HELP — #5

If you want to make the box around the widgets, change the metal windows bevel. The first one
MacNN Troubleshooting by mac15

ThemePark HELP — #6

for the menu item selected... why not just make the graphic 1 pixel taller? Menu graphics are pretty friendly when it comes to resizing. Also, be sure to hit the Options button whe…
MacNN Troubleshooting by wibs

ThemePark HELP — #7

don't worry wibs, Mac15 IM'd me and told me how to do it. and i was fairly new to ThemePark (still am) so i thought by clicking "Resize all Images" or whatever would resize EVERYTH…
MacNN Troubleshooting by fireside

ThemePark HELP — #8

Quote: Originally posted by fireside: Progress Bars: on the regular one: i want to make it so there are 1 pixel thin strips going across the progress bar, but whenever i…
MacNN Troubleshooting by wibs

ThemePark HELP — #9

Just a note.. If you want to have a gradient for menu item selections, I recommend that you use the Menu Enhancer option, because that will make them stretch instead of tile when t…
MacNN Troubleshooting by bOOzo
mp.ls