r153 Physic asm.js crash

Bugs will be moved here once resolved.

Post » Fri Dec 06, 2013 9:54 pm

Link to .capx file (required!):
https://www.dropbox.com/s/9l362etvhdcv07o/crash.capx

Steps to reproduce:
1. Select Box2D asm.js Physic Engine
2. Create a sprite with physic behavior
3. Add Plateform Bahavior
4. Try, it's crash

Observed result:

Construct 2 crashed :

---------------------------
Construct 2 Check failure
---------------------------
Check failure! This is probably a bug:

Behavior missing its runtime.js file

Condition: FileExists(behavior->GetRuntimeFile(use_asm_physics))
File: html5.cpp
Line: 1106
Function: void __cdecl Exporter::DoExport(class era::IProject *,class era::ILayout *,bool,struct HWND__ *,bool,bool)
Build: release 153 (64-bit) checked
Component: HTML5 exporter
(Last Win32 error: 2)


Browsers affected:

Construct 2 crash before the window opens

Operating system & service pack:
windows 8.1
Construct 2 version:
r153(x64)   
Webmaster of the French community construct-french from Construct Classic and Construct 2
B
81
S
13
G
8
Posts: 28
Reputation: 7,757

Post » Sat Dec 07, 2013 12:15 am

I have exactly the same bug. Fails to run previously created physics project. Blast!
A big fan of JavaScript.
B
74
S
20
G
71
Posts: 2,228
Reputation: 44,888

Post » Sat Dec 07, 2013 3:09 am

If I may expand on this: I've been doing a bit of trial and error... It appears that C2 crashes on run with asm.js selected if one sprite has the physics behavior plus one other. I only tried it with Bullet, Line Of Sight, Fade and Platform - they all have the same effect. Colludium2013-12-07 03:14:55
A big fan of JavaScript.
B
74
S
20
G
71
Posts: 2,228
Reputation: 44,888

Post » Sat Dec 07, 2013 7:14 am

I run into the same error after doing the steps above. I also get an error in the browser after hitting retry.

Javascript error!
Uncaught TypeError: Cannot read property 'prototype' of undefined
http://url:50000/data.js, line 3496 (col 23)
B
17
S
2
G
6
Posts: 16
Reputation: 4,292

Post » Sat Dec 07, 2013 10:39 am

For me it is similar error,

but simply kicked one polygon with physics, and switched to asm. nothing else. it is only one instance of the object.

---------------------------
Construct 2 Check failure
---------------------------
Check failure! This is probably a bug:

Behavior missing its runtime.js file

Condition: FileExists(behavior->GetRuntimeFile(use_asm_physics))
File: html5.cpp
Line: 1106
Function: void __cdecl Exporter::DoExport(class era::IProject *,class era::ILayout *,bool,struct HWND__ *,bool,bool)
Build: release 153 (64-bit) checked
Component: HTML5 exporter
(Last Win32 error: 2)

You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.
---------------------------
Abbrechen   Wiederholen   Ignorieren   
---------------------------
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Post » Mon Dec 09, 2013 2:24 pm

Hi .. Just the same here
on Win 7 64bit / nvidia quadro 4000

B
33
S
17
G
11
Posts: 350
Reputation: 8,695

Post » Mon Dec 09, 2013 2:27 pm

Happens here too!
B
51
S
20
G
10
Posts: 571
Reputation: 9,819

Post » Mon Dec 09, 2013 3:49 pm

Oops - should be fixed in the next build, thanks.
Scirra Founder
B
397
S
236
G
88
Posts: 24,412
Reputation: 194,514


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest