C2 built Website crashes Safari

Bugs will be moved here once resolved.

Post » Tue Jun 16, 2015 5:58 pm

Problem Description
HTML5 website won't load in either OS X Safari or iOS Safari. OS X Safari crashes after it tries to load the website. Tested on multiple devices. http://giggleslugs.com/JSProblem1/index.html

Description of Capx
It's an interactive comic for kids.

Steps to Reproduce Bug
  • Export Project from C2 as an HTML5 website
  • Upload website contents to server
  • Load website in browser and it crashes

Observed Result
On both Safari and mobile Safari, website repeatedly tries to load, then refuses to load. An error message appears, "A problem repeatedly occurred on "http://giggleslugs.com/". The OS X Safari crashes.

Expected Result
For the website to run properly.

Affected Browsers
  • Chrome: No
  • FireFox: No
  • Internet Explorer: Not tested
  • Safari: Yes
  • iOS Safari: Yes

Construct 2 Version ID
r206

Plugins in project
  • Audio (used)
  • Keyboard (not used)
  • Mouse (not used)
  • Touch (used)

Behaviors in project
  • Pin (used)
  • Fade (used)
  • Sine (used)
Last edited by Sebastian on Thu Jun 18, 2015 7:11 pm, edited 2 times in total.
B
14
S
7
G
3
Posts: 145
Reputation: 3,035

Post » Wed Jun 17, 2015 9:49 am

If the browser crashes, it's not a problem with C2. Either you used too much memory, or the bug is in the browser. See the bug report FAQ about reporting issues in browsers. Closing.
Scirra Founder
B
395
S
232
G
88
Posts: 24,368
Reputation: 193,746

Post » Wed Jun 17, 2015 6:54 pm

Ashley wrote:If the browser crashes, it's not a problem with C2. Either you used too much memory, or the bug is in the browser. See the bug report FAQ about reporting issues in browsers. Closing.


Hi @Ashley,

Thank you for the response. It's not a memory problem. I think it can be a problem with C2, if C2 creates javascript errors that the Safari browser might be sensitive to, and that other browsers might ignore.

I did some more testing. I deleted everything but the title layout in the old C2 project that was having the problem, and recreated everything in the title layout from scratch in a new C2 project. The new one works fine in Safari, and the old project still crashes Safari. They are identical (same images, and events, no third party plugins). Tests:

http://giggleslugs.com/JSProblem1/index.html (old)
http://giggleslugs.com/JSProblem2/index.html (new)

Whatever might be causing the problem, I just thought you might like to know about it.
B
14
S
7
G
3
Posts: 145
Reputation: 3,035

Post » Thu Jun 18, 2015 9:50 am

@Sebastian - no, browser crashes are certainly a problem in the browser. It is not normally possible for web content to crash the browser, no matter what the content does.
Scirra Founder
B
395
S
232
G
88
Posts: 24,368
Reputation: 193,746

Post » Thu Jun 18, 2015 7:10 pm

@Ashley

That's not really what I'm concerned about. Safari crashing is symptom. The problem is that a webpage built in Construct 2 doesn't load in Safari. I don't think it's wrong for me to want a website I built in C2 to be viewable on iOS devices, as advertised.

You haven't made a reference to the two examples I posted, so I feel like you are dismissing this issue, because you misunderstood the problem. Why would one example consistently load in Safari and the other won't load, when they both have the same assets and events? Something in the first example is preventing it from loading in Safari.
B
14
S
7
G
3
Posts: 145
Reputation: 3,035

Post » Fri Jun 19, 2015 10:37 am

The report did not include a .capx, so we can't investigate this anyway. Please review the bug report guidelines.
Scirra Founder
B
395
S
232
G
88
Posts: 24,368
Reputation: 193,746

Post » Fri Jun 19, 2015 10:51 am

Sebastian wrote:@Ashley

That's not really what I'm concerned about. Safari crashing is symptom. The problem is that a webpage built in Construct 2 doesn't load in Safari. I don't think it's wrong for me to want a website I built in C2 to be viewable on iOS devices, as advertised.

You haven't made a reference to the two examples I posted, so I feel like you are dismissing this issue, because you misunderstood the problem. Why would one example consistently load in Safari and the other won't load, when they both have the same assets and events? Something in the first example is preventing it from loading in Safari.


Without a capx it is impossible to problem shoot. I suggest you open a bug report, attach a capx file and exactly how to reproduce the issue (if it is a bug, then you should be able to).

Check you error logs, I noticed you had an error on your examples... (not c2 related, but server related)
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,708

Post » Fri Jun 19, 2015 12:28 pm

It could be a very short sound file, but I cannot guarantee without a .capx.
B
32
S
7
G
4
Posts: 398
Reputation: 4,591

Post » Tue Jun 30, 2015 4:28 pm

@grigrizljac
Thanks so much for your answer! It was an audio issue. :)

@Ashley
Thanks, but grigrizljac pointed me in the right direction. It was an corrupt audio file, sometimes created by importing and converting audio formats within C2. I converted the audio files in a different program, replaced the audio files in my C2 project, and it loads perfectly in Safari now.
B
14
S
7
G
3
Posts: 145
Reputation: 3,035

Post » Tue Jun 30, 2015 6:48 pm

Sebastian wrote:@grigrizljac
Thanks so much for your answer! It was an audio issue. :)

You're welcome, I'm happy that you've resolved the issue. :)
B
32
S
7
G
4
Posts: 398
Reputation: 4,591

Next

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests