4873 Bus error

/Applications/CoronaSDK/Corona Terminal: line 9: 4873 Bus error "$path/Corona Simulator.app/Contents/MacOS/Corona Simulator" $\*  
logout  
  

I get the following error randomly, and I don’t know what causes it. Can somebody please explain it to me so that I can know the problem and solve it? Thanks. [import]uid: 91271 topic_id: 15190 reply_id: 315190[/import]

Did your problem got Resolved?
I too have the same problem but not exactly the same one.I have the SEGMENTATION ERROR …I am new to this error and not able to resolve it as of now.Please help me if u can regarding this.I shall be thankful to you if you can help me. [import]uid: 82446 topic_id: 15190 reply_id: 56156[/import]

aileen, are you using physics?

Rahul, what’s your full error? When does it occur? [import]uid: 52491 topic_id: 15190 reply_id: 56260[/import]

/Applications/CoronaSDK/Corona Terminal: line 9: 647 Segmentation Error “$path/Corona Simulator.app/Contents/MacOS/Corona Simulator” $*

This is a unique error.Unique in the sense that it is running successfully in windows version but crashing with the mac.Has successfully run in android but don’t know why it crashes in mac.
I am facing this error when i am going to a new page from a menu page …I have not used any physics.this page has multiple functions and nothing else. [import]uid: 82446 topic_id: 15190 reply_id: 56309[/import]

@Peach Pellen: Could you suggest me some links or tutorials on Ansca programming.As I am new to this Could not find much On the net regarding this and finding it difficult to develop apps using corona.I would be thankful to you if you can help me regarding both the problems… [import]uid: 82446 topic_id: 15190 reply_id: 56310[/import]

I must say I’m not familiar with the error, I’ve only ever seen similar issues when physics were involved.

If you are a subscriber, you can submit a support request here; http://developer.anscamobile.com/forms/support

For resources, certainly :slight_smile:

There is a huge list here; http://www.learningcorona.com/ [import]uid: 52491 topic_id: 15190 reply_id: 56368[/import]

@Peach: Yes, Im using physics. What causes this error usually? It’s driving me mad! :frowning: [import]uid: 91271 topic_id: 15190 reply_id: 56438[/import]

@ peach pellen: Thank you for helping me.My problem got resolved. [import]uid: 82446 topic_id: 15190 reply_id: 56458[/import]

@Rahul - Glad to hear it :slight_smile:

@Aileen - It’s hard to pinpoint at times.

You say you are getting it “randomly” - which means you have set physics up correctly because it isn’t always at the start. (A common issue.)

What about bodies and collisions - that can be an issue.

Is the issue occurring when you have a collision event going on?

Is it happening when you are trying to spawn an object, give it a physics body or change a physics body?

It wont be random, there will be a common element - do either of the above sound like possible culprits?

Peach :slight_smile: [import]uid: 52491 topic_id: 15190 reply_id: 56483[/import]

@Peach: It usually happens when I remove an object. I followed golden rule when removing objects (to use a delay before removing). [import]uid: 91271 topic_id: 15190 reply_id: 56498[/import]

anyone? pls help! :frowning: [import]uid: 91271 topic_id: 15190 reply_id: 56596[/import]

@aileen, you might want to read this post – it might be as helpful to you as it was to me:

http://developer.anscamobile.com/forum/2011/05/26/bus-error

Notice the comment about “the actual number kept changing”. The rest is the same, i.e., the part that prints “/Applications/CoronaSDK/Corona Terminal: line 9:” is exactly the same.

I never had this error before, and it happened only once today. In other words, with my game app, it’s a very rare occurrence – I tried to reproduce this by play testing the same level for a couple of hours (!!) and it never happened again.

If you can reproduce this error reliably, then using performWithDelay (as suggested in the linked post) might help you. Good luck!

[import]uid: 67217 topic_id: 15190 reply_id: 56618[/import]

@ask: Thanks for the reply. However, I’m not using physics.stop() in my codes. The error also stopped recurring (as of now) without me doing anything about it. I want to know what’s the root behind this error so that we can prevent it from reoccurring. [import]uid: 91271 topic_id: 15190 reply_id: 56621[/import]

Hey there,

OK - so maybe the collision still isn’t fully resolved - that would be the most obvious thing to look at.

How long is your delay?

Are you also using if event.phase == “ended” in the removal?

Peach [import]uid: 52491 topic_id: 15190 reply_id: 56634[/import]

@ peach pellen : I have a doubt that where can I post my queries if I have to do so? [import]uid: 82446 topic_id: 15190 reply_id: 56902[/import]

@ peach pellen : I am again struck in a no mans land.I am using slides in my app and i want to use the buttons to change the scene but I am not able to do that…

The problem is that simulator reads the function where i have described the change-scene but it is neither changing the scene nor is showing any error.So,I have got struck at the end of my app.

kindly help me if u can? [import]uid: 82446 topic_id: 15190 reply_id: 57045[/import]

Hello again Rahul,

I’m not sure quite what your first question meant; do you mean where can you post your questions for help? If so, you can make a new thread in the appropriate subforum. For phyiscs related stuff, you’d post in Developer Support.

Your Scene change problem; are you using Director Class? If so, there is a sub forum for that as well where you can explain your problem in detail and get some help :slight_smile:

Peach [import]uid: 52491 topic_id: 15190 reply_id: 57081[/import]

Yes that is what I meant and as of now I have resolved it.I have got the place where I can post my Queries.
Yes I am using Director.As of now I have posted my query.
Thanks a ton for your support…
[import]uid: 82446 topic_id: 15190 reply_id: 57087[/import]

Not a problem :slight_smile:

Best of luck with your other questions, I will keep an eye out for them around the forum. [import]uid: 52491 topic_id: 15190 reply_id: 57230[/import]