I’ve noticed that the simulator crashes every now and then. It’s not common, maybe once every 100-150 reloads, but it stops completely. Is this just something it does, or is this a problem with my game? Should I worry about this? [import]uid: 147322 topic_id: 34446 reply_id: 334446[/import]
I’ve never seen that the simulator crashes (running on a Mac with OSX 10.8), but I would say that any crash should be treated as a potential problem with the app.
If it mostly crashes with one particular app I would say that it’s something with the app. If it happens regardless of which app you’re running, I’d suspect a problem with the system (corrupt files etc, etc).
[import]uid: 70847 topic_id: 34446 reply_id: 136975[/import]
Hm.
It happens with all of my projects. I open the simulator, and it crashes - but only once every very rare now and then. I noticed it did the same thing with a previous build, but it would send an error message and the screen would be contorted in some places. I can’t remember exactly what the message was, but it was something like this:
************set break in alloc_to_debug****************
Or something like that.
So you think it might be with corrupted files on my computer? How might I find if I have corrupted files? And what kind of files would be corrupted? [import]uid: 147322 topic_id: 34446 reply_id: 136981[/import]
If only it were possible to easily find system problems! I’m just speaking from experience that when this kind of behavior occurs it’s one of the possibilities.
I’m not sure if you’re on Windows or Mac, but on Windows you could start the Command Prompt and do a ‘chkdsk’ to see if it reports anything. If it does I’d say it’s time for a re-format/re-install.
On Mac you could start the Disk Utility and verify your disk. If this reports any problems I would say the same thing: re-format/re-install. I know that it may sound like a drastic move, but in my experience the time it takes to track down and fix OS issues (and be comfortable with it) will take longer than to bite the bullet and do a re-install.
This kind of stuff is always very tricky. If you don’t find any problems with the commands above, it could also be hardware/driver issues which enters into a realm where even Gandalf would be stumped…
[import]uid: 70847 topic_id: 34446 reply_id: 136986[/import]
“The volume Macintosh HD appears to be OK.”
Should I call in Gandalf? It’s not really hindering me… I wonder if I could just ignore it. It’s extremely rare. (plus, I don’t want to spend a fortune with computer tech support)
C [import]uid: 147322 topic_id: 34446 reply_id: 136988[/import]
OK. Your HD seems to be fine. I vaguely recall that there were some Simulator issues way back with certain types of graphics cards on Mac. It might just be a hardware/simulator issue…hard to tell.
Unless somebody else has more of a clue about this, I guess that you could ignore it for the time being, as long as your apps don’t have the same behavior on actual devices… [import]uid: 70847 topic_id: 34446 reply_id: 136990[/import]
I think it’s just something that happens on rare occasions. My simulator has crashed somewhere between 5-10 times in 18 months. Restart it and carry on. As long as your actual app isn’t also crashing
There’s nothing to worry about. [import]uid: 82595 topic_id: 34446 reply_id: 136995[/import]
If I relaunch the sim while my app has a textfield being edited (cursor is on the screen) – poof, it crashes. (OSX 10.7.5, build 993)
Other than that, it seems pretty stable on my system. [import]uid: 79933 topic_id: 34446 reply_id: 136996[/import]
Hi Caleb,
Are you tinkering around with physics? If there’s one thing that seems to crash the Simulator reliably, it’s when you perform some illegal action or do something in the wrong order with physics.
Brent [import]uid: 200026 topic_id: 34446 reply_id: 137003[/import]
Thanks, everyone, for all of the input and crash reports 
I do have physics, but I think I have it all in the right order.
I have yet to test on a device… Maybe it’s just an error with the simulator, that has to take a break every now and then. [import]uid: 147322 topic_id: 34446 reply_id: 137012[/import]
I’ve never seen that the simulator crashes (running on a Mac with OSX 10.8), but I would say that any crash should be treated as a potential problem with the app.
If it mostly crashes with one particular app I would say that it’s something with the app. If it happens regardless of which app you’re running, I’d suspect a problem with the system (corrupt files etc, etc).
[import]uid: 70847 topic_id: 34446 reply_id: 136975[/import]
Hm.
It happens with all of my projects. I open the simulator, and it crashes - but only once every very rare now and then. I noticed it did the same thing with a previous build, but it would send an error message and the screen would be contorted in some places. I can’t remember exactly what the message was, but it was something like this:
************set break in alloc_to_debug****************
Or something like that.
So you think it might be with corrupted files on my computer? How might I find if I have corrupted files? And what kind of files would be corrupted? [import]uid: 147322 topic_id: 34446 reply_id: 136981[/import]
If only it were possible to easily find system problems! I’m just speaking from experience that when this kind of behavior occurs it’s one of the possibilities.
I’m not sure if you’re on Windows or Mac, but on Windows you could start the Command Prompt and do a ‘chkdsk’ to see if it reports anything. If it does I’d say it’s time for a re-format/re-install.
On Mac you could start the Disk Utility and verify your disk. If this reports any problems I would say the same thing: re-format/re-install. I know that it may sound like a drastic move, but in my experience the time it takes to track down and fix OS issues (and be comfortable with it) will take longer than to bite the bullet and do a re-install.
This kind of stuff is always very tricky. If you don’t find any problems with the commands above, it could also be hardware/driver issues which enters into a realm where even Gandalf would be stumped…
[import]uid: 70847 topic_id: 34446 reply_id: 136986[/import]
“The volume Macintosh HD appears to be OK.”
Should I call in Gandalf? It’s not really hindering me… I wonder if I could just ignore it. It’s extremely rare. (plus, I don’t want to spend a fortune with computer tech support)
C [import]uid: 147322 topic_id: 34446 reply_id: 136988[/import]
OK. Your HD seems to be fine. I vaguely recall that there were some Simulator issues way back with certain types of graphics cards on Mac. It might just be a hardware/simulator issue…hard to tell.
Unless somebody else has more of a clue about this, I guess that you could ignore it for the time being, as long as your apps don’t have the same behavior on actual devices… [import]uid: 70847 topic_id: 34446 reply_id: 136990[/import]
I think it’s just something that happens on rare occasions. My simulator has crashed somewhere between 5-10 times in 18 months. Restart it and carry on. As long as your actual app isn’t also crashing
There’s nothing to worry about. [import]uid: 82595 topic_id: 34446 reply_id: 136995[/import]
If I relaunch the sim while my app has a textfield being edited (cursor is on the screen) – poof, it crashes. (OSX 10.7.5, build 993)
Other than that, it seems pretty stable on my system. [import]uid: 79933 topic_id: 34446 reply_id: 136996[/import]
Hi Caleb,
Are you tinkering around with physics? If there’s one thing that seems to crash the Simulator reliably, it’s when you perform some illegal action or do something in the wrong order with physics.
Brent [import]uid: 200026 topic_id: 34446 reply_id: 137003[/import]
Thanks, everyone, for all of the input and crash reports 
I do have physics, but I think I have it all in the right order.
I have yet to test on a device… Maybe it’s just an error with the simulator, that has to take a break every now and then. [import]uid: 147322 topic_id: 34446 reply_id: 137012[/import]