startup errors caused by objects that exist

For questions about using Classic.

Post » Tue Nov 11, 2008 11:14 am

Is there any reason for this? I'm tinkering with something, and some very specific set of sprite objects I added seem to be causing a problem when I try to test. I get about five or six 0xc0000005 error windows in a row before it finally goes away. I have to remove all of them before it stops doing so. Did I do anything wrong with them or is this a construct bug? I think it's already happened before in an earlier version of construct.
B
2
G
4
Posts: 29
Reputation: 1,108

Post » Tue Nov 11, 2008 11:34 am

The error code is a memory address. Have you tried it on any other computers or just the one? If the error exists on other computers then it's likely that either some funny events are causing the problem, or it could indeed be some kind of bug... if it only happens on your computer, you could have a RAM issue.

Post the .cap if you want so someone else can test it. I don't have Construct on this PC here right now, but I'm sure someone will give it a shot, or I can try later when I get onto my Construct computer.

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Post » Tue Nov 11, 2008 12:21 pm

No, an error code is an error code. I'm going to just wait until someone who knows what i'm talking about shows up and go from there... No it's not the computer and no it's not events because I haven't made any events for them. they all have physics behavior and a few have a custom collision, but it's obviously not the case because this is also the same for objects i created before and after these problem causing ones. What's also funny is that they were working before.
B
2
G
4
Posts: 29
Reputation: 1,108

Post » Tue Nov 11, 2008 12:49 pm

The error 0xC0000005 is generated by an illegal "memory access violation". This can be caused by anything from faulty RAM, an incorrect/corrupt device driver, poorly written/updated software and more commonly under Windows XP Service pack 2, malware/adware installations.

It is a memory refrence.

I know this, because I am a technician. A really good technician.

*EDIT*
Why don't you post your .cap so I can check it out. I have a funny feeling about something.

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Post » Tue Nov 11, 2008 1:49 pm

Yeah, the best way to diagnose and fix this is a .cap file showing it; should be fairly simple then.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Tue Nov 11, 2008 8:01 pm

I'd actually prefer not to for various reasons. Can I be told of any possible causes?
B
2
G
4
Posts: 29
Reputation: 1,108

Post » Tue Nov 11, 2008 8:18 pm

If it's a bug in Construct it's too hard to do anything about it without the .cap file; you wouldn't go to a car mechanic and say "my car doesn't start, but I can't show it to you. Can you tell me what's wrong?". I advise you either make a fresh .cap file you're willing to share and upload that, or send it to me privately, or delete/remove behaviors and objects until it doesn't crash any more (then it was probably caused by whatever you deleted last).
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Tue Nov 11, 2008 8:39 pm

As i've said before, it only happens as I delete these specific objects. I've been adding obstacles in the form of immovable physics objects, since that's the only way I can currently do what I'm trying to do. Just now i've gone in and deleted EVERYTHING ELSE in this cap file but some objects that I had to remove to prevent the crash. It still crashes, so i've isolated it to those parts, and worked my way down from there.

It's apparently being caused by objects with these same characteristics: They use a custom collision, they're right triangles (and so is the collision), and their angle is NOT 0. I changed their angles to 0 and everything was fine. Then as an experiment I changed an object's angle back to what I had it at (90) and sure enough, it crashed again.
B
2
G
4
Posts: 29
Reputation: 1,108

Post » Wed Nov 12, 2008 12:14 am

what, is there no post editing feature? um... anyway, I did some more testing, and it seems to happen if I rotate the object 45 degrees or more. from -44 and 44, it's fine.
B
2
G
4
Posts: 29
Reputation: 1,108

Post » Wed Nov 12, 2008 3:22 pm

1. You only have the ability to edit your posts for a few minutes, so be careful what you post.

2. I am not able to recreate your crash. I did exactly what you described... I created a sprite, gave it physics behavior, gave it a custom collision mask (a right triangle), and rotated the sprite beyond 45 degrees. It runs fine.

This means there is something else wrong with your .cap. You should send your .cap to Ashley so he can have a look at it. Otherwise it won't get fixed.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests