[142] Crash drawing grid

Bugs will be moved here once resolved.

Post » Fri Sep 13, 2013 12:53 pm

@ramones - can't reproduce with those steps either. Does this only reproduce with the Sprite Font plugin?
Scirra Founder
B
403
S
238
G
89
Posts: 24,653
Reputation: 196,143

Post » Fri Sep 13, 2013 4:38 pm

@Ashley Yes only with Sprite Font, it doesn't happen with the Text plugin.
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,680

Post » Fri Sep 20, 2013 1:44 pm

I just upload my own project in bug section, same thing crashes with grid.
http://www.scirra.com/forum/view-grid-crashes-c2_topic76113.html

The only thing that is different with this to other projects is that I also used sprite font.
I usually use text, but wanted to try out the sprite font for another project that might require it.

Anyways, link to my project files (don't laugh) just a small birthday present for my mom - ha ha - she is sailing round the world and loves to gamble.
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,728

Post » Fri Sep 20, 2013 3:27 pm

I can confirm that @ramones steps crash for me too on win 7.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
296
S
119
G
96
Posts: 7,332
Reputation: 71,306

Post » Sat Sep 21, 2013 9:56 am

I made a post on my bug topic:
Here it is

Okay. Restarted the pc and now it works perfectly.

@Ashley, what could cause C2 to become unstable if pc is left on for extended periods of time. C2 needs to be shut down often to avoid crashes, but pc restarts to flush out (what?) that could cause stability issues.

Seriously, a fresh restarted/booted pc and ZERO issues with grid. I didn't change a thing in project files.
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,728

Post » Sat Sep 21, 2013 5:46 pm

I can also confirm a crash in V144.2 - 64bit following ramones simple example.
B
72
S
25
G
10
Posts: 383
Reputation: 11,171

Post » Tue Sep 24, 2013 11:59 am

Problem Event Name:     APPCRASH
Application Name:     Construct2.exe
Application Version:     2.0.0.0
Application Timestamp:     5237048f
Fault Module Name:     StackHash_22da
Fault Module Version:     6.1.7601.18229
Fault Module Timestamp:     51fb164a
Exception Code:     c0000374
Exception Offset:     00000000000c4102
OS Version:     6.1.7601.2.1.0.768.3
Locale ID:     7177
Additional Information 1:     22da
Additional Information 2:     22da62097dc8c13a260fd1b8be6b9a98
Additional Information 3:     db07
Additional Information 4:     db07d627e13345a651902a765c4c89af

And lets crash it again
Problem Event Name:     APPCRASH
Application Name:     Construct2.exe
Application Version:     2.0.0.0
Application Timestamp:     5237048f
Fault Module Name:     StackHash_3566
Fault Module Version:     6.1.7601.18229
Fault Module Timestamp:     51fb164a
Exception Code:     c0000374
Exception Offset:     00000000000c4102
OS Version:     6.1.7601.2.1.0.768.3
Locale ID:     7177
Additional Information 1:     3566
Additional Information 2:     3566df989f77308e9def50045489207c
Additional Information 3:     b697
Additional Information 4:     b6972ee0d40a4c6050a1201af93c3227

Generally StackHash errors can be fixed by turning off DEP for all programs and services that trigger the error.
Unfortunetly, Construct 2 cannot be turned off (well the steam version) and You can't turn off a 64 bit .exe

@Ashley,
Any ideas?
DUTOIT2013-09-24 12:07:43
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,728

Post » Tue Sep 24, 2013 3:52 pm

I've investigated further. I can reproduce on both Windows 7 and Windows 8 reliably, but only in release builds. When in a debug build, it does not occur. This is one of the most difficult classes of bug that can occur in software development. I have almost no leads from which to investigate. It's possible to debug release builds, but there is hardly any useful information (the debugger simply reports there may have been heap corruption, which is also another very difficult class of bug).

Obviously this needs fixing and it may also be the source of other random crashes or instability in Construct 2, so I will keep working on it, but I don't know how long this could be around for. In the mean time I recommend trying to find workarounds (perhaps avoiding showing the grid?). I have also tried to add more useful information to the error messages for the next build, so let me know if any error messages change from r145+. On top of that any extra information such as which build the problem first started occurring in could be useful.Ashley2013-09-24 15:54:18
Scirra Founder
B
403
S
238
G
89
Posts: 24,653
Reputation: 196,143

Post » Tue Sep 24, 2013 5:03 pm

[QUOTE=Ashley] I have also tried to add more useful information to the error messages for the next build, so let me know if any error messages change from r145+. On top of that any extra information such as which build the problem first started occurring in could be useful.[/QUOTE]

That is good news. Will definitely aid in narrowing it down a bit. This is truly a head scratch er, because it works perfectly, then doesn't without any changes to system, program, project file.

A reboot fixes it - sometimes.
If I open another project then open project with grid enabled it might work - sometimes.
If I open capx of project it might work. Caproj of project crashes it almost always.
Text alignment crashes it, but then doesn't.

All, in all extremely weird, and agree, very hard to pin point.
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,728

Post » Fri Sep 27, 2013 3:37 pm

I think I've finally managed to trace this to a VS2010 compiler optimizer bug. I've come up with a way to work around it and it no longer reproduces for me in a Windows 8 release build using @ramones' reproduction steps. Hopefully this will also cover the other cases.
Scirra Founder
B
403
S
238
G
89
Posts: 24,653
Reputation: 196,143

PreviousNext

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest